/* ============================================================================
   JGF SPAIN — PUBLIC SITE STYLESHEET
   Design tokens: dark teal + forest green primary, soft green accent,
   muted gold from the logo used sparingly, warm off-white neutrals.
   Type: Fraunces (headlines) + IBM Plex Sans (body) — deliberately not the
   generic cream/terracotta or all-black/acid-green defaults.
   ============================================================================ */

:root {
    /* Colors */
    --color-primary: #0B3D36;        /* deep teal */
    --color-primary-dark: #072922;
    --color-secondary: #1F6F54;      /* forest green */
    --color-accent-soft: #A8CDBB;    /* soft green */
    --color-accent-soft-tint: #EAF2ED;
    --color-gold: #B9803E;           /* muted gold from the logo, used sparingly */
    --color-gold-tint: #F6ECDD;
    --color-off-white: #F7F6F2;
    --color-white: #FFFFFF;
    --color-light-gray: #E9E7E1;
    --color-charcoal: #1E2422;
    --color-text-muted: #566159;

    /* Type */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout */
    --max-width: 1180px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --shadow-card: 0 1px 3px rgba(11, 61, 54, 0.08), 0 1px 2px rgba(11, 61, 54, 0.06);
    --shadow-lift: 0 12px 28px rgba(11, 61, 54, 0.14);
}

/* ---------------------------------------------------------------------- */
/* Reset & base                                                           */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-charcoal);
    background: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--color-primary-dark);
    line-height: 1.15;
    margin: 0 0 0.5em;
    font-weight: 600;
}
p { margin: 0 0 1em; max-width: 62ch; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--color-primary);
    color: #fff;
    padding: 10px 16px;
    z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; flex-shrink: 0; }
.icon-lg { width: 32px; height: 32px; flex-shrink: 0; }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                */
/* ---------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.96rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-cta { background: var(--color-gold); color: #fff; }
.btn-cta:hover { background: #a06f34; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.94rem;
    transition: gap 0.15s ease, color 0.15s ease;
}
.link-more .icon-sm { transition: transform 0.15s ease; }
.link-more:hover { color: var(--color-primary-dark); }
.link-more:hover .icon-sm { transform: translateX(3px); }

/* ---------------------------------------------------------------------- */
/* Header / Nav                                                           */
/* ---------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--color-light-gray);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.brand-logo { height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
    font-weight: 500;
    color: var(--color-charcoal);
    font-size: 0.97rem;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--color-primary); border-color: var(--color-secondary); }
.main-nav a.btn { border-bottom: none; }
.main-nav a.btn:hover, .main-nav a.btn.active { color: #fff; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--color-primary-dark);
}
.nav-toggle .nav-toggle-close { display: none; }
.nav-toggle.open .nav-toggle-open { display: none; }
.nav-toggle.open .nav-toggle-close { display: block; }

/* ---------------------------------------------------------------------- */
/* Hero                                                                   */
/* ---------------------------------------------------------------------- */
.hero {
    padding: 76px 0 92px;
    background: linear-gradient(180deg, var(--color-off-white) 0%, #ffffff 100%);
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}
.hero-eyebrow-mark {
    display: inline-block;
    width: 40px;
    height: 4px;
    background: var(--color-gold);
    border-radius: 2px;
    margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    margin-bottom: 0.2em;
}
.hero-subtitle {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    color: var(--color-secondary);
    max-width: 34ch;
    margin-bottom: 0.7em;
}
.hero-desc { color: var(--color-text-muted); font-size: 1.06rem; max-width: 52ch; }
.hero-actions { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; }

/* ---------------------------------------------------------------------- */
/* Sections, generic                                                      */
/* ---------------------------------------------------------------------- */
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--color-off-white); }
.section-dark {
    background: var(--color-primary);
    color: rgba(255,255,255,0.92);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.78); }
.section-header { max-width: 640px; margin-bottom: 48px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
    display: block;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 10px;
}
.section-dark .section-kicker { color: var(--color-accent-soft); }
.section-title { font-size: clamp(1.8rem, 3vw, 2.35rem); }

/* ---------------------------------------------------------------------- */
/* Why choose cards                                                       */
/* ---------------------------------------------------------------------- */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.why-card {
    background: #fff;
    border: 1px solid var(--color-light-gray);
    border-left: 3px solid var(--color-secondary);
    border-radius: var(--radius-sm);
    padding: 28px 26px;
    transition: box-shadow 0.18s ease, border-left-color 0.18s ease;
}
.why-card:hover { box-shadow: var(--shadow-card); border-left-color: var(--color-gold); }
.why-card-icon {
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-accent-soft-tint);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
}
.why-card h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.why-card p { color: var(--color-text-muted); font-size: 0.96rem; margin-bottom: 0; }

/* ---------------------------------------------------------------------- */
/* Services                                                               */
/* ---------------------------------------------------------------------- */
.service-card {
    background: #fff;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-sm);
    padding: 30px 26px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--color-gold);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.2em; }
.service-card p { color: var(--color-text-muted); font-size: 0.96rem; }
.service-card .link-more { margin-top: auto; padding-top: 6px; }

.services-toolbar { display: flex; justify-content: center; margin-top: 44px; }

/* Full services listing page */
.service-row {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 24px;
    align-items: start;
    padding: 30px 0;
    border-bottom: 1px solid var(--color-light-gray);
}
.service-row:first-child { padding-top: 0; }
.service-row-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-accent-soft-tint);
    color: var(--color-primary);
    border-radius: var(--radius-md);
}
.service-row h3 { font-size: 1.3rem; margin-bottom: 6px; }
.service-row p { color: var(--color-text-muted); margin-bottom: 0; }
.service-row-action { align-self: center; }

/* Service detail */
.detail-hero { background: var(--color-primary); color: #fff; padding: 56px 0 64px; }
.detail-hero .back-link { color: var(--color-accent-soft); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; font-weight: 500; }
.detail-hero h1 { color: #fff; }
.detail-hero p { color: rgba(255,255,255,0.82); font-size: 1.08rem; }
.detail-columns { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; padding: 56px 0; }
.detail-block { margin-bottom: 40px; }
.detail-block h2 { font-size: 1.4rem; margin-bottom: 0.6em; }
.detail-list li {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 9px 0;
    color: var(--color-charcoal);
}
.detail-list li .icon-sm { color: var(--color-secondary); margin-top: 3px; }
.detail-sidebar {
    background: var(--color-off-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-md);
    padding: 28px;
    height: fit-content;
    position: sticky;
    top: 100px;
}
.detail-sidebar h3 { font-size: 1.1rem; }
.detail-sidebar p { font-size: 0.94rem; color: var(--color-text-muted); }

/* ---------------------------------------------------------------------- */
/* Partnership / recruitment / CTA banners                                */
/* ---------------------------------------------------------------------- */
.banner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
}
.banner-reverse { grid-template-columns: 1fr 1.4fr; }
.banner-reverse .banner-text { order: 2; }
.banner-reverse .banner-side { order: 1; }
.banner-text h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.banner-side {
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius-md);
    padding: 28px;
    background: rgba(255,255,255,0.06);
}
.section:not(.section-dark) .banner-side {
    background: var(--color-accent-soft-tint);
    border-color: var(--color-light-gray);
}
.banner-stat { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.section-dark .banner-stat { border-color: rgba(255,255,255,0.14); }
.banner-stat:last-child { border-bottom: none; }
.banner-stat strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-gold); }

.final-cta { text-align: center; padding: 90px 0; background: var(--color-primary-dark); color: #fff; }
.final-cta h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.final-cta p { color: rgba(255,255,255,0.78); margin: 0 auto 28px; }
.final-cta .hero-actions { justify-content: center; }

/* ---------------------------------------------------------------------- */
/* About page                                                             */
/* ---------------------------------------------------------------------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pillar-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 8px; }
.pillar { padding: 24px 0; }
.pillar h3 { font-size: 1.15rem; border-top: 3px solid var(--color-gold); padding-top: 16px; }
.pillar p { color: var(--color-text-muted); font-size: 0.96rem; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
    text-align: left;
    padding: 26px;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-light-gray);
}
.value-card-icon {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-gold-tint);
    color: var(--color-gold);
    border-radius: 50%;
    margin-bottom: 14px;
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.value-card p { font-size: 0.93rem; color: var(--color-text-muted); margin-bottom: 0; }

/* ---------------------------------------------------------------------- */
/* Forms (Apply, Contact)                                                 */
/* ---------------------------------------------------------------------- */
.form-card {
    background: #fff;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-md);
    padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 7px;
    color: var(--color-primary-dark);
}
.form-group .required { color: var(--color-gold); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--color-light-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.96rem;
    color: var(--color-charcoal);
    background: #fff;
    transition: border-color 0.15s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--color-secondary);
    outline: none;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-hint { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 5px; }
.form-error { font-size: 0.82rem; color: #B4432E; margin-top: 5px; display: none; }
.form-group.has-error input, .form-group.has-error textarea, .form-group.has-error select { border-color: #B4432E; }
.form-group.has-error .form-error { display: block; }

.file-drop {
    border: 1.5px dashed var(--color-light-gray);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    color: var(--color-text-muted);
}
.file-drop:hover, .file-drop.drag-over { border-color: var(--color-secondary); background: var(--color-accent-soft-tint); }
.file-drop input { display: none; }
.file-drop .icon { margin: 0 auto 10px; color: var(--color-secondary); }
.file-drop .file-name { font-weight: 600; color: var(--color-primary-dark); margin-top: 8px; }

.form-submit-row { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.form-status { font-size: 0.92rem; }

.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 0.95rem;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.alert-success { background: var(--color-accent-soft-tint); color: var(--color-primary-dark); border: 1px solid var(--color-accent-soft); }
.alert-error { background: #FBEAE6; color: #8A3323; border: 1px solid #EBC3B8; }

.success-panel { text-align: center; padding: 60px 20px; }
.success-panel .success-icon {
    width: 68px; height: 68px;
    margin: 0 auto 22px;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-accent-soft-tint);
    color: var(--color-secondary);
    border-radius: 50%;
}
.success-panel h2 { font-size: 1.7rem; }
.success-panel p { max-width: 46ch; margin: 0 auto 24px; color: var(--color-text-muted); }

/* ---------------------------------------------------------------------- */
/* Contact page info panel                                                */
/* ---------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: start; }
.contact-info-card {
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 36px;
}
.contact-info-card h3 { color: #fff; font-size: 1.2rem; }
.contact-info-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row .icon { color: var(--color-accent-soft); margin-top: 2px; }
.contact-info-row strong { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.65); font-weight: 500; margin-bottom: 2px; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                 */
/* ---------------------------------------------------------------------- */
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,0.75); }
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 64px 24px 44px;
}
.footer-logo { height: 46px; filter: brightness(0) invert(1); opacity: 0.92; margin-bottom: 14px; }
.footer-tagline { color: #fff; font-weight: 600; margin-bottom: 4px; }
.footer-desc { font-size: 0.9rem; max-width: 32ch; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; font-family: var(--font-body); font-weight: 600; }
.footer-col ul li { margin-bottom: 11px; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: center; }
.footer-bottom p { margin: 0; font-size: 0.85rem; }

/* ---------------------------------------------------------------------- */
/* Responsive                                                             */
/* ---------------------------------------------------------------------- */
@media (max-width: 960px) {
    .grid-cards, .values-grid, .pillar-row { grid-template-columns: repeat(2, 1fr); }
    .hero-inner, .about-intro, .banner, .banner-reverse, .contact-layout, .detail-columns { grid-template-columns: 1fr; }
    .banner-reverse .banner-text, .banner-reverse .banner-side { order: initial; }
    .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .header-inner { height: 68px; }
    .brand-logo { height: 42px; }
    .main-nav {
        position: fixed;
        top: 68px; left: 0; right: 0; bottom: 0;
        background: #0b4f45;
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        gap: 6px;
        transform: translateX(100%);
        transition: transform 0.22s ease;
        overflow-y: auto;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav a { width: 100%; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.14); color: #fff; }
    .main-nav a.btn { margin-top: 14px; justify-content: center; }
    .nav-toggle { display: block; }

    .grid-cards, .values-grid, .pillar-row { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; text-align: left; }
    .service-row { grid-template-columns: 48px 1fr; }
    .service-row-action { grid-column: 1 / -1; margin-top: 6px; }
    .section { padding: 56px 0; }
    .form-card { padding: 26px; }
}

/* Structured application form */
.experience-row {
    display:grid;
    grid-template-columns:2fr 1fr 1fr auto;
    gap:12px;
    align-items:end;
    margin-top:12px;
    padding-top:12px;
    border-top:1px solid var(--color-border, #e5e5e5);
}
@media (max-width: 720px) {
    .experience-row { grid-template-columns:1fr; }
}


/* ======================================================================
   JGF SPAIN — MINIMALIST GREEN HOMEPAGE REVISION
   ====================================================================== */
.home-hero {
    position: relative;
    overflow: hidden;
    background: #f8fbf9;
    border-bottom: 1px solid #e4eee8;
    padding: 72px 0 38px;
}
.home-hero-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    right: -170px;
    top: -120px;
    border: 1px solid #d7e9df;
    border-radius: 50%;
    pointer-events: none;
}
.home-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr);
    gap: 34px;
    align-items: center;
}
.home-hero-copy { padding: 12px 0 28px; }
.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-secondary);
    font-size: .79rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.home-kicker span { width: 34px; height: 2px; background: var(--color-gold); display: inline-block; }
.home-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(2.8rem, 5.1vw, 4.75rem);
    letter-spacing: -.055em;
    line-height: 1.01;
    max-width: 11ch;
    margin-bottom: 22px;
    color: var(--color-primary);
}
.home-subtitle { font-family: var(--font-body); font-size: 1.24rem; line-height: 1.45; color: var(--color-secondary); max-width: 42ch; margin-bottom: 14px; }
.home-description { color: var(--color-text-muted); font-size: 1.02rem; max-width: 58ch; margin-bottom: 22px; }
.home-actions { display:flex; gap:12px; flex-wrap:wrap; }
.home-primary-btn { box-shadow: 0 8px 20px rgba(11,61,54,.12); }
.home-secondary-btn { border-color: #94bca9; }
.home-trustline { display:flex; align-items:center; gap:9px; margin-top: 18px; color:#6c7972; font-size:.86rem; }
.trust-dot { width:8px; height:8px; border-radius:50%; background:var(--color-secondary); box-shadow:0 0 0 5px #e4f1ea; }

.globe-stage { position:relative; min-height: 510px; display:flex; align-items:center; justify-content:center; }
.globe-svg { width:min(510px,100%); height:auto; position:relative; z-index:2; filter: drop-shadow(0 14px 26px rgba(11,61,54,.07)); }
.globe-orbit { position:absolute; border:1px solid #bcdacb; border-radius:50%; transform:rotate(-17deg); pointer-events:none; }
.orbit-one { width:92%; height:38%; }
.orbit-two { width:80%; height:76%; transform:rotate(38deg); }
.orbit-three { width:58%; height:92%; transform:rotate(78deg); opacity:.7; }
.globe-marker { position:absolute; z-index:3; width:11px; height:11px; border-radius:50%; background:var(--color-secondary); box-shadow:0 0 0 8px rgba(31,116,88,.09); }
.marker-one { left:8%; top:29%; }
.marker-two { right:13%; bottom:24%; background:var(--color-gold); box-shadow:0 0 0 8px rgba(185,128,62,.10); }
.globe-caption { position:absolute; right:5%; bottom:5%; display:flex; flex-direction:column; gap:2px; text-align:left; background:rgba(255,255,255,.88); border:1px solid #dcebe3; padding:12px 15px; z-index:4; box-shadow:0 8px 24px rgba(11,61,54,.06); }
.globe-caption strong { font-size:.82rem; color:var(--color-primary); }
.globe-caption span { font-size:.74rem; color:#718078; max-width:26ch; }

.home-proof-row { display:grid; grid-template-columns:1fr 1px 1fr 1px 1fr 1px 1fr; align-items:center; padding-top:30px; gap:20px; }
.proof-item { display:flex; align-items:center; gap:12px; min-width:0; }
.proof-item strong { display:block; color:var(--color-primary); font-size:.9rem; }
.proof-item span:not(.proof-icon) { display:block; color:#75827b; font-size:.74rem; margin-top:2px; }
.proof-icon { width:36px; height:36px; border:1px solid #cfe2d7; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--color-secondary); background:#fff; }
.proof-separator { width:1px; height:34px; background:#dce9e1; }
.home-services-intro { background:#fff; }
.home-section-header { max-width:720px; margin-bottom:38px; }
.home-section-header .section-title { font-family:var(--font-body); font-weight:700; letter-spacing:-.03em; }
.home-feature-grid { grid-template-columns:repeat(3,1fr); }
.home-feature-card { box-shadow:none; border:1px solid #e0ebe5; border-left:2px solid var(--color-secondary); min-height:185px; }
.home-feature-card:hover { box-shadow:0 8px 28px rgba(11,61,54,.08); }
.home-centered-link { display:flex; justify-content:center; margin-top:34px; }
.home-partner-band { background:var(--color-primary); }
.home-applicant-band { background:#f7faf8; }
.home-final-cta { background:var(--color-primary-dark); border-top:1px solid rgba(255,255,255,.08); }
.home-final-cta .section-kicker { color:#acd3c0; }
.home-final-cta h2 { font-family:var(--font-body); font-weight:700; letter-spacing:-.03em; }

@media (max-width:960px) {
    .home-hero-grid { grid-template-columns:1fr; }
    .globe-stage { order:-1; min-height:410px; max-width:560px; margin:0 auto; width:100%; }
    .home-hero-copy { padding-top:0; }
    .home-title { max-width:15ch; }
    .home-proof-row { grid-template-columns:1fr 1fr; row-gap:22px; }
    .proof-separator { display:none; }
    .home-feature-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:720px) {
    .home-hero { padding-top:42px; }
    .globe-stage { min-height:330px; }
    .globe-caption { right:0; bottom:2%; }
    .home-title { font-size:clamp(2.55rem,12vw,3.45rem); }
    .home-proof-row { grid-template-columns:1fr; padding-top:20px; }
    .home-feature-grid { grid-template-columns:1fr; }
}


/* ======================================================================
   JGF SPAIN — GREEN SITE SYSTEM
   ====================================================================== */
main {
    background: #f4faf6;
}
.page-services main, .page-about main, .page-contact main, .page-apply main, .page-default main {
    background: #f4faf6;
}
.site-header {
    background: #0b4f45;
    box-shadow: 0 2px 14px rgba(5, 45, 39, .14);
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.brand-logo {
    height: 58px;
    width: auto;
    flex: 0 0 auto;
}
.brand-name {
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.main-nav a {
    color: #fff;
}
.main-nav a:hover, .main-nav a.active {
    color: #fff;
    border-color: #c08a3f;
}
.main-nav a.btn-cta {
    color: #fff;
}
.main-nav a.btn-cta:hover, .main-nav a.btn-cta.active {
    color: #fff;
}
.nav-toggle {
    color: #fff;
}
.nav-toggle:hover {
    color: #fff;
}
.hero {
    position: relative;
    background: linear-gradient(135deg, #e6f3ec 0%, #f7fbf8 58%, #ffffff 100%);
    border-bottom: 1px solid #d8e9df;
    overflow: hidden;
}
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero::before {
    width: 360px; height: 360px;
    right: -140px; top: -180px;
    border: 1px solid #c5dfd1;
}
.hero::after {
    width: 220px; height: 220px;
    left: -120px; bottom: -150px;
    background: rgba(168,205,187,.18);
}
.section { background: transparent; }
.section-alt { background: #eaf5ef; border-top: 1px solid #dbece2; border-bottom: 1px solid #dbece2; }
.section-dark { background: #083e35; }
.final-cta { background: #062f29; }
.service-row {
    background: rgba(255,255,255,.88);
    border: 1px solid #dcebe3;
    border-left: 3px solid #1f6f54;
    margin-bottom: 16px;
    padding: 26px 28px;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(11,61,54,.05);
}
.service-row:first-child { padding-top: 26px; }
.service-row:last-child { margin-bottom: 0; }
.detail-columns { background: transparent; }
.detail-sidebar { background: #eaf5ef; border-color: #cfe4d8; }
.form-card { box-shadow: 0 12px 30px rgba(11,61,54,.06); border-color: #d7e9df; }
.form-card .panel { background: #f8fcf9 !important; border-color: #dcebe3 !important; }
.contact-info-card { box-shadow: 0 12px 28px rgba(11,61,54,.10); }

/* About: visual balance + green identity */
.about-who-section {
    padding: 86px 0 78px;
    background: linear-gradient(135deg, #e7f4ed 0%, #f7fbf8 55%, #ffffff 100%);
    border-bottom: 1px solid #d8e9df;
    overflow: hidden;
}
.about-who-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 72px;
    align-items: center;
}
.about-who-copy h1 {
    font-family: var(--font-body);
    font-size: clamp(2.9rem, 5vw, 4.7rem);
    letter-spacing: -.055em;
    line-height: 1.02;
    color: var(--color-primary);
    margin-bottom: 20px;
}
.about-who-copy .hero-desc { font-size: 1.08rem; line-height: 1.82; max-width: 58ch; }
.about-visual {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-visual-circle {
    width: 320px; height: 320px;
    border-radius: 50%;
    background: #0b4d42;
    border: 18px solid #d5eadf;
    box-shadow: 0 24px 60px rgba(11,61,54,.16), inset 0 0 0 1px rgba(255,255,255,.1);
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.about-visual-circle::before {
    content: ''; position: absolute; inset: 32px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%;
}
.about-visual-icon {
    width: 112px; height: 112px; border-radius: 50%;
    display:flex; align-items:center; justify-content:center;
    color:#dff1e8; background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18);
}
.about-visual-icon .icon-lg { width: 66px; height: 66px; }
.about-visual-orbit { position:absolute; border:1px solid #9fcbb8; border-radius:50%; pointer-events:none; }
.about-orbit-one { width: 440px; height: 180px; transform:rotate(-18deg); }
.about-orbit-two { width: 280px; height: 430px; transform:rotate(35deg); opacity:.75; }
.about-visual-dot { position:absolute; width:12px; height:12px; border-radius:50%; background:#b9803e; box-shadow:0 0 0 8px rgba(185,128,62,.1); }
.dot-a { top: 48px; right: 62px; }
.dot-b { left: 50px; bottom: 88px; background:#a8cdbb; box-shadow:0 0 0 8px rgba(168,205,187,.12); }
.dot-c { right: 78px; bottom: 56px; background:#dceee5; box-shadow:0 0 0 8px rgba(220,238,229,.1); }
.about-visual-label {
    position:absolute; left: 0; bottom: 12px;
    display:flex; flex-direction:column; gap:2px;
    color:var(--color-primary); font-size:.85rem; font-weight:700;
    background:rgba(255,255,255,.9); padding:12px 16px; border:1px solid #d6e8de; border-radius:6px;
    box-shadow:0 10px 24px rgba(11,61,54,.06);
}
.about-visual-label span { font-size:.72rem; font-weight:500; color:#718078; }
.about-mini-points { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:30px; }
.about-mini-points > div { padding:14px; background:#fff; border:1px solid #dcebe3; border-radius:8px; }
.about-mini-points span { width:34px; height:34px; display:flex; align-items:center; justify-content:center; color:#1f6f54; background:#e9f5ef; border-radius:50%; margin-bottom:9px; }
.about-mini-points strong { display:block; color:#0b3d36; font-size:.84rem; margin-bottom:2px; }
.about-mini-points small { display:block; color:#718078; font-size:.7rem; line-height:1.45; }
.about-mission-section { padding-top: 54px; }
.about-statement-card { background:#fff; border:1px solid #dcebe3; border-top:3px solid #1f6f54; padding:30px; border-radius:8px; box-shadow:0 8px 22px rgba(11,61,54,.04); }
.about-statement-icon { width:46px; height:46px; display:flex; align-items:center; justify-content:center; color:#1f6f54; background:#eaf5ef; border-radius:50%; margin-bottom:18px; }
.about-statement-card p { color:var(--color-text-muted); margin-bottom:0; }

@media (max-width: 960px) {
    .about-who-grid { grid-template-columns:1fr; gap:30px; }
    .about-visual { min-height:360px; }
    .about-who-copy { text-align:left; }
}
@media (max-width: 720px) {
    .brand-logo { height: 48px; }
    .about-visual-circle { width:250px; height:250px; }
    .about-orbit-one { width:320px; height:150px; }
    .about-orbit-two { width:230px; height:350px; }
    .about-mini-points { grid-template-columns:1fr; }
    .about-visual-label { left:50%; transform:translateX(-50%); white-space:nowrap; }
}


/* ======================================================================
   JGF SPAIN — SUBTLE ABSTRACT PAGE BACKGROUND
   A restrained green visual layer shared across the public site.
   ====================================================================== */
body {
    position: relative;
    min-height: 100vh;
    background-color: #f7fbf8;
    background-image:
        radial-gradient(circle at 92% 10%, rgba(168,205,187,.17) 0 150px, transparent 152px),
        radial-gradient(circle at 7% 58%, rgba(31,111,84,.06) 0 95px, transparent 97px),
        radial-gradient(circle at 78% 82%, rgba(185,128,62,.05) 0 72px, transparent 74px);
}
body::before,
body::after {
    content: '';
    position: fixed;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
}
body::before {
    width: 430px;
    height: 430px;
    right: -240px;
    top: 145px;
    border: 1px solid rgba(31,111,84,.10);
    box-shadow: 0 0 0 38px rgba(168,205,187,.035), 0 0 0 78px rgba(168,205,187,.022);
}
body::after {
    width: 260px;
    height: 260px;
    left: -165px;
    bottom: 95px;
    background:
        radial-gradient(circle, rgba(31,111,84,.12) 0 2px, transparent 3px) 0 0 / 22px 22px;
    opacity: .42;
    -webkit-mask-image: radial-gradient(circle at center, #000 0 48%, transparent 75%);
    mask-image: radial-gradient(circle at center, #000 0 48%, transparent 75%);
}
main#main-content,
.site-footer {
    position: relative;
    z-index: 1;
}

/* Slight page-to-page variation without introducing heavy artwork. */
body.page-services,
body.page-about,
body.page-contact,
body.page-apply {
    background-image:
        radial-gradient(circle at 8% 18%, rgba(168,205,187,.15) 0 125px, transparent 127px),
        radial-gradient(circle at 94% 70%, rgba(31,111,84,.06) 0 105px, transparent 107px),
        radial-gradient(circle at 55% 92%, rgba(185,128,62,.04) 0 68px, transparent 70px);
}
body.page-services::before { top: 180px; right: -275px; }
body.page-about::before { top: 260px; right: auto; left: -255px; }
body.page-contact::before { top: 120px; right: -260px; }
body.page-apply::before { top: 360px; right: auto; left: -250px; }

/* ======================================================================
   JGF SPAIN — RESPONSIVE POLISH + HIDDEN SCROLLBARS
   ====================================================================== */
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
main::-webkit-scrollbar,
.site-header *::-webkit-scrollbar,
.main-nav::-webkit-scrollbar,
textarea::-webkit-scrollbar,
select::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}
html, body { max-width: 100%; overflow-x: hidden; }
body { -webkit-text-size-adjust: 100%; }
img, svg, video { max-width: 100%; height: auto; }
button, input, textarea, select { max-width: 100%; }
.container { width: 100%; }
.main-nav { scrollbar-width: none; -ms-overflow-style: none; }
.main-nav::-webkit-scrollbar { display:none; }

@media (max-width: 960px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .hero { padding-top: 58px; padding-bottom: 68px; }
    .home-hero-grid { gap: 18px; }
    .globe-svg { width: min(460px, 92vw); }
    .contact-layout { gap: 28px; }
    .detail-columns { gap: 24px; }
}

@media (max-width: 720px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .site-header { position: sticky; top: 0; z-index: 1000; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .header-inner { height: 64px; }
    .brand { gap: 10px; }
    .brand-name { font-size: .78rem; letter-spacing: .06em; }
    .brand-logo { height: 44px; }
    .main-nav {
        position: fixed;
        top: 64px;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: calc(100dvh - 64px);
        min-height: calc(100vh - 64px);
        padding: 24px 20px 32px;
        gap: 4px;
        background: #0b4f45;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform .2s ease, opacity .2s ease, visibility 0s linear .2s;
        z-index: 2000;
    }
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }
    .main-nav a {
        width: 100%;
        padding: 15px 4px;
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,.14);
        flex: 0 0 auto;
    }
    .main-nav a:hover,
    .main-nav a.active { color: #fff; border-color: var(--color-gold); }
    .main-nav a.btn { margin-top: 16px; justify-content: center; border-bottom: none; }
    .nav-toggle { display: block; margin-left: 8px; position: relative; z-index: 3000; }

    .grid-cards, .values-grid, .pillar-row { grid-template-columns: 1fr; }
    .hero, .home-hero { padding: 42px 0 50px; }
    .section, .about-who-section { padding-top: 52px; padding-bottom: 52px; }
    .hero-inner, .home-hero-grid, .contact-layout, .detail-columns,
    .about-intro, .banner, .banner-reverse { gap: 28px; }
    .hero-title, .home-title { max-width: none; }
    .hero-actions, .home-actions, .form-submit-row { width: 100%; }
    .hero-actions .btn, .home-actions .btn, .form-submit-row .btn { width: 100%; justify-content: center; }
    .globe-stage { min-height: 300px; }
    .globe-svg { width: min(420px, 88vw); }
    .globe-caption { left: 50%; right: auto; transform: translateX(-50%); width: min(250px, 86vw); }
    .service-row { grid-template-columns: 44px minmax(0,1fr); padding: 20px; }
    .service-row-action { justify-content: flex-start; }
    .form-card { padding: 20px; }
    .footer-inner { gap: 30px; }
    .footer-bottom .container { text-align: center; }
}

@media (max-width: 480px) {
    .brand { gap: 8px; }
    .brand-name { font-size: .7rem; letter-spacing: .04em; }
    .brand-logo { height: 38px; }
    .home-title { font-size: clamp(2.35rem, 12vw, 3rem); }
    .home-subtitle, .hero-subtitle { font-size: 1.08rem; }
    .home-proof-row { gap: 16px; }
    .proof-item { align-items: flex-start; }
    .about-visual { min-height: 320px; }
    .about-visual-circle { width: 215px; height: 215px; border-width: 12px; }
    .about-visual-icon { width: 82px; height: 82px; }
    .about-visual-icon .icon-lg { width: 48px; height: 48px; }
    .about-orbit-one { width: 285px; height: 135px; }
    .about-orbit-two { width: 205px; height: 300px; }
    .about-visual-label { bottom: 0; }
}

/* ======================================================================
   JGF SPAIN — PROFESSIONAL GREEN BACKGROUND REVISION
   Richer green atmosphere while keeping content readable and premium.
   ====================================================================== */
:root {
    --green-950: #062f29;
    --green-900: #083e35;
    --green-800: #0b5044;
    --green-700: #146b58;
    --green-200: #cfe7db;
    --green-100: #e7f3ed;
    --green-50: #f1f8f4;
}

body {
    background-color: var(--green-50);
    background-image:
        radial-gradient(circle at 14% 8%, rgba(20,107,88,.14) 0 130px, transparent 132px),
        radial-gradient(circle at 88% 18%, rgba(168,205,187,.28) 0 185px, transparent 188px),
        radial-gradient(circle at 6% 72%, rgba(11,80,68,.09) 0 155px, transparent 158px),
        radial-gradient(circle at 82% 88%, rgba(20,107,88,.10) 0 190px, transparent 193px),
        linear-gradient(135deg, #eff8f3 0%, #e4f1ea 48%, #f5faf7 100%);
}

body::before {
    width: 520px;
    height: 520px;
    right: -285px;
    top: 180px;
    border: 1px solid rgba(20,107,88,.18);
    box-shadow:
        0 0 0 34px rgba(20,107,88,.045),
        0 0 0 74px rgba(168,205,187,.07),
        0 0 0 126px rgba(168,205,187,.035);
}

body::after {
    width: 320px;
    height: 320px;
    left: -190px;
    bottom: 70px;
    background:
        radial-gradient(circle, rgba(20,107,88,.18) 0 2px, transparent 3px) 0 0 / 24px 24px,
        radial-gradient(circle at center, rgba(168,205,187,.32) 0 42%, transparent 43%);
    opacity: .5;
}

main#main-content {
    background:
        linear-gradient(180deg, rgba(255,255,255,.18), rgba(231,243,237,.12));
}

/* Give every major public page a distinct but coordinated green canvas. */
body.page-home main#main-content {
    background:
        radial-gradient(circle at 72% 24%, rgba(168,205,187,.22), transparent 24%),
        linear-gradient(180deg, rgba(238,248,243,.72) 0%, rgba(248,252,250,.78) 54%, rgba(231,244,237,.52) 100%);
}

body.page-services main#main-content {
    background:
        radial-gradient(circle at 9% 20%, rgba(20,107,88,.12), transparent 20%),
        radial-gradient(circle at 92% 75%, rgba(168,205,187,.22), transparent 25%),
        linear-gradient(160deg, rgba(235,247,241,.94), rgba(247,251,249,.88));
}

body.page-about main#main-content {
    background:
        radial-gradient(circle at 82% 15%, rgba(20,107,88,.10), transparent 20%),
        radial-gradient(circle at 16% 84%, rgba(168,205,187,.25), transparent 24%),
        linear-gradient(145deg, rgba(230,244,236,.96), rgba(248,252,250,.88));
}

body.page-contact main#main-content {
    background:
        radial-gradient(circle at 8% 26%, rgba(168,205,187,.25), transparent 23%),
        radial-gradient(circle at 88% 72%, rgba(20,107,88,.12), transparent 24%),
        linear-gradient(135deg, rgba(234,246,239,.96), rgba(247,251,249,.9));
}

body.page-apply main#main-content {
    background:
        radial-gradient(circle at 86% 12%, rgba(20,107,88,.13), transparent 22%),
        radial-gradient(circle at 12% 82%, rgba(168,205,187,.28), transparent 26%),
        linear-gradient(150deg, rgba(230,244,236,.98), rgba(248,252,250,.9));
}

/* Tone down hard white blocks so the richer background continues to read. */
.section:not(.section-dark),
.home-services-intro,
.home-applicant-band,
.about-mission-section,
.form-card,
.why-card,
.service-card,
.value-card,
.about-statement-card {
    background-color: rgba(255,255,255,.86);
    backdrop-filter: blur(3px);
}

.hero,
.home-hero {
    background:
        radial-gradient(circle at 78% 28%, rgba(168,205,187,.20), transparent 25%),
        linear-gradient(135deg, rgba(235,247,240,.94), rgba(248,252,250,.88));
}

.section-alt {
    background: linear-gradient(135deg, rgba(217,238,227,.88), rgba(237,247,242,.82));
}

/* Small green framing accents on important sections. */
.home-services-intro,
.about-mission-section,
body.page-services .section,
body.page-contact .section,
body.page-apply .section {
    position: relative;
}

.home-services-intro::before,
.about-mission-section::before,
body.page-services .section::before,
body.page-contact .section::before,
body.page-apply .section::before {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    right: 3%;
    top: 18px;
    border: 1px solid rgba(20,107,88,.10);
    border-radius: 50%;
    pointer-events: none;
}

@media (max-width: 720px) {
    body {
        background-image:
            radial-gradient(circle at 88% 9%, rgba(168,205,187,.24) 0 115px, transparent 118px),
            radial-gradient(circle at 8% 78%, rgba(20,107,88,.08) 0 105px, transparent 108px),
            linear-gradient(145deg, #edf7f1 0%, #f7fbf9 100%);
    }
    body::before { width: 330px; height: 330px; right: -205px; top: 240px; }
    body::after { width: 220px; height: 220px; left: -135px; bottom: 70px; }
    .section:not(.section-dark), .home-services-intro, .home-applicant-band,
    .about-mission-section, .form-card, .why-card, .service-card, .value-card,
    .about-statement-card { backdrop-filter: none; }
}


/* ======================================================================
   JGF SPAIN — FINAL GREEN CANVAS + LOGO VISIBILITY
   ====================================================================== */
.site-header {
    background: var(--color-primary);
    border-bottom-color: rgba(255,255,255,.10);
}
.site-header .brand-name,
.main-nav a { color: #fff; }
.main-nav a:hover,
.main-nav a.active { color: #fff; border-color: var(--color-gold); }
.nav-toggle { color: #fff; }
.brand { display:flex; align-items:center; gap:18px; }
.brand-logo {
    width:auto;
    height:58px;
    object-fit:contain;
    filter:none !important;
    opacity:1;
    background:#fff;
}
.brand-name { font-weight:700; letter-spacing:.08em; white-space:nowrap; }

body {
    background-color:#dcefe6;
    background-image:
        radial-gradient(ellipse at 8% 8%, rgba(31,111,84,.18) 0 0, rgba(31,111,84,0) 34%),
        radial-gradient(ellipse at 92% 24%, rgba(20,107,88,.16) 0 0, rgba(20,107,88,0) 38%),
        radial-gradient(ellipse at 18% 78%, rgba(168,205,187,.34) 0 0, rgba(168,205,187,0) 30%),
        radial-gradient(ellipse at 84% 88%, rgba(31,111,84,.12) 0 0, rgba(31,111,84,0) 35%),
        linear-gradient(135deg, #e2f1ea 0%, #d8ebe2 52%, #edf6f1 100%);
}
main#main-content {
    background: transparent !important;
    position:relative;
}
main#main-content::before,
main#main-content::after {
    content:'';
    position:absolute;
    pointer-events:none;
    z-index:0;
    border-radius:50%;
}
main#main-content::before {
    width:520px;
    height:520px;
    right:-260px;
    top:120px;
    border:1px solid rgba(31,111,84,.16);
    box-shadow:0 0 0 35px rgba(168,205,187,.10), 0 0 0 76px rgba(20,107,88,.05);
}
main#main-content::after {
    width:320px;
    height:320px;
    left:-180px;
    bottom:120px;
    background:
        radial-gradient(circle, rgba(31,111,84,.20) 0 2px, transparent 3px) 0 0 / 24px 24px,
        radial-gradient(circle at center, rgba(168,205,187,.34) 0 42%, transparent 43%);
    opacity:.7;
}
main#main-content > * { position:relative; z-index:1; }

.home-hero,
.about-who-section,
.section:not(.section-dark),
.home-services-intro,
.home-applicant-band,
.detail-columns,
.form-card {
    background-color:rgba(241,249,245,.64) !important;
    background-image:linear-gradient(135deg, rgba(255,255,255,.42), rgba(218,239,228,.20)) !important;
}
.section-alt {
    background-color:rgba(207,231,219,.72) !important;
}
.service-card,
.value-card,
.why-card,
.about-statement-card,
.panel,
.card {
    background-color:rgba(255,255,255,.90) !important;
}
.site-footer { position:relative; overflow:hidden; }
.site-footer::before {
    content:''; position:absolute; width:520px; height:520px; right:-260px; top:-280px;
    border:1px solid rgba(168,205,187,.16); border-radius:50%;
    box-shadow:0 0 0 40px rgba(168,205,187,.04),0 0 0 82px rgba(168,205,187,.025);
    pointer-events:none;
}
.footer-logo {
    height:52px;
    width:auto;
    object-fit:contain;
    filter:none !important;
    opacity:1;
    background:#fff;
}

@media (max-width:720px) {
    .brand { gap:10px; }
    .brand-logo { height:44px; }
    .brand-name { font-size:.78rem; letter-spacing:.06em; }
    main#main-content::before { width:340px; height:340px; right:-210px; top:90px; }
    main#main-content::after { width:220px; height:220px; left:-150px; bottom:70px; }
}
@media (max-width:480px) {
    .brand-logo { height:38px; }
    .brand-name { font-size:.7rem; }
}

/* Mobile navigation: keep the menu as a full-screen overlay and lock the page behind it. */
@media (max-width: 720px) {
    body.mobile-nav-open { overflow: hidden; }
    body.mobile-nav-open .site-header { box-shadow: 0 2px 18px rgba(5,45,39,.18); }
}

/* ======================================================================
   JGF SPAIN — MOBILE NAVIGATION HARD FIX
   Uses a viewport-level overlay so it cannot be clipped by the sticky
   header or any parent container. The menu itself is the only scroll area.
   ====================================================================== */
@media (max-width: 720px) {
    .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 10000 !important;
        overflow: visible !important;
    }

    .header-inner {
        position: relative !important;
        z-index: 10001 !important;
    }

    .nav-toggle {
        position: relative !important;
        z-index: 10003 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        color: #fff !important;
    }

    .main-nav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        box-sizing: border-box !important;
        padding: 104px 24px 40px !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 4px !important;
        background: #0b4f45 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        transform: translateX(100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: transform .2s ease, opacity .2s ease, visibility 0s linear .2s !important;
        z-index: 10001 !important;
    }

    .main-nav.open {
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition-delay: 0s !important;
    }

    .main-nav a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 56px !important;
        box-sizing: border-box !important;
        padding: 14px 6px !important;
        margin: 0 !important;
        color: #fff !important;
        font-size: 1.08rem !important;
        font-weight: 600 !important;
        border-bottom: 1px solid rgba(255,255,255,.14) !important;
        flex: 0 0 auto !important;
    }

    .main-nav a.active {
        color: #fff !important;
        border-bottom-color: #c08a3f !important;
    }

    .main-nav a.btn,
    .main-nav a.btn-cta {
        width: 100% !important;
        min-height: 54px !important;
        margin-top: 16px !important;
        justify-content: center !important;
        border: 0 !important;
        border-radius: 6px !important;
        background: #c08a3f !important;
        color: #fff !important;
    }

    body.mobile-nav-open {
        overflow: hidden !important;
        height: 100dvh !important;
    }
}


/* JGF SPAIN — Partner header CTA */
.site-header .main-nav a.btn-partner {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    min-height:46px !important;
    padding:10px 16px !important;
    background:#ffffff !important;
    color:#0B4F45 !important;
    border:1px solid rgba(255,255,255,.9) !important;
    border-radius:6px !important;
    font-weight:700 !important;
    font-size:.95rem !important;
    letter-spacing:.01em !important;
    line-height:1 !important;
    text-decoration:none !important;
    box-shadow:0 4px 14px rgba(0,0,0,.08) !important;
    transition:transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease !important;
}
.site-header .main-nav a.btn-partner .icon-sm { color:#0B4F45 !important; width:18px !important; height:18px !important; }
.site-header .main-nav a.btn-partner:hover,
.site-header .main-nav a.btn-partner.active {
    background:#F6FBF8 !important;
    color:#0B4F45 !important;
    box-shadow:0 7px 18px rgba(0,0,0,.11) !important;
    transform:translateY(-1px) !important;
}
.site-header .main-nav a.btn-partner:hover .icon-sm,
.site-header .main-nav a.btn-partner.active .icon-sm { color:#0B4F45 !important; }
.partnership-points { display:flex; flex-direction:column; gap:14px; margin-top:24px; color:var(--color-text-muted); }
.partnership-points > div { display:flex; align-items:center; gap:10px; }
.partnership-points .icon-sm { color:var(--color-secondary); flex:0 0 auto; }
@media (max-width:720px) {
    .site-header .main-nav a.btn-partner,
    .site-header .main-nav a.btn-partner:hover,
    .site-header .main-nav a.btn-partner.active {
        width:100% !important;
        min-height:52px !important;
        margin-top:14px !important;
        justify-content:center !important;
        background:#ffffff !important;
        color:#0B4F45 !important;
        border:1px solid rgba(255,255,255,.9) !important;
        border-radius:6px !important;
        box-shadow:none !important;
        transform:none !important;
    }
    .site-header .main-nav a.btn-partner .icon-sm { color:#0B4F45 !important; }
}

/* ======================================================================
   JGF SPAIN — Header CTA alignment v28
   Partner with us + Apply Now compact CTA alignment.
   ====================================================================== */
.site-header .main-nav a.btn-partner,
.site-header .main-nav a.btn-cta {
    width: 140px !important;
    min-width: 140px !important;
    height: 44px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 12px !important;
    margin-top: 0 !important;
    line-height: 1 !important;
    position: relative !important;
    left: -12px !important;
}

/* Main nav gap is 30px; pull the Apply button back so the visible gap is exactly 8px. */
.site-header .main-nav a.btn-partner + a.btn-cta {
    margin-left: -22px !important;
}

@media (max-width: 1100px) and (min-width: 721px) {
    .main-nav { gap: 18px !important; }
    .site-header .main-nav a.btn-partner,
    .site-header .main-nav a.btn-cta {
        width: 132px !important;
        min-width: 132px !important;
        left: -8px !important;
    }
}

@media (max-width: 720px) {
    .site-header .main-nav a.btn-partner,
    .site-header .main-nav a.btn-cta {
        width: 100% !important;
        min-width: 0 !important;
        height: 52px !important;
        min-height: 52px !important;
        padding: 0 18px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        left: 0 !important;
        box-sizing: border-box !important;
    }

    .site-header .main-nav a.btn-cta {
        margin-top: 3px !important;
    }
}

/* v30 — compact horizontal padding for header CTAs */
.site-header .main-nav a.btn-partner,
.site-header .main-nav a.btn-cta {
    padding-left: 7px !important;
    padding-right: 7px !important;
}

@media (max-width: 720px) {
    .site-header .main-nav a.btn-partner,
    .site-header .main-nav a.btn-cta {
        padding-left: 7px !important;
        padding-right: 7px !important;
    }
}
