/* ==========================================================================
   Royal Pearl Study Abroad — Premium Design System  (v2)
   A refined, professional UI language: layered depth, calmer rhythm,
   consistent motion, accessible focus states.
   ========================================================================== */

:root {
    /* Brand ---------------------------------------------------------- */
    --navy:        #0a2540;
    --navy-900:    #071a30;
    --navy-800:    #0d2c4d;
    --navy-700:    #123059;
    --blue:        #2563eb;
    --blue-600:    #1d4ed8;
    --blue-700:    #1e40af;
    --blue-soft:   #eaf1ff;
    --blue-tint:   #f2f7ff;
    --sky:         #38bdf8;
    --indigo:      #4f46e5;
    --amber:       #f59e0b;
    --amber-600:   #ea8a00;
    --green:       #16a34a;

    /* Ink / surfaces ------------------------------------------------- */
    --ink:         #1e293b;
    --ink-2:       #334155;
    --muted:       #64748b;
    --muted-2:     #94a3b8;
    --line:        #e6ebf2;
    --line-2:      #eef2f8;
    --bg-soft:     #f6f9fc;
    --bg-soft-2:   #eef4fb;
    --white:       #ffffff;

    /* Radii ---------------------------------------------------------- */
    --radius:      18px;
    --radius-sm:   12px;
    --radius-lg:   28px;
    --radius-xl:   34px;

    /* Elevation ------------------------------------------------------ */
    --shadow-xs:   0 1px 2px rgba(10, 37, 64, .06);
    --shadow-sm:   0 4px 16px rgba(10, 37, 64, .06);
    --shadow:      0 18px 48px rgba(10, 37, 64, .10);
    --shadow-lg:   0 28px 70px rgba(10, 37, 64, .16);
    --shadow-blue: 0 20px 45px rgba(37, 99, 235, .28);

    /* Gradients ------------------------------------------------------ */
    --grad:        linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #38bdf8 100%);
    --grad-deep:   linear-gradient(135deg, #123059 0%, #1d4ed8 60%, #2563eb 100%);
    --grad-amber:  linear-gradient(135deg, #f59e0b 0%, #ff7a00 100%);
    --grad-text:   linear-gradient(120deg, #1d4ed8 0%, #2563eb 40%, #38bdf8 100%);

    /* Type ----------------------------------------------------------- */
    --ff-head: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --ff-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Motion --------------------------------------------------------- */
    --ease:     cubic-bezier(.22, 1, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --t-fast:   .18s;
    --t:        .3s;
    --t-slow:   .5s;
}

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

body {
    font-family: var(--ff-body);
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, .h1, .h2, .h3 {
    font-family: var(--ff-head);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -.018em;
    line-height: 1.2;
}

p { margin-bottom: 1rem; }
a { text-decoration: none; transition: color var(--t-fast) var(--ease); }
img { max-width: 100%; }
section { position: relative; }

/* Accessible focus ring --------------------------------------------------- */
a:focus-visible, button:focus-visible, .btn:focus-visible,
.form-control:focus-visible, .form-select:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .45);
    outline-offset: 2px;
}

/* Selection --------------------------------------------------------------- */
::selection { background: rgba(37, 99, 235, .18); color: var(--navy); }

.section-pad { padding: 74px 0; }
@media (max-width: 991px) { .section-pad { padding: 56px 0; } }
@media (max-width: 575px) { .section-pad { padding: 44px 0; } }

.bg-soft { background: var(--bg-soft); }

/* Section heading helper -------------------------------------------------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--ff-head);
    font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue-600);
    background: var(--blue-soft);
    padding: .48rem 1.05rem; border-radius: 100px;
    margin-bottom: 1.1rem;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .08);
}
.eyebrow i { font-size: .95em; }
.section-title { font-size: clamp(1.75rem, 3.6vw, 2.7rem); line-height: 1.14; margin-bottom: 1rem; }
.section-lead  { color: var(--muted); font-size: 1.075rem; max-width: 640px; line-height: 1.7; }
.text-grad {
    background: var(--grad-text);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    font-family: var(--ff-head); font-weight: 600; border-radius: 100px;
    padding: .78rem 1.7rem; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t), color var(--t);
    display: inline-flex; align-items: center; gap: .5rem; line-height: 1.2;
}
.btn i { transition: transform var(--t) var(--ease); }
.btn:hover i.bi-arrow-right { transform: translateX(3px); }
.btn-lg { padding: .95rem 2rem; font-size: 1.02rem; }

.btn-cta {
    background: var(--grad-amber); color: #fff; border: none; white-space: nowrap;
    box-shadow: 0 12px 26px rgba(245, 158, 11, .35);
}
.btn-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px rgba(245, 158, 11, .48); }
.btn-primary-grad { background: var(--grad); color: #fff; border: none; box-shadow: var(--shadow-blue); }
.btn-primary-grad:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 48px rgba(37, 99, 235, .42); }
.btn-outline-light-2 { border: 1.5px solid rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(4px); background: rgba(255,255,255,.04); }
.btn-outline-light-2:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--navy); background: #fff; box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); }

/* ==========================================================================
   Topbar + Navigation
   ========================================================================== */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.82); font-size: .85rem; padding: .55rem 0; }
.topbar a { color: rgba(255,255,255,.82); margin-right: 1.4rem; }
.topbar a:hover { color: #fff; }
.topbar .topbar-left i { color: var(--sky); margin-right: .35rem; }
.topbar .topbar-right { display: flex; align-items: center; }
.topbar .topbar-badge {
    color: #ffd789; font-weight: 600; letter-spacing: .02em; margin-right: 1.4rem;
    display: inline-flex; align-items: center; gap: .4rem;
}
.topbar .topbar-right a { font-size: 1rem; margin-right: 0; margin-left: 1rem; opacity: .85; }
.topbar .topbar-right a:hover { opacity: 1; }

.main-nav {
    background: linear-gradient(180deg, #0b2744 0%, #0a2540 100%);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: .55rem 0;
    transition: box-shadow var(--t) var(--ease), padding var(--t) var(--ease);
    z-index: 1030; isolation: isolate;
}
.main-nav.scrolled { box-shadow: 0 12px 34px rgba(0,0,0,.35); padding: .38rem 0; }

/* Brand: gold wordmark (black background dropped via blend) + Study Abroad tag */
.navbar-brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo { display: block; width: 210px; height: 60px; overflow: hidden; flex: 0 0 auto; transition: width var(--t) var(--ease), height var(--t) var(--ease); }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; mix-blend-mode: lighten; }
.main-nav.scrolled .brand-logo { width: 188px; height: 54px; }
.brand-divider { width: 1px; height: 34px; background: rgba(255,255,255,.22); flex: 0 0 auto; }
.brand-sub { font-family: var(--ff-head); font-weight: 700; font-size: .74rem; line-height: 1.05; letter-spacing: .16em; text-transform: uppercase; color: #ffd789; }
@media (max-width: 575px){ .brand-logo { width: 188px; height: 54px; } }
@media (max-width: 419px){ .brand-logo { width: 170px; height: 50px; } .brand-divider, .brand-sub { display: none; } }

.main-nav .nav-link {
    font-family: var(--ff-head); font-weight: 600; color: rgba(255,255,255,.84); font-size: .95rem;
    padding: .5rem .72rem !important; position: relative; white-space: nowrap;
}
@media (min-width: 992px){ .main-nav .navbar-nav { flex-wrap: nowrap; } }
@media (min-width: 992px) and (max-width: 1199px){ .brand-divider, .brand-sub { display: none; } .main-nav .nav-link { font-size: .9rem; padding: .5rem .6rem !important; } }
.main-nav .nav-link::after {
    content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .3rem;
    height: 2px; background: var(--grad-amber); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: #fff; }
.main-nav .nav-link.active::after, .main-nav .nav-link:hover::after { transform: scaleX(1); }

.navbar-toggler { border: none; padding: .4rem; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar { display: block; width: 26px; height: 2.5px; background: #fff; border-radius: 3px; margin: 5px 0; transition: var(--t); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: var(--navy); position: relative; overflow: hidden; }
.hero-slide {
    min-height: 88vh; display: flex; align-items: center;
    position: relative; padding: 120px 0 96px;
    background-size: cover; background-position: center;
}
.hero-slide::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(102deg, rgba(6,20,38,.95) 0%, rgba(9,32,58,.86) 44%, rgba(10,37,64,.42) 100%);
}
.hero-slide::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(680px circle at 12% 24%, rgba(37,99,235,.35), transparent 60%),
                radial-gradient(520px circle at 92% 84%, rgba(245,158,11,.16), transparent 55%);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; color: #fff; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--ff-head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
    color: #ffd789; background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.35);
    padding: .5rem 1.1rem; border-radius: 100px; margin-bottom: 1.4rem;
    backdrop-filter: blur(4px);
}
.hero-title { color: #fff; font-size: clamp(2.15rem, 5vw, 3.7rem); line-height: 1.07; font-weight: 800; margin-bottom: 1.3rem; letter-spacing: -.02em; }
.hero-text { color: rgba(255,255,255,.84); font-size: 1.14rem; margin-bottom: 2.1rem; max-width: 570px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-trust { display: flex; align-items: center; gap: 1.7rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-trust .ht-item { color: #fff; }
.hero-trust .ht-num { font-family: var(--ff-head); font-weight: 800; font-size: 1.75rem; line-height: 1; letter-spacing: -.02em; }
.hero-trust .ht-label { font-size: .8rem; color: rgba(255,255,255,.68); margin-top: .25rem; }
.hero-trust .divider { width: 1px; height: 38px; background: rgba(255,255,255,.2); }

.hero .carousel-indicators { bottom: 26px; z-index: 3; margin-bottom: 0; }
.hero .carousel-indicators [data-bs-target] { width: 30px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.4); border: none; transition: width var(--t), background var(--t); }
.hero .carousel-indicators .active { background: var(--amber); width: 46px; }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 6%; z-index: 3; opacity: .55; transition: opacity var(--t); }
.hero .carousel-control-prev:hover, .hero .carousel-control-next:hover { opacity: .9; }

.hero-badge {
    position: absolute; right: 6%; bottom: 15%; z-index: 3;
    background: rgba(255,255,255,.1); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius);
    padding: 1.15rem 1.45rem; color: #fff; max-width: 234px;
    box-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.hero-badge .stars { color: #ffce5a; font-size: .92rem; letter-spacing: .06em; }
@media (max-width: 1199px){ .hero-badge { display: none; } }

/* scroll cue */
.hero-scroll {
    position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3;
    color: rgba(255,255,255,.6); font-size: 1.4rem; animation: bob 2s var(--ease) infinite;
}
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }
@media (max-width: 991px){ .hero-scroll { display: none; } }

/* ==========================================================================
   Trusted logo strip
   ========================================================================== */
.logo-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 28px 0; }
.logo-strip .ls-label { font-family: var(--ff-head); font-weight: 700; color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.logo-strip .ls-item {
    font-family: var(--ff-head); font-weight: 800; color: var(--navy); opacity: .5; font-size: 1.08rem;
    transition: opacity var(--t);
}
.logo-strip .ls-item:hover { opacity: .9; }

/* ==========================================================================
   Cards (value, process, service)
   ========================================================================== */
.feature-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 2.1rem 1.7rem; height: 100%; position: relative; overflow: hidden;
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.feature-card::before {
    content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px;
    background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform var(--t-slow) var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-ico {
    width: 62px; height: 62px; border-radius: 17px; display: grid; place-items: center;
    font-size: 1.65rem; color: var(--blue-600); background: var(--blue-soft); margin-bottom: 1.3rem;
    transition: transform var(--t) var(--ease), background var(--t), color var(--t);
    box-shadow: inset 0 0 0 1px rgba(37,99,235,.06);
}
.feature-card:hover .feature-ico { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); box-shadow: 0 12px 24px rgba(37,99,235,.32); }
.feature-card h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.feature-card p { color: var(--muted); font-size: .96rem; margin: 0; line-height: 1.62; }

/* numbered process card */
.process-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 2.1rem 1.6rem 1.7rem; height: 100%; position: relative; overflow: hidden;
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.process-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.process-card .step-no {
    position: absolute; top: -10px; right: 8px; font-family: var(--ff-head); font-weight: 800;
    font-size: 5.2rem; color: var(--blue-soft); line-height: 1; z-index: 0;
    transition: color var(--t);
}
.process-card:hover .step-no { color: var(--bg-soft-2); }
.process-card .feature-ico, .process-card h3, .process-card p { position: relative; z-index: 1; }
.process-card .feature-ico { background: var(--grad); color: #fff; box-shadow: 0 12px 24px rgba(37,99,235,.28); }
.process-card:hover .feature-ico { transform: rotate(-6deg) scale(1.05); }
.process-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.process-card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats-band { background: var(--navy); position: relative; overflow: hidden; }
.stats-band::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(600px circle at 15% 20%, rgba(37,99,235,.42), transparent 60%),
                radial-gradient(520px circle at 85% 80%, rgba(245,158,11,.22), transparent 55%);
}
.stat-item { position: relative; z-index: 1; text-align: center; color: #fff; padding: 1rem .5rem; }
.stat-num { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -.02em;
    background: linear-gradient(180deg,#fff,#bcd4ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat-label { color: rgba(255,255,255,.74); font-size: .95rem; margin-top: .7rem; line-height: 1.4; }

/* ==========================================================================
   About / split sections
   ========================================================================== */
.media-stack { position: relative; }
.media-stack img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.media-stack::before {
    content: ''; position: absolute; inset: -14px -14px auto auto; width: 130px; height: 130px; z-index: -1;
    background: var(--grad-amber); opacity: .16; border-radius: var(--radius-lg); filter: blur(4px);
}
.media-badge {
    position: absolute; left: -22px; bottom: 28px; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 1.05rem 1.35rem; display: flex; align-items: center; gap: .9rem;
    border: 1px solid var(--line-2);
}
.media-badge .mb-ico { width: 50px; height: 50px; border-radius: 13px; background: var(--grad-amber); color: #fff; display: grid; place-items: center; font-size: 1.45rem; }
.media-badge .mb-num { font-family: var(--ff-head); font-weight: 800; font-size: 1.35rem; color: var(--navy); line-height: 1; }
.media-badge .mb-text { font-size: .8rem; color: var(--muted); }
@media (max-width: 575px){ .media-badge { left: 12px; bottom: 12px; } }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1rem; color: var(--ink-2); line-height: 1.55; }
.check-list li i { color: var(--green); font-size: 1.22rem; margin-top: 1px; flex: 0 0 auto; }

/* ==========================================================================
   Test-prep promo card
   ========================================================================== */
.promo-card {
    background: var(--grad-deep); border-radius: var(--radius-lg); color: #fff; overflow: hidden;
    position: relative; padding: 3.2rem; box-shadow: var(--shadow-lg);
}
.promo-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.08); }
.promo-card::before { content: ''; position: absolute; left: -50px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(56,189,248,.14); }
.promo-card > .row { position: relative; z-index: 1; }
.promo-card h2 { color: #fff; }
.promo-feature { display: flex; align-items: center; gap: .7rem; color: rgba(255,255,255,.96); font-weight: 600; font-family: var(--ff-head); }
.promo-feature i { font-size: 1.35rem; color: #ffd789; }
@media (max-width: 575px){ .promo-card { padding: 2.2rem 1.5rem; } }

/* ==========================================================================
   Destinations
   ========================================================================== */
.country-card {
    position: relative; border-radius: var(--radius); overflow: hidden; height: 290px;
    box-shadow: var(--shadow-sm); display: block; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    border: 1px solid var(--line);
}
.country-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.country-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,20,38,.92) 6%, rgba(6,20,38,.2) 56%, transparent); }
.country-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.country-card:hover img { transform: scale(1.08); }
.country-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.4rem; color: #fff; }
.country-meta .flag { font-size: 1.7rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.country-meta h3 { color: #fff; font-size: 1.28rem; margin: .35rem 0 .18rem; }
.country-meta .tag { color: rgba(255,255,255,.82); font-size: .86rem; }
.country-meta .go { position: absolute; right: 1.3rem; bottom: 1.4rem; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(4px); display: grid; place-items: center; color: #fff; transition: background var(--t), transform var(--t); }
.country-card:hover .go { background: var(--amber); transform: rotate(45deg); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem; height: 100%; box-shadow: var(--shadow-sm); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi-card .quote-ico { font-size: 2.6rem; color: var(--blue-soft); line-height: .5; }
.testi-card .stars { color: #f5b50a; margin-bottom: .8rem; letter-spacing: .05em; }
.testi-card p { color: var(--ink-2); font-size: 1rem; line-height: 1.62; }
.testi-author { display: flex; align-items: center; gap: .85rem; margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--line-2); }
.testi-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; font-size: 1.1rem; flex: 0 0 auto; box-shadow: 0 8px 18px rgba(37,99,235,.28); }
.testi-author .name { font-family: var(--ff-head); font-weight: 700; color: var(--navy); line-height: 1.1; }
.testi-author .role { font-size: .82rem; color: var(--muted); margin-top: 2px; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-accordion .accordion-item { border: 1px solid var(--line); border-radius: var(--radius-sm) !important; margin-bottom: .9rem; overflow: hidden; background: #fff; box-shadow: var(--shadow-xs); transition: box-shadow var(--t); }
.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) { box-shadow: var(--shadow-sm); }
.faq-accordion .accordion-button { font-family: var(--ff-head); font-weight: 700; color: var(--navy); padding: 1.2rem 1.35rem; background: #fff; font-size: 1.02rem; }
.faq-accordion .accordion-button:not(.collapsed) { color: var(--blue-600); background: var(--blue-tint); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-button::after { background-size: 1rem; }
.faq-accordion .accordion-body { color: var(--muted); padding: 0 1.35rem 1.3rem; line-height: 1.7; }

/* ==========================================================================
   Page header (inner pages)
   ========================================================================== */
.page-hero { background: var(--navy); position: relative; overflow: hidden; padding: 140px 0 76px; }
.page-hero::before { content: ''; position: absolute; inset: 0;
    background: radial-gradient(720px circle at 80% -10%, rgba(37,99,235,.5), transparent 55%),
                radial-gradient(520px circle at 0% 120%, rgba(245,158,11,.16), transparent 55%); }
.page-hero::after { content: ''; position: absolute; inset: 0; opacity: .5;
    background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.05rem, 4.5vw, 3.1rem); }
.page-hero p { color: rgba(255,255,255,.8); max-width: 640px; margin: .8rem auto 0; font-size: 1.08rem; line-height: 1.6; }
.breadcrumbz { display: inline-flex; gap: .5rem; align-items: center; font-size: .88rem; color: rgba(255,255,255,.6); margin-top: 1.1rem; }
.breadcrumbz a { color: rgba(255,255,255,.85); }
.breadcrumbz a:hover { color: var(--sky); }

/* ==========================================================================
   Contact / Forms
   ========================================================================== */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 2.6rem; }
@media (max-width: 575px){ .contact-card { padding: 1.7rem; } }
.form-label { font-family: var(--ff-head); font-weight: 600; color: var(--navy); font-size: .9rem; margin-bottom: .4rem; }
.form-control, .form-select {
    border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .82rem 1rem; font-size: .98rem;
    transition: border-color var(--t-fast), box-shadow var(--t-fast); background-color: #fff;
}
.form-control::placeholder { color: var(--muted-2); }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.info-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px dashed var(--line); }
.info-tile:last-child { border-bottom: none; }
.info-tile .it-ico { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-600); display: grid; place-items: center; font-size: 1.32rem; transition: background var(--t), color var(--t); }
.info-tile:hover .it-ico { background: var(--grad); color: #fff; }
.info-tile h5 { margin: 0 0 .2rem; font-size: 1rem; }
.info-tile a, .info-tile span { color: var(--muted); }
.info-tile a:hover { color: var(--blue-600); }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); line-height: 0; }

.alert-soft { border-radius: var(--radius-sm); border: none; padding: 1rem 1.2rem; }
.alert-soft.alert-success { background: #e7f8ee; color: #157347; }
.alert-soft.alert-danger { background: #fdecec; color: #b02a37; }

/* legal / prose */
.prose h2 { font-size: 1.42rem; margin: 2rem 0 .8rem; }
.prose h3 { font-size: 1.14rem; margin: 1.4rem 0 .5rem; }
.prose p, .prose li { color: var(--muted); line-height: 1.85; }
.prose ul { padding-left: 1.2rem; }

/* ==========================================================================
   Floating helpers
   ========================================================================== */
.whatsapp-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 1040;
    width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
    display: grid; place-items: center; font-size: 1.72rem; box-shadow: 0 12px 30px rgba(37,211,102,.5);
    animation: pulse 2.6s infinite;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow: 0 0 0 18px rgba(37,211,102,0);} 100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

/* ==========================================================================
   Error pages (error.php — all codes)
   ========================================================================== */
.error-section { padding: 130px 0 110px; }
.error-code { font-family: var(--ff-head); font-weight: 800; font-size: clamp(4.5rem, 17vw, 10rem); line-height: 1; letter-spacing: -.03em; margin: .4rem 0 .2rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 575px){ .error-section { padding: 96px 0 72px; } .error-actions .btn { width: 100%; } }

#scrollProgress {
    position: fixed; top: 0; left: 0; z-index: 2000; height: 3px; width: 100%;
    transform: scaleX(0); transform-origin: left;
    background: linear-gradient(90deg, #f59e0b, #ffce5a, #38bdf8);
    box-shadow: 0 0 10px rgba(245,158,11,.5);
    will-change: transform;
}

.back-to-top {
    position: fixed; right: 24px; bottom: 88px; z-index: 1039;
    width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--navy); color: #fff;
    display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all var(--t) var(--ease); box-shadow: var(--shadow);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-600); transform: translateY(-2px); }

/* ==========================================================================
   CTA band  (robust: navy field flows seamlessly into navy footer — no gap)
   ========================================================================== */
.cta-strip {
    background: var(--navy); padding: 92px 0 60px; position: relative; overflow: hidden; margin: 0;
}
.cta-strip::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(600px circle at 20% 10%, rgba(37,99,235,.3), transparent 60%),
                radial-gradient(500px circle at 88% 90%, rgba(245,158,11,.14), transparent 55%);
}
.cta-strip-inner {
    background: var(--grad); border-radius: var(--radius-lg); color: #fff; padding: 3.2rem 3.4rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
    box-shadow: var(--shadow-lg); position: relative; overflow: hidden; z-index: 1;
    transform: none;
}
.cta-strip-inner::before { content: ''; position: absolute; left: -40px; bottom: -70px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.1); }
.cta-strip-inner::after { content: ''; position: absolute; right: -50px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-strip-inner > * { position: relative; z-index: 1; }
.cta-strip-inner h2 { color: #fff; margin-bottom: .4rem; font-size: clamp(1.5rem,3vw,2.1rem); }
.cta-strip-inner p { color: rgba(255,255,255,.92); margin: 0; }
.btn-cta-strip { color: var(--navy) !important; font-weight: 700; border-radius: 100px; background: #fff; }
.btn-cta-strip:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,.25); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 52px 0 0; position: relative; }
.footer-logo { display: block; width: 250px; max-width: 72%; margin-bottom: 1.2rem; }
.footer-logo img { width: 100%; height: auto; display: block; mix-blend-mode: lighten; }
.footer-about { color: rgba(255,255,255,.62); font-size: .95rem; max-width: 330px; line-height: 1.7; }
.footer-social { margin-top: 1.3rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); color: #fff; display: inline-grid; place-items: center; margin-right: .5rem; transition: background var(--t), transform var(--t); }
.footer-social a:hover { background: var(--blue); transform: translateY(-3px); }
.site-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1.2rem; font-weight: 700; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .65rem; }
.footer-links a { color: rgba(255,255,255,.66); font-size: .94rem; transition: color var(--t), padding var(--t); display: inline-block; }
.footer-links a:hover { color: var(--sky); padding-left: 5px; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .85rem; font-size: .92rem; color: rgba(255,255,255,.7); line-height: 1.5; }
.footer-contact li i { color: var(--sky); margin-top: 3px; flex: 0 0 auto; }
.footer-contact a { color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: var(--sky); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3.5rem; padding: 1.5rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; font-size: .88rem; align-items: center; }
.footer-legal { list-style: none; display: flex; gap: 1.4rem; padding: 0; margin: 0; }
.footer-legal a { color: rgba(255,255,255,.66); }
.footer-legal a:hover { color: #fff; }

/* ==========================================================================
   Motion / reveal (progressive enhancement; content stays visible if JS off)
   ========================================================================== */
[data-aos] { pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    [data-aos] { opacity: 1 !important; transform: none !important; }
    .whatsapp-float { animation: none; }
    .hero-scroll { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px){
    /* Cap oversized row gutters so container-padding/row-margin can't mismatch → no overflow */
    .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }

    .main-nav .navbar-collapse { background: #0d2c4d; margin-top: .8rem; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1rem; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
    .main-nav .nav-item { margin: .15rem 0; }
    .main-nav .nav-link::after { display: none; }
    .main-nav .nav-link { padding: .6rem 1rem !important; }
    .btn-cta { width: 100%; margin-top: .5rem; justify-content: center; }
    .cta-strip-inner { padding: 2.3rem; text-align: center; justify-content: center; }
    .hero-slide { min-height: 640px; padding: 108px 0 64px; }
}
