﻿/* =====================================================================
   AirportTaxis247 â€” site.css
   tokens â†’ base â†’ layout primitives â†’ components.
   Per-page layout/typography is generated (assets/css/build/<slug>.css).
   ===================================================================== */

/* ---------- Tokens (computed from the live site, migration/design-tokens-home.json) ---------- */
:root {
  --gold: #C19D60;
  --gold-deep: #795520;
  --gold-mid: #9A712D;
  --charcoal: #111416;
  --ink: #0B0E10;
  --cream: #F5F1E9;
  --offwhite: #FBFAF7;
  --sand: #F3E7CF;
  --white: #FFFFFF;
  --text: #333333;
  --muted: #62676B;
  --muted-2: #4B5563;
  --line: #DDD5C7;
  --line-soft: #EEE9E0;
  --focus: #795520;
  --f-head: "Poppins", sans-serif;
  --f-ui: "DM Sans", Arial, sans-serif;
  --f-label: "Manrope", sans-serif;
  --f-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --container: 1182px;
  --radius-btn: 7px;
  --radius-card: 12px;
}

/* ---------- Base (equivalent of the Hello theme reset used by the live site) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.5; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5rem; font-weight: 500; line-height: 1.2; color: inherit; }
p { margin: 0 0 .9rem; }
a { color: #CC3366; background-color: transparent; text-decoration: none; }
a:hover, a:active { color: #333366; }
img { border-style: none; height: auto; max-width: 100%; vertical-align: middle; }
table { border-collapse: collapse; border-spacing: 0; width: 100%; font-size: .9em; margin-bottom: 15px; }
table td, table th { padding: 15px; line-height: 1.5; vertical-align: top; border: 1px solid hsla(0,0%,50%,.502); }
table th { font-weight: 700; }
ul, ol { margin-top: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--charcoal); color: #fff; padding: 10px 14px; border-radius: 6px; font-family: var(--f-ui); font-weight: 700; }
.skip-link:focus { top: 8px; color: #fff; }
main:focus { outline: none; }

/* ---------- Layout primitives (Elementor container equivalents) ---------- */
.c { position: relative; min-width: 0; }
.c > .in { width: 100%; margin-left: auto !important; margin-right: auto !important; }
.w { position: relative; min-width: 0; max-width: 100%; }
.w .h { margin: 0; padding: 0; }
.w .h a { color: inherit; font-size: inherit; line-height: inherit; }
.txt > :last-child { margin-bottom: 0; }
.img img { display: inline-block; max-width: 100%; height: auto; }
.img a { display: inline-block; }
a.c { color: inherit; display: flex; }

/* responsive visibility (Elementor breakpoints: tablet â‰¤1024, mobile â‰¤767) */
@media (min-width: 1025px) { .hide-d { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .hide-t { display: none !important; } }
@media (max-width: 767px) { .hide-m { display: none !important; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; line-height: 1; text-align: center; text-decoration: none; cursor: pointer; border: 0; transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s; }
.btn:hover { filter: brightness(1.06); }
.btn-i { display: inline-flex; }
.btn-i svg { width: 1em; height: 1em; fill: currentColor; }

/* ---------- Icons / icon boxes ---------- */
.ico, .ib-icon { display: inline-flex; align-items: center; justify-content: center; line-height: 1; transition: color .25s, background-color .25s; }
.ico svg, .ib-icon svg { display: block; fill: currentColor; }
.ib { display: flex; }
.ib-iconwrap { display: inline-flex; flex: 0 0 auto; }
.ib-body { flex-grow: 1; min-width: 0; }
.ib-title a, .w .ib-title a { color: inherit; } /* beats the per-widget ".e-<id> a" rule, which is sampled from the icon link */
.ib-desc { margin: 0; }

/* ---------- Accordion / toggle ---------- */
.acc-h { margin: 0; font-size: inherit; line-height: inherit; }
.acc-q { display: flex; width: 100%; align-items: center; gap: 10px; text-align: left; background: none; border: 0; cursor: pointer; color: inherit; font: inherit; }
.acc-icon { display: inline-flex; width: 1em; justify-content: center; font-weight: 700; flex: 0 0 auto; }
.acc-q[aria-expanded="true"] .acc-plus, .acc-q[aria-expanded="false"] .acc-minus { display: none; }
.acc-a > :last-child { margin-bottom: 0; }
.acc-a[hidden] { display: none; }

/* ---------- Header / navigation ---------- */
.site-header { position: relative; z-index: 50; }
.nav { position: relative; }
.nav-l1 { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; justify-content: center; }
.nav-l1 > li { position: relative; display: flex; align-items: center; }
.nav-l1 > li > a { display: block; font-family: var(--f-head); font-size: 15px; font-weight: 500; line-height: 20px; color: var(--charcoal); padding: 15px 14px; }
.nav-l1 > li > a[aria-current], .nav-l1 > li > a:hover { color: var(--gold-deep); }
.sub-toggle { background: none; border: 0; padding: 0; min-width: 24px; min-height: 24px; margin-left: -16px; cursor: pointer; color: var(--charcoal); display: inline-flex; align-items: center; justify-content: center; } /* 24×24 target (WCAG 2.2 2.5.8); arrow position unchanged */
.sub-toggle svg { fill: currentColor; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-sub { list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--white); box-shadow: 0 10px 30px rgba(17,20,22,.12); border-top: 3px solid var(--gold); display: none; z-index: 60; }
.nav-sub a { display: block; padding: 11px 18px; font-family: var(--f-head); font-size: 14px; color: var(--charcoal); border-bottom: 1px solid var(--line-soft); }
.nav-sub a:hover, .nav-sub a[aria-current] { background: var(--cream); color: var(--gold-deep); }
@media (min-width: 1025px) {
  .nav-l1 > li.has-sub:hover > .nav-sub, .nav-l1 > li.has-sub:focus-within > .nav-sub, .nav-sub.open { display: block; }
}
.nav-toggle { display: none; align-items: center; justify-content: center; line-height: 1; font-size: 20px; padding: 6px; border: 0; border-radius: 3px; cursor: pointer; color: #fff; background: var(--gold); min-width: calc(1em + 12px); min-height: calc(1em + 12px); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: .9em; height: 2px; background: currentColor; position: relative; transition: transform .2s; border-radius: 1px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -.3em; } .nav-toggle-bars::after { top: .3em; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(.3em) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-.3em) rotate(-45deg); }
@media (max-width: 1024px) {
  .nav { display: flex; justify-content: flex-end; }
  .nav-toggle { display: inline-flex; }
  .nav-l1 { display: none; position: absolute; top: calc(100% + 18px); right: -16px; width: min(92vw, 420px); background: var(--white); flex-direction: column; align-items: stretch; box-shadow: 0 16px 40px rgba(17,20,22,.16); border-top: 3px solid var(--gold); max-height: 75vh; overflow: auto; z-index: 70; }
  .nav-l1.open { display: flex; }
  .nav-l1 > li { flex-wrap: wrap; border-bottom: 1px solid var(--line-soft); }
  .nav-l1 > li > a { flex: 1; padding: 14px 18px; }
  .sub-toggle { padding: 14px 18px; margin: 0; }
  .nav-sub { position: static; display: none; width: 100%; box-shadow: none; border-top: 0; background: var(--offwhite); }
  .nav-sub.open { display: block; }
  .nav-sub a { padding-left: 30px; }
}

/* breadcrumbs (Rank Math equivalent) */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.crumbs li + li::before { content: "\00BB"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--gold-deep); }

/* ---------- Booking widget ---------- */
.eto-wrap { width: 100%; min-height: 250px; }
.eto-iframe { display: block; width: 1px; min-width: 100%; border: 0; min-height: 250px; }
.eto-noscript { padding: 12px; background: var(--cream); }

/* ---------- Contact form ---------- */
.cform-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.cform-f { flex: 1 1 100%; display: flex; flex-direction: column; gap: 6px; }
.cform-f.half { flex: 1 1 calc(50% - 7px); }
@media (max-width: 767px) { .cform-f.half { flex-basis: 100%; } }
.cform label { font-family: var(--f-ui); font-size: 14px; font-weight: 700; color: var(--charcoal); }
.cform input, .cform textarea { width: 100%; font: 15px/1.4 var(--f-ui); color: var(--charcoal); background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; }
.cform input:focus, .cform textarea:focus { border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 0; }
.cform [aria-invalid="true"] { border-color: #B3261E; }
.cform .btn { background: var(--charcoal); color: #fff; font: 700 13px/1 var(--f-ui); letter-spacing: 1px; text-transform: uppercase; padding: 15px 26px; border-radius: var(--radius-btn); }
.cform .btn:hover { background: var(--gold); color: var(--charcoal); }
.cform-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.cform-ok { background: #EAF6EC; border-left: 4px solid #2E7D32; padding: 10px 14px; }
.cform-err { background: #FDECEA; border-left: 4px solid #B3261E; padding: 10px 14px; }
.cform-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- Map ---------- */
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* ---------- WhatsApp button ---------- */
.wa-float { position: fixed; right: 15px; bottom: 15px; z-index: 90; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.22); line-height: 0; }
.wa-float svg { width: 50px; height: 50px; }

/* ---------- Analytics consent (live wording + layout) ---------- */
#at247-analytics-choice { position: fixed; left: 12px; bottom: 12px; z-index: 95; max-width: 380px; background: #fff; color: var(--charcoal); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 32px rgba(17,20,22,.18); padding: 16px 18px; font: 14px/1.45 var(--f-ui); }
#at247-analytics-choice strong { display: block; font-size: 15px; margin-bottom: 6px; }
#at247-analytics-choice p { margin: 0 0 12px; }
#at247-analytics-choice a { color: var(--gold-deep); text-decoration: underline; }
#at247-analytics-choice button { background: #fff; border: 1px solid var(--charcoal); color: var(--charcoal); border-radius: 4px; padding: 8px 12px; cursor: pointer; font: 600 14px/1 var(--f-ui); }
#at247-analytics-choice button:hover { background: var(--charcoal); color: #fff; }
#at247-analytics-settings { background: #1B2024; text-align: center; padding: 10px; }
#at247-analytics-settings button { background: none; border: 0; color: #fff; text-decoration: underline; cursor: pointer; font: 13px var(--f-ui); }
[hidden] { display: none !important; }

/* ---------- Native section: rich text (Hello theme page template equivalent) ---------- */
.s-rich { padding: 0 10px; }
.s-rich-in { max-width: 1140px; margin: 0 auto; padding-block: 16px 48px; }
.s-rich--prose .s-rich-body { max-width: 1140px; }
.s-rich-title { font-size: 2.5rem; font-weight: 500; margin: 0 0 1rem; }
.s-rich-body h2 { font-size: 2rem; margin-top: 1.5rem; }
.s-rich-body h3 { font-size: 1.75rem; margin-top: 1.25rem; }
.s-rich-body a { color: #CC3366; text-decoration: underline; text-underline-offset: 2px; } /* live page-content links are underlined */
/* Reading columns of the imported Hello-theme pages (live inline styles, reproduced as classes for the CSP) */
.s-rich-body.rt-col { margin-inline: auto; line-height: 1.65; }
.s-rich--prose .s-rich-body.rt-col-760 { max-width: 760px; padding: 12px 20px 56px; }
.rt-col-760 #website-analytics { padding-top: 40px; } /* live: separate <section> after the 56px-padded column */
.s-rich--prose .s-rich-body.rt-col-960 { max-width: 960px; padding: clamp(18px, 4vw, 48px); color: #192128; }
@media (min-width: 576px) { .s-rich-in { max-width: 500px; } }
@media (min-width: 768px) { .s-rich-in { max-width: 600px; } }
@media (min-width: 992px) { .s-rich-in { max-width: 800px; } }
@media (min-width: 1200px) { .s-rich-in { max-width: 1140px; } }

/* ---------- Preview / error pages ---------- */
.preview-bar { position: sticky; top: 0; z-index: 200; background: var(--gold); color: var(--charcoal); text-align: center; font: 700 13px/1 var(--f-ui); padding: 10px; }
.err-main { max-width: 640px; margin: 10vh auto; padding: 0 16px; font-family: var(--f-ui); }
.err-main h1 { font: 700 34px/1.15 var(--f-head); color: var(--charcoal); margin: 24px 0 12px; }
.err-main a { color: var(--gold-deep); }
.err-main ul { line-height: 2; }

/* Elementor kit global variables (referenced by ported hover rules) */
:root{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-color-922c3c0:#C29E64;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500}
