@font-face {
    font-family: "Source Serif 4";
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url("fonts/vEFI2_tTDB4M7-auWDN0ahZJW1gW8tenXg.woff2") format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: "Source Serif 4";
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url("fonts/vEFI2_tTDB4M7-auWDN0ahZJW1gf8tenXg.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Source Serif 4";
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url("fonts/vEFI2_tTDB4M7-auWDN0ahZJW1gY8tenXg.woff2") format("woff2");
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
    font-family: "Source Serif 4";
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url("fonts/vEFI2_tTDB4M7-auWDN0ahZJW1gU8tenXg.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "Source Serif 4";
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url("fonts/vEFI2_tTDB4M7-auWDN0ahZJW1gV8tenXg.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: "Source Serif 4";
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url("fonts/vEFI2_tTDB4M7-auWDN0ahZJW1gb8tc.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: "Work Sans";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("fonts/QGYsz_wNahGAdqQ43Rh_c6Dpp_k.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "Work Sans";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("fonts/QGYsz_wNahGAdqQ43Rh_cqDpp_k.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: "Work Sans";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("fonts/QGYsz_wNahGAdqQ43Rh_fKDp.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;
}

:root {
    --color-bg: #ffffff;
    --color-surface: #f5f8fb;
    --color-surface-strong: #eef3f8;
    --color-text: #101d2c;
    --color-muted: #57677a;
    --color-border: #dde5ee;
    --color-primary: #0e2a47;
    --color-primary-dark: #0a2440;
    --color-ink: #0d1b2a;
    --color-secondary: #10786f;
    --color-accent: #c1872f;
    --color-accent-light: #dba54f;
    --font-serif: "Source Serif 4", Georgia, serif;
    --font-sans: "Work Sans", Arial, sans-serif;
    --shadow-soft: 0 18px 48px rgba(10, 36, 64, 0.12);
    --shadow-card: 0 10px 28px rgba(14, 42, 71, 0.06);
    --shadow-card-hover: 0 26px 46px rgba(14, 42, 71, 0.16);
    --radius: 10px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

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

site-footer {
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--color-primary-dark);
    letter-spacing: 0;
    font-size: 1.2rem;
}

.brand-logo {
    width: clamp(230px, 28vw, 320px);
    height: auto;
}

.brand::before {
    content: "";
    width: 15px;
    height: 15px;
    flex: none;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    box-shadow: 7px 7px 0 rgba(14, 42, 71, 0.14);
}

.site-header .brand::before {
    content: none;
    display: none;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
    color: var(--color-muted);
    font-size: 0.94rem;
    font-weight: 700;
}

.main-nav a,
.footer-links a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.footer-links a:hover {
    color: var(--color-primary);
}

.footer-links a:hover {
    color: var(--color-accent);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 104px 0 96px;
    background: linear-gradient(160deg, #0a2440 0%, #0e2f52 55%, #081b30 100%);
    color: #ffffff;
}

.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px);
    background-size: 26px 26px;
    opacity: 0.7;
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}

.hero-blob-1 {
    width: 520px;
    height: 520px;
    top: -180px;
    right: -140px;
    background: radial-gradient(circle, rgba(16, 120, 111, 0.55), transparent 70%);
    animation: floatSlow 14s ease-in-out infinite;
}

.hero-blob-2 {
    width: 420px;
    height: 420px;
    bottom: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(193, 135, 47, 0.35), transparent 70%);
    animation: floatSlow 18s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0% { transform: translate(0, 0); }
    50% { transform: translate(10px, -14px); }
    100% { transform: translate(0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-blob {
        animation: none;
    }
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: 52px;
    align-items: center;
}

.hero .eyebrow {
    color: var(--color-accent-light);
}

.hero-copy h1 {
    margin: 0;
    max-width: 700px;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: 0;
    color: #ffffff;
}

.hero-lead {
    margin: 24px 0 0;
    max-width: 600px;
    color: rgba(230, 238, 247, 0.82);
    font-size: 1.16rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.button.primary {
    color: var(--color-primary-dark);
    background: linear-gradient(135deg, #e0a744, var(--color-accent));
    box-shadow: 0 14px 30px rgba(193, 135, 47, 0.32);
}

.button.primary:hover {
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 20px 38px rgba(193, 135, 47, 0.42);
}

.button.primary:active {
    transform: translateY(0) scale(0.99);
}

.button.secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.35);
}

.button.secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Contact CTA button variant sits on a light background */
.cta-box .button.primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary), #123457);
    box-shadow: 0 16px 32px rgba(14, 42, 71, 0.3);
}

.cta-box .button.primary:hover {
    box-shadow: 0 22px 40px rgba(14, 42, 71, 0.4);
}

.hero-media-wrap {
    position: relative;
}

.hero-media-wrap::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 22px;
    right: -16px;
    bottom: -16px;
    border: 1px solid rgba(193, 135, 47, 0.5);
    border-radius: 16px;
    pointer-events: none;
}

.hero-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-surface);
    box-shadow: 0 30px 64px rgba(4, 14, 26, 0.45);
}

.hero-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.wave-divider--hero {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 90px;
    display: block;
}

/* ---------- Sections ---------- */

.section {
    padding: 76px 0;
}

.band {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 44px;
    align-items: start;
}

.section-heading h2,
.intro-grid h2,
.split-grid h2,
.cta-box h2,
.legal-article h1 {
    margin: 0;
    line-height: 1.15;
    color: var(--color-text);
    letter-spacing: 0;
    font-family: var(--font-serif);
    font-weight: 600;
}

.intro-grid h2,
.section-heading h2,
.split-grid h2,
.cta-box h2 {
    font-size: clamp(1.9rem, 2.8vw, 2.6rem);
}

.intro-grid p,
.split-grid p,
.cta-box p,
.proof-grid p {
    color: var(--color-muted);
    margin: 0;
}

.intro-copy {
    min-width: 0;
}

.intro-funnel {
    grid-column: 1 / -1;
    position: relative;
    width: min(100% - 28px, 1080px);
    margin: 10px auto 0;
}

.intro-funnel::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 18px;
    right: -14px;
    bottom: -14px;
    border: 1px solid rgba(193, 135, 47, 0.5);
    border-radius: 16px;
    pointer-events: none;
}

.intro-funnel img {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 16px;
    background: var(--color-surface);
    box-shadow: 0 30px 64px rgba(4, 14, 26, 0.45);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--color-secondary);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---------- Service cards ---------- */

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

.service-card {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #ffffff;
    padding: 30px;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.service-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
}

.service-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
}

.service-card:nth-child(4)::before {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.service-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.service-icon {
    width: 52px;
    height: 52px;
    flex: none;
    border-radius: 12px;
    background: #eaf1f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:nth-child(2) .service-icon,
.service-card:nth-child(4) .service-icon {
    background: #e7f4f2;
}

.service-card:nth-child(3) .service-icon {
    background: #faf1e2;
}

.service-number {
    color: var(--color-accent);
    font-size: 0.86rem;
    font-weight: 800;
}

.service-card h3,
.process-item h3,
.proof-grid h3 {
    margin: 0 0 10px;
    color: var(--color-primary-dark);
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.28rem;
}

.service-card p,
.service-card li,
.process-item p {
    color: var(--color-muted);
}

.service-card p {
    margin: 0 0 18px;
}

.service-card ul {
    margin: 0;
    padding-left: 20px;
}

.service-card li + li {
    margin-top: 8px;
}

/* ---------- Metodo / process timeline ---------- */

.split-section {
    position: relative;
    background: #ffffff;
    padding: 88px 0;
    overflow: hidden;
}

.split-section-bg {
    position: absolute;
    inset: 0;
    background: var(--color-surface);
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
}

.split-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 52px;
    align-items: start;
}

.split-grid p {
    margin-top: 18px;
}

.process-list {
    position: relative;
    display: grid;
    gap: 8px;
}

.process-line {
    position: absolute;
    left: 23px;
    top: 34px;
    bottom: 34px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    opacity: 0.4;
}

.process-item {
    position: relative;
    display: flex;
    gap: 18px;
    padding: 16px 8px;
}

.process-item span {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), #123457);
    color: #ffffff;
    border-radius: 10px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(14, 42, 71, 0.28);
}

.process-item:nth-child(2) span {
    background: linear-gradient(135deg, #123457, #175366);
}

.process-item:nth-child(3) span {
    background: linear-gradient(135deg, #175366, #0f6d68);
    box-shadow: 0 10px 20px rgba(16, 120, 111, 0.24);
}

.process-item:nth-child(4) span {
    background: linear-gradient(135deg, #0f6d68, var(--color-secondary));
    box-shadow: 0 10px 20px rgba(16, 120, 111, 0.28);
}

.process-item h3,
.process-item p {
    margin: 0;
}

.process-item h3 {
    margin-bottom: 4px;
    font-size: 1.15rem;
}

/* ---------- Proof / trust ---------- */

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.proof-grid article {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #ffffff;
    padding: 28px;
}

.proof-grid h3 {
    margin-top: 0;
}

/* ---------- CTA ---------- */

.cta-section {
    padding: 24px 0 100px;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px;
    border: 1px solid var(--color-border);
    border-left: 6px solid var(--color-secondary);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-surface), var(--color-surface-strong));
    box-shadow: 0 20px 50px rgba(14, 42, 71, 0.08);
}

.cta-box p {
    max-width: 760px;
    margin-top: 14px;
}

/* ---------- Footer ---------- */

.site-footer {
    padding: 36px 0 44px;
    background: var(--color-primary-dark);
    color: #dbe7f3;
}

.footer-wave-wrap {
    position: relative;
    height: 70px;
    margin-bottom: -1px;
}

.footer-wave {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 34px;
    align-items: start;
}

.footer-brand {
    color: #ffffff;
}

.footer-brand::before {
    content: none;
}

.footer-brand .brand-logo {
    width: clamp(260px, 30vw, 340px);
}

.site-footer p {
    max-width: 560px;
    margin: 14px 0 0;
    color: #b7c6d6;
}

.footer-small {
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-weight: 700;
}

/* ---------- Legal pages ---------- */

.legal-main {
    padding: 56px 0 82px;
    background: var(--color-surface);
}

.legal-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 42px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #ffffff;
}

.legal-article h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.legal-article h2 {
    margin: 34px 0 12px;
    color: var(--color-primary-dark);
    font-family: var(--font-serif);
    font-size: 1.35rem;
}

.legal-article h3 {
    margin: 24px 0 8px;
    color: var(--color-text);
    font-size: 1.05rem;
}

.legal-article p,
.legal-article li {
    color: var(--color-muted);
}

.legal-article ul,
.legal-article ol {
    padding-left: 22px;
}

.legal-meta {
    margin: 10px 0 28px;
    color: var(--color-muted);
}

.legal-download {
    display: inline-flex;
    margin-top: 14px;
    color: var(--color-primary);
    font-weight: 800;
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */
/* Content is visible by default. Only hidden pre-animation once JS confirms
   it can run the IntersectionObserver, so no-JS / reduced-motion users
   always see full content immediately. */

.js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.js-reveal [data-reveal].is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.js-reveal .services-grid [data-reveal]:nth-child(2) { transition-delay: 90ms; }
.js-reveal .services-grid [data-reveal]:nth-child(3) { transition-delay: 180ms; }
.js-reveal .services-grid [data-reveal]:nth-child(4) { transition-delay: 270ms; }

.js-reveal .process-list [data-reveal] {
    transform: translateX(-16px);
}

.js-reveal .process-list [data-reveal].is-visible {
    transform: translate(0, 0);
}

.js-reveal .process-list [data-reveal]:nth-child(2) { transition-delay: 90ms; }
.js-reveal .process-list [data-reveal]:nth-child(3) { transition-delay: 180ms; }
.js-reveal .process-list [data-reveal]:nth-child(4) { transition-delay: 270ms; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
    .hero-grid,
    .intro-grid,
    .split-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 36px;
    }

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

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .header-inner {
        min-height: auto;
        padding: 16px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .main-nav {
        width: 100%;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 4px;
    }

    .hero {
        padding: 68px 0 60px;
    }

    .section,
    .split-section {
        padding: 54px 0;
    }

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

    .service-card {
        padding: 22px;
    }

    .cta-box {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }

    .button {
        width: 100%;
    }

    .legal-article {
        padding: 24px;
    }
}
