/* =====================================================================
   ELANTROE  |  assets/css/style.css   (the ONE stylesheet for the whole site)
   Theme: Midnight and Champagne

   CONTENTS
    1.  Colours, fonts and settings (change colours here, they update everywhere)
    2.  Base and typography
    3.  Animated background
    4.  Buttons
    5.  Header and mobile menu
    6.  Hero banner and slider
    7.  Page title banner (inner pages)
    8.  Counters
    9.  Reviews (carousel, grid and pop up)
   10.  Home page sections
   11.  Forms
   12.  Services hub and detail pages
   13.  Exclusive flip cards
   14.  Contact page and maps
   15.  Blog
   16.  Info page
   17.  Resources (docs) and car insurance form
   18.  Newsletter and videos
   19.  Policy pages (GDPR, Refund, Privacy)
   20.  Xtra (affiliate pages, teal)
   21.  Store and 404 pages
   22.  Footer
   23.  Floating buttons and pop ups
   24.  Motion preferences
   ===================================================================== */

/* ---------- 1. COLOURS, FONTS AND SETTINGS ---------- */
:root {
    /* Brand palette */
    --midnight: #0A1E47;
    --royal: #0F2A5C;
    --royal-card: #17356F;
    --royal-glow: #2450A0;
    --navy: #17356F;
    --gold: #C9A24B;
    --champagne: #E8D08A;
    --ivory: #F6F1E4;
    --gold-gradient: linear-gradient(135deg, #F3E3A8 0%, #E6CB7C 38%, #D4B05A 72%, #C29C42 100%);

    /* Older names kept so every page keeps working */
    --royal-blue: #0F2A5C;
    --navy-blue: #17356F;
    --midnight-blue: #26335E;
    --blue-gray: #B7C0D6;
    --royal-sky-blue: #56A5EC;
    --white: #FFFFFF;
    --teal: #008080;
    --teal-hover: #00b3b3;

    /* Footer (unchanged) */
    --footer-bg: #D3D3D3;
    --footer-text: #101820;

    --success: #1f9d55;
    --error: #d64545;

    --text: #ECE7D8;
    --radius: 14px;
    --shadow: 0 18px 50px rgba(0, 0, 0, .35);
    --line: rgba(232, 208, 138, .22);
    --glass: linear-gradient(150deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));

    --font-primary: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-quote: Georgia, 'Times New Roman', serif;
    --font-code: 'Courier New', Courier, monospace;
    --font-stats: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    /* Gold (about two thirds of the accents) and silver (about one third) */
    --silver: #C9D1DC;
    --silver-hi: #EEF2F7;
    --silver-lo: #8E99AB;
    --silver-gradient: linear-gradient(135deg, #F7F9FC 0%, #D5DCE6 40%, #A7B1C2 75%, #8E99AB 100%);
    --link: #E8D08A;
    --link-grad: linear-gradient(90deg, #F1DE9F 0%, #E8D08A 50%, #C9A24B 100%);
    /* Zones: a section is either fully gold (default) or fully silver (class zone-silver) */
    --z-grad: var(--gold-gradient);
    --z-solid: #E8D08A;
    --z-glow: rgba(201, 162, 75, .32);
    --z-hover-grad: var(--silver-gradient);
    --btn-grad: var(--gold-gradient);
    --icon-grad: var(--gold-gradient);
}

/* A fully silver section: every icon, line, link and button inside turns silver */
.zone-silver { --z-grad: var(--silver-gradient); --z-solid: #D5DCE6; --z-glow: rgba(201, 209, 220, .28); --z-hover-grad: var(--gold-gradient); --link: #E4EAF2; --link-grad: linear-gradient(90deg, #F7F9FC 0%, #D5DCE6 55%, #A7B1C2 100%); --line: rgba(201, 209, 220, .3); }

/* ---------- 2. BASE AND TYPOGRAPHY ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
    background: var(--midnight);
    overflow-x: hidden;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    font-variant-numeric: lining-nums;
    -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-variant-numeric: lining-nums; font-family: var(--font-heading); font-weight: 600; line-height: 1.2; margin-bottom: 1rem; color: var(--white); letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; color: var(--blue-gray); }
a { color: var(--white); text-decoration: none; transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
a:hover { color: var(--champagne); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
strong { color: inherit; font-weight: 600; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 5000; background: var(--gold-gradient); color: var(--midnight); padding: 10px 18px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 12px; color: var(--midnight); }

.section { padding: clamp(56px, 8vw, 96px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(15, 42, 92, .55), rgba(15, 42, 92, .35)); border-block: 1px solid rgba(232, 208, 138, .08); }
.section-title { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.section-title h2 { margin-bottom: 14px; }
.section-title h2::after { content: ""; display: block; width: 68px; height: 3px; margin: 16px auto 0; border-radius: 3px; background: var(--z-grad); }
.section-title p { font-size: 1.08rem; max-width: 680px; margin: 0 auto; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--z-solid); margin-bottom: 12px; }

.grid-2-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }

/* Scroll reveal (only when JavaScript is running, so content is never hidden without it) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* ---------- 3. ANIMATED BACKGROUND ---------- */
.bg-aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(120% 80% at 80% 0%, #2450A0 0%, rgba(36,80,160,0) 55%), linear-gradient(165deg, #0F2A5C 0%, #12295E 55%, #0F2A5C 100%); }
#bg-silk { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s ease; }
#bg-silk.on { opacity: 1; }
html.lite #bg-silk, html.still #bg-silk { display: none; }
/* Soft light that follows the pointer on cards (desktop only) */
@media (hover: hover) and (pointer: fine) {
    .service-grid-item::after, .hub-tile::after, .why-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), var(--z-glow), transparent 70%); }
    .service-grid-item:hover::after, .hub-tile:hover::after, .why-card:hover::before { opacity: 1; }
}
@keyframes sheen { from { transform: translateX(-35%); } to { transform: translateX(35%); } }

/* ---------- 4. BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 30px; border-radius: 50px; font-family: var(--font-primary); font-size: .88rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; line-height: 1.2; border: 2px solid transparent; cursor: pointer; text-align: center; position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.btn-sm { padding: 10px 22px; font-size: .78rem; }
.btn-primary { background: var(--z-grad); color: #0A1E47; border-color: transparent; box-shadow: 0 8px 24px var(--z-glow); }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); transition: left .7s ease; }
.btn-primary:hover { color: #0A1E47; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(232, 208, 138, .5); }
.btn-primary:hover::after { left: 130%; }
.btn-secondary { background: rgba(255, 255, 255, .05); color: var(--white); border-color: var(--z-solid); }
.btn-secondary:hover { background: var(--z-hover-grad); color: #0A1E47; border-color: transparent; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201, 209, 220, .28); }
/* Call buttons: platinum silver pill with a gold phone medallion */
.btn-call, .sleek-call-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 7px 28px 7px 7px; border-radius: 60px; background: var(--z-grad); color: #0A1E47; border: 1px solid rgba(255, 255, 255, .7); font-family: var(--font-primary); font-size: 1rem; font-weight: 600; letter-spacing: .02em; text-transform: none; line-height: 1.2; box-shadow: 0 10px 28px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .9); }
.btn-call::after { display: none; }
.btn-call > i:first-child, .sleek-call-btn > i:first-child { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; color: var(--z-solid); background: #0A1E47; box-shadow: 0 4px 12px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .25); animation: phoneRing 2.8s ease-in-out infinite; }
.btn-call:hover, .sleek-call-btn:hover { color: #0A1E47; transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, .45), 0 0 0 3px rgba(232, 208, 138, .35), inset 0 1px 0 #fff; }
@keyframes phoneRing { 0%, 60%, 100% { transform: rotate(0); } 66% { transform: rotate(-16deg); } 72% { transform: rotate(14deg); } 78% { transform: rotate(-12deg); } 84% { transform: rotate(8deg); } 90% { transform: rotate(0); } }

/* Links inside page text: bright aqua to sky gradient (not buttons, not the footer) */
main p a:not(.btn), .form-note a, .contact-info-item a, .call-callout a:not(.btn), .rv-modal a, .faq-a a { color: var(--link); background: var(--link-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-decoration: underline; text-decoration-color: rgba(201, 209, 220, .6); text-underline-offset: 3px; font-weight: 500; }
main p a:not(.btn):hover, .form-note a:hover, .contact-info-item a:hover { filter: brightness(1.15); }

/* ---------- 5. HEADER AND MOBILE MENU ---------- */
.main-header { position: sticky; top: 0; z-index: 1000; padding: 12px 0; width: 100%; }
.main-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 42, 92, .96); border-bottom: 1px solid rgba(232, 208, 138, .16); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo img { height: 66px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 1.8rem; font-weight: 600; color: var(--white); letter-spacing: 0; line-height: 1.2; }
.logo-tagline { font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-size: .8rem; font-weight: 400; color: var(--blue-gray); letter-spacing: 0; }

.main-nav { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; display: flex; align-items: center; }
.nav-links a { color: var(--ivory); font-weight: 500; font-size: .95rem; padding: 10px 12px; border-radius: 8px; position: relative; }
.nav-links > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--btn-grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--champagne); }
.nav-links > li > a:hover::after, .nav-links > li > a.active::after { transform: scaleX(1); }

.sub-toggle { background: none; border: 0; color: var(--champagne); cursor: pointer; font-size: .7rem; padding: 8px 6px 8px 0; margin-left: -6px; display: inline-flex; align-items: center; }
.sub-toggle i { transition: transform .3s ease; }
.dropdown.open > .sub-toggle i, .dropdown:hover > .sub-toggle i { transform: rotate(180deg); }

.dropdown-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; padding: 10px; background: linear-gradient(180deg, #17356F, #12295E); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; z-index: 20; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.dropdown:hover > .dropdown-menu, .dropdown:focus-within > .dropdown-menu, .dropdown.open > .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: block; padding: 10px 14px; border-radius: 8px; white-space: nowrap; font-size: .92rem; }
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: rgba(232, 208, 138, .12); color: var(--champagne); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.mobile-menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .05); cursor: pointer; align-items: center; justify-content: center; }
.burger { width: 22px; height: 16px; position: relative; display: block; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--champagne); transition: transform .3s ease, opacity .3s ease, top .3s ease; }
.burger span:nth-child(1) { top: 0; } .burger span:nth-child(2) { top: 7px; } .burger span:nth-child(3) { top: 14px; }

.drawer-head, .drawer-footer, .nav-backdrop { display: none; }

@media (max-width: 1100px) {
    .mobile-menu-toggle { display: inline-flex; }
    .header-actions .btn { display: none; }
    .logo img { height: 56px; }
    .logo-name { font-size: 1.95rem; }

    /* Side drawer: slides in from the right, covers only part of the screen */
    .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 1; background: rgba(4, 8, 22, .66); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; touch-action: none; }
    .nav-backdrop.open { opacity: 1; visibility: visible; }

    .main-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 2; width: min(86vw, 380px); height: 100vh; height: 100dvh; display: flex; flex-direction: column; align-items: stretch; background: linear-gradient(185deg, #17356F 0%, #0A1E47 70%); border-left: 1px solid var(--line); box-shadow: -24px 0 60px rgba(0, 0, 0, .55); transform: translateX(105%); visibility: hidden; transition: transform .42s cubic-bezier(.22, .8, .2, 1), visibility 0s linear .42s; }
    .main-nav.open { transform: none; visibility: visible; transition: transform .42s cubic-bezier(.22, .8, .2, 1), visibility 0s; }

    .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
    .drawer-title { font-family: var(--font-heading); font-size: 1.3rem; color: var(--champagne); }
    .drawer-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--white); font-size: 1.1rem; cursor: pointer; }
    .drawer-close:hover { background: var(--champagne); color: var(--midnight); }

    /* The menu list scrolls on its own, the page behind stays still */
    .nav-links { flex: 1; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 8px 0; }
    .nav-links > li { flex-wrap: wrap; border-bottom: 1px solid rgba(232, 208, 138, .1); }
    .nav-links a { padding: 16px 22px; font-size: 1.02rem; border-radius: 0; flex: 1; }
    .nav-links > li > a::after { display: none; }
    .nav-links > li > a.active { color: var(--champagne); background: rgba(232, 208, 138, .08); box-shadow: inset 3px 0 0 var(--gold); }
    .sub-toggle { width: 56px; height: 54px; justify-content: center; margin: 0; padding: 0; border-left: 1px solid rgba(232, 208, 138, .1); font-size: .85rem; }
    .dropdown::before { display: none; }
    .dropdown:hover > .sub-toggle i { transform: none; }
    .dropdown.open > .sub-toggle i { transform: rotate(180deg); }

    .dropdown-menu { position: static; flex-basis: 100%; min-width: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: rgba(0, 0, 0, .22); opacity: 1; visibility: visible; transform: none; max-height: 0; overflow: hidden; transition: max-height .4s ease; }
    .dropdown:hover > .dropdown-menu, .dropdown:focus-within > .dropdown-menu { max-height: 0; }
    .dropdown.open > .dropdown-menu { max-height: 700px; }
    .dropdown-menu a { padding: 13px 22px 13px 38px; font-size: .95rem; color: var(--blue-gray); white-space: normal; border-radius: 0; }

    .drawer-footer { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); flex-shrink: 0; background: rgba(0, 0, 0, .2); }
    .drawer-footer .btn { width: 100%; }
    .drawer-call { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ivory); font-weight: 500; }

    .mobile-menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
    .mobile-menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
    html.nav-open, html.nav-open body { overflow: hidden; }
}

/* ---------- 6. HERO BANNER AND SLIDER ---------- */
.hero-banner { position: relative; isolation: isolate; min-height: clamp(580px, 90vh, 840px); display: flex; align-items: center; overflow: hidden; background: radial-gradient(circle at 78% 30%, rgba(86, 165, 236, .28), transparent 55%), linear-gradient(135deg, #0A1E47, #17356F); }
.banner-slider { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.banner-track { display: flex; height: 100%; transition: transform 1.15s cubic-bezier(.65, 0, .25, 1); will-change: transform; }
.banner-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; background: #0A1E47; }
.banner-slide picture, .banner-slide img { width: 100%; height: 100%; }
.banner-slide img { object-fit: cover; object-position: center; transform: scale(1.001); }
.banner-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.banner-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 42, 92, .95) 0%, rgba(15, 42, 92, .84) 36%, rgba(15, 42, 92, .38) 68%, rgba(15, 42, 92, .12) 100%), linear-gradient(0deg, rgba(15, 42, 92, .88) 0%, rgba(15, 42, 92, 0) 32%); }

.slide-tag { position: absolute; z-index: 3; left: max(20px, calc((100vw - 1200px) / 2 + 20px)); bottom: 78px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 12px; border-radius: 50px; background: rgba(15, 42, 92, .6); border: 1px solid rgba(201, 209, 220, .6); color: var(--ivory); font-size: .9rem; font-weight: 500; }
.slide-tag .tag-icon { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--btn-grad); color: #0A1E47; font-size: .95rem; }
.slide-tag strong { color: var(--link); font-weight: 600; }
.slide-tag:hover { background: rgba(201, 209, 220, .2); color: var(--white); transform: translateY(-2px); }

.banner-dots { position: absolute; z-index: 5; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.banner-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 1px solid var(--champagne); background: transparent; cursor: pointer; transition: all .35s ease; }
.banner-dots button { position: relative; overflow: hidden; border-color: var(--link); }
.banner-dots button.is-on { width: 40px; border-radius: 10px; background: rgba(255, 255, 255, .22); border-color: var(--link); }
.banner-dots button.is-on::after { content: ""; position: absolute; inset: 0; background: var(--btn-grad); transform-origin: left; animation: dotfill 5.5s linear forwards; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.banner-slide.is-active .slide-tag { animation: tagIn .9s .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes tagIn { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
.banner-slide.is-active .slide-tag .tag-icon { animation: tagPulse 2.4s 1.4s ease-in-out infinite; }
@keyframes tagPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 209, 220, .6); } 60% { box-shadow: 0 0 0 12px rgba(201, 209, 220, 0); } }
.banner-arrow { position: absolute; z-index: 5; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(232, 208, 138, .5); background: rgba(15, 42, 92, .45); color: var(--champagne); cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: all .3s ease; }
.banner-arrow:hover { background: var(--btn-grad); color: #0A1E47; border-color: transparent; }
.banner-arrow.prev { left: 18px; } .banner-arrow.next { right: 18px; }

.hero-inner { position: relative; z-index: 4; }
.hero-content { max-width: 690px; padding: 70px 0 150px; text-align: left; }
.hero-content .eyebrow { margin-bottom: 16px; }
.hero-content h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); margin-bottom: 22px; text-shadow: 0 4px 24px rgba(0, 0, 0, .45); }
.hero-content h1 span { background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--champagne); }
.hero-content p { font-size: clamp(1rem, 1.6vw, 1.18rem); margin-bottom: 34px; color: var(--ivory); opacity: .93; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 900px) {
    .hero-banner { min-height: 0; }
    .banner-slide::after { background: linear-gradient(180deg, rgba(15, 42, 92, .86) 0%, rgba(15, 42, 92, .74) 45%, rgba(15, 42, 92, .92) 100%); }
    .hero-content { text-align: center; margin: 0 auto; padding: 118px 0 78px; }
    .hero-buttons { justify-content: center; }
    .slide-tag { left: 50%; transform: translateX(-50%); top: 18px; bottom: auto; width: max-content; max-width: calc(100vw - 32px); font-size: .8rem; line-height: 1.3; padding: 8px 16px 8px 9px; text-align: left; gap: 10px; }
    .slide-tag .tag-icon { width: 32px; height: 32px; flex-shrink: 0; }
    .slide-tag strong { display: block; }
    .slide-tag:hover { transform: translateX(-50%) translateY(-2px); }
    .banner-arrow { display: none; }
}

/* ---------- 7. PAGE TITLE BANNER (inner pages) ---------- */
.page-hero { padding: clamp(56px, 9vw, 110px) 0 clamp(36px, 6vw, 70px); text-align: center; position: relative; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero h1::after { content: ""; display: block; width: 80px; height: 3px; margin: 18px auto 0; background: var(--gold-gradient); border-radius: 3px; }
.page-hero p { max-width: 720px; margin: 0 auto; font-size: 1.1rem; }

/* ---------- 8. COUNTERS ---------- */
.stats-section { background: linear-gradient(180deg, rgba(15, 42, 92, .5), rgba(18, 28, 63, .45)); border-block: 1px solid rgba(232, 208, 138, .14); padding: clamp(48px, 7vw, 80px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { padding: 10px; }
.stat-item .stat-number { font-family: var(--font-stats); font-weight: 600; font-size: clamp(2.8rem, 6vw, 4.6rem); letter-spacing: -.01em; line-height: 1; font-variant-numeric: tabular-nums; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #E8D08A; filter: drop-shadow(0 6px 18px rgba(201, 162, 75, .25)); }
.stat-item .stat-label { font-size: 1.02rem; color: var(--blue-gray); margin-top: 14px; letter-spacing: .04em; }

/* ---------- 9. REVIEWS ---------- */
.reviews-section { overflow: hidden; }
.rv-summary { display: inline-flex; align-items: center; gap: 16px; padding: 10px 26px; margin-bottom: 26px; border-radius: 60px; background: var(--glass); border: 1px solid var(--line); }
.rv-summary .score { font-family: var(--font-stats); font-size: 2.1rem; font-weight: 600; color: var(--champagne); line-height: 1; }
.rv-summary .meta { text-align: left; font-size: .85rem; color: var(--blue-gray); line-height: 1.35; }
.rv-summary .rv-stars { margin: 0 0 2px; font-size: .9rem; }
.rv-top { text-align: center; }

.rv-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 8px; }
.chip { padding: 8px 20px; border-radius: 40px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--ivory); font-family: var(--font-primary); font-size: .85rem; font-weight: 500; cursor: pointer; transition: all .25s ease; }
.chip:hover { border-color: var(--champagne); color: var(--champagne); }
.chip.is-on { background: var(--gold-gradient); color: var(--midnight); border-color: transparent; }

.rv-stage { --rv-w: 390px; --rv-h: 340px; --rv-gap: 28px; position: relative; max-width: 1500px; margin: 0 auto; }
.rv-viewport { overflow: hidden; padding: 34px 0 44px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); touch-action: pan-y; cursor: grab; }
.rv-viewport.dragging { cursor: grabbing; }
.rv-track { display: flex; gap: var(--rv-gap); transition: transform .75s cubic-bezier(.22, .8, .2, 1); will-change: transform; }
.rv-viewport.dragging .rv-track { transition: none; }

.rv-card { position: relative; flex: 0 0 var(--rv-w); width: var(--rv-w); height: var(--rv-h); display: flex; flex-direction: column; padding: 28px 28px 22px; border-radius: 18px; background: linear-gradient(160deg, #FFFFF0 0%, #FFFFFF 100%); border: 2px solid var(--gold); color: #091235; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); overflow: hidden; user-select: none; -webkit-user-select: none; }
.rv-stage .rv-card { opacity: .5; transform: scale(.9); transition: opacity .6s ease, transform .6s cubic-bezier(.22, .8, .2, 1), box-shadow .6s ease; }
.rv-stage .rv-card.is-active { opacity: 1; transform: scale(1); box-shadow: 0 22px 60px rgba(0, 0, 0, .5), 0 0 0 4px rgba(232, 208, 138, .22); }
.rv-quote { position: absolute; right: 22px; top: 18px; font-size: 2.4rem; color: rgba(201, 162, 75, .28); }
.rv-stars { color: var(--gold); font-size: 1rem; letter-spacing: 3px; margin-bottom: 14px; }
.rv-text { font-family: var(--font-quote); font-style: italic; font-size: 1.06rem; line-height: 1.7; color: #091235; margin: 0; display: -webkit-box; -webkit-line-clamp: 6; line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv-more { align-self: flex-start; margin-top: 8px; padding: 0; background: none; border: 0; border-bottom: 1px solid var(--gold); color: #7a5c14; font-family: var(--font-primary); font-size: .82rem; font-weight: 600; cursor: pointer; }
.rv-more:hover { color: #091235; }
.rv-author { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(201, 162, 75, .35); }
.rv-avatar { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0A1E47, #26335E); color: var(--champagne); font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; }
.rv-who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.rv-who strong { font-family: var(--font-heading); font-size: 1.05rem; color: #091235; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-who small { font-size: .74rem; color: #6a5a2e; letter-spacing: .06em; text-transform: uppercase; }

.rv-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(232, 208, 138, .55); background: rgba(15, 42, 92, .75); color: var(--champagne); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .3s ease; }
.rv-nav:hover { background: var(--champagne); color: var(--midnight); }
.rv-nav.prev { left: 10px; } .rv-nav.next { right: 10px; }
.rv-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: -6px; min-height: 16px; }
.rv-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(232, 208, 138, .35); cursor: pointer; transition: all .3s ease; }
.rv-dots button.is-on { width: 28px; border-radius: 8px; background: var(--gold-gradient); }
.rv-count { text-align: center; color: var(--blue-gray); font-size: .85rem; margin-top: 14px; }
.rv-cta { text-align: center; margin-top: 30px; }

/* Reviews page grid: every card the same size */
.rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.rv-grid .rv-card { flex: initial; width: auto; height: 340px; opacity: 1; transform: none; transition: transform .35s ease, box-shadow .35s ease; }
.rv-grid .rv-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(0, 0, 0, .45); }

/* Full review pop up */
.rv-modal { position: fixed; inset: 0; z-index: 2100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(4, 8, 22, .78); }
.rv-modal-box { position: relative; width: min(640px, 100%); max-height: 86vh; overflow-y: auto; padding: 38px 34px 30px; border-radius: 20px; background: linear-gradient(160deg, #FFFFF0, #FFFFFF); border: 2px solid var(--gold); color: #091235; box-shadow: var(--shadow); }
.rv-modal-text { font-family: var(--font-quote); font-style: italic; font-size: 1.12rem; line-height: 1.8; color: #091235; margin: 10px 0 20px; }
.rv-modal-author { font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; color: #091235; margin: 0; }
.rv-modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); background: #fff; color: #091235; cursor: pointer; }
.rv-modal-close:hover { background: var(--gold); }

@media (max-width: 992px) { .rv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
    .rv-stage { --rv-w: 82vw; --rv-h: 350px; --rv-gap: 16px; }
    .rv-nav { display: none; }
    .rv-grid { grid-template-columns: 1fr; }
    .rv-summary { padding: 10px 18px; gap: 12px; }
}

/* ---------- 10. HOME PAGE SECTIONS ---------- */
.about-media { position: relative; }
.about-media img { width: 100%; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.about-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid rgba(201, 162, 75, .5); border-radius: 18px; z-index: -1; }
.about-copy h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about-copy blockquote { margin: 0 0 20px; padding: 6px 0 6px 20px; border-left: 3px solid var(--gold); font-family: var(--font-quote); font-style: italic; font-size: 1.1rem; color: var(--ivory); }
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }

.home-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1140px; margin: 0 auto; }
.service-grid-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 20px 30px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease, background .4s ease; }
.service-grid-item::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, var(--z-glow), transparent 65%); opacity: 1; transition: opacity .4s ease; }
.service-grid-item:hover { transform: translateY(-8px); background: var(--z-hover-grad); border-color: #fff; box-shadow: 0 24px 50px rgba(0, 0, 0, .45), 0 0 0 3px rgba(232, 208, 138, .35); }
.service-grid-item:hover::before { opacity: 0; }
.service-grid-item .sg-icon { position: relative; width: 88px; height: 88px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 2.3rem; color: var(--midnight); background: var(--z-grad); box-shadow: 0 10px 26px var(--z-glow); transition: transform .4s ease, background .4s ease, color .4s ease; }
.service-grid-item:hover .sg-icon { transform: scale(1.08) rotate(-5deg); background: var(--midnight); color: var(--z-solid); }
.service-grid-item .sg-text { position: relative; display: block; }
.service-grid-item .sg-title { display: block; color: var(--white); font-family: var(--font-primary); font-size: 1.12rem; font-weight: 600; margin: 0 0 6px; line-height: 1.3; transition: color .4s ease; }
.service-grid-item small { display: block; color: var(--blue-gray); font-size: .9rem; line-height: 1.5; transition: color .4s ease; }
.service-grid-item:hover .sg-title { color: var(--midnight); }
.service-grid-item:hover small { color: #2a3552; }
.home-services-more { text-align: center; margin-top: 44px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.process-step { position: relative; padding: 34px 24px 26px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); counter-increment: step; }
.process-step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-stats); font-size: 2.4rem; font-weight: 600; line-height: 1; margin-bottom: 14px; background: var(--z-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--champagne); }
.process-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.process-step p { margin: 0; font-size: .95rem; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { padding: 30px 24px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); text-align: center; transition: transform .35s ease, border-color .35s ease; }
.why-card:hover { transform: translateY(-6px); border-color: rgba(232, 208, 138, .55); }
.why-card i { font-size: 2.2rem; margin-bottom: 16px; background: var(--z-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--link); }
.why-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { margin: 0; font-size: .93rem; }

.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-list details { border-radius: 12px; background: var(--glass); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s ease; }
.faq-list details[open] { border-color: rgba(232, 208, 138, .6); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 500; color: var(--white); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--champagne); transition: transform .3s ease; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list .faq-a { padding: 0 22px 20px; color: var(--blue-gray); }
.faq-list .faq-a p { margin: 0; }
.faq-list .faq-a a { color: var(--link); text-decoration: underline; }

.cta-band { text-align: center; padding: clamp(40px, 6vw, 64px) 24px; border-radius: 24px; background: linear-gradient(135deg, rgba(201, 162, 75, .2), rgba(86, 165, 236, .14)), var(--navy); border: 1px solid rgba(232, 208, 138, .4); box-shadow: var(--shadow); }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 620px; margin: 0 auto 26px; color: var(--ivory); opacity: .9; }
.cta-band .hero-buttons { justify-content: center; }

.call-callout { text-align: center; margin-bottom: 26px; font-size: 1.05rem; color: var(--ivory); }
.call-callout .btn-call { margin-top: 12px; }

@media (max-width: 1000px) {
    .home-services-grid, .process-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .grid-2-col { grid-template-columns: minmax(0, 1fr); }
    .about-media::before { display: none; }
}
@media (max-width: 560px) {
    .home-services-grid, .process-grid, .why-grid { grid-template-columns: 1fr; }
    .home-services-grid { gap: 14px; }
    .service-grid-item { flex-direction: row; text-align: left; gap: 18px; padding: 18px; }
    .service-grid-item .sg-icon { margin: 0; flex-shrink: 0; width: 70px; height: 70px; font-size: 1.9rem; border-radius: 20px; }
    .stats-grid { gap: 14px; }
}

/* ---------- 11. FORMS ---------- */
.contact-form-section { padding-bottom: 90px; }
.contact-form { max-width: 820px; margin: 0 auto; padding: clamp(22px, 4vw, 42px); border-radius: 20px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-form h3 { margin-bottom: 22px; }
.form-group { margin-bottom: 20px; min-width: 0; }
/* Fields never grow wider than their box (fixes fields poking out on phones) */
.contact-form, .sleek-insurance-form, .insurance-form-wrapper { max-width: 100%; min-width: 0; }
input, select, textarea { max-width: 100%; min-width: 0; }
input[type="date"], input[type="time"], input[type="datetime-local"] { -webkit-appearance: none; appearance: none; min-height: 48px; }
.form-group label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 500; color: var(--ivory); }
.form-control { width: 100%; padding: 13px 15px; background: rgba(8, 24, 60, .55); border: 1px solid rgba(183, 192, 214, .3); border-radius: 10px; color: var(--white); font-family: var(--font-primary); font-size: 1rem; color-scheme: dark; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.form-control::placeholder { color: rgba(183, 192, 214, .6); }
.form-control:focus { outline: none; border-color: var(--champagne); box-shadow: 0 0 0 3px rgba(232, 208, 138, .2); background: rgba(8, 24, 60, .75); }
select.form-control { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%23E8D08A' stroke-width='2' d='M1 1l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
select.form-control option { color: #0A1E47; background: #fff; }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { text-align: center; margin-top: 8px; }
.form-note { text-align: center; font-size: .78rem; color: var(--blue-gray); margin: 14px 0 0; }
.form-note a { color: var(--champagne); text-decoration: underline; }
.form-response { margin-top: 18px; padding: 14px 18px; border-radius: 10px; display: none; font-weight: 500; text-align: center; }
.form-response.success { display: block; background: rgba(31, 157, 85, .18); border: 1px solid var(--success); color: #b9f2d0; }
.form-response.error { display: block; background: rgba(214, 69, 69, .18); border: 1px solid var(--error); color: #ffc9c9; }
.form-response a { color: inherit; text-decoration: underline; }
.contact-form .btn[disabled] { opacity: .7; cursor: wait; }

/* Phone safety net: nothing inside a form or a two column box can push past the screen edge,
   including the date picker on iPhones, which otherwise forces its own width. */
.grid-2-col > *, .contact-page-grid > *, .why-grid > *, .process-grid > *, .home-services-grid > *, .hub-grid > * { min-width: 0; }
.form-control, .contact-form input, .contact-form select, .contact-form textarea, .sleek-insurance-form input, .sleek-insurance-form select, .sleek-insurance-form textarea { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
input[type="date"], input[type="time"], input[type="datetime-local"] { display: block; width: 100%; max-width: 100%; min-width: 0; -webkit-min-logical-width: 0; text-align: left; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; min-width: 0; }
.contact-info-item a, .contact-info-item span { overflow-wrap: anywhere; min-width: 0; }
.why-card, .process-step, .service-grid-item, .tv-card { overflow-wrap: anywhere; }
@media (max-width: 900px) {
    .contact-page-grid, .map-container, .grid-2-col { grid-template-columns: minmax(0, 1fr); }
    .contact-form { padding: 22px 18px; }
}
@media (max-width: 1000px) { .why-grid, .process-grid, .home-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
    .why-grid, .process-grid, .home-services-grid { grid-template-columns: minmax(0, 1fr); }
    /* 16px stops iPhones zooming the page when a field is tapped */
    .form-control, input, select, textarea { font-size: 16px; }
}
.grecaptcha-badge { visibility: hidden; }

/* ---------- 12. SERVICES HUB AND DETAIL PAGES ---------- */
#elantroe-hub-engine { padding: 20px 0 80px; }
#elantroe-hub-engine .hub-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.hub-header-box { text-align: center; margin-bottom: 44px; }
.hub-header-box h1, .hub-header-box h2 { margin-bottom: 14px; }
.hub-header-box p { max-width: 700px; margin: 0 auto; }
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hub-tile { display: flex; align-items: center; gap: 20px; min-height: 130px; padding: 24px 28px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); color: var(--white); font-family: var(--font-primary); font-size: 1.18rem; font-weight: 600; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); position: relative; overflow: hidden; transition: transform .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease, color .35s ease; }
.hub-tile .ht-icon { flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--midnight); background: var(--z-grad); box-shadow: 0 8px 22px var(--z-glow); transition: background .35s ease, color .35s ease, transform .35s ease; }
.hub-tile .ht-arrow { margin-left: auto; color: var(--z-solid); font-size: 1rem; transition: transform .3s ease, color .35s ease; }
.hub-tile:hover { transform: translateY(-5px); background: var(--z-hover-grad); border-color: #fff; color: var(--midnight); box-shadow: 0 22px 44px rgba(0, 0, 0, .45), 0 0 0 3px rgba(232, 208, 138, .35); }
.hub-tile:hover .ht-icon { background: var(--midnight); color: var(--z-solid); transform: scale(1.06); }
.hub-tile:hover .ht-arrow { transform: translateX(6px); color: var(--midnight); }
.tile-full { grid-column: 1 / -1; }
.tv-block { margin-top: 56px; padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--glass); border: 1px solid rgba(201, 209, 220, .3); box-shadow: var(--shadow); }
.tv-block .tv-head { text-align: center; margin-bottom: 28px; }
.tv-block .tv-head h2 { margin-bottom: 10px; }
.tv-block .tv-head p { max-width: 680px; margin: 0 auto; }
.tv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tv-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); color: var(--white); box-shadow: 0 10px 24px rgba(0, 0, 0, .22); transition: transform .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.tv-card:hover { transform: translateY(-4px); background: var(--z-hover-grad); border-color: #fff; color: var(--midnight); box-shadow: 0 18px 38px rgba(0, 0, 0, .42), 0 0 0 3px rgba(232, 208, 138, .3); }
.tv-card .tv-ico { flex-shrink: 0; width: 70px; height: 48px; display: block; border-radius: 7px; overflow: hidden; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); line-height: 0; }
.tv-card .tv-ico svg, .ht-flag svg { width: 100%; height: 100%; display: block; }
.tv-card strong { display: block; font-size: 1.02rem; color: var(--white); line-height: 1.3; transition: color .35s ease; }
.tv-card small { display: block; color: var(--blue-gray); font-size: .84rem; line-height: 1.4; transition: color .35s ease; }
.tv-card:hover strong { color: var(--midnight); }
.tv-card:hover small { color: #2a3552; }
.ht-flag { flex-shrink: 0; width: 82px; height: 56px; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); line-height: 0; }
.flag-hero { display: flex; align-items: center; justify-content: center; width: 100%; height: clamp(200px, 32vw, 340px); border-radius: 16px; margin-bottom: 30px; background: radial-gradient(circle at 30% 20%, rgba(232, 208, 138, .2), transparent 55%), radial-gradient(circle at 80% 80%, rgba(201, 209, 220, .2), transparent 55%), linear-gradient(135deg, #17356F, #0A1E47); border: 1px solid var(--line); }
.flag-hero svg { width: min(300px, 62%); height: auto; border-radius: 10px; box-shadow: 0 18px 44px rgba(0, 0, 0, .5); }
.tv-more { text-align: center; margin-top: 26px; }
@media (max-width: 900px) { .tv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tv-grid { grid-template-columns: 1fr; } }

.detail-container-box { background: var(--glass); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow); }
.detail-hero-img, .detail-hero-fallback { width: 100%; height: clamp(200px, 32vw, 340px); border-radius: 16px; margin-bottom: 30px; }
.detail-hero-img { object-fit: cover; }
.detail-hero-fallback { display: flex; align-items: center; justify-content: center; font-size: 4.5rem; color: rgba(232, 208, 138, .8); background: radial-gradient(circle at 30% 20%, rgba(232, 208, 138, .22), transparent 55%), radial-gradient(circle at 80% 80%, rgba(86, 165, 236, .25), transparent 55%), linear-gradient(135deg, #17356F, #0A1E47); border: 1px solid var(--line); }
.detail-description p { color: var(--ivory); font-size: 1.08rem; line-height: 1.85; opacity: .92; }
.sleek-call-btn { margin: 22px 0; }
.premium-nav-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.nav-btn-sm { flex: 1 1 200px; text-align: center; padding: 11px 20px; border-radius: 10px; color: var(--ivory); font-size: .9rem; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); }
.nav-btn-sm:hover { background: rgba(201, 209, 220, .16); color: var(--link); border-color: var(--link); }
.back-hub-wrapper { margin-top: 44px; text-align: center; }
.btn-back-hub { display: inline-block; font-size: .85rem; color: var(--link); text-transform: lowercase; padding: 9px 24px; border: 1px solid var(--link); border-radius: 40px; }
.btn-back-hub:hover { background: var(--btn-grad); color: #0A1E47; border-color: transparent; }

.affiliate-space { background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .1); padding: 22px; border-radius: 15px; margin: 30px auto; width: 100%; max-width: 100%; overflow: hidden; position: relative; clear: both; }
.widget-title { color: var(--champagne); margin-bottom: 20px; font-family: var(--font-primary); font-size: 1.1rem; text-align: center; letter-spacing: .04em; }
.widget-wrapper { margin-bottom: 25px; width: 100%; display: block; position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.widget-wrapper div, .widget-wrapper iframe { max-width: 100% !important; margin: 0 auto !important; }
.widget-wrapper:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
    .hub-grid { grid-template-columns: 1fr; }
    .hub-tile { min-height: 96px; padding: 18px 20px; font-size: 1.12rem; }
    .sleek-call-btn { width: 100%; justify-content: center; }
}

/* ---------- 13. EXCLUSIVE FLIP CARDS ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.flip-card { position: relative; height: clamp(340px, 36vw, 410px); border-radius: 18px; cursor: pointer; box-shadow: 0 14px 36px rgba(0, 0, 0, .4), 0 0 0 1px rgba(232, 208, 138, .22); -webkit-tap-highlight-color: transparent; }
.flip-card-inner { position: relative; width: 100%; height: 100%; }
/* Each face turns on its own (no preserve-3d). This keeps text readable in Firefox, Safari and Chrome. */
.flip-card-front, .flip-card-back { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: transform .8s cubic-bezier(.2, .7, .2, 1); will-change: transform; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 26px; }
.flip-card-front { transform: perspective(1400px) rotateY(0deg); color: var(--white); background: #17356F center / cover no-repeat; }
.flip-card-back { transform: perspective(1400px) rotateY(180deg); background: linear-gradient(160deg, #FFFFF0, #FFFFFF); color: #091235; border: 2px solid var(--gold); overflow-y: auto; }
.flip-card.flipped .flip-card-front { transform: perspective(1400px) rotateY(-180deg); }
.flip-card.flipped .flip-card-back { transform: perspective(1400px) rotateY(0deg); }
.flip-card-front::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 42, 92, .45), rgba(15, 42, 92, .88)); }
.flip-card-front.no-img { background: radial-gradient(circle at 25% 20%, rgba(232, 208, 138, .25), transparent 55%), radial-gradient(circle at 85% 85%, rgba(86, 165, 236, .28), transparent 55%), linear-gradient(135deg, #17356F, #0A1E47); }
.flip-card-front-content { position: relative; z-index: 2; }
.flip-icon { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 1.5rem; color: var(--midnight); background: var(--gold-gradient); box-shadow: 0 10px 26px rgba(201, 162, 75, .35); }
.flip-card-front h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-bottom: 8px; }
.flip-card-front p { color: var(--ivory); margin: 0; }
.flip-hint { position: absolute; z-index: 2; bottom: 16px; left: 0; right: 0; text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne); }
.flip-hint i { margin-right: 6px; }
.flip-card-back h3 { color: #091235; font-size: 1.4rem; margin-bottom: 10px; }
.flip-card-back p { color: #26335E; font-size: .95rem; line-height: 1.65; margin-bottom: 18px; }
.flip-back-hint { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #7a5c14; margin-top: 12px; }
.flip-card:not(.flipped) .flip-card-back, .flip-card.flipped .flip-card-front { pointer-events: none; }
.flip-card:focus-visible { outline: 3px solid var(--champagne); outline-offset: 5px; }
@media (max-width: 800px) { .service-grid { grid-template-columns: 1fr; gap: 24px; } .flip-card { height: 380px; } }

/* ---------- 14. CONTACT PAGE AND MAPS ---------- */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(26px, 4vw, 50px); align-items: stretch; }
.contact-details { padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.contact-details .contact-social { margin-top: 12px; }
.contact-info-item { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; font-size: 1.05rem; }
.contact-info-item i { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--midnight); background: var(--z-grad); }
.contact-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.contact-social a { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 9px; border-radius: 30px; border: 1px solid rgba(201, 209, 220, .4); background: rgba(255, 255, 255, .06); font-size: .88rem; font-weight: 500; }
.contact-social a i { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; color: var(--midnight); background: var(--z-grad); }
.contact-social a:hover { border-color: var(--link); color: var(--link); transform: translateY(-2px); }
.contact-page-grid .contact-form { margin: 0; max-width: none; height: 100%; }
.map-container { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.map-card { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--glass); box-shadow: var(--shadow); }
.map-card h4 { padding: 16px 22px; margin: 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.map-card iframe { display: block; width: 100%; height: 340px; border: 0; }
@media (max-width: 900px) { .contact-page-grid, .map-container { grid-template-columns: 1fr; } .map-card iframe { height: 300px; } }

/* ---------- 15. BLOG ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.blog-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--glass); border: 1px solid var(--line); color: var(--ivory); }
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 22px 46px rgba(0, 0, 0, .4); border-color: rgba(232, 208, 138, .6); color: var(--ivory); }
.blog-card-image { aspect-ratio: 3 / 2; overflow: hidden; background: linear-gradient(135deg, #17356F, #0A1E47); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(232, 208, 138, .6); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-content { padding: 26px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-content h3 { font-size: 1.4rem; margin-bottom: 10px; }
.blog-card-meta { font-size: .88rem; color: var(--champagne); margin-bottom: 12px; }
.blog-card-excerpt { flex-grow: 1; margin-bottom: 18px; }
.read-more { font-weight: 600; color: var(--champagne); align-self: flex-start; }
.single-post-container { max-width: 820px; margin: 0 auto; padding: clamp(24px, 4vw, 46px); border-radius: 20px; background: var(--glass); border: 1px solid var(--line); }
.post-meta { color: var(--champagne); font-size: .92rem; margin-bottom: 28px; }
.single-post-content h3 { margin-top: 30px; }
.single-post-content p, .single-post-content li { color: var(--ivory); opacity: .92; }
.single-post-content ul { list-style: disc; padding-left: 22px; margin-bottom: 20px; }
.single-post-content img { border-radius: 12px; }
@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- 16. INFO PAGE ---------- */
#elantroe-hub-v3 { width: 100%; padding: 20px 0 70px; }
#elantroe-hub-v3 .container-hub { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
#elantroe-hub-v3 .hub-grid { gap: 20px; margin-bottom: 60px; }
.hub-tab { display: flex; align-items: center; justify-content: center; height: 120px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); color: var(--white); font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; letter-spacing: .02em; box-shadow: 0 8px 25px rgba(0, 0, 0, .25); position: relative; overflow: hidden; }
.hub-tab::before { content: ""; position: absolute; inset: 0; background: var(--gold-gradient); opacity: 0; transition: opacity .35s ease; z-index: 0; }
.hub-tab { isolation: isolate; }
.hub-tab > * { position: relative; z-index: 1; }
.hub-tab:hover { color: var(--midnight); transform: translateY(-5px); border-color: var(--champagne); box-shadow: 0 20px 40px rgba(201, 162, 75, .3); }
.hub-tab:hover::before { opacity: 1; }
.info-intro { text-align: center; margin-bottom: 46px; }
.live-feed-intro { text-align: center; margin-bottom: 30px; padding: 0 10px; }
.live-feed-intro h3 { font-size: 1.8rem; }
.live-feed-intro p { max-width: 800px; margin: 0 auto; }

.google-card { background: #ffffff; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); color: #202124; font-family: var(--font-primary); margin-bottom: 80px; }
.gc-header { padding: 46px 30px; border-bottom: 1px solid #f1f3f4; display: flex; flex-direction: column; align-items: center; text-align: center; background: radial-gradient(circle at top, #ffffff, #f8f9fa); }
.gc-logo-wrapper { margin-bottom: 20px; display: flex; align-items: center; gap: 20px; justify-content: center; }
.gc-logo { height: 60px; width: auto; object-fit: contain; }
.gc-title-area h2 { font-family: var(--font-stats); font-size: 2.6rem; font-weight: 600; color: #202124; margin: 0; letter-spacing: -.5px; line-height: 1; }
.gc-badges { margin-top: 15px; display: flex; align-items: center; gap: 10px; }
.badge-verified { display: flex; align-items: center; color: #1a73e8; font-weight: 500; font-size: .9rem; background: #e8f0fe; padding: 5px 12px; border-radius: 50px; }
.badge-status { font-size: .9rem; padding: 5px 12px; border-radius: 50px; font-weight: 500; }
.badge-open { color: #137333; background: #e6f4ea; }
.badge-closed { color: #c5221f; background: #fce8e6; }
.gc-body { display: grid; grid-template-columns: 2fr 1fr; }
.gc-reviews { padding: 40px; border-right: 1px solid #f1f3f4; }
.gc-reviews h3 { margin: 0 0 25px; color: #202124; font-family: var(--font-primary); font-size: 1.2rem; font-weight: 600; }
.gc-review-item { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid #f1f3f4; }
.gc-review-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.gc-user { display: flex; align-items: center; margin-bottom: 12px; }
.gc-avatar { width: 42px; height: 42px; border-radius: 50%; background: #1a73e8; color: white; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-right: 15px; font-weight: bold; }
.gc-name { font-weight: 700; color: #202124; font-size: 1rem; }
.gc-time { color: #5f6368; font-size: .85rem; margin-left: auto; }
.gc-text { line-height: 1.6; font-size: .95rem; color: #3c4043; }
.gc-sidebar { padding: 40px; background: #fafafa; display: flex; flex-direction: column; }
.gc-rating-box { text-align: center; margin-bottom: 30px; }
.gc-rating-score { font-size: 4rem; color: #202124; font-weight: 300; line-height: 1; font-family: var(--font-stats); }
.gc-rating-stars { color: #fbbc04; font-size: 1.5rem; margin: 10px 0; letter-spacing: 2px; }
.gc-info-box { background: #ffffff; padding: 20px; border-radius: 12px; border: 1px solid #f1f3f4; margin-bottom: 20px; }
.gc-info-box h4 { margin: 0 0 15px; color: #202124; font-family: var(--font-primary); font-weight: 600; font-size: 1rem; border-bottom: 1px solid #f1f3f4; padding-bottom: 10px; }
.gc-list-simple { font-size: .85rem; color: #3c4043; }
.gc-list-simple li { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; line-height: 1.4; }
.gc-btn { display: block; width: 100%; padding: 14px 0; margin-top: 15px; border-radius: 8px; font-size: .95rem; font-weight: 600; text-align: center; }
.gc-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, .1); }
.btn-blue { background: #1a73e8; color: white; } .btn-blue:hover { color: white; }
.btn-white { background: white; border: 1px solid #dadce0; color: #1a73e8; } .btn-white:hover { color: #1a73e8; }
.faq-section-wrapper { max-width: 900px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 40px; }
.faq-item { background: rgba(18, 28, 63, .7); border: 1px solid var(--line); margin-bottom: 15px; border-radius: 12px; overflow: hidden; transition: border-color .3s ease, background-color .3s ease; }
.faq-item:hover { border-color: var(--champagne); }
.faq-question { padding: 20px 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 500; font-size: 1.08rem; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--champagne); }
.faq-item.active .faq-question::after { content: '\2212'; }
.faq-item.active .faq-answer { max-height: 500px; padding: 0 25px 25px; opacity: 1; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, opacity .4s ease; opacity: 0; color: rgba(255, 255, 255, .9); line-height: 1.6; font-size: .95rem; }
.faq-answer a { color: var(--champagne); text-decoration: underline; }
@media (max-width: 768px) {
    #elantroe-hub-v3 .hub-grid { grid-template-columns: 1fr; gap: 14px; }
    .gc-body { grid-template-columns: 1fr; }
    .gc-reviews { border-right: none; border-bottom: 1px solid #dadce0; padding: 30px 20px; }
    .gc-sidebar { padding: 30px 20px; }
    .gc-logo-wrapper { flex-direction: column; }
    .gc-title-area h2 { font-size: 2.1rem; }
}

/* ---------- 17. RESOURCES (DOCS) AND CAR INSURANCE FORM ---------- */
.docs-wrapper { padding: 20px 20px 80px; max-width: 1100px; margin: 0 auto; }
.doc-header { text-align: center; margin-bottom: 40px; }
.doc-card { background: var(--glass); padding: clamp(22px, 4vw, 40px); border-radius: 18px; border: 1px solid var(--line); }
.doc-card h3 { color: var(--champagne); margin-bottom: 20px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.doc-card li { margin-bottom: 15px; padding-left: 32px; position: relative; line-height: 1.6; color: var(--ivory); }
.doc-card li::before { content: '\2713'; position: absolute; left: 0; color: var(--champagne); font-weight: bold; }
.docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 30px; }
.service-card { display: block; background: var(--glass); padding: 25px; border-radius: 12px; color: var(--white); text-align: center; border: 1px solid var(--line); font-weight: 600; }
.service-card:hover { background: linear-gradient(150deg, rgba(232, 208, 138, .2), rgba(255, 255, 255, .04)); border-color: var(--champagne); color: var(--champagne); transform: translateY(-5px); }
.btn-main { display: inline-block; background: var(--gold-gradient); color: var(--midnight); padding: 14px 30px; border-radius: 40px; font-weight: 600; margin-top: 20px; box-shadow: 0 8px 22px rgba(201, 162, 75, .28); }
.btn-main:hover { color: var(--midnight); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(201, 162, 75, .4); }
.docs-back { color: var(--champagne); font-weight: 600; display: inline-block; margin-bottom: 6px; }

.insurance-form-wrapper { background: #ffffff; padding: clamp(22px, 4vw, 40px); border-radius: 18px; border: 1px solid #e2e8f0; margin-top: 30px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.form-title-area { text-align: center; margin-bottom: 30px; }
.form-title-area h2 { color: #0f172a; margin-bottom: 5px; }
.form-title-area p { color: #e11d48; font-weight: 700; font-size: .9rem; margin: 0; }
.sleek-insurance-form .form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.sleek-insurance-form .form-row > * { min-width: 0; }
.sleek-insurance-form .form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
.sleek-insurance-form label { font-size: .9rem; font-weight: 700; color: #1a1a1a; margin-bottom: 5px; }
.sleek-insurance-form input, .sleek-insurance-form select, .sleek-insurance-form textarea { width: 100%; padding: 12px; border: 2px solid #cbd5e1; border-radius: 8px; font-size: 1rem; font-family: var(--font-primary); color: #0f172a; background: #fff; }
.sleek-insurance-form input:focus, .sleek-insurance-form select:focus, .sleek-insurance-form textarea:focus { outline: none; border-color: var(--gold); }
.form-submit-btn { width: 100%; padding: 18px; background: #0f172a; color: #fff; border: none; border-radius: 10px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: .3s; font-family: var(--font-primary); }
.form-submit-btn:hover { background: #26335E; }
.form-submit-btn[disabled] { opacity: .7; cursor: wait; }
.insurance-form-wrapper .form-response { color: #0f172a; }
.insurance-form-wrapper .form-response.success { background: #e6f4ea; color: #137333; border-color: #137333; }
.insurance-form-wrapper .form-response.error { background: #fce8e6; color: #b3261e; border-color: #b3261e; }
.insurance-form-wrapper .form-note { color: #475569; }
@media (max-width: 768px) { .sleek-insurance-form .form-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 18. NEWSLETTER AND VIDEOS ---------- */
.news-viewer-section { padding: 20px 0 100px; width: 100%; }
.news-header-block { text-align: center; margin-bottom: 40px; }
.news-header-block p { font-family: var(--font-quote); font-style: italic; color: var(--champagne); font-size: 1.25rem; }
.pdf-container-box { position: relative; width: 100%; max-width: 1200px; height: 85vh; margin: 0 auto; background: rgba(255, 255, 255, .05); border: 1px solid var(--gold); border-radius: 12px; box-shadow: 0 15px 40px rgba(0, 0, 0, .4); overflow: hidden; }
.pdf-iframe { width: 100%; height: 100%; border: none; display: block; background-color: #38383d; }
.download-area { text-align: center; margin-top: 30px; }
@media (max-width: 768px) { .news-viewer-section { padding-bottom: 60px; } .pdf-container-box { height: 75vh; } }

.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #000; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
@media (max-width: 768px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------- 19. POLICY PAGES (white background, Courier size 11) ---------- */
.policy-page { background-color: #ffffff; color: #333; padding: 60px 0; }
.policy-page .container { max-width: 820px; }
.policy-page h1, .policy-page h2, .policy-page h3, .policy-page p, .policy-page li, .policy-page ul, .policy-page strong { font-family: var(--font-code); font-size: 11pt; color: #333; line-height: 1.7; }
.policy-page h1, .policy-page h2 { font-weight: 700; }
.policy-page h1 { margin-bottom: 8px; }
.policy-page h2 { margin-top: 28px; margin-bottom: 8px; }
.policy-page p { margin-bottom: 12px; }
.policy-page a { color: #0A1E47; text-decoration: underline; }
main .policy-page p a:not(.btn), main .policy-page li a:not(.btn), main #xtra-suite-container p a:not(.btn) { background: none; -webkit-text-fill-color: currentColor; color: #0A1E47; font-weight: inherit; }
.policy-page ul, .policy-content ul, .policy-content p.indented-text { list-style: disc; margin-left: 0.5in; margin-bottom: 30px; padding-left: 0; }
.policy-page hr { border: 0; border-top: 1px solid #ddd; margin: 16px 0; }

/* ---------- 20. XTRA (AFFILIATE PAGES, KEEPS TEAL) ---------- */
#xtra-suite-container { background: linear-gradient(135deg, #002366, #008080); min-height: 100vh; padding: 60px 20px; text-align: center; font-family: 'Helvetica', Arial, sans-serif; }
#xtra-suite-container .elegant-text { background: linear-gradient(to right, #F5F5DC, #D4AF37); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; font-family: 'Helvetica', Arial, sans-serif; font-size: clamp(2rem, 5vw, 2.8rem); font-weight: bold; margin-bottom: 10px; }
#xtra-suite-container p.xtra-desc { font-size: 1.15rem; max-width: 800px; margin: 0 auto 40px; color: #F5F5DC; opacity: .9; }
#xtra-suite-container .grid-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 900px) { #xtra-suite-container .grid-container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { #xtra-suite-container .grid-container { grid-template-columns: 1fr; } }
#xtra-suite-container .tab-style { background: linear-gradient(135deg, #FFFFF0, #FFFAFA); border-radius: 12px; color: #1a1a1a; font-weight: bold; box-shadow: 0 4px 15px rgba(0, 0, 0, .15); display: flex; align-items: center; justify-content: center; padding: 38px 18px; height: 150px; border: 2px solid transparent; }
#xtra-suite-container .tab-style:hover { background: linear-gradient(135deg, #FFD700, #F0E68C); transform: translateY(-3px); border: 2px solid #FFFFF0; color: #1a1a1a; }
#xtra-suite-container .nav-wrapper { margin-top: 50px; display: block; clear: both; }
#xtra-suite-container .glass-btn { display: inline-block; padding: 14px 35px; background: rgba(255, 255, 255, .15); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; color: #F5F5DC; font-weight: bold; font-size: 1rem; }
#xtra-suite-container .glass-btn:hover { background: rgba(255, 255, 255, .25); color: #fff; }
#xtra-suite-container .brand-deal-row { justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 15px auto; padding: 25px 40px; width: 100%; max-width: 900px; height: auto; }
@keyframes subtleGlow { 0% { box-shadow: 0 0 5px rgba(255, 255, 255, .2); } 50% { box-shadow: 0 0 20px rgba(255, 255, 255, .6); } 100% { box-shadow: 0 0 5px rgba(255, 255, 255, .2); } }
#xtra-suite-container .premium-btn { background: #000; color: #fff; padding: 12px 25px; border-radius: 5px; font-weight: bold; border: 2px solid transparent; }
#xtra-suite-container .brand-deal-row:hover .premium-btn { background: #FF0000; border-color: #FFFFFF; animation: subtleGlow 1.5s infinite ease-in-out; }

/* ---------- 21. STORE AND 404 PAGES ---------- */
.coming-soon-section, .error-404-section { text-align: center; min-height: 62vh; display: flex; justify-content: center; align-items: center; padding: 60px 0; }
.coming-soon-section h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); }
.coming-soon-section p { font-size: 1.25rem; max-width: 620px; margin-inline: auto; }
.error-404-section h1 { font-size: clamp(6rem, 22vw, 11rem); line-height: 1; margin-bottom: 0; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--champagne); animation: float404 5s ease-in-out infinite; filter: drop-shadow(0 12px 30px rgba(201, 162, 75, .3)); }
.error-404-section h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.error-404-section .hero-buttons { justify-content: center; margin-top: 12px; }
@keyframes float404 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.launch-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px; margin-bottom: 22px; border-radius: 40px; border: 1px solid var(--line); background: var(--glass); color: var(--champagne); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.launch-badge i { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }

/* ---------- 22. FOOTER (colours unchanged) ---------- */
.main-footer { background-color: var(--footer-bg); color: var(--footer-text); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.6fr 1.5fr; gap: 30px; margin-bottom: 40px; }
.main-footer .logo-name { color: var(--footer-text); font-size: 1.8rem; }
.main-footer .logo-tagline { color: #555; }
.main-footer .logo img { height: 66px; }
.footer-col h4 { color: var(--footer-text); font-family: var(--font-primary); font-size: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a, .footer-col p { color: #555; }
.footer-col p { margin-bottom: 10px; }
.footer-col a:hover { color: var(--royal-blue); }
.footer-col p i { width: 20px; color: var(--footer-text); }
.social-links { display: flex; flex-wrap: wrap; gap: 14px; }
.social-links a { color: var(--footer-text); font-size: 1.15rem; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(16, 24, 32, .25); }
.social-links a:hover { color: #fff; background: var(--footer-text); transform: translateY(-3px); }
.main-footer .back-to-top { margin-top: 22px; background-color: var(--footer-text); color: var(--white); border-color: var(--footer-text); }
.main-footer .back-to-top::after { display: none; }
.main-footer .back-to-top:hover { background-color: transparent; color: var(--footer-text); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #bdbdbd; }
.footer-bottom p { color: #555; font-size: .9rem; margin-bottom: 6px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col-1 { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } .footer-col .logo { justify-content: center; } .social-links { justify-content: center; } }

/* ---------- 23. FLOATING BUTTONS AND POP UPS ---------- */
.floating-btn { position: fixed; right: 20px; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 2rem; box-shadow: 2px 4px 14px rgba(0, 0, 0, .35); z-index: 900; }
.whatsapp-btn { background-color: #25D366; bottom: calc(105px + env(safe-area-inset-bottom)); transition: transform .3s ease; }
.to-top-btn { bottom: calc(184px + env(safe-area-inset-bottom)); width: 50px; height: 50px; right: 25px; font-size: 1.15rem; border: 0; cursor: pointer; background: var(--btn-grad); color: #0A1E47; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.to-top-btn.show { opacity: 1; visibility: visible; transform: none; }
.to-top-btn:hover { transform: translateY(-3px); }
.call-float { display: none; position: fixed; left: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 900; }
.call-float.btn-call { padding: 6px 20px 6px 6px; font-size: .95rem; }
.call-float.btn-call > i:first-child { width: 38px; height: 38px; }
@media (max-width: 760px) { .call-float { display: inline-flex; } .floating-btn { right: 14px; width: 52px; height: 52px; font-size: 1.7rem; } .to-top-btn { right: 18px; width: 44px; height: 44px; font-size: 1rem; bottom: calc(166px + env(safe-area-inset-bottom)); } .whatsapp-btn { bottom: calc(96px + env(safe-area-inset-bottom)); } }
.whatsapp-btn:hover { color: #fff; transform: scale(1.1); }
.whatsapp-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.6s ease-out infinite; }
/* The reCAPTCHA corner badge is hidden; the required wording sits under each form instead */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-line { font-size: .78rem; opacity: .85; margin-top: 12px; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.calendly-modal-overlay { position: fixed; inset: 0; z-index: 2000; display: flex; justify-content: center; align-items: center; padding: 16px; background: rgba(4, 8, 22, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fadeIn .3s ease; }
.calendly-modal-content { position: relative; width: 100%; max-width: 1000px; height: min(90vh, 760px); border-radius: 18px; background: #fff; box-shadow: var(--shadow); animation: popIn .35s cubic-bezier(.2, .8, .2, 1); }
.calendly-frame-wrap, .calendly-frame-wrap iframe { width: 100%; height: 100%; border: 0; border-radius: 18px; }
.calendly-frame-wrap { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='16' fill='none' stroke='%23C9A24B' stroke-width='4' stroke-dasharray='60 40'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 20 20' to='360 20 20' dur='1s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") center no-repeat; }
.close-modal-btn { position: absolute; top: -14px; right: -14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold); background: #fff; color: #0A1E47; font-size: 1.1rem; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.close-modal-btn:hover { background: var(--gold); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .calendly-modal-overlay { padding: 10px; } .calendly-modal-content { height: 92vh; } .close-modal-btn { top: 8px; right: 8px; } }
html.modal-open, html.modal-open body { overflow: hidden; }

/* Appointment page inline calendar */
.calendly-inline { max-width: 1000px; margin: 0 auto; min-height: 700px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 2px solid var(--gold); }
.calendly-inline iframe { width: 100%; height: 700px; border: 0; display: block; }

/* ---------- 23B. REFINEMENTS (logo, premium buttons, finishing touches) ---------- */
/* Logo: slightly larger name, caption starts at exactly the same left edge, never centred */
.logo-text { align-items: flex-start; text-align: left; }
.logo-name { font-size: 2.05rem; font-weight: 700; margin-left: -1px; }
.logo-tagline { font-size: .78rem; color: var(--blue-gray); margin-left: 1px; }
.main-footer .logo-name { font-size: 2rem; }
.main-footer .logo-tagline { color: #555; }
@media (max-width: 1100px) { .logo-name { font-size: 1.95rem; } .logo-tagline { font-size: .78rem; } }
@media (max-width: 380px) { .logo-name { font-size: 1.75rem; } .logo img { height: 48px; } }

/* Premium appointment button (header and menu drawer) */
.btn-premium { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; padding: 6px 26px 6px 6px; border-radius: 60px; border: 1px solid rgba(255, 255, 255, .6); background: var(--gold-gradient); background-origin: border-box; color: #0A1E47; font-family: var(--font-primary); font-size: .76rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; box-shadow: 0 8px 24px rgba(201, 162, 75, .35), inset 0 1px 0 rgba(255, 255, 255, .75), 0 0 0 3px rgba(15, 42, 92, .45); }
.btn-premium .bp-ico { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--midnight); color: var(--champagne); font-size: .95rem; box-shadow: inset 0 0 0 1px rgba(232, 208, 138, .55); }
.btn-premium::before { content: ""; position: absolute; top: 0; left: -70%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent); transform: skewX(-20deg); animation: shine 6s ease-in-out infinite; }
.btn-premium::after { display: none; }
@keyframes shine { 0%, 55% { left: -70%; } 85%, 100% { left: 140%; } }
.btn-premium:hover { color: #0A1E47; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(201, 162, 75, .5), inset 0 1px 0 #fff, 0 0 0 3px rgba(201, 209, 220, .55); }
.drawer-footer .btn-premium { width: 100%; justify-content: center; }

/* Reading progress bar along the very top */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1200; pointer-events: none; background: linear-gradient(90deg, #C9A24B, #E8D08A 55%, #EEF2F7); box-shadow: 0 0 10px rgba(232, 208, 138, .6); }

/* Finishing touches */
::selection { background: rgba(232, 208, 138, .85); color: #0A1E47; }
html { scrollbar-width: thin; scrollbar-color: #C9A24B #0A1E47; }
::-webkit-scrollbar { width: 11px; } ::-webkit-scrollbar-track { background: #0A1E47; } ::-webkit-scrollbar-thumb { background: #C9A24B; border-radius: 8px; border: 2px solid #0A1E47; }
.section-title h2::after, .page-hero h1::after { width: 120px; height: 2px; background: linear-gradient(90deg, transparent, var(--z-solid) 30%, var(--z-solid) 70%, transparent); }
.section-title p, .page-hero p { color: var(--blue-gray); }
.stat-item .stat-label { color: var(--blue-gray); text-transform: uppercase; font-size: .82rem; letter-spacing: .14em; font-weight: 500; }
.nav-links > li > a::after { background: var(--gold-gradient); }
.page-hero .eyebrow, .section-title .eyebrow { display: inline-flex; align-items: center; gap: 14px; }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--z-solid)); }
.page-hero .eyebrow::after { transform: scaleX(-1); }
.why-card, .process-step { position: relative; overflow: hidden; }
.why-card::after, .process-step::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: var(--z-grad); opacity: .85; }
.process-step::after { top: 0; }
.cta-band { background: linear-gradient(135deg, rgba(201, 162, 75, .22), rgba(201, 209, 220, .12)), var(--navy); border-color: rgba(232, 208, 138, .45); }
.rv-card.is-active, .rv-card { border-color: rgba(232, 208, 138, .5); }
.hero-content h1 { letter-spacing: -.005em; }
.hero-content .eyebrow { color: var(--champagne); letter-spacing: .26em; }

/* ---------- 24. MOTION PREFERENCES ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 25. FOOTER TYPE (Inter for text; brand stays Poppins) ---------- */
.main-footer .footer-col h4 { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-weight: 600; }
.main-footer .footer-col a, .main-footer .footer-col p, .main-footer .footer-bottom p { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; color: #2B3340; font-weight: 500; font-size: .95rem; }
.main-footer .footer-col a:hover { color: var(--royal-blue); }
.main-footer .logo-name { font-weight: 700; font-size: 2rem; }
.main-footer .logo-tagline { color: #3a4350; font-size: .78rem; }

/* ---------- 26. TOURIST VISAS ON EXCLUSIVES / HOME STRIP ---------- */
.flip-flag { display: block; width: 92px; margin: 0 auto 14px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.flip-flag svg { display: block; width: 100%; height: auto; border-radius: 6px; }
.flag-card .flip-card-front { background: linear-gradient(160deg, #17356F, #0F2A5C); }
.flag-card .flip-card-front h3 { color: #EEF2F7; }
.flip-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }
.flip-actions .btn { padding-top: 7px; padding-bottom: 7px; }
.tv-fine { max-width: 760px; margin: 26px auto 0; text-align: center; font-size: .86rem; color: var(--blue-gray); }
.tv-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; margin-top: 34px; padding: 18px 24px; border-radius: 18px; background: rgba(23, 53, 111, .75); border: 1px solid var(--line); }
.tv-strip-flags { display: inline-flex; gap: 8px; }
.tv-strip-flags svg { width: 38px; height: auto; border-radius: 3px; display: block; }
.tv-strip-text { color: #EEF2F7; text-align: center; }
.tv-strip-text strong { color: #fff; }

/* ---------- 27. SPEED ---------- */
.main-footer, .faq-list, .map-container { content-visibility: auto; contain-intrinsic-size: auto 500px; }

/* Floating helpers are silver so they read the same on every page */
.to-top-btn { background: var(--silver-gradient); }
.call-float { --z-grad: var(--silver-gradient); --z-solid: #D5DCE6; --z-glow: rgba(201, 209, 220, .28); }

/* ---------- 28. ROUND 6 REFINEMENTS ---------- */
/* Even gold fills: the gradient now covers the border area too, so no stray edge colour shows */
.btn, .btn-call, .sleek-call-btn, .btn-premium { background-origin: border-box; background-clip: border-box; }
.btn-primary, .btn-call, .sleek-call-btn, .btn-premium { background-size: 100% 100%; background-repeat: no-repeat; }
.btn, .btn-call, .btn-premium { transition: transform .3s ease, box-shadow .35s ease, color .3s ease, border-color .3s ease; }
/* Hover fill is a layer that fades in, so the change is smooth instead of a sudden swap */
.btn-secondary { isolation: isolate; }
.btn-secondary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--z-hover-grad); opacity: 0; transition: opacity .35s ease; }
.btn-secondary:hover { background: rgba(255, 255, 255, .05); border-color: transparent; }
.btn-secondary:hover::before { opacity: 1; }
.btn-primary { isolation: isolate; }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--z-hover-grad); opacity: 0; transition: opacity .35s ease; }
.btn-primary:hover::before { opacity: .0; }

/* Logo: name a touch lighter, caption a touch bigger, both in the logo colour */
.logo-name { font-weight: 600; color: #fff; }
.logo-tagline { font-size: .88rem; color: #fff; }
.main-header .logo-tagline { opacity: .92; }
.main-footer .logo-name, .main-footer .logo-tagline { color: #101820; }
@media (max-width: 1100px) { .logo-tagline { font-size: .84rem; } }

/* Footer back to top: clearly readable */
.main-footer .footer-col a.back-to-top, .main-footer a.back-to-top { background: #101820; color: #fff; border-color: #101820; font-family: 'Inter', system-ui, sans-serif; font-weight: 600; }
.main-footer a.back-to-top:hover { background: transparent; color: #101820; }

/* Counters and review labels in normal case */
.stat-item .stat-label { text-transform: none; font-size: 1.05rem; letter-spacing: .02em; font-weight: 500; }
.rv-who small { text-transform: none; letter-spacing: .02em; font-size: .8rem; }

/* Exclusives card backs are cream: keep their text and buttons dark */
.flag-card .flip-card-back h3 { color: #091235; }
.flip-card-back .btn-secondary { background: #0F2A5C; color: #fff; border-color: #0F2A5C; }
.flip-card-back .btn-secondary::before { background: var(--gold-gradient); }
.flip-card-back .btn-secondary:hover { background: #0F2A5C; color: #0A1E47; border-color: transparent; }
.flip-flag svg, .tv-strip-flags svg { outline: 1.5px solid rgba(238, 242, 247, .75); outline-offset: 0; }
.flip-flag { width: 104px; }

/* How It Works: gentle hover */
.process-step { transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease; }
.process-step::before { transition: transform .35s ease; transform-origin: left center; }
.process-step:hover { transform: translateY(-6px); border-color: var(--z-solid); background: linear-gradient(150deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); box-shadow: 0 18px 40px rgba(0, 0, 0, .3), 0 0 0 1px var(--z-glow); }
.process-step:hover::before { transform: scale(1.12); }
.process-step h3 { transition: color .3s ease; }
.process-step:hover h3 { color: var(--z-solid); }

/* ---------- 29. FOOTER V2 AND WORLD CLOCKS ---------- */
.main-footer { padding: 46px 0 22px; }
.main-footer .logo-name { font-weight: 600; font-size: 2rem; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 22px 26px; margin-bottom: 38px; border-radius: 20px; background: #E6E9EE; border: 1px solid rgba(16, 24, 32, .14); }
.footer-cta-text { min-width: 0; flex: 1 1 320px; }
.footer-cta-text h3 { margin: 0 0 4px; font-family: var(--font-heading); font-size: 1.5rem; color: #101820; }
.footer-cta-text p { margin: 0; font-family: 'Inter', system-ui, sans-serif; font-weight: 500; color: #2B3340; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fbtn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 20px; border-radius: 50px; border: 2px solid #101820; background: transparent; color: #101820; font-family: 'Inter', system-ui, sans-serif; font-weight: 600; font-size: .95rem; cursor: pointer; transition: background .3s ease, color .3s ease, transform .3s ease; }
.fbtn:hover { background: #101820; color: #fff; transform: translateY(-2px); }
.fbtn-solid { background: #101820; color: #fff; }
.fbtn-solid:hover { background: #2B3340; border-color: #2B3340; }
.footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.1fr 1.4fr; gap: 28px 32px; margin-bottom: 30px; }
.footer-grid > * { min-width: 0; }
.footer-blurb { margin: 16px 0 16px; max-width: 34ch; }
.footer-col a { transition: color .25s ease; }
.footer-tools { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px 40px; padding: 22px 0; margin-bottom: 18px; border-top: 1px solid #bdbdbd; border-bottom: 1px solid #bdbdbd; }
.footer-tools h4 { margin: 0 0 12px; font-family: 'Inter', system-ui, sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #101820; }
.time-chips, .quick-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.time-chips li, .quick-links li { margin: 0; }
.time-chips li { padding: 7px 14px; border-radius: 50px; background: #E6E9EE; border: 1px solid rgba(16, 24, 32, .14); font-family: 'Inter', system-ui, sans-serif; font-weight: 500; font-size: .92rem; color: #2B3340; font-variant-numeric: tabular-nums; }
.time-chips .tc-city { font-weight: 600; color: #101820; }
.time-chips time { margin-left: 4px; }
.time-chips .tc-day { font-size: .78rem; color: #4a5361; }
.quick-links a { display: inline-block; padding: 7px 14px; border-radius: 50px; border: 1px solid rgba(16, 24, 32, .3); font-family: 'Inter', system-ui, sans-serif; font-weight: 500; font-size: .92rem; color: #101820; }
.quick-links a:hover { background: #101820; color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; border-top: 0; padding-top: 4px; text-align: left; }
.footer-bottom p { margin: 0; }
.footer-bottom .back-to-top { margin-top: 0; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col-1 { grid-column: 1 / -1; } .footer-tools { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
    .footer-cta { padding: 18px; } .footer-cta-actions { width: 100%; } .fbtn { flex: 1 1 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; text-align: left; } .footer-col-1, .footer-col-5 { grid-column: 1 / -1; }
    .footer-col .logo { justify-content: flex-start; } .social-links { justify-content: flex-start; }
    .footer-bottom { flex-direction: column; text-align: center; } .footer-tools { text-align: left; }
}

/* World clocks (home page, silver zone) */
.clock-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.clock-card { position: relative; min-width: 0; padding: 22px 12px 18px; border-radius: 20px; text-align: center; background: var(--glass); border: 1px solid var(--line); transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease; }
.clock-card:hover { transform: translateY(-6px); border-color: var(--z-solid); background: linear-gradient(150deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.clock-card.is-home { border-color: var(--z-solid); }
.clock-face { display: block; width: min(104px, 100%); height: auto; margin: 0 auto 12px; }
.cf-ring { fill: rgba(10, 30, 71, .55); stroke: var(--z-solid); stroke-width: 2.4; }
.cf-tick { stroke: var(--z-solid); stroke-width: 2; stroke-linecap: round; }
.cf-hand { stroke-linecap: round; transform-origin: 50px 50px; }
.cf-h { stroke: #fff; stroke-width: 4; }
.cf-m { stroke: var(--z-solid); stroke-width: 3; }
.cf-s { stroke: var(--gold); stroke-width: 1.4; }
.cf-dot { fill: var(--z-solid); }
.clock-time { font-family: var(--font-stats); font-weight: 600; font-size: 1.7rem; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.clock-day { font-family: var(--font-primary); font-weight: 500; font-size: .8rem; color: var(--blue-gray); margin-left: 4px; }
.clock-city { margin: 8px 0 0; font-size: 1.1rem; }
.clock-region { margin: 2px 0 0; font-size: .92rem; color: #fff; }
.clock-note { margin: 4px 0 0; font-size: .8rem; color: var(--blue-gray); }
.is-home .clock-note { color: var(--z-solid); font-weight: 600; }
.clock-sub { margin: 8px 0 0; font-size: .8rem; color: var(--blue-gray); font-variant-numeric: tabular-nums; }
.clock-sub time { color: #fff; font-weight: 600; margin-left: 2px; }
.world-time .clock-more { text-align: center; margin-top: 28px; }
@media (max-width: 1100px) { .clock-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .clock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .clock-time { font-size: 1.45rem; } }

.hero-finder { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--champagne); font-weight: 500; border-bottom: 1px solid rgba(232, 208, 138, .45); padding-bottom: 3px; transition: color .25s ease, border-color .25s ease; }
.hero-finder:hover { color: #fff; border-color: #fff; }
.hero-finder { max-width: 100%; }
@media (max-width: 900px) { .hero-finder { text-align: center; } }

/* Appointment page: a roomier calendar so it does not need an inner scroll on a computer screen */
.calendly-inline { min-height: 920px; }
.calendly-inline iframe { height: 920px; }
.calendly-modal-content { height: min(92vh, 880px); }
@media (max-width: 900px) { .calendly-inline, .calendly-inline iframe { min-height: 1000px; height: 1000px; } }
@media (max-width: 560px) { .calendly-inline, .calendly-inline iframe { min-height: 1100px; height: 1100px; } }

/* ---------- 30. VISA FINDER ---------- */
.finder { max-width: 860px; margin: 0 auto; padding: clamp(22px, 4vw, 40px); border-radius: 22px; background: var(--glass); border: 1px solid var(--line); }
.finder-progress { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); overflow: hidden; margin-bottom: 18px; }
.finder-progress span { display: block; height: 100%; width: 0; background: var(--gold-gradient); border-radius: 6px; transition: width .4s ease; }
.finder-step { margin: 0 0 6px; font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; color: var(--champagne); }
.finder-q { margin: 0 0 22px; font-size: clamp(1.5rem, 3.4vw, 2.1rem); outline: none; }
.finder-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.finder-opt { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 14px 18px; border-radius: 16px; text-align: left; cursor: pointer; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--white); font-family: var(--font-primary); font-size: 1rem; font-weight: 500; transition: transform .3s ease, background .3s ease, border-color .3s ease, color .3s ease; }
.finder-opt i { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--gold-gradient); color: #0A1E47; font-size: 1rem; }
.finder-opt span { min-width: 0; }
.finder-opt:hover, .finder-opt:focus-visible { transform: translateY(-3px); background: var(--silver-gradient); border-color: #fff; color: #0A1E47; outline: none; }
.finder-nav { margin-top: 22px; }
.finder-result { animation: popIn .35s ease; }
.finder-kicker { margin: 0 0 6px; color: var(--champagne); font-size: .9rem; }
.finder-title { margin: 0 0 10px; font-size: clamp(1.7rem, 4vw, 2.4rem); outline: none; }
.finder-sum { font-size: 1.05rem; max-width: 60ch; }
.finder-points { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 8px; }
.finder-points li { position: relative; padding-left: 28px; }
.finder-points li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--champagne); font-weight: 700; }
.finder-when { margin: 6px 0 20px; padding: 12px 16px; border-radius: 14px; background: rgba(232, 208, 138, .12); border: 1px solid rgba(232, 208, 138, .35); }
.finder-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.finder-lead { border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.finder-lead summary { cursor: pointer; font-weight: 600; color: var(--champagne); }
.finder-lead .contact-form { margin-top: 16px; padding: 0; background: none; border: 0; box-shadow: none; }
.finder-note { max-width: 860px; margin: 18px auto 0; text-align: center; }
@media (max-width: 560px) { .finder-opts { grid-template-columns: minmax(0, 1fr); } .finder-actions .btn { width: 100%; } }

/* About: How We Help cards with icons, and the global section */
.process-step .ps-icon { position: absolute; top: 24px; right: 22px; width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #0A1E47; background: var(--z-grad); box-shadow: 0 10px 24px var(--z-glow); transition: transform .45s cubic-bezier(.2, .8, .2, 1), background .35s ease, color .35s ease; }
.process-step:hover .ps-icon { transform: rotate(-12deg) scale(1.12); background: var(--z-hover-grad); }
.ps-list { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.ps-list li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: #fff; transition: transform .3s ease; }
.ps-list li i { width: 22px; text-align: center; color: var(--z-solid); }
.process-step:hover .ps-list li { transform: translateX(4px); }
.process-step:hover .ps-list li:nth-child(2) { transition-delay: .06s; }
.global-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin: 0 auto; }
.global-line { margin: 26px 0 0; text-align: center; font-weight: 500; color: #fff; }
.global-line i { color: var(--z-solid); margin-right: 8px; }
@media (max-width: 700px) { .global-grid { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 768px) { .docs-grid { grid-template-columns: minmax(0, 1fr); } }

/* UK style date fields: typed dd/mm/yyyy with a calendar button */
.uk-date { position: relative; display: block; width: 100%; min-width: 0; }
.uk-date > input[type="text"] { padding-right: 48px; }
.uk-date .uk-date-native { position: absolute !important; right: 10px !important; bottom: 0 !important; left: auto !important; top: auto !important; width: 1px !important; min-width: 0 !important; max-width: 1px !important; height: 1px !important; min-height: 0 !important; margin: 0 !important; opacity: 0 !important; border: 0 !important; padding: 0 !important; pointer-events: none !important; }
.uk-date-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--champagne); cursor: pointer; font-size: 1.05rem; }
.uk-date-btn:hover, .uk-date-btn:focus-visible { background: rgba(232, 208, 138, .18); outline: none; }
.sleek-insurance-form .uk-date-btn { color: #475569; }
.sleek-insurance-form .uk-date-btn:hover, .sleek-insurance-form .uk-date-btn:focus-visible { background: #e2e8f0; }

/* Phones: floating buttons step aside when a form or the footer is on screen */
@media (max-width: 760px) {
    .floating-btn, .call-float { transition: opacity .25s ease, transform .25s ease, visibility .25s; }
    html.floats-away .floating-btn, html.floats-away .call-float { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transform: translateY(10px); }
    .insurance-form-wrapper .sleek-insurance-form .form-row { gap: 0; }
}

/* ---------- Footer tidy: imaginary grids ---------- */
/* Social icons: 4 across, 2 down, directly under the logo and brand name */
.main-footer .social-links { display: grid; grid-template-columns: repeat(4, 44px); grid-auto-rows: 44px; gap: 12px; justify-content: start; margin: 18px 0 16px; }
.main-footer .social-links a { width: 44px; height: 44px; font-size: 1.1rem; transition: color .25s ease, background .25s ease, transform .25s ease; }
.main-footer .footer-blurb { margin: 0; }

/* Time and quick links sit side by side as two equal panels, each a tidy grid of tiles */
.main-footer .footer-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; align-items: start; }
.main-footer .time-chips, .main-footer .quick-links { display: grid; gap: 10px; }
.main-footer .time-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.main-footer .quick-links { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.main-footer .time-chips li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; padding: 8px 6px; border-radius: 14px; text-align: center; line-height: 1.25; }
.main-footer .time-chips .tc-city { display: block; font-size: .82rem; letter-spacing: .02em; }
.main-footer .time-chips .tc-line { display: block; font-size: 1rem; font-weight: 600; color: #101820; white-space: nowrap; }
.main-footer .time-chips time { margin: 0; }
.main-footer .time-chips .tc-day { margin-left: 5px; font-size: .74rem; font-weight: 500; }
.main-footer .quick-links li { display: flex; }
.main-footer .quick-links a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 60px; padding: 8px 6px; border-radius: 14px; text-align: center; font-size: .9rem; line-height: 1.25; transition: background .25s ease, color .25s ease, transform .25s ease; }
.main-footer .quick-links a:hover { transform: translateY(-2px); }

/* Copyright sits in the bottom centre */
.main-footer .footer-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px 20px; text-align: center; padding-top: 6px; }
.main-footer .footer-bottom .footer-copy { grid-column: 2; text-align: center; margin: 0; }
.main-footer .footer-bottom .back-to-top { grid-column: 3; justify-self: end; }

@media (max-width: 1000px) {
    .main-footer .footer-tools { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .main-footer .footer-bottom { grid-template-columns: minmax(0, 1fr); justify-items: center; }
    .main-footer .footer-bottom .footer-bottom-gap { display: none; }
    .main-footer .footer-bottom .back-to-top { grid-column: 1; grid-row: 1; justify-self: center; }
    .main-footer .footer-bottom .footer-copy { grid-column: 1; grid-row: 2; }
}
@media (max-width: 560px) {
    .main-footer .time-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .main-footer .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .main-footer .social-links { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 44px; max-width: 280px; gap: 10px; }
    .main-footer .social-links a { width: 100%; max-width: 44px; justify-self: start; }
}

/* Phones: Help and Contact sit side by side so the link columns form a tidy 2 by 2 block */
@media (max-width: 560px) {
    .main-footer .footer-grid { gap: 26px 20px; }
    .main-footer .footer-col-5 { grid-column: auto; }
    .main-footer .footer-col-5 p, .main-footer .footer-col-5 a { font-size: .86rem; overflow-wrap: anywhere; line-height: 1.45; }
    .main-footer .footer-col-5 p i { width: 18px; }
    .main-footer .footer-col h4 { font-size: .92rem; }
}
@media (max-width: 380px) {
    .main-footer .footer-col-5 { grid-column: 1 / -1; }
}

/* ---------- Round 7 fixes ---------- */
/* Finder: equal grids (9 tiles make 3 by 3, 4 tiles make 2 by 2, 3 tiles make 3 across) */
.finder-opts { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); grid-auto-rows: 1fr; }
.finder-opt { min-height: 72px; }
@media (max-width: 560px) { .finder-opts { grid-template-columns: minmax(0, 1fr); } .finder-opt { min-height: 64px; } }
@media (min-width: 561px) and (max-width: 760px) { .finder-opt { padding: 12px 12px; gap: 10px; font-size: .95rem; } .finder-opt i { width: 34px; height: 34px; } }

/* Info page tabs: the label stays visible when the gold fill appears */
.hub-tab::before { z-index: -1; }

/* About: digital time under Blackburn and Kannur */
.local-time { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 14px auto 0; padding: 9px 14px; width: 100%; max-width: 200px; border-radius: 12px; background: rgba(8, 24, 60, .55); border: 1px solid var(--line); }
.local-time .lt-label { font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--z-solid); line-height: 1.3; }
.local-time .lt-digits { font-family: 'Poppins', system-ui, sans-serif; font-size: 1.3rem; font-weight: 600; line-height: 1.15; letter-spacing: .05em; font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
.local-time .lt-date { font-size: .72rem; color: var(--blue-gray); font-variant-numeric: tabular-nums; line-height: 1.3; }

/* LinkedIn is a brand name: keep its own capitals */
a[href*="linkedin.com/in/"].btn { text-transform: none; letter-spacing: .02em; }

/* Brand name and caption: letters sit a little further apart */
.logo-name { letter-spacing: .02em; }
.logo-tagline { letter-spacing: .02em; }
.global-grid .why-card { display: flex; flex-direction: column; align-items: center; }
.global-grid .why-card p { margin-bottom: 18px; }
.global-grid .why-card .local-time { margin: auto auto 0; }
.global-grid .why-card p { flex: 0 0 auto; }

/* Flag strip on the home page wraps neatly now that there are eight flags */
.tv-strip-flags { flex-wrap: wrap; justify-content: center; }
@media (max-width: 560px) { .tv-strip-flags { max-width: 190px; } }

/* ---------- Footer social icons: now under Contact, brand colours on hover ---------- */
.main-footer .footer-col-1 .footer-blurb { margin: 16px 0 0; }
.main-footer .footer-col-5 .social-links { display: grid; grid-template-columns: repeat(4, minmax(0, 44px)); gap: 12px; justify-content: start; margin: 20px 0 0; grid-auto-rows: auto; }
.main-footer .social-links a { width: 100%; height: auto; aspect-ratio: 1 / 1; max-width: 44px; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.main-footer .social-links a:hover, .main-footer .social-links a:focus-visible { background: #fff; transform: translateY(-3px); box-shadow: 0 8px 18px rgba(16, 24, 32, .22); outline: none; border-color: currentColor; }
.main-footer .social-links a.soc-facebook:hover,  .main-footer .social-links a.soc-facebook:focus-visible  { color: #1877F2; }
.main-footer .social-links a.soc-threads:hover,   .main-footer .social-links a.soc-threads:focus-visible   { color: #000000; }
.main-footer .social-links a.soc-x:hover,         .main-footer .social-links a.soc-x:focus-visible         { color: #000000; }
.main-footer .social-links a.soc-youtube:hover,   .main-footer .social-links a.soc-youtube:focus-visible   { color: #FF0000; }
.main-footer .social-links a.soc-linkedin:hover,  .main-footer .social-links a.soc-linkedin:focus-visible  { color: #0A66C2; }
.main-footer .social-links a.soc-telegram:hover,  .main-footer .social-links a.soc-telegram:focus-visible  { color: #26A5E4; }
.main-footer .social-links a.soc-whatsapp:hover,  .main-footer .social-links a.soc-whatsapp:focus-visible  { color: #25D366; }
.main-footer .social-links a.soc-instagram:hover, .main-footer .social-links a.soc-instagram:focus-visible { color: #E4405F; }
.main-footer .social-links a.soc-instagram:hover i, .main-footer .social-links a.soc-instagram:focus-visible i {
    background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@media (max-width: 1000px) { .main-footer .footer-col-5 .social-links { gap: 12px; } }
@media (max-width: 560px) {
    .main-footer .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
    .main-footer .footer-col-5 .social-links { grid-template-columns: repeat(4, minmax(0, 44px)); gap: 8px; max-width: none; }
}
@media (max-width: 380px) {
    .main-footer .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .main-footer .footer-col-5 .social-links { gap: 12px; }
}

/* Touch screens (phones, tablets and touch laptops): switch off the elastic bounce and pull to refresh at the top and bottom of the page,
   so the header and the footer stay locked in place when a finger drags past the end. */
html, body { overscroll-behavior: none; overscroll-behavior-y: none; }
