/*
Theme Name: Limassol–Larnaca Taxi
Description: Independent English-first taxi site for limassol-larnaca.taxi.
Version: 1.7.0
Requires PHP: 8.2
Text Domain: limassol-larnaca-taxi
*/

:root {
  --ink: #152b34;
  --deep: #10242c;
  --muted: #52676d;
  --paper: #fbf9f3;
  --warm: #f1ede1;
  --line: #d6d4c7;
  --gold: #d7b67b;
  --tea: #214741;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Aptos", "Segoe UI", sans-serif;
  --wrap: min(1200px, calc(100% - 80px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #287d8e; outline-offset: 3px; }
button, input, select, textarea { font: inherit; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.06; }
h1 { font-size: clamp(3.15rem, 6.45vw, 6.4rem); letter-spacing: -.075em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4.35rem); letter-spacing: -.064em; }
h3 { font-size: 1.75rem; letter-spacing: -.035em; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: fixed; z-index: 7; left: 20px; top: -90px; background: white; color: var(--ink); padding: 12px 16px; }
.skip:focus { top: 12px; }
.header { border-bottom: 1px solid var(--line); }
.top { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; color: var(--ink); text-decoration: none; }
.brand img { width: 60px; height: 60px; flex: none; }
.brand-wordmark { display: grid; gap: 4px; min-width: 0; }
.brand-wordmark strong { font: 400 clamp(1.16rem, 2.15vw, 1.58rem)/1 var(--serif); letter-spacing: -.045em; }
.brand-wordmark > span { font: 750 .63rem/1.1 var(--sans); text-transform: uppercase; letter-spacing: .19em; }
body.theme-arrival .brand-wordmark strong { color: #382440; font-style: italic; }
body.theme-arrival .brand-wordmark > span { color: #744557; }
body.theme-island .brand-wordmark strong { font: 850 clamp(1.3rem, 2.6vw, 1.85rem)/.92 var(--sans); letter-spacing: -.055em; }
body.theme-island .brand-wordmark > span { color: #4b674a; letter-spacing: .29em; }
body.theme-harbour .brand-wordmark strong { font-size: clamp(1.15rem, 2.3vw, 1.64rem); letter-spacing: -.035em; }
body.theme-harbour .brand-wordmark > span { color: #843e32; letter-spacing: .3em; }
body.theme-town .brand-wordmark strong { font: 750 clamp(1.25rem, 2.4vw, 1.65rem)/1 var(--serif); letter-spacing: -.045em; }
body.theme-town .brand-wordmark > span { color: #586345; letter-spacing: .27em; }
body.theme-crossing .brand-wordmark strong { font: 850 clamp(1rem, 1.8vw, 1.33rem)/1 "Arial Narrow", var(--sans); letter-spacing: -.035em; }
body.theme-crossing .brand-wordmark > span { color: #4e6061; }
body.theme-connection .brand-wordmark strong { font: 720 clamp(1rem, 1.8vw, 1.29rem)/1 var(--sans); letter-spacing: -.035em; }
body.theme-connection .brand-wordmark > span { color: #426381; }
body.theme-guide .brand-wordmark strong { font: 700 clamp(1.27rem, 2.5vw, 1.77rem)/1 "Trebuchet MS", var(--sans); letter-spacing: -.05em; }
body.theme-guide .brand-wordmark > span { color: #3e6757; }
.primary { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.primary a, .top-phone { text-decoration: none; font-size: .88rem; font-weight: 700; }
.primary a:hover, .top-phone:hover { text-decoration: underline; }
.top-phone { white-space: nowrap; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); min-height: 570px; color: var(--paper); background: var(--deep); }
.hero-text { align-self: center; padding: 70px max(40px, calc((100vw - 1200px) / 2)); padding-right: 7%; }
.hero-text h1 { margin: 15px 0 22px; max-width: 9ch; }
.hero-text h1 em { color: #ebd6aa; font-weight: 400; }
.lead { max-width: 44ch; color: #e1e5e3; font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: .68rem; letter-spacing: .19em; font-weight: 800; text-transform: uppercase; line-height: 1.5; }
.hero .eyebrow { color: #ead3a5; }
.hero-photo { position: relative; min-width: 0; min-height: 270px; isolation: isolate; }
.hero-photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 50% 57%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #10242c24, transparent 50%); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 49px; padding: 10px 19px; border: 1px solid transparent; border-radius: 3px; color: white; background: var(--tea); text-decoration: none; font-weight: 750; cursor: pointer; }
.button:hover { background: #153631; }
.button.gold { background: var(--gold); color: #142924; }
.button.gold:hover { background: #ecd09b; }
.button.outline { border-color: #a9b7b2; color: inherit; background: transparent; }
.button.outline:hover { background: #18372f12; }
.hero .button.outline:hover { background: #ffffff12; }
.grid-band { background: var(--warm); border-bottom: 1px solid var(--line); }
.quick-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quick-facts div { padding: 21px 23px; border-right: 1px solid var(--line); }
.quick-facts div:first-child { padding-left: 0; }
.quick-facts div:last-child { border-right: 0; }
.quick-facts strong { display: block; font-weight: 750; }
.quick-facts span { display: block; color: var(--muted); font-size: .91rem; }
.section { padding-block: clamp(58px, 8vw, 102px); }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 29px; }
.section-title > p { max-width: 37ch; color: var(--muted); }
.section-title .eyebrow, .split-copy .eyebrow { color: #426456; margin-bottom: 9px; }
.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.route-card { position: relative; isolation: isolate; min-height: 310px; padding: 23px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: white; background: var(--deep); text-decoration: none; }
.route-card img, .route-card::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.route-card::after { content: ""; background: linear-gradient(0deg, #0c242bea 0%, #102c3270 40%, transparent 100%); }
.route-card h3 { margin-top: 7px; font-size: clamp(1.8rem, 3.3vw, 3rem); }
.route-card:hover h3 { text-decoration: underline; }
.route-card .eyebrow { color: #ffe2ae; }
.more-routes { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px 25px; font-weight: 700; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.split img { height: 100%; min-height: 370px; object-fit: cover; }
.split-copy { padding: clamp(26px, 5.5vw, 70px); background: #e8eee7; }
.split-copy p { margin-top: 16px; max-width: 48ch; }
.split-copy ol { padding-left: 19px; margin: 20px 0 0; }
.split-copy li + li { margin-top: 9px; }
.booking-section { color: var(--paper); background: var(--deep); }
.booking-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(26px, 6vw, 82px); }
.booking-grid .intro > p { color: #d3dfdb; margin-top: 17px; max-width: 34ch; }
.booking-grid .intro .eyebrow { color: #ebd6aa; margin-bottom: 12px; }
.booking-form { color: var(--ink); background: var(--paper); padding: clamp(18px, 3.2vw, 35px); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.field-grid label { display: grid; gap: 4px; align-content: start; font-weight: 700; font-size: .85rem; min-width: 0; }
.field-grid input, .field-grid select, .field-grid textarea { min-width: 0; width: 100%; min-height: 44px; padding: 8px 9px; color: var(--ink); background: white; border: 1px solid #aebcb8; border-radius: 3px; font-weight: 400; }
.field-grid textarea { min-height: 72px; resize: vertical; }
.form-wide { grid-column: 1 / -1; }
.trap { position: absolute; left: -9999px; width: 1px; top: auto; height: 1px; overflow: hidden; }
.form-note, .form-status { margin-top: 14px; font-size: .88rem; line-height: 1.45; }
.form-status { padding: 11px 13px; margin: 0 0 15px; border-left: 3px solid var(--tea); background: #e8eee7; }
.booking-form .button { margin-top: 16px; }
.questions { max-width: 835px; margin-inline: auto; }
.questions h2 { margin-bottom: 18px; }
.questions details { padding: 15px 0; border-bottom: 1px solid var(--line); }
.questions summary { cursor: pointer; font-weight: 750; }
.questions details p { margin: 9px 0 3px; color: var(--muted); }
.footer { border-top: 1px solid var(--line); padding: 30px 0; }
.foot { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 9px 18px; font-size: .9rem; }
.page-hero { padding: 66px 0 54px; color: var(--paper); background: var(--deep); }
.page-hero h1 { max-width: 16ch; margin: 12px 0 16px; font-size: clamp(3rem, 6vw, 5.1rem); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .route-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 34px; align-items: center; }
.page-hero .route-detail img { max-height: 330px; object-fit: cover; }
.page-hero .breadcrumbs { margin-bottom: 18px; font-size: .86rem; }
.prose { max-width: 760px; }
.prose > * + * { margin-top: 15px; }
.prose h2 { margin-top: 32px; font-size: clamp(1.95rem, 3vw, 2.9rem); }
.prose ul { padding-left: 24px; }
.prose img { max-width: 100%; }
.dock { display: none; }

@media (max-width: 880px) {
  :root { --wrap: calc(100% - 44px); }
  .top { flex-wrap: wrap; column-gap: 10px; row-gap: 8px; min-height: 0; padding: 13px 0 10px; }
  .brand img { width: 49px; height: 49px; }
  .primary { width: 100%; order: 3; justify-content: flex-start; gap: 6px 17px; }
  .hero { min-height: 470px; }
  .hero-text { padding: 52px 22px; }
  .hero-text h1 { font-size: clamp(2.85rem, 7.3vw, 4.35rem); }
}

@media (max-width: 640px) {
  body { padding-bottom: 67px; }
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding-top: 33px; padding-bottom: 27px; }
  .hero-text h1 { max-width: 10ch; margin: 9px 0 15px; }
  .hero-photo { min-height: 215px; }
  .hero-photo::after { display: none; }
  .lead { font-size: .96rem; }
  .actions { margin-top: 19px; }
  .top-phone { font-size: .78rem; }
  .quick-facts { grid-template-columns: 1fr; }
  .quick-facts div, .quick-facts div:first-child { padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); }
  .quick-facts div:last-child { border: 0; }
  .section-title { display: grid; gap: 10px; margin-bottom: 19px; }
  .route-grid, .split, .booking-grid, .page-hero .route-detail { grid-template-columns: 1fr; }
  .route-card { min-height: 210px; padding: 17px; }
  .split img { min-height: 230px; max-height: 270px; }
  .page-hero { padding: 32px 0; }
  .page-hero .route-detail { gap: 20px; }
  .dock { position: fixed; bottom: 0; inset-inline: 0; z-index: 5; display: flex; gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -3px 14px #0e292333; background: var(--paper); }
  .dock a { flex: 1; padding: 8px 6px; min-height: 43px; font-size: .86rem; white-space: nowrap; }
}

@media (max-width: 360px) {
  :root { --wrap: calc(100% - 32px); }
  .field-grid { grid-template-columns: 1fr; }
  .hero-text { padding-inline: 16px; }
  .brand { gap: 6px; }
  .brand img { width: 45px; height: 45px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.fleet-gallery { padding-block: 30px 10px; }
.fleet-title { display: grid; gap: 10px; margin-bottom: 20px; }
.fleet-title p { max-width: 65ch; color: var(--muted); }
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 15px; }
.fleet-grid figure { margin: 0; }
.fleet-grid img { aspect-ratio: 3 / 2; object-fit: cover; }
.fleet-grid figcaption { margin-top: 5px; color: var(--muted); font-size: .87rem; }
.portfolio-hero .hero-text h1 { max-width: 12ch; }
.portfolio-hero .hero-photo img { object-position: center 58%; }
.portfolio-sections { padding-block: 58px; display: grid; gap: clamp(24px, 5vw, 75px); align-items: start; }
.portfolio-routes h2, .portfolio-guide h2 { font-size: clamp(1.95rem, 4vw, 3.55rem); margin-bottom: 12px; }
.portfolio-guide p + p { margin-top: 14px; }
.portfolio-route-list { display: grid; gap: 10px; }
.portfolio-route { display: flex; gap: 12px; justify-content: space-between; align-items: start; padding: 13px 14px; border: 1px solid var(--line); text-decoration: none; background: var(--paper); }
.portfolio-route:hover { border-color: var(--tea); }
.portfolio-route strong { display: block; font-size: 1.06rem; }
.portfolio-route > span > span { display: block; color: var(--muted); font-size: .91rem; }

body.theme-arrival { --ink:#302042; --deep:#261b32; --warm:#f4ece1; --paper:#fff9f0; --line:#e2cfba; --gold:#ffd49b; --muted:#695548; --tea:#3a6256; }
.layout-arrival .portfolio-hero { grid-template-columns: 1fr; position: relative; min-height: clamp(640px, 56vw, 980px); overflow: hidden; }
.layout-arrival .hero-photo { grid-row: 1; grid-column: 1; position: absolute; inset: 0; }
.layout-arrival .hero-photo::after { background: linear-gradient(90deg,#170e26ea 0%,#231b2eb0 38%,#170e2610 73%); }
.layout-arrival .hero-text { grid-row: 1; grid-column: 1; z-index: 1; }
.layout-arrival .hero-photo img { object-position: right 10%; }
.layout-arrival .portfolio-route-list { grid-template-columns: repeat(3,1fr); }
.layout-arrival .portfolio-guide { padding: 30px; border-left: 5px solid #46756b; background: var(--warm); }

body.theme-island { --ink:#202622; --deep:#18201b; --warm:#e6e7dc; --paper:#f4f5eb; --line:#c5cbbd; --gold:#e3b459; --muted:#4d5a4f; --tea:#354933; --serif:"Segoe UI",sans-serif; }
.layout-island .portfolio-hero { width: var(--wrap); margin: 28px auto 0; min-height: 500px; grid-template-columns: 1.12fr 1fr; }
.layout-island .hero-photo { grid-row: 1; grid-column: 1; }
.layout-island .hero-text { grid-row: 1; grid-column: 2; padding: 32px clamp(20px, 4vw, 55px); }
.layout-island .hero-text h1 { font-size: clamp(3rem,5.9vw,5rem); font-weight: 850; letter-spacing: -.075em; }
.layout-island .portfolio-sections { grid-template-columns: 1.05fr .95fr; }
.layout-island .portfolio-guide { background: var(--warm); padding: 34px; }

body.theme-harbour { --ink:#172735; --deep:#101d2a; --warm:#e4e9e9; --paper:#f8f8f5; --line:#cfdbdf; --gold:#ffbe98; --muted:#4b5c68; --tea:#1a435b; }
.layout-harbour .portfolio-hero { grid-template-columns: 1.05fr 1.3fr; min-height: 500px; }
.layout-harbour .hero-text { padding-top: 100px; border-bottom: 7px solid #cc7f66; }
.layout-harbour .portfolio-sections { grid-template-columns: 1fr 1fr; }
.layout-harbour .portfolio-guide { grid-row: 1; grid-column: 1; border-top: 5px solid #9e4d40; padding-top: 22px; }
.layout-harbour .portfolio-route { border: 0; border-bottom: 1px solid #adbec9; }

body.theme-town { --ink:#2c3828; --deep:#39412b; --warm:#ece7d4; --paper:#faf8ee; --line:#d5cdb3; --gold:#e2bc7a; --muted:#58614a; --tea:#425b38; }
.layout-town .portfolio-hero { display: grid; background: var(--paper); color: var(--ink); min-height: auto; grid-template-columns: 1fr; }
.layout-town .hero-text { padding: 45px 18px 35px; text-align: center; justify-self: center; }
.layout-town .hero-text h1, .layout-town .hero-text .lead { max-width: 50ch; color: var(--ink); }
.layout-town .hero-text .eyebrow { color: var(--muted); }
.layout-town .hero-text .actions { justify-content: center; }
.layout-town .hero-photo { width: var(--wrap); margin-inline: auto; aspect-ratio: 2.25; min-height: 0; background: var(--warm); }
.layout-town .hero-photo img { object-fit: contain; }
.layout-town .hero-photo::after { display: none; }
.layout-town .portfolio-route-list { grid-template-columns: 1fr 1fr 1fr; }
.layout-town .portfolio-route { padding: 21px; border-top: 4px solid #70915b; }

body.theme-crossing { --ink:#253642; --deep:#243040; --warm:#ebecdf; --paper:#f7f6eb; --line:#d0d5c7; --gold:#eecb68; --muted:#50616d; --tea:#2b4a57; --serif:"Aptos",sans-serif; }
.layout-crossing .hero-text h1 { font-weight: 850; }
.layout-crossing .portfolio-hero { position: relative; border-bottom: 6px solid var(--gold); }
.layout-crossing .hero-photo { clip-path: polygon(10% 0,100% 0,100% 100%,0 100%); }
.layout-crossing .portfolio-sections { grid-template-columns: 1.1fr .9fr; }
.layout-crossing .portfolio-route { border-left: 5px solid #c58f36; background: var(--warm); }

body.theme-connection { --ink:#182b42; --deep:#182a43; --warm:#e5eefb; --paper:#f4f8fb; --line:#c8d6e8; --gold:#d5e5ff; --muted:#49617b; --tea:#285c86; --serif:"Segoe UI",sans-serif; }
.layout-connection .portfolio-hero { min-height: 440px; grid-template-columns: 1.25fr 1fr; background: var(--warm); color: var(--ink); }
.layout-connection .hero-text h1 { font-weight: 800; font-size: clamp(2.7rem,6vw,5rem); }
.layout-connection .hero-text .eyebrow, .layout-connection .hero-text .lead { color: var(--muted); }
.layout-connection .hero-text .gold { background: var(--tea); color: white; }
.layout-connection .hero-photo { margin: 22px 22px 22px 0; border-radius: 16px; overflow: hidden; }
.layout-connection .portfolio-routes { padding: 22px; border: 1px solid var(--line); border-radius: 13px; }
.layout-connection .portfolio-route-list { grid-template-columns: repeat(2, 1fr); }
.layout-connection .portfolio-route { border-radius: 8px; }

body.theme-guide { --ink:#173f37; --deep:#164a3e; --warm:#e1ede6; --paper:#f6f8ec; --line:#cad7c2; --gold:#f4d16e; --muted:#4d6960; --tea:#1f6653; }
.layout-guide .portfolio-hero { min-height: 500px; grid-template-columns: 1.02fr .98fr; }
.layout-guide .portfolio-hero .hero-photo { margin: 26px; border-radius: 44% 44% 12px 12px; overflow: hidden; }
.layout-guide .portfolio-sections { grid-template-columns: .88fr 1.12fr; }
.layout-guide .portfolio-guide { grid-row: 1; grid-column: 1; background: var(--warm); padding: 27px; border-radius: 17px; }
.layout-guide .portfolio-route { border-radius: 27px; padding: 14px 21px; }

@media (max-width: 700px) {
  .site-layout .portfolio-sections, .site-layout .portfolio-route-list { grid-template-columns: 1fr; }
  .site-layout .portfolio-guide { grid-column: auto; grid-row: auto; }
  .site-layout .portfolio-hero { grid-template-columns: 1fr; min-height: auto; }
  .layout-arrival .portfolio-hero { padding-top: 0; }
  .layout-arrival .hero-photo { position: relative; grid-row: 2; }
  .layout-arrival .hero-photo::after { background: none; }
  .layout-island .hero-text { grid-row: 1; grid-column: 1; }
  .layout-island .hero-photo { grid-row: 2; }
  .layout-harbour .hero-text { padding-top: 33px; }
  .layout-crossing .hero-photo { clip-path: none; }
  .layout-connection .hero-photo { margin: 0 18px 18px; }
  .layout-guide .portfolio-hero .hero-photo { border-radius: 22px; margin: 0 18px 18px; }
}
