/* ============================================================
   MartinsTech Corporate Site
   Aesthetic: Tech Premium — Clean, Institutional, Sophisticated
   ============================================================ */

[data-cal-link] { cursor: pointer; }

/* ===== FONT OVERRIDE ===== */
:root {
    --font-heading: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body-site: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
}

/* ===== GLOBAL OVERRIDES ===== */
body {
    font-family: var(--font-body-site);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1024px) {
    .container { padding: 0 40px; }
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
    padding: 18px 0;
    background: transparent;
}

.site-header.scrolled {
    background: var(--color-surface-overlay);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--color-border-subtle);
    padding: 10px 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

@media (min-width: 1024px) {
    .header-inner { padding: 0 40px; }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo:hover { text-decoration: none; }

.logo-img {
    width: 36px;
    height: 36px;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

/* Navigation */
.main-nav {
    display: none;
    align-items: center;
    gap: 6px;
}

@media (min-width: 768px) {
    .main-nav { display: flex; }
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: var(--radius-md);
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--color-text-primary);
    background: var(--color-border-subtle);
    text-decoration: none;
}

.nav-link.active {
    color: var(--color-text-primary);
    font-weight: 600;
}

/* Nav Dropdown */
.nav-dropdown-wrap {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 340px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 2px solid var(--gold-400);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 100;
    margin-top: 6px;
}

.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap.dropdown-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-item {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.nav-dropdown-item:hover {
    color: var(--color-text-primary);
    background: var(--color-border-subtle);
    border-left-color: var(--gold-400);
    text-decoration: none;
}

.nav-dropdown-all {
    display: block;
    padding: 10px 20px;
    margin-top: 4px;
    border-top: 1px solid var(--color-border-subtle);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-brand);
    text-decoration: none;
    transition: color 0.15s ease;
}

.nav-dropdown-all:hover {
    color: var(--color-brand-hover);
    text-decoration: none;
}

.nav-link-chevron {
    font-size: 0.65em;
    margin-left: 3px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.nav-dropdown-wrap:hover .nav-link-chevron {
    transform: rotate(180deg);
}

/* Header Actions */
.header-actions {
    display: none;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .header-actions { display: flex; }
}

.lang-toggle {
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--color-text-secondary);
    transition: color 0.2s ease, border-color 0.2s ease;
    font-family: var(--font-heading);
}

.lang-toggle:hover {
    border-color: var(--color-border-strong);
    color: var(--color-text-primary);
}

.lang-toggle--mobile {
    width: auto;
    padding: 8px 16px;
    margin: 8px 0;
    font-size: 0.8rem;
}

.theme-toggle {
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--color-text-secondary);
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.theme-toggle:hover {
    border-color: var(--color-border-strong);
    color: var(--color-text-primary);
}

/* SVG icons via CSS mask — no JS innerHTML needed */
.theme-toggle [data-theme-icon] {
    display: block;
    width: 16px;
    height: 16px;
    font-size: 0;
    overflow: hidden;
}

.theme-toggle [data-theme-icon]::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

[data-theme="dark"] .theme-toggle [data-theme-icon]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E");
}

.btn-header {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-900);
    background: var(--gold-400);
    padding: 8px 20px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.btn-header:hover {
    background: var(--gold-500);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 204, 0, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    width: 36px;
}

@media (min-width: 768px) {
    .mobile-toggle { display: none; }
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.mobile-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-fixed) - 1);
    background: var(--color-surface-overlay);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding-top: 80px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 0 48px;
    width: 100%;
}

.mobile-menu nav a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    transition: color 0.2s ease;
}

.mobile-menu nav a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/* Mobile Services Accordion */
.mobile-svc-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    transition: color 0.2s ease;
}

.mobile-svc-toggle:hover {
    color: var(--color-accent);
}

.mobile-svc-chevron {
    font-size: 0.6em;
    display: inline-block;
    transition: transform 0.25s ease;
}

.mobile-svc-toggle.open .mobile-svc-chevron {
    transform: rotate(180deg);
}

.mobile-svc-items {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 4px 0;
}

.mobile-svc-items.open {
    display: flex;
}

.mobile-svc-items a {
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: var(--color-text-secondary) !important;
    padding: 8px 24px !important;
}

.mobile-svc-items a:hover {
    color: var(--color-accent) !important;
}

.btn-mobile-cta {
    margin-top: 16px;
    background: var(--gold-400) !important;
    color: var(--navy-900) !important;
    font-size: 1.1rem !important;
    padding: 14px 32px !important;
    border-radius: var(--radius-lg) !important;
}

/* ===== PAGE TRANSITIONS ===== */
.page-enter {
    animation: pageIn 0.3s var(--ease-out) both;
}

@keyframes pageIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== SCROLL ANIMATIONS ===== */
.anim {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
}

.hero-orb--1 {
    width: 600px;
    height: 600px;
    top: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(245, 204, 0, 0.06) 0%, transparent 70%);
}

.hero-orb--2 {
    width: 500px;
    height: 500px;
    bottom: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(0, 53, 102, 0.04) 0%, transparent 70%);
}

[data-theme="dark"] .hero-orb--1 {
    background: radial-gradient(circle, rgba(245, 204, 0, 0.04) 0%, transparent 70%);
}

[data-theme="dark"] .hero-orb--2 {
    background: radial-gradient(circle, rgba(0, 80, 160, 0.06) 0%, transparent 70%);
}

.hero-grid-lines {
    position: absolute;
    top: 50%;
    right: 5%;
    width: 340px;
    height: 340px;
    transform: translateY(-50%) rotate(15deg);
    border: 1px solid var(--color-border-subtle);
    border-radius: 24px;
    opacity: 0.5;
}

.hero-grid-lines::before {
    content: '';
    position: absolute;
    inset: 30px;
    border: 1px solid var(--color-border-subtle);
    border-radius: 16px;
}

.hero-grid-lines::after {
    content: '';
    position: absolute;
    inset: 60px;
    border: 1px solid var(--color-border-subtle);
    border-radius: 10px;
}

@media (max-width: 1023px) {
    .hero-grid-lines { display: none; }
}

/* Hero Content */
.hero-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    max-width: 780px;
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (min-width: 1024px) {
    .hero-body { padding-top: 60px; padding-bottom: 60px; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy-700);
    background: var(--navy-50);
    border: 1px solid var(--navy-100);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
    width: fit-content;
}

[data-theme="dark"] .hero-badge {
    color: var(--gold-400);
    background: rgba(245, 204, 0, 0.08);
    border-color: rgba(245, 204, 0, 0.15);
}

.badge-pulse {
    width: 7px;
    height: 7px;
    background: var(--gold-400);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(245, 204, 0, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(245, 204, 0, 0); }
}

.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    margin-bottom: 24px;
}

.gold-text {
    color: var(--gold-500);
}

[data-theme="dark"] .gold-text {
    color: var(--gold-400);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 36px;
    max-width: 640px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

/* Hero Stats */
.hero-stats {
    border-top: 1px solid var(--color-border);
    padding: 28px 0 32px;
    margin-top: auto;
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

@media (min-width: 640px) {
    .stats-row { gap: 48px; }
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

.stat-sep {
    width: 1px;
    height: 36px;
    background: var(--color-border);
    flex-shrink: 0;
}

@media (max-width: 639px) {
    .stat-sep { display: none; }
}

/* ===== BUTTONS ===== */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-900);
    background: var(--gold-400);
    padding: 13px 28px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-gold:hover {
    background: var(--gold-500);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 204, 0, 0.3);
    text-decoration: none;
    color: var(--navy-900);
}

.btn-gold:active {
    transform: translateY(0);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
    background: transparent;
    border: 1.5px solid var(--color-border-strong);
    padding: 12px 26px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-outline-hero:hover {
    border-color: var(--color-text-primary);
    background: var(--color-border-subtle);
    text-decoration: none;
    color: var(--color-text-primary);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

@media (max-width: 767px) {
    .section { padding: 64px 0; }
}

.section--alt {
    background: var(--color-bg);
}

.section--navy {
    background: var(--navy-900);
    color: white;
}

[data-theme="dark"] .section--navy {
    background: var(--slate-800);
}

.section--cta {
    background: linear-gradient(145deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: white;
    padding: 100px 0;
}

[data-theme="dark"] .section--cta {
    background: linear-gradient(145deg, var(--slate-800) 0%, var(--slate-700) 100%);
}

/* Section Headers */
.sec-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.sec-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 14px;
}

.sec-head h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
}

.sec-head p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* ===== PRODUCT CARDS ===== */
.cards-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .cards-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .cards-3 { grid-template-columns: repeat(3, 1fr); }
}

.pcard {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.pcard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.pcard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border-strong);
}

.pcard:hover::before {
    transform: scaleX(1);
}

.pcard-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-50);
    color: var(--navy-700);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

[data-theme="dark"] .pcard-icon {
    background: rgba(0, 80, 160, 0.15);
    color: var(--navy-300);
}

.pcard:hover .pcard-icon {
    background: var(--gold-400);
    color: var(--navy-900);
}

.pcard h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.pcard p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.pcard-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-700);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pcard-link:hover {
    color: var(--gold-500);
    text-decoration: none;
}

.pcard-link:hover span {
    transform: translateX(3px);
    display: inline-block;
    transition: transform 0.2s ease;
}

[data-theme="dark"] .pcard-link {
    color: var(--gold-400);
}

/* ===== FEATURES GRID ===== */
.features-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .features-2x2 { grid-template-columns: repeat(2, 1fr); }
}

.feat {
    display: flex;
    gap: 20px;
    padding: 28px 24px;
    border-radius: var(--radius-xl);
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid transparent;
}

.feat:hover {
    background: var(--color-surface);
    border-color: var(--color-border);
    box-shadow: var(--shadow-md);
}

.feat-bar {
    width: 3px;
    min-height: 100%;
    background: linear-gradient(180deg, var(--gold-400) 0%, var(--gold-600) 100%);
    border-radius: 2px;
    flex-shrink: 0;
    transition: height 0.3s ease;
}

.feat h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feat p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* ===== METRICS ===== */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    text-align: center;
}

@media (min-width: 768px) {
    .metrics-row { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.metric-num {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--gold-400);
    line-height: 1;
    letter-spacing: -0.03em;
}

.metric-lbl {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

[data-theme="dark"] .metric-lbl {
    color: var(--slate-400);
}

/* ===== TRUST BADGES ===== */
.trust-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.trust-chip {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    transition: color 0.2s ease, border-color 0.2s ease;
    cursor: default;
    white-space: nowrap;
}

.trust-chip:hover {
    border-color: var(--gold-400);
    color: var(--color-text-primary);
    box-shadow: 0 2px 8px rgba(245, 204, 0, 0.1);
    transform: translateY(-1px);
}

/* ===== PRICING GRID ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border-subtle);
    border-radius: 16px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card--highlight {
    border: 2px solid var(--color-gold, #F5CC00);
    box-shadow: 0 0 0 1px var(--color-gold, #F5CC00), 0 8px 32px rgba(245, 204, 0, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gold, #F5CC00);
    color: var(--color-navy, #001D3D);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.pricing-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-secondary);
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    text-align: left;
    width: 100%;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border-subtle);
    font-size: 0.9rem;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li::before {
    content: "\2713";
    color: var(--color-gold, #F5CC00);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn-gold,
.pricing-card .btn-outline-hero {
    margin-top: auto;
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* ===== PRICING EXTRAS ===== */
.pricing-focus {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    color: var(--gold-500);
    margin-bottom: 12px;
    letter-spacing: 0.01em;
}

[data-theme="dark"] .pricing-focus {
    color: var(--gold-400);
}

.pricing-setup {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

.pricing-setup span {
    font-weight: 400;
    font-size: 0.78rem;
}

.pricing-quote {
    font-size: 0.82rem;
    font-style: italic;
    color: var(--color-text-secondary);
    border-left: 2px solid var(--gold-400);
    padding-left: 12px;
    margin: 0 0 24px 0;
    text-align: left;
    line-height: 1.55;
}

/* ===== HERO AUDIENCE ===== */
.hero-audience {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 28px;
    font-style: italic;
}

/* ===== RISK TRANSITION ===== */
.risk-transition {
    text-align: center;
    margin-top: 48px;
    padding: 28px 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    font-size: 1.05rem;
    line-height: 1.7;
}

.risk-transition p {
    margin: 0;
    color: var(--color-text-primary);
}

/* ===== AUTHORITY STATS ===== */
.authority-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
}

@media (min-width: 640px) {
    .authority-stats { grid-template-columns: repeat(3, 1fr); }
}

.authority-stat {
    text-align: center;
    padding: 28px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.authority-stat:hover {
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(245, 204, 0, 0.1);
}

.authority-stat-val {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-500);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

[data-theme="dark"] .authority-stat-val {
    color: var(--gold-400);
}

.authority-stat-lbl {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

/* ===== CTA WHATSAPP ===== */
.cta-whatsapp {
    margin-top: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.cta-whatsapp a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cta-whatsapp a:hover {
    color: var(--gold-400);
}

/* ===== SERVICE CARD PRICES ===== */
.services-grid--5 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .services-grid--5 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .services-grid--5 { grid-template-columns: repeat(3, 1fr); }
}

/* ===== SERVICE DETAIL PAGES ===== */
.svc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.svc-breadcrumb a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.svc-breadcrumb a:hover {
    color: var(--gold-500);
}

.svc-breadcrumb-sep {
    color: var(--color-border-strong);
}

.spin-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .spin-cards { grid-template-columns: repeat(3, 1fr); }
}

.spin-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.spin-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.spin-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-50);
    color: var(--navy-700);
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 1.4rem;
}

[data-theme="dark"] .spin-card-icon {
    background: rgba(0, 80, 160, 0.15);
    color: var(--navy-300);
}

.spin-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.spin-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.spin-implication {
    background: var(--color-surface-alt, var(--navy-50));
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    margin-top: 32px;
}

[data-theme="dark"] .spin-implication {
    background: var(--slate-800);
}

.spin-implication-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .spin-implication-items { grid-template-columns: repeat(3, 1fr); }
}

.spin-impl-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.spin-impl-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-radius: 8px;
    font-size: 1rem;
}

[data-theme="dark"] .spin-impl-icon {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger-400);
}

.spin-impl-item p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.spin-deliverables {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .spin-deliverables { grid-template-columns: repeat(2, 1fr); }
}

.spin-deliverable {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.spin-deliverable-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-400);
    color: var(--navy-900);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.spin-deliverable p {
    font-size: 0.9rem;
    color: var(--color-text-primary);
    line-height: 1.5;
}

.spin-pricing-box {
    text-align: center;
    padding: 48px 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    max-width: 560px;
    margin: 0 auto;
}

.spin-pricing-box .svc-price {
    font-size: 2rem;
    margin-bottom: 8px;
}

.spin-pricing-box .svc-deliverable {
    margin-bottom: 24px;
}

.spin-pricing-box .cta-actions {
    margin-top: 24px;
}

.spin-pricing-box .cta-email {
    color: var(--color-text-secondary);
}

.spin-pricing-box .cta-email:hover {
    color: var(--gold-500);
}

.svc-card--priced {
    display: flex;
    flex-direction: column;
}

.svc-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold-500);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

[data-theme="dark"] .svc-price {
    color: var(--gold-400);
}

.svc-price span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.svc-deliverable {
    margin-top: auto;
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border-subtle);
    padding-top: 12px;
    font-style: italic;
}

/* ===== DISPLAY FONT ACCENTS ===== */
.hero-title .gold-text {
    font-family: var(--font-display);
    font-style: italic;
}

/* ===== CTA SECTION ===== */
.cta-box {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.cta-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (min-width: 480px) {
    .cta-actions { flex-direction: row; justify-content: center; }
}

.cta-email {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 13px 0;
}

.cta-email:hover {
    color: var(--gold-400);
    text-decoration: none;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .site-footer {
    background: var(--slate-900);
    border-top: 1px solid var(--slate-800);
}

.footer-main {
    padding: 72px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 640px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-logo:hover {
    text-decoration: none;
    color: white;
}

.footer-logo .logo-img {
    width: 28px;
    height: 28px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--gold-400);
    text-decoration: none;
}

.footer-location {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
    margin-bottom: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

/* ===== PAGE HERO (internal pages) ===== */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 767px) {
    .page-hero { padding: 120px 0 56px; }
}

.page-hero .sec-tag {
    margin-bottom: 16px;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 580px;
    margin: 0 auto;
}

.page-hero .svc-breadcrumb {
    justify-content: center;
}

.page-hero .hero-ctas {
    justify-content: center;
}

/* ===== PRODUCT DETAIL SECTIONS ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .product-detail { grid-template-columns: 1fr 1fr; gap: 64px; }
    .product-detail.reverse .pd-info { order: -1; }
}

.pd-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 48px;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
}

.pd-visual-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-50);
    color: var(--navy-700);
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .pd-visual-icon {
    background: rgba(0, 80, 160, 0.15);
    color: var(--navy-300);
}

.pd-visual::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 204, 0, 0.06) 0%, transparent 70%);
    top: 20%;
    right: 10%;
}

.pd-info .sec-tag {
    text-align: left;
}

.pd-info h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.pd-info > p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 28px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

@media (min-width: 480px) {
    .feature-list { grid-template-columns: 1fr 1fr; }
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.feature-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 204, 0, 0.1);
    color: var(--gold-500);
    border-radius: 50%;
    font-size: 0.7rem;
    margin-top: 1px;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-pill {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy-700);
    background: var(--navy-50);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

[data-theme="dark"] .tech-pill {
    color: var(--navy-300);
    background: rgba(0, 80, 160, 0.12);
}

/* ===== SERVICE CARDS ===== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.svc-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.svc-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.svc-card-link:hover {
    text-decoration: none;
}

.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border-strong);
}

.svc-card:hover::before {
    transform: scaleX(1);
}

.svc-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-50);
    color: var(--navy-700);
    border-radius: 16px;
    margin: 0 auto 20px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

[data-theme="dark"] .svc-icon {
    background: rgba(0, 80, 160, 0.15);
    color: var(--navy-300);
}

.svc-card:hover .svc-icon {
    background: var(--gold-400);
    color: var(--navy-900);
}

.svc-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.svc-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.svc-audience {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ===== PROCESS STEPS ===== */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
    counter-reset: step;
}

@media (min-width: 768px) {
    .process-steps { grid-template-columns: repeat(4, 1fr); }
}

.step {
    text-align: center;
    padding: 32px 20px;
    position: relative;
    counter-increment: step;
}

.step-num {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
    color: var(--gold-400);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 auto 16px;
}

[data-theme="dark"] .step-num {
    background: var(--slate-700);
}

.step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.step-dmaic {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold-500);
    margin-bottom: 8px;
}

.step p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .step::after {
        content: '';
        position: absolute;
        top: 56px;
        right: -12px;
        width: 24px;
        height: 2px;
        background: var(--color-border-strong);
    }
    .step:last-child::after { display: none; }
}

/* ===== VALUES GRID ===== */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .values-grid { grid-template-columns: repeat(4, 1fr); }
}

.value-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.value-card:hover {
    border-color: var(--gold-400);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.value-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* ===== ABOUT EXPERTISE ===== */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .expertise-grid { grid-template-columns: repeat(3, 1fr); }
}

.expertise-item {
    padding: 28px 24px;
    border-left: 3px solid var(--gold-400);
    background: var(--color-surface);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.expertise-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.expertise-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.expertise-item p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* ===== ROADMAP TIMELINE ===== */
.timeline {
    position: relative;
    padding-left: 32px;
    max-width: 720px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.tl-group {
    margin-bottom: 48px;
}

.tl-group:last-child {
    margin-bottom: 0;
}

.tl-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold-500);
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.tl-label::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold-400);
    border: 2px solid var(--color-bg);
    box-shadow: 0 0 0 2px var(--gold-400);
}

.tl-item {
    position: relative;
    padding: 16px 20px;
    margin-bottom: 8px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.tl-item:hover {
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-sm);
}

.tl-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 22px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-border-strong);
}

.tl-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.tl-item p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.tl-item .tl-status {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-top: 8px;
}

.tl-status--done {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

[data-theme="dark"] .tl-status--done {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.tl-status--progress {
    background: rgba(245, 204, 0, 0.1);
    color: var(--gold-600);
}

[data-theme="dark"] .tl-status--progress {
    background: rgba(245, 204, 0, 0.15);
    color: var(--gold-400);
}

.tl-status--planned {
    background: var(--color-border-subtle);
    color: var(--color-text-muted);
}

/* ===== BLOG GRID ===== */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border-strong);
}

.blog-thumb {
    height: 180px;
    background: linear-gradient(135deg, var(--navy-50) 0%, var(--navy-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-300);
    font-size: 2.5rem;
}

[data-theme="dark"] .blog-thumb {
    background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-700) 100%);
    color: var(--slate-500);
}

.blog-body {
    padding: 24px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-tag {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gold-500);
}

.blog-date {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.blog-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.blog-card > .blog-body > p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.blog-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-700);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.blog-link:hover {
    color: var(--gold-500);
    text-decoration: none;
}

[data-theme="dark"] .blog-link {
    color: var(--gold-400);
}

a.blog-card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

a.blog-card:hover {
    color: inherit;
    text-decoration: none;
}

.blog-article {
    padding-top: 120px;
    padding-bottom: 80px;
}

.blog-article-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.blog-back-link {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-500);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 32px;
    transition: color 0.2s ease;
}

.blog-back-link:hover {
    color: var(--gold-500);
    text-decoration: none;
}

[data-theme="dark"] .blog-back-link {
    color: var(--gold-400);
}

[data-theme="dark"] .blog-back-link:hover {
    color: var(--gold-300);
}

.blog-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.blog-article h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .blog-article h1 {
        font-size: 2.5rem;
    }
}

.blog-article h2 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
    margin-top: 40px;
    margin-bottom: 16px;
}

.blog-article p {
    font-family: var(--font-body-site);
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.blog-article p:last-child {
    margin-bottom: 0;
}

.blog-article code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9em;
    background: var(--color-brand-light);
    color: var(--navy-700);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

[data-theme="dark"] .blog-article code {
    background: var(--slate-800);
    color: var(--gold-300);
}

.blog-article pre {
    background: var(--slate-900);
    color: var(--slate-100);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: 24px 0;
    font-size: 0.88rem;
    line-height: 1.6;
}

.blog-article pre code {
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

.blog-article blockquote {
    border-left: 3px solid var(--gold-400);
    padding: 12px 20px;
    margin: 24px 0;
    background: var(--color-accent-subtle);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

[data-theme="dark"] .blog-article blockquote {
    background: var(--slate-800);
}

.blog-article blockquote p {
    color: var(--color-text-primary);
    font-style: italic;
    margin-bottom: 0;
}

/* ===== BLOG SHARE ===== */
.blog-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.blog-share-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.blog-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none;
    padding: 0;
    font-size: 0;
    line-height: 1;
}

.blog-share-btn:hover {
    background: var(--gold-400);
    color: var(--navy-900);
    border-color: var(--gold-400);
}

[data-theme="dark"] .blog-share-btn {
    background: var(--slate-800);
    border-color: var(--slate-700);
}

[data-theme="dark"] .blog-share-btn:hover {
    background: var(--gold-400);
    color: var(--navy-900);
    border-color: var(--gold-400);
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .contact-grid { grid-template-columns: 3fr 2fr; gap: 64px; }
}

.contact-form-wrap {
    position: relative;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}

.form-input,
.form-textarea {
    width: 100%;
    font-family: var(--font-body-site);
    font-size: 0.95rem;
    color: var(--color-text-primary);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(245, 204, 0, 0.1);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-900);
    background: var(--gold-400);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
    justify-content: center;
}

@media (min-width: 480px) {
    .form-submit { width: auto; }
}

.form-submit:hover {
    background: var(--gold-500);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 204, 0, 0.3);
}

.form-sent .contact-form { display: none; }
.form-sent .form-success { display: flex; }

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    min-height: 300px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
}

.form-success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border-radius: 50%;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

[data-theme="dark"] .form-success-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.form-success h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ci-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ci-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-50);
    color: var(--navy-700);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

[data-theme="dark"] .ci-icon {
    background: rgba(0, 80, 160, 0.15);
    color: var(--navy-300);
}

.ci-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.ci-item p,
.ci-item a {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 0;
}

.ci-item a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.ci-item a:hover {
    color: var(--gold-500);
}

/* ===== ABOUT MISSION ===== */
.mission-block {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.mission-block blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-text-primary);
    border-left: 3px solid var(--gold-400);
    padding-left: 24px;
    text-align: left;
    margin: 0 0 24px;
    font-style: normal;
}

.mission-block p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    text-align: left;
}

/* ===== RESPONSIVE FINE-TUNING ===== */
@media (max-width: 479px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn-gold,
    .hero-ctas .btn-outline-hero {
        width: 100%;
        justify-content: center;
    }

    .stats-row {
        gap: 24px;
    }

    .stat-val {
        font-size: 1.3rem;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
@media (max-width: 767px) {
    .whatsapp-fab { bottom: 16px; right: 16px; width: 52px; height: 52px; }
}

/* ===== LEGAL PAGES ===== */
.legal-content {
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--color-text-secondary);
}
.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 2rem 0 0.75rem;
}
.legal-content p { margin-bottom: 0.75rem; }
.legal-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
    list-style: disc;
}
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a {
    color: var(--navy-600);
    text-decoration: underline;
}
[data-theme="dark"] .legal-content a { color: var(--gold-400); }

/* ===== PRINT ===== */
@media print {
    .site-header,
    .mobile-menu,
    .hero-deco,
    .theme-toggle,
    .btn-gold,
    .btn-outline-hero { display: none; }

    .hero { min-height: auto; padding: 40px 0; }
    .section { padding: 40px 0; }
    .site-footer { background: white; color: black; }
}
