/* Main Styles */
/* Design System: "Digital Guardian" — Lidera SST */
:root {
    /* ── Primary — Deep Institutional Blue ── */
    --brand-500: #0060A8;
    --brand-600: #004E8A;
    --brand-700: #003869;
    --brand-400: #0066B2;
    --brand-200: #A2C9FF;
    --brand-100: #D3E4FF;
    --brand-50:  #F0F3FF;

    /* ── Tertiary — Vibrant Teal (success / modern accent) ── */
    --tertiary:           #00564D;
    --tertiary-container: #007165;
    --tertiary-dim:       #4FDBC8;

    /* ── Legacy aliases ── */
    --primary-color: #004E8A;
    --secondary-color: #004E8A;
    --accent-color: #004E8A;
    --green-color: #004E8A;
    --green-dark: #003869;
    --green-light: #0066B2;
    --orange-color: #004E8A;
    --orange-dark: #003869;
    --blue-color: #004E8A;
    --earth-color: #004E8A;

    /* ── 5-tier Surface System (tonal depth, no lines) ── */
    --surface:              #F9F9FF;  /* base surface */
    --surface-low:          #F0F3FF;  /* surface-container-low */
    --surface-mid:          #E7EEFF;  /* surface-container */
    --surface-high:         #DEE8FF;  /* surface-container-high */
    --surface-highest:      #D8E3FB;  /* surface-container-highest */

    /* Legacy surface aliases */
    --dark-bg:    #F0F3FF;
    --dark-card:  #FFFFFF;
    --dark-border: rgba(193, 199, 211, 0.28); /* outline-variant @ 28% — "ghost border" */

    /* ── Text — never pure black (on-surface tonal) ── */
    --text-primary:   #111C2D;  /* on-surface */
    --text-secondary: #414751;  /* on-surface-variant */
    --text-muted:     #717782;  /* outline */

    /* ── Signature Gradients — "machined" finish ── */
    --gradient-brand: linear-gradient(135deg, #004E8A 0%, #0066B2 100%);
    --gradient-1:     linear-gradient(135deg, #004E8A 0%, #0066B2 100%);
    --gradient-2:     linear-gradient(135deg, #004E8A 0%, #0066B2 100%);
    --gradient-3:     linear-gradient(135deg, #004E8A 0%, #0066B2 100%);
    --gradient-green: linear-gradient(135deg, #003869 0%, #004E8A 100%);
    --gradient-construction: linear-gradient(135deg, #003869 0%, #004E8A 50%, #0066B2 100%);

    /* ── Section surfaces (alternating visual rhythm, no borders needed) ── */
    --section-white: #FFFFFF;
    --section-light: #F0F3FF;
    --section-mid:   #E7EEFF;
    --section-dark:  linear-gradient(145deg, #001C38 0%, #003869 55%, #004E8A 100%);

    /* Spacing scale */
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2.5rem;
    --space-xl:  3rem;
    --space-2xl: 5.5rem;

    /* ── Ambient Shadows (spec from DESIGN.md — diffused, never harsh) ── */
    --shadow-sm:    0px 2px 8px rgba(17, 28, 45, 0.04);
    --shadow-md:    0px 4px 16px rgba(17, 28, 45, 0.06);
    --shadow-lg:    0px 12px 32px rgba(17, 28, 45, 0.06);
    --shadow-xl:    0px 20px 48px rgba(17, 28, 45, 0.08), 0px 4px 12px rgba(17, 28, 45, 0.04);
    --shadow-brand: 0px 8px 24px rgba(0, 78, 138, 0.22);

    /* Radius */
    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  20px;
    --radius-xl:  28px;
    --radius-2xl: 36px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
    --transition-fast: 0.18s var(--ease-out);
    --transition-base: 0.28s var(--ease-out);
    --transition-slow: 0.42s var(--ease-out);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

html,
body {
    overflow-x: hidden;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-primary);
    background: var(--dark-bg);
    font-size: 16px;
    line-height: 1.6;
}

img,
video,
iframe {
    max-width: 100%;
}

.startup-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #f8fcff 0%, #e9f3fb 55%, #d7eaf8 100%);
    z-index: 5000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.startup-loader-content {
    padding: 1.2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 18px 35px rgba(19, 50, 75, 0.12);
}

.startup-loader-logo {
    width: min(320px, 72vw);
    height: auto;
    object-fit: contain;
    animation: startupLogoReveal 1.2s ease forwards;
    transform-origin: center;
}

.startup-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes startupLogoReveal {
    0% {
        opacity: 0;
        transform: scale(0.82);
        filter: blur(6px);
    }
    65% {
        opacity: 1;
        transform: scale(1.02);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .startup-loader,
    .startup-loader-logo {
        transition: none;
        animation: none;
    }
}

/* Header — Glassmorphism (DESIGN.md: Glass & Gradient Rule) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    /* No border-bottom — use ambient shadow only */
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    position: relative;
}

.logo a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

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

.footer-logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 0.5rem;
}

.logo-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0;
    font-style: italic;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 3px;
    font-weight: 300;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-section-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    padding: 0 0.5rem;
    opacity: 0.7;
    cursor: default;
    font-family: Arial, Helvetica, sans-serif;
}

.nav-section-divider {
    width: 1px;
    height: 1.5rem;
    background: var(--dark-border);
    margin: 0 1rem;
}

.nav-contact-btn {
    background: var(--primary-color);
    color: #ffffff !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-contact-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(50, 139, 201, 0.3);
}

.nav-contact-btn::after {
    display: none;
}

/* Submenu Styles */
.nav-submenu {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-submenu-title {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.5rem 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
}

.nav-submenu-title:hover {
    color: var(--accent-color);
}

.nav-submenu-title i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.nav-submenu.active .nav-submenu-title i {
    transform: rotate(180deg);
}

.nav-submenu-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(207, 224, 239, 0.8);
    border-radius: var(--radius-md);
    min-width: 210px;
    list-style: none;
    margin: 0;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
    z-index: 1001;
    box-shadow: var(--shadow-lg);
}

.nav-submenu:hover .nav-submenu-list,
.nav-submenu.active .nav-submenu-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-submenu:hover .nav-submenu-title i,
.nav-submenu.active .nav-submenu-title i {
    transform: rotate(180deg);
}

.nav-submenu-list li {
    margin: 0;
}

.nav-submenu-list .nav-link {
    display: block;
    padding: 0.6rem 1rem;
    border-bottom: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.nav-submenu-list .nav-link:last-child {
    border-bottom: none;
}

.nav-submenu-list .nav-link:hover {
    background: rgba(50, 139, 201, 0.08);
    color: var(--brand-500);
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.nav-dropdown .nav-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    color: var(--green-color);
    background: rgba(50, 139, 201, 0.15);
    padding-left: 2rem;
}

.header-contact {
    display: flex;
    align-items: center;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-600);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.6rem 1.25rem;
    border: 1.5px solid rgba(50, 139, 201, 0.45);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    background: transparent;
}

.phone-link:hover {
    background: var(--brand-500);
    color: #ffffff;
    border-color: var(--brand-500);
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--green-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
    background: var(--surface-low);
}

/* ── Asymmetric hero layout (DESIGN.md: Intentional Asymmetry) ── */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
    z-index: 1;
    max-width: none;
    padding: 2rem 0;
    overflow: visible;
    margin: 0;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrap {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: rotate(1deg);
    transition: transform var(--transition-slow);
}

.hero-image-wrap:hover {
    transform: rotate(0deg) scale(1.01);
}

.hero-image-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.hero-floating-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1rem 1.4rem;
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--tertiary);
    z-index: 2;
}

.hero-floating-badge strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--tertiary);
    line-height: 1;
}

.hero-floating-badge span {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.hero-glow-orb {
    position: absolute;
    top: -3rem;
    right: -3rem;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(79, 219, 200, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(50, 139, 201, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(50, 139, 201, 0.055) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, black 30%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 70% 60% at 20% 40%, rgba(50, 139, 201, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 55% 50% at 80% 75%, rgba(36, 107, 160, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 40% 35% at 55% 10%, rgba(91, 168, 218, 0.12) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 15% 25%, rgba(50, 139, 201, 0.45), transparent),
        radial-gradient(2px 2px at 65% 65%, rgba(50, 139, 201, 0.3), transparent),
        radial-gradient(1.5px 1.5px at 35% 55%, rgba(36, 107, 160, 0.25), transparent),
        radial-gradient(1px 1px at 80% 20%, rgba(91, 168, 218, 0.3), transparent);
    background-size: 220% 220%;
    animation: particleMove 22s ease-in-out infinite;
}

@keyframes particleMove {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

/* overridden by asymmetric rule above */

.hero-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.6rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    overflow: visible;
    letter-spacing: 0;
}

.title-line {
    display: block;
    font-size: clamp(1.6rem, 5vw, 3rem);
}
.texto{
    font-size: 34px;
    margin-top: -1px;
    margin-bottom: 10px;
    font-weight: 900;
    font-family: Arial, Helvetica, sans-serif;
    background: #1e6fa8;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.title-line.highlight {
    background: #328BC9;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-primary);
    font-weight: 500;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-subtitle.hero-tagline {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-primary);
    font-weight: 500;
    margin-top: 1.5rem;
    letter-spacing: 1px;
}

.subb {
    display: inline;
    white-space: nowrap;
}
.sub{
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: #1e4f73;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    margin-bottom: 0.5rem;
    letter-spacing: 0.8px;
    margin-top: 0;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.1vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 1px;
    margin-top: 2rem;
    line-height: 1.8;
}

.hero-features {
    width: auto;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(50, 139, 201, 0.2);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    backdrop-filter: blur(8px);
    transition: all var(--transition-base);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(50, 139, 201, 0.4);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-item i {
    font-size: 0.9rem;
    color: var(--brand-500);
    flex-shrink: 0;
}

.feature-icon-wrapper {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.feature-item .feature-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(0) saturate(100%) invert(42%) sepia(100%) saturate(2000%) hue-rotate(95deg) brightness(115%) contrast(70%);
    -webkit-filter: brightness(0) saturate(100%) invert(42%) sepia(100%) saturate(2000%) hue-rotate(95deg) brightness(115%) contrast(70%);
}

.feature-item span {
    font-size: 0.78rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.8px;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

/* Hero Actions (Dual CTA Buttons) */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.75rem;
    background: var(--gradient-brand);
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    box-shadow: 0 4px 18px rgba(50, 139, 201, 0.38), 0 1px 4px rgba(14, 42, 61, 0.1);
    font-size: 0.88rem;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(50, 139, 201, 0.46), 0 2px 8px rgba(14, 42, 61, 0.12);
}

.btn-primary:hover::before {
    background: rgba(255, 255, 255, 0.08);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.75rem;
    background: rgba(255, 255, 255, 0.7);
    color: var(--brand-600);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1.5px solid rgba(50, 139, 201, 0.45);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    font-size: 0.88rem;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--brand-500);
    color: #ffffff;
    border-color: var(--brand-500);
    transform: translateY(-3px);
    box-shadow: var(--shadow-brand);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--green-color);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--green-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* Section Styles */
section {
    padding: var(--space-2xl) 0;
    position: relative;
}

/* ── Section header ── */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 0;
}

.section-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1.7rem, 4.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    font-style: italic;
    line-height: 1.2;
}

/* Dark section overrides title colour */
.section-dark .section-title {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
}

.title-underline {
    width: 40px;
    height: 3px;
    background: var(--gradient-brand);
    margin: 0.85rem auto;
    border-radius: var(--radius-full);
}

.section-dark .title-underline {
    background: rgba(255,255,255,0.55);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    max-width: 600px;
    margin: 0.6rem auto 0;
    line-height: 1.8;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.72);
}

/* ── Section label (eyebrow) ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--brand-500);
    background: rgba(50,139,201,0.08);
    border: 1px solid rgba(50,139,201,0.22);
    border-radius: var(--radius-full);
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
}

.section-dark .section-label {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

/* ── ABOUT — white surface (tonal shift, no explicit borders) ── */
.about-section {
    background: var(--section-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.about-text strong {
    color: #328BC9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2.2rem 1.5rem;
    background: var(--dark-card);
    /* No explicit border — use ambient shadow for lift (DESIGN.md) */
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 220px;
    box-shadow: var(--shadow-md);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(50, 139, 201, 0.3);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2rem;
    color: var(--brand-500);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

/* Featured Product */
.featured-product {
    background: linear-gradient(140deg, #0b4f7e 0%, #0d6aa8 50%, #0e5d94 100%);
    position: relative;
    overflow: hidden;
}

.featured-product::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 85% 50%, rgba(91, 168, 218, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(36, 107, 160, 0.25) 0%, transparent 55%);
    pointer-events: none;
}

.featured-product::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.featured-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.featured-human-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    transition: transform var(--transition-slow);
}

.featured-image:hover .featured-human-image {
    transform: scale(1.03);
}

.featured-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(50, 139, 201, 0.5));
}

.product-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(50, 139, 201, 0.5) 0%, rgba(50, 139, 201, 0.2) 100%);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.product-icon {
    font-size: 8rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

.featured-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.featured-description {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.85;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.featured-description strong {
    color: var(--brand-200);
}

/* ── PRODUCTS SECTION — tonal shift defines boundary (no explicit borders) ── */
.products-section {
    padding: var(--space-2xl) 0;
    background: var(--surface-low);
    position: relative;
    overflow: hidden;
}

/* Subtle dot-grid texture */
.products-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(50, 139, 201, 0.045) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* top radial highlight */
.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-brand);
    z-index: 1;
}

.products-section .container {
    position: relative;
    z-index: 1;
}

/* ── Grid: 3-col desktop, 2-col tablet, 1-col mobile ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ── Card base — ambient shadow lift, no explicit border (DESIGN.md no-line rule) ── */
.product-card {
    background: var(--dark-card);
    /* Ghost border fallback at 20% opacity (accessibility spec) */
    outline: 1px solid rgba(193, 199, 211, 0.20);
    border-radius: 18px;
    padding: 2.25rem 2rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
    cursor: default;
    transition:
        transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

/* Sliding top-accent bar */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 100%;
    height: 3px;
    background: linear-gradient(90deg, #246BA0, #328BC9, #5ba8da);
    border-radius: 18px 18px 0 0;
    transition: right 0.38s cubic-bezier(0.22, 0.61, 0.36, 1);
    z-index: 2;
}

.product-card:hover::before,
.product-card.featured::before {
    right: 0;
}

/* Inner glow on hover */
.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 55% at 50% 115%, rgba(50, 139, 201, 0.09) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.38s ease;
    pointer-events: none;
    z-index: 0;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-5px);
    outline-color: rgba(0, 96, 168, 0.18);
    box-shadow: var(--shadow-lg);
}

/* Featured — persistent highlight */
.product-card.featured {
    outline-color: rgba(0, 78, 138, 0.22);
    box-shadow: var(--shadow-lg);
}

.product-card.featured:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ── Icon container — tonal bg, no border ── */
.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--surface-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition:
        transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.product-card:hover .card-icon {
    transform: translateY(-2px) scale(1.1);
    background: linear-gradient(140deg, rgba(50, 139, 201, 0.22) 0%, rgba(50, 139, 201, 0.1) 100%);
    box-shadow: 0 5px 16px rgba(50, 139, 201, 0.22);
}

/* ── Title ── */
.card-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

/* ── Description — always visible ── */
.card-description {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.72;
    position: relative;
    z-index: 1;
    flex: 1;
    /* reset accordion */
    max-height: none;
    opacity: 0.82;
    overflow: visible;
    transform: none;
    transition: opacity 0.3s ease;
    margin-top: 0;
}

.product-card:hover .card-description {
    opacity: 1;
}

/* keep open state compatible with JS */
.product-card.open .card-description {
    max-height: none;
    opacity: 1;
    transform: none;
    margin-top: 0;
}

.card-description strong {
    color: var(--green-color);
}

/* ── Divider line between title and description ── */
.card-title::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: rgba(50, 139, 201, 0.35);
    border-radius: 2px;
    margin-top: 0.55rem;
    transition: width 0.3s ease, background 0.3s ease;
}

.product-card:hover .card-title::after {
    width: 44px;
    background: rgba(50, 139, 201, 0.65);
}

/* ── Glow orb (decorative) ── */
.card-glow {
    position: absolute;
    bottom: -70px;
    right: -70px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(50, 139, 201, 0.16) 0%, transparent 68%);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition:
        opacity 0.38s ease,
        transform 0.38s ease;
    transform: scale(0.75);
}

.product-card:hover .card-glow {
    opacity: 1;
    transform: scale(1);
}

/* ── Card link (if used) ── */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--green-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
    transition: gap 0.28s ease;
}

.product-card:hover .card-link {
    gap: 0.85rem;
}

/* PEAD Section */
.pead-section {
    background: linear-gradient(135deg, var(--dark-card) 0%, rgba(50, 139, 201, 0.12) 100%);
}

.pead-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.pead-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    background: var(--gradient-green);
    border-radius: 50%;
    position: relative;
}

.pead-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: var(--gradient-green);
    opacity: 0.3;
    filter: blur(20px);
    animation: pulse 3s ease-in-out infinite;
}

.pead-icon-wrapper i {
    font-size: 5rem;
    color: var(--dark-bg);
    position: relative;
    z-index: 1;
}

.pead-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.pead-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.pead-text strong {
    color: var(--green-color);
}

/* Clients Section */
.clients-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(50, 139, 201, 0.16) 100%);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.client-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
    border-color: var(--green-color);
    box-shadow: 0 10px 30px rgba(50, 139, 201, 0.3);
}

.client-placeholder {
    font-size: 3rem;
    color: var(--text-secondary);
    opacity: 0.5;
}

/* ── TESTIMONIALS SECTION — alternating tonal surface ── */
.testimonials-section {
    background: var(--section-white);
    padding: var(--space-2xl) 0;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-brand);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--dark-card);
    /* Ghost border at 20% — accessibility fallback only */
    outline: 1px solid rgba(193, 199, 211, 0.20);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 100%;
    height: 3px;
    background: var(--gradient-brand);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transition: right var(--transition-slow);
}

.testimonial-card:hover::before {
    right: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    outline-color: rgba(0, 78, 138, 0.18);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--surface-mid);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--brand-500);
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.testimonial-card:hover .testimonial-avatar {
    background: linear-gradient(140deg, rgba(50, 139, 201, 0.25) 0%, rgba(50, 139, 201, 0.12) 100%);
    box-shadow: 0 4px 14px rgba(50, 139, 201, 0.2);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.15rem 0;
    letter-spacing: -0.01em;
}

.testimonial-company {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #FFD700;
    font-size: 1rem;
}

.testimonial-rating i {
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.92rem;
    margin: 0;
    font-style: normal;
    position: relative;
}

.testimonial-card::after {
    content: none;
}

/* ── Home Blog Preview ─────────────────────────────── */
.home-blog-section {
    background: var(--surface-mid);
    padding: 5rem 0;
}

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-top: 0.5rem;
}

.home-blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.home-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.home-blog-banner {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0b4f7e 0%, #1a7fc0 100%);
    flex-shrink: 0;
}

.home-blog-banner--2 {
    background: linear-gradient(135deg, #1a5580 0%, #328BC9 100%);
}

.home-blog-banner--3 {
    background: linear-gradient(135deg, #0e3a5c 0%, #246BA0 100%);
}

.home-blog-icon {
    font-size: 3rem;
    line-height: 1;
    user-select: none;
    filter: drop-shadow(0 3px 10px rgba(0,0,0,0.22));
}

.home-blog-tag {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.32);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.26rem 0.65rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(6px);
}

.home-blog-body {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.6rem;
}

.home-blog-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
}

.home-blog-body p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.home-blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.4rem;
    width: fit-content;
    color: var(--brand-600);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1.5px solid transparent;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.home-blog-link span { transition: transform var(--transition-fast); }

.home-blog-link:hover {
    color: var(--brand-500);
    border-bottom-color: var(--brand-500);
}

.home-blog-link:hover span { transform: translateX(3px); }

.home-blog-footer {
    text-align: center;
    margin-top: 2.8rem;
}

@media (max-width: 1024px) {
    .home-blog-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
    .home-blog-grid .home-blog-card:last-child { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 640px) {
    .home-blog-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .home-blog-grid .home-blog-card:last-child { grid-column: auto; max-width: none; margin: 0; }
}

/* ── Social Proof Bar (from reference) ── */
.social-proof-bar {
    background: var(--section-white);
    padding: 2.4rem 0;
    box-shadow: var(--shadow-md);
}

.proof-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.proof-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0 3rem;
    transition: opacity var(--transition-base);
}

.proof-stat strong {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-600);
    line-height: 1;
    letter-spacing: -0.02em;
}

.proof-stat span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.proof-divider {
    width: 1px;
    height: 2.5rem;
    background: var(--surface-high);
    flex-shrink: 0;
}

/* ── Contact Section — tonal shift defines boundary ── */
.contact-section {
    background: var(--section-white);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-brand);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--surface-low);
    /* Ghost border at 20% opacity — accessibility fallback */
    outline: 1px solid rgba(193, 199, 211, 0.20);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.contact-item:hover {
    transform: translateX(4px);
    background: var(--surface-mid);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--surface-mid);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--brand-600);
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.contact-item:hover .contact-icon {
    background: var(--brand-600);
    color: #fff;
    box-shadow: var(--shadow-brand);
}

.contact-details h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.contact-details a,
.contact-details p {
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    line-height: 1.6;
    transition: color var(--transition-fast);
}

.contact-details a:hover {
    color: var(--brand-500);
}

.contact-form-wrapper {
    background: var(--surface-low);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Inputs — surface-highest bg, no border (DESIGN.md Input Fields spec) */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: var(--surface-highest);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: #fff;
    /* Ghost border of primary at 40% on focus */
    box-shadow: 0 0 0 2px rgba(0, 78, 138, 0.40);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

/* Footer */
.footer {
    background: linear-gradient(170deg, #d2e8f6 0%, #c0d8ed 100%);
    border-top: 2px solid rgba(50, 139, 201, 0.3);
    padding: 4.5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-brand);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(50, 139, 201, 0.25);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-500);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--brand-500);
    border-color: var(--brand-500);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-brand);
}

.footer-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    padding-left: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a::before {
    content: '→';
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: all var(--transition-fast);
    color: var(--brand-500);
}

.footer-links a:hover {
    color: var(--brand-500);
    padding-left: 4px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--green-color);
    margin-top: 0.2rem;
}

.footer-contact a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--green-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(50, 139, 201, 0.3);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--green-color);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-green);
    border-radius: 50%;
    color: var(--dark-bg);
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(50, 139, 201, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.footer-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(50, 139, 201, 0.6);
}

.footer-toggle.active i {
    transform: rotate(180deg);
}

/* Product Page Styles */
.product-page {
    background: var(--dark-bg);
}

.product-page-content {
    max-width: 1000px;
    margin: 0 auto;
}

.product-page-header {
    margin-bottom: 3rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-color);
    gap: 1rem;
}

.product-page-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.product-page-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Product Sections */
.product-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-bottom: 1px solid var(--dark-border);
}

.product-section:last-child {
    border-bottom: none;
}

.product-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-section-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    overflow: hidden;
    padding: 2rem;
}

.product-section-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-title-center {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    background: #328BC9;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-page-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    overflow: hidden;
}

.product-page-icon {
    font-size: 8rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.product-page-info {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.product-page-info h2,
.product-page-info h3 {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.product-page-info h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--green-color);
    padding-bottom: 0.5rem;
}

.product-page-info h3 {
    font-size: 1.4rem;
    color: var(--green-color);
    margin-top: 2rem;
}

.product-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-green);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.benefit-item:hover::before {
    transform: scaleY(1);
}

.benefit-item:hover {
    transform: translateX(5px);
    border-color: var(--green-color);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--green-color);
    margin-bottom: 1rem;
}

.benefit-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.benefit-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.product-specs {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spec-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-value {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--green-color);
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 1px solid var(--dark-border);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: var(--green-color);
    box-shadow: 0 10px 30px rgba(50, 139, 201, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.product-page-info strong {
    color: var(--primary-color);
}

.product-page-info ul,
.product-page-info ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.product-page-info li {
    margin: 0.5rem 0;
}

.product-page-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-border);
}

.product-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-green);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 30px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(50, 139, 201, 0.3);
}

.product-applications {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
}

.product-applications li {
    padding: 0.8rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--dark-border);
}

.product-applications li:last-child {
    border-bottom: none;
}

.product-applications i {
    color: var(--green-color);
    font-size: 1.2rem;
}

/* Notebook / MacBook */
@media (max-width: 1440px) and (min-width: 1025px) {
    .hero {
        min-height: 90vh;
        padding-top: 70px;
    }

    .hero-content {
        max-width: 820px;
        padding: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2.1rem, 4.4vw, 3.3rem);
        margin-bottom: 1rem;
    }

    .title-line {
        font-size: clamp(1.15rem, 2.8vw, 2rem);
    }

    .texto {
        font-size: clamp(1.15rem, 2.8vw, 1.9rem);
    }

    .sub {
        font-size: clamp(1.2rem, 1.4vw, 1rem);
        margin-top: 40px;
        margin-bottom: 1.1rem;
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 1.5vw, 1.12rem);
        margin-top: 40px;
        margin-bottom: 1.2rem;
        line-height: 1.6;
    }

    .hero-features {
        margin-bottom: 1.5rem;
        gap: 1.4rem;
    }
}

@media (max-width: 768px) {
    .product-page-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-page-image {
        height: 300px;
    }
    
    .product-page-icon {
        font-size: 5rem;
    }
}

