:root {
  --ink: #102f41;
  --muted: #4c6069;
  --accent: #af4524;
  --sand: #f8f5ee;
  --line: #d9dfdc;
  --serif: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  font: 100%/1.55 'Inter', 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .23em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, .select2-selection:focus-visible {
  outline: 3px solid #d87542; outline-offset: 3px;
}
.wrap { width: min(84rem, 92%); margin-inline: auto; }
.skip { position: absolute; left: 4%; top: -5rem; z-index: 2; background: white; padding: .6rem 1rem; }
.skip:focus { top: .4rem; }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.header-row { min-height: 5.2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.42rem; white-space: nowrap; }
.brand b { font-weight: normal; }
.brand-mark { width: 3.35rem; aspect-ratio: 1; border-radius: 50%; background: #102f41 url('../img/logo-caboariport-taxi.jpeg') center 60% / 150% auto; }
nav { display: flex; gap: clamp(1.25rem,3.2vw,3.6rem); }
nav a, .header-cta { font-size: .95rem; font-weight: 600; text-decoration: none; }
nav a:hover, .footer-row a:hover { color: var(--accent); text-decoration: underline; }
.header-cta { padding: .55rem 1.2rem; border: 1px solid #bac6c8; border-radius: 2rem; }
.header-cta:hover { background: var(--sand); border-color: var(--ink); }
.hero { background: var(--sand); }
.hero-grid { display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; gap: clamp(2rem,4vw,5rem); padding-block: clamp(2.8rem,5vw,5.2rem) clamp(3.5rem,5.4vw,6rem); }
.eyebrow { color: var(--accent); font-size: .79rem; font-weight: 750; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; }
.location { display: flex; align-items: center; gap: .65rem; }
.location::before { content: ''; display: inline-block; height: 2px; width: 2rem; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { margin: .9rem 0 1.15rem; font-size: clamp(3.2rem,5.5vw,5.8rem); line-height: .99; letter-spacing: -.058em; }
h1 em { color: var(--accent); font-weight: normal; }
.hero-copy > p:not(.eyebrow) { font-size: clamp(1rem,1.25vw,1.18rem); max-width: 26rem; color: var(--muted); }
.button, .secondary { border: 1px solid transparent; border-radius: .5rem; display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; padding: .65rem 1.2rem; text-decoration: none; font-size: .95rem; font-weight: 650; line-height: 1.45; }
.button { background: var(--ink); color: white; }
.button:hover { background: #224c60; }
.hero-copy .button { margin-top: 1.4rem; }
.review-link { display: inline-block; margin: .8rem 0 0 .5rem; }
.hero-image { border-radius: .8rem; overflow: hidden; background: #cbaa80; }
.hero-image div { aspect-ratio: 1.85; background: url('../img/caboariporttaxi.jpeg') 97% 12% / 124% auto no-repeat; }
h2 { font-size: clamp(2.1rem,3.45vw,3.65rem); line-height: 1.08; letter-spacing: -.043em; }
.quote-wrap { position: relative; margin-top: -1.6rem; scroll-margin-top: 1rem; }
.quote-panel { background: white; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: .75rem; box-shadow: 0 12px 36px #182e3810; display: grid; grid-template-columns: minmax(13rem,.72fr) minmax(0,1.9fr); gap: clamp(1.4rem,3.5vw,4rem); padding: clamp(1.35rem,2.6vw,2.65rem); }
.quote-heading { padding-right: 1.2rem; border-right: 1px solid var(--line); }
.quote-heading h2 { font-size: clamp(1.9rem,2.75vw,2.85rem); margin: .4rem 0 .65rem; }
.quote-heading p:last-child, .quote-body p { color: var(--muted); font-size: .96rem; }
.quote-body { min-width: 0; }
.quote-body [tabindex="-1"]:focus { outline: none; }
.quote-body label { display: block; font-size: .9rem; font-weight: 650; }
.quote-body select, .quote-body input { display: block; margin-top: .35rem; width: 100%; min-width: 0; height: 2.9rem; border: 1px solid #b9c5c8; border-radius: .4rem; background-color: #fff; padding: 0 .75rem; color: var(--ink); }
.quote-body select { appearance: none; padding-right: 1.85rem; background-image: linear-gradient(45deg, transparent 50%, #506672 50%), linear-gradient(135deg, #506672 50%, transparent 50%); background-position: calc(100% - 1rem) 50%, calc(100% - .72rem) 50%; background-size: .3rem .3rem; background-repeat: no-repeat; }
.fields { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1.55fr) minmax(5rem,.65fr); gap: .85rem; }
.online-fields { grid-template-columns: 1fr 1.3fr; }
.request-form .button, .actions, #home-book-now { margin-top: 1rem; }
.actions, .summary, .fare-heading, .price-row { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.summary, .fare-heading, .price-row { justify-content: space-between; }
.secondary { background: #fff; border-color: #aabdc2; color: var(--ink); }
.secondary:hover { background: var(--sand); }
.att-quote-progress { margin: 0 0 1rem; padding: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; list-style: none; }
.att-quote-progress li { padding-bottom: .2rem; border-bottom: 2px solid transparent; color: var(--muted); font-size: .88rem; }
.att-quote-progress .is-current { font-weight: 700; color: var(--accent); border-color: var(--accent); }
.quote-body p:not(:first-child), .att-quote--full [data-home-step] + [data-home-step] { margin-top: .65rem; }
.quote-body [role="alert"] { color: #9b2f26; }
#home-passengers { max-width: 10rem; }
.quote-body .select2-container { margin-top: .35rem; max-width: 100%; }
.quote-body .select2-selection--single { height: 2.9rem; border-radius: .4rem; border: 1px solid #b9c5c8; }
.quote-body .select2-selection--single .select2-selection__rendered { color: var(--ink); line-height: 2.8rem; padding-left: .75rem; }
.quote-body .select2-selection--single .select2-selection__arrow { height: 2.8rem; right: .4rem; }
.select2-dropdown { background-color: white; color: var(--ink); border: 1px solid #b9c5c8; }
.select2-results__option--highlighted { background: var(--ink); color: white; }
.select2-search__field { min-height: 2.5rem; }
.text-button, .att-coupon-apply { background: transparent; color: var(--accent); border: none; text-decoration: underline; text-underline-offset: .18em; font-weight: bold; padding: .45rem 0; }
.att-quote-coupons { background: var(--sand); padding: 1rem; border-radius: .4rem; margin: .8rem 0; }
.att-quote-coupons__offer { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; }
.fare-heading { margin: 1rem 0 .5rem; }
.currency-switch { display: inline-flex; border: 1px solid var(--line); border-radius: .35rem; overflow: hidden; }
.currency-switch button { background: white; border: 0; color: var(--ink); padding: .45rem .65rem; font-size: .88rem; }
.currency-switch button[aria-pressed="true"] { background: var(--ink); color: white; }
.rate-item { padding: 1rem; border: 1px solid var(--line); border-radius: .45rem; }
.price-row { margin-top: .35rem; }
.price-row del { font-weight: normal; margin-right: .55rem; color: var(--muted); }
.rate-item.is-error { border-color: #bc6551; }
#home-quote-retry { margin-top: .6rem; }
.services { padding-block: clamp(3.8rem,7vw,6.5rem); }
.section-heading .eyebrow, .fleet-heading .eyebrow, .contact .eyebrow { margin-bottom: .65rem; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.5rem,4vw,4.5rem); margin-top: 2.3rem; }
.services article { border-top: 1px solid #bac8c9; padding-top: 1.2rem; }
.route { color: var(--accent); font-size: .9rem; font-weight: 650; letter-spacing: .04em; }
.route span { margin-inline: .3rem; }
.services h3 { font-size: 1.8rem; letter-spacing: -.035em; margin: .6rem 0 .4rem; }
.services article p:not(.route), .fleet-heading > p { color: var(--muted); }
.services article a { display: inline-block; margin-top: .85rem; font-weight: 650; }
.services article a:hover, .gallery-photo:hover span { color: var(--accent); }
.fleet-section { background: #f1f3f1; padding-block: clamp(3.5rem,6vw,6rem); }
.fleet-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.8rem; margin-bottom: 2rem; }
.fleet-heading > p { max-width: 24rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.4rem 1rem; }
.gallery-photo { display: block; overflow: hidden; text-decoration: none; }
.gallery-photo img { display: block; width: 100%; aspect-ratio: 1.65; object-fit: cover; border-radius: .45rem; background: #dde1df; }
.gallery-photo span { display: block; margin-top: .45rem; font-weight: 600; font-size: .94rem; }
.gallery-dialog { border: 0; padding: 1rem; border-radius: .7rem; width: min(58rem,94vw); max-height: 92vh; color: white; background: #102a38; }
.gallery-dialog::backdrop { background: #07151de6; }
.viewer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem; }
.gallery-dialog button { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--ink); border: 1px solid #a3b5bc; color: white; font-size: 1.6rem; line-height: 1; }
.gallery-viewer-image { position: relative; }
.gallery-viewer-image img { display: block; width: 100%; height: min(58vh,32rem); object-fit: contain; }
.gallery-previous, .gallery-next { position: absolute; top: 50%; transform: translateY(-50%); }
.gallery-previous { left: .3rem; }
.gallery-next { right: .3rem; }
.gallery-viewer-caption { margin-top: .7rem; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding-block: clamp(3.4rem,6vw,5.8rem); }
.about h2 { margin-top: .65rem; }
.about p:not(.eyebrow) { max-width: 34rem; color: var(--muted); }
.about a { display: inline-block; margin-top: .85rem; font-weight: 650; }
.contact { color: white; background: var(--ink); padding-block: clamp(3.4rem,6vw,5.8rem); }
.contact-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.contact .eyebrow { color: #ffc39b; }
.contact h2 { max-width: 12em; }
.contact p:not(.eyebrow) { max-width: 30rem; color: #e3e9ea; margin-top: .9rem; }
.contact-links { display: grid; justify-items: start; gap: .75rem; overflow-wrap: anywhere; }
.button.light { background: white; color: var(--ink); }
.button.light:hover { background: #e4eae9; }
.footer-row { padding-block: 1.4rem; font-size: .9rem; }
@media (max-width: 54rem) {
  .header-row { flex-wrap: wrap; min-height: 4.5rem; gap: .65rem; padding-block: .6rem; }
  nav { order: 3; width: 100%; gap: .5rem; justify-content: space-between; border-top: 1px solid var(--line); padding-top: .45rem; }
  .hero-grid { gap: 1.5rem; grid-template-columns: 1fr 1fr; }
  h1 { font-size: clamp(2.85rem,6.3vw,4rem); }
  .hero-image div { aspect-ratio: 1.42; background-size: 155% auto; background-position: 59% top; }
  .quote-panel { grid-template-columns: 1fr; gap: 1.2rem; }
  .quote-heading { border: none; padding: 0; }
  .quote-heading h2 { margin-bottom: .25rem; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 42rem) {
  .wrap { width: 90%; }
  .brand { font-size: 1.16rem; gap: .45rem; }
  .brand-mark { width: 2.65rem; }
  .header-cta { padding: .4rem .75rem; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 2.25rem 2.9rem; gap: 1.4rem; }
  h1 { font-size: clamp(2.85rem,11vw,4.2rem); }
  .hero-image div { aspect-ratio: 1.9; background-size: 124% auto; background-position: 97% 12%; }
  .quote-wrap { margin-top: -1.1rem; }
  .fields, .online-fields, .services-grid, .contact-row, .about { grid-template-columns: 1fr; }
  .fleet-heading { display: block; }
  .fleet-heading > p { margin-top: .85rem; }
  .services-grid { gap: 1.4rem; margin-top: 1.3rem; }
  .gallery-grid { gap: 1.15rem .65rem; }
  .request-form .button { width: 100%; }
  .gallery-dialog { padding: .7rem; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
