/* ===== Self-hosted Inter font ===== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-latin-ext-400.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-latin-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/inter-latin-ext-500.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/inter-latin-500.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/inter-latin-ext-600.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/inter-latin-600.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/inter-latin-ext-700.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/inter-latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('fonts/inter-latin-ext-800.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('fonts/inter-latin-800.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Variables & Reset ===== */
:root {
    --navy-900: #0a1628;
    --navy-800: #11213a;
    --navy-700: #1a2f4f;
    --navy-600: #243d63;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-light: #dbeafe;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-on-dark: #e5e7eb;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0a1628;
    --border: #e5e7eb;
    --shadow-sm: 0 2px 4px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 24px 48px rgba(10, 22, 40, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-900);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
}

.eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.accent {
    color: var(--accent);
    position: relative;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}

.nav-logo {
    display: flex;
    align-items: center;
    transition: transform var(--transition);
}

.nav-logo:hover {
    transform: scale(1.03);
}

.nav-logo-img {
    height: 64px;
    width: auto;
    transition: height var(--transition);
}

.navbar.scrolled .nav-logo-img {
    height: 52px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

/* Language switcher */
.lang-switch {
    display: inline-flex;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 3px;
    margin-left: 4px;
}

.lang-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-light);
    border-radius: 100px;
    transition: all var(--transition);
    cursor: pointer;
}

.lang-btn:hover {
    color: var(--navy-900);
}

.lang-btn.active {
    background: var(--accent);
    color: white;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.35);
}

.nav-link {
    font-weight: 500;
    color: var(--navy-900);
    font-size: 0.95rem;
    position: relative;
}

.nav-link:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-link:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent);
    color: white !important;
    padding: 10px 22px;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--navy-900);
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

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

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridFloat 20s linear infinite;
}

@keyframes gridFloat {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 760px;
}

.hero h1 {
    color: white;
    margin-bottom: 24px;
}

.hero .eyebrow {
    color: var(--accent-light);
    background: rgba(59, 130, 246, 0.15);
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-on-dark);
    margin-bottom: 40px;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.hero-scroll span {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 100px;
    animation: scrollPulse 1.8s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(8px); }
}

/* ===== Section Header ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 16px;
}

/* ===== Services ===== */
.services {
    background: var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    background: white;
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.service-list li {
    padding: 6px 0 6px 22px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.feature {
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    border-left: 3px solid var(--accent);
    background: var(--bg-alt);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.feature strong {
    color: var(--navy-900);
    margin-bottom: 4px;
}

.feature span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-visual {
    position: relative;
}

.about-card {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.3) 0%, transparent 60%);
}

.about-logo {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 14px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
}

.floating-badge strong {
    display: block;
    color: var(--navy-900);
    font-size: 0.95rem;
}

.floating-badge small {
    color: var(--text-light);
    font-size: 0.8rem;
}

.badge-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.badge-1 {
    top: 30px;
    left: -30px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 40px;
    right: -20px;
    animation-delay: 2s;
}

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

/* ===== Process ===== */
.process {
    background: var(--bg-alt);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.step {
    background: white;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
    transition: all var(--transition);
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.2) 0%, transparent 60%);
}

.cta-banner > .container {
    position: relative;
}

.cta-banner h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 1.15rem;
    margin-bottom: 32px;
    color: var(--text-on-dark);
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.contact-details {
    display: grid;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--navy-900);
    margin-bottom: 2px;
}

.contact-item span {
    color: var(--text-light);
    font-size: 0.92rem;
}

.email-image {
    display: block;
    height: 15px;
    width: auto;
    margin-top: 4px;
    user-select: none;
    -webkit-user-drag: none;
}

.email-image-footer {
    display: block;
    height: 28px;
    width: auto;
    max-width: none;
    padding: 6px 0;
    opacity: 0.95;
    user-select: none;
    -webkit-user-drag: none;
}

/* ===== Form ===== */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--navy-900);
    font-size: 0.92rem;
}

.optional {
    color: var(--text-light);
    font-weight: 400;
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all var(--transition);
    background: white;
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

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

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.captcha-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.captcha-group label strong {
    background: var(--bg-alt);
    padding: 4px 12px;
    border-radius: 6px;
    font-family: 'Inter', monospace;
    font-size: 1rem;
    color: var(--accent);
    letter-spacing: 0.05em;
    user-select: none;
}

.captcha-group input {
    max-width: 140px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    tab-index: -1;
}

/* ===== Privacy modal ===== */
.privacy-modal {
    width: min(720px, calc(100vw - 32px));
    max-height: 85vh;
    margin: auto;
    padding: 0;
    border: none;
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: 0 30px 80px rgba(10, 22, 40, 0.4);
    overflow: hidden;
    color: var(--text);
}

.privacy-modal::backdrop {
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.privacy-modal[open] {
    animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
    position: sticky;
    top: 0;
    z-index: 1;
}

.modal-header h2 {
    font-size: 1.25rem;
    margin: 0;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-light);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
    background: transparent;
}

.modal-close:hover {
    background: var(--border);
    color: var(--navy-900);
}

.modal-body {
    padding: 16px 28px 24px;
    overflow-y: auto;
    max-height: calc(85vh - 64px);
    line-height: 1.4;
}

.modal-body section {
    padding: 0;
    margin: 0 0 12px;
}

.modal-body section:last-of-type {
    margin-bottom: 0;
}

.modal-body h3 {
    font-size: 0.95rem;
    margin: 0 0 1px;
    line-height: 1.3;
    color: var(--navy-900);
}

.modal-body p {
    color: var(--text);
    margin: 0;
    line-height: 1.4;
    font-size: 0.9rem;
}

.modal-body p + p {
    margin-top: 4px;
}

.modal-body ul {
    list-style: none;
    margin: 2px 0 0;
    padding: 0;
}

.modal-body li {
    padding: 0 0 0 16px;
    position: relative;
    line-height: 1.4;
    font-size: 0.9rem;
}

.modal-body li + li {
    margin-top: 1px;
}

.modal-body li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--accent);
    font-weight: 700;
}

.modal-body p + ul,
.modal-body ul + p {
    margin-top: 2px;
}

.legal-updated {
    color: var(--text-light);
    font-size: 0.82rem;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

/* Form privacy notice under submit */
.form-privacy-note {
    margin-top: 14px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

.form-privacy-note a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-privacy-note a:hover {
    color: var(--accent-hover);
}

@media (max-width: 768px) {
    .modal-header {
        padding: 16px 20px;
    }
    .modal-body {
        padding: 16px 20px 20px;
    }
    .privacy-modal {
        max-height: 90vh;
    }
}

.form-success {
    background: white;
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    text-align: center;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
    animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.form-success h3 {
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.success-back {
    display: inline-flex !important;
    background: var(--bg-alt) !important;
    color: var(--navy-900) !important;
    border: 1px solid var(--border) !important;
}

.success-back:hover {
    background: var(--border) !important;
}

.form-status {
    margin-top: 16px;
    text-align: center;
    font-size: 0.92rem;
    min-height: 22px;
}

.form-status.error {
    color: #ef4444;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-on-dark);
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    opacity: 0.7;
    max-width: 320px;
}

.footer-logo {
    height: 64px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 8px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    opacity: 0.7;
    font-size: 0.92rem;
    transition: all var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateX(2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 0.88rem;
    opacity: 0.6;
}

/* ===== Reveal animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 72px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        transition: transform var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        padding: 8px 0;
    }

    .nav-cta {
        text-align: center;
        padding: 12px 22px;
    }

    .lang-switch {
        margin: 8px 0 0;
        align-self: center;
    }

    .nav-logo-img {
        height: 52px;
    }

    .navbar.scrolled .nav-logo-img {
        height: 44px;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 64px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .about-card {
        padding: 48px 32px;
    }

    .floating-badge {
        position: relative;
        display: inline-flex;
        margin-top: 16px;
        animation: none;
    }

    .badge-1, .badge-2 {
        position: absolute;
    }

    .badge-1 {
        top: 16px;
        left: 16px;
    }

    .badge-2 {
        bottom: 16px;
        right: 16px;
    }

    .contact-form {
        padding: 28px 24px;
    }

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
