:root {
    --bg-page: #E7ECF4;
    --bg-page-top: #D9E1F0;
    --bg-panel: #FFFFFF;
    --bg-panel-soft: #F5F7FB;
    --headline-gold: #CCBF90;
    --border-gold: #CCBF90;
    --border-soft: #D1D8E5;
    --nav-bg: #1B3556;
    --text-body: #1A2433;
    --text-muted: #5B6475;
}

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

body {
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--text-body);
    background: linear-gradient(to bottom, var(--bg-page-top), var(--bg-page));
    -webkit-font-smoothing: antialiased;
}

a {
    color: #234a88;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

h1, h2, h3, h4 {
    font-family: "Playfair Display SC", "Times New Roman", serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1F3150;
}

p {
    color: var(--text-body);
    font-size: 0.98rem;
}

/* Navigation */
nav {
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

nav .logo {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--headline-gold);
    white-space: nowrap;
}

nav .logo a {
    color: inherit;
    text-decoration: none;
}

nav .logo span {
    opacity: 0.8;
    font-weight: 400;
}

nav .lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
}

nav .lang-switch a {
    color: #F1F4FA;
    text-decoration: none;
    padding: 4px 10px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border-radius: 999px;
    border: 1px solid transparent;
    opacity: 0.85;
}

nav .lang-switch a:hover,
nav .lang-switch a.active {
    border-color: var(--border-gold);
    color: var(--headline-gold);
    background: rgba(12, 27, 54, 0.4);
    opacity: 1;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 22px;
    margin-top: 6px;
    flex-wrap: wrap;
}

nav ul li a {
    color: #E3E8F3;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-decoration: none;
    opacity: 0.75;
    position: relative;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--headline-gold);
    transition: width 0.2s ease;
}

nav ul li a:hover {
    opacity: 1;
    color: var(--headline-gold);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Page structure */
main {
    padding-top: 96px;
}

section {
    padding: 56px 0;
}

.section-header {
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 1.3rem;
}

/* Hero */
.hero {
    padding: 72px 0 40px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.2fr);
    gap: 32px;
    align-items: stretch;
}

.hero-primary {
    background: #FDFDFE;
    border: 1px solid var(--border-soft);
    padding: 26px 26px 24px;
    box-shadow: 0 14px 32px rgba(9, 30, 66, 0.12);
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero .tagline {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.hero .sub {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 650px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    border-color: #1F3150;
    color: #FFFFFF;
    background: #1F3150;
    box-shadow: 0 8px 20px rgba(10, 30, 66, 0.25);
}

.btn-primary:hover {
    background: #283B5C;
    border-color: #283B5C;
    text-decoration: none;
}

.btn-outline {
    border-color: #C3CCDC;
    color: #1F3150;
    background: transparent;
}

.btn-outline:hover {
    border-color: #1F3150;
    color: #1F3150;
    background: #E5EBF6;
    text-decoration: none;
}

.btn-ghost-gold {
    border-color: var(--border-gold);
    color: #4B3E18;
    background: rgba(204, 191, 144, 0.14);
}

.btn-ghost-gold:hover {
    background: rgba(204, 191, 144, 0.24);
    text-decoration: none;
}

/* Sections */
.conditions-section {
    border-top: 1px solid rgba(173, 184, 206, 0.7);
}

.form-section {
    border-top: 1px solid rgba(173, 184, 206, 0.7);
    padding-bottom: 64px;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.condition-card {
    background: var(--bg-panel);
    padding: 25px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.condition-card h3 {
    color: #1F3150;
    margin-bottom: 10px;
    font-size: 1.05em;
}

.condition-card.no {
    border-left: 3px solid #cc4444;
}

.commitment-box {
    background: #1F3150;
    color: #fff;
    padding: 28px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.commitment-box p {
    font-size: 1.05em;
    margin: 8px 0;
}

.commitment-box strong {
    color: var(--headline-gold);
}

.commitment-box .whatsapp {
    margin-top: 15px;
    font-size: 0.98em;
    color: #E9E9E9;
}

.commitment-box .whatsapp a {
    color: var(--headline-gold);
    text-decoration: none;
    font-weight: 600;
}

.commitment-box .whatsapp a:hover {
    text-decoration: underline;
}

.form-wrap {
    background: #f5f7fb;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border: 1px solid #D1D8E5;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #1F3150;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #C3CCDC;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.98em;
    color: var(--text-body);
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1F3150;
    box-shadow: 0 0 0 2px rgba(31, 49, 80, 0.15);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.word-counter {
    text-align: right;
    font-size: 0.9em;
    margin-top: 5px;
    color: #666;
}

.word-counter.over {
    color: #cc4444;
    font-weight: bold;
}

.nda-note {
    background: #fff9e6;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-size: 0.95em;
    color: #4b4b4b;
}

.nda-note strong {
    color: #1a1a2e;
}

.submit-btn {
    background: #1F3150;
    color: #fff;
    border: none;
    padding: 16px 48px;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #283B5C;
}

.submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

.urgent-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.95em;
    color: #555;
}

.urgent-note a {
    color: #1F3150;
    font-weight: bold;
}

/* PDF modal */
.pdf-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.pdf-modal.is-open {
    display: flex;
}

.pdf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 21, 43, 0.45);
}

.pdf-modal-dialog {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    max-width: 780px;
    width: 92%;
    max-height: 90vh;
    padding: 22px 24px 20px;
    box-shadow: 0 22px 50px rgba(9, 30, 66, 0.32);
    color: var(--text-body);
}

.pdf-modal-dialog h2 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #1F3150;
}

.pdf-modal-subtitle {
    font-size: 0.92rem;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.pdf-modal-frame {
    border-radius: 8px;
    border: 1px dashed var(--border-soft);
    background: #F5F7FB;
    padding: 14px 16px;
    margin-top: 4px;
}

.pdf-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: transparent;
    border: none;
    color: #8A96AB;
    font-size: 1.4em;
    cursor: pointer;
}

/* Footer - match index: light text on dark blue, overrides any page-level styles */
footer {
    background: #0E213D !important;
    color: #AEB7C7 !important;
    padding: 18px 0;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 24px;
}
footer p { color: #AEB7C7 !important; }
footer a { color: #CCBF90 !important; }
footer a:hover { color: #E5DDB8 !important; text-decoration: underline; }

/* Landing page sections */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 22px;
}
.problem-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-soft);
    padding: 18px 18px 16px;
}
.problem-card h3 { font-size: 0.9rem; margin-bottom: 8px; }
.problem-card p { font-size: 0.9rem; color: var(--text-muted); }
.stats-callout {
    background: #fff9e6;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 30px 0;
}
.stats-callout p { margin: 10px 0; }
.stats-callout strong { color: #1a1a2e; }
.solution-box {
    background: var(--bg-panel);
    border: 1px solid var(--border-soft);
    padding: 20px 20px 16px;
    margin: 20px 0;
}
.solution-box h3 { font-size: 0.95rem; margin-bottom: 10px; }
.solution-list { list-style: none; }
.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    border-top: 1px solid rgba(196, 206, 224, 0.7);
    font-size: 0.9rem;
    color: var(--text-muted);
}
.solution-list li:first-child { border-top: none; }
.checkmark { color: #218738; font-size: 0.8rem; margin-top: 3px; }
.quote-box {
    margin-top: 24px;
    background: #F5F7FB;
    border-left: 3px solid var(--border-gold);
    padding: 18px 20px 16px;
}
.quote-box blockquote { font-size: 0.95rem; font-style: italic; margin-bottom: 10px; color: var(--text-body); }
.quote-box cite { font-size: 0.85rem; color: var(--text-muted); }
.services-banner {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(196, 206, 224, 0.7);
}
.services-banner h3 { font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.services-banner .service-links { display: flex; flex-wrap: wrap; gap: 10px; }
.services-banner .service-links a {
    font-size: 0.8rem;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(173, 184, 206, 0.9);
    color: var(--text-body);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #FFFFFF;
}
.services-banner .service-links a:hover { border-color: #1F3150; color: #1F3150; text-decoration: none; }
.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 18px;
}
.sector-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-soft);
    padding: 16px 16px 14px;
}
.sector-card h3 { font-size: 0.85rem; margin-bottom: 6px; }
.sector-card p { font-size: 0.88rem; color: var(--text-muted); }
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 18px;
}
.credential-block {
    background: var(--bg-panel);
    border: 1px solid var(--border-soft);
    padding: 16px 18px 14px;
}
.credential-block h3 { border-bottom: 2px solid var(--border-gold); padding-bottom: 10px; font-size: 0.95rem; }
.credential-block ul { list-style: none; margin-top: 15px; }
.credential-block li { padding: 8px 0; padding-left: 20px; position: relative; }
.credential-block li:before { content: "→"; position: absolute; left: 0; color: var(--headline-gold); }
section.contact-section {
    background: #1B3556;
    color: #E3E8F3;
    border-top: 1px solid rgba(173, 184, 206, 0.7);
}
.contact-section h2 { color: var(--headline-gold); }
.contact-section p { color: #E3E8F3 !important; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-top: 30px; }
.contact-info h3 { color: var(--headline-gold); font-size: 0.95rem; }
.contact-info p { margin: 15px 0; color: #E3E8F3; }
.contact-info a { color: var(--headline-gold); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.contact-links { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 20px; }
.contact-links a {
    background: var(--headline-gold);
    color: #1F3150;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.contact-links a:hover { background: #E5EBF6; text-decoration: none; }
.try-me-out { margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.try-me-out h3 { color: var(--headline-gold); margin-bottom: 12px; font-size: 1rem; }
.try-me-out p { margin-bottom: 20px; }
.try-me-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    background: var(--headline-gold);
    color: #1F3150;
    margin-right: 10px;
}
.try-me-btn:hover { background: #E5EBF6; text-decoration: none; }
.hero .cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 999px;
    text-decoration: none;
    margin: 4px 8px 4px 0;
}
.hero .cta:not(.secondary) {
    background: #1F3150;
    color: #fff;
    border: 1px solid #1F3150;
}
.hero .cta:not(.secondary):hover { background: #283B5C; text-decoration: none; }
.hero .cta.secondary {
    background: transparent;
    border: 1px solid #C3CCDC;
    color: #1F3150;
}
.hero .cta.secondary:hover { background: #E5EBF6; text-decoration: none; }

.comparison-table { width: 100%; border-collapse: collapse; margin: 30px 0; background: var(--bg-panel); }
.comparison-table th, .comparison-table td { padding: 15px; text-align: left; border-bottom: 1px solid var(--border-soft); }
.comparison-table th { background: #1B3556; color: var(--headline-gold); font-weight: 600; }
.use-case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 30px; }
.use-case-card { background: var(--bg-panel); padding: 25px; border-radius: 8px; border: 1px solid var(--border-soft); }
.use-case-card h3 { margin-bottom: 15px; }
.use-case-card .tag { display: inline-block; background: rgba(204, 191, 144, 0.2); color: #4B3E18; padding: 5px 15px; border-radius: 20px; font-size: 0.9em; font-weight: 600; margin-bottom: 15px; }

@media (max-width: 600px) {
    .hero h1 { font-size: 1.6rem; }
    .form-row { grid-template-columns: 1fr; }
    .form-wrap { padding: 25px 20px; }
    .hero-inner { grid-template-columns: 1fr; }
}
