/* =========================================================================
   YAZ CAR RENTAL — STYLESHEET
   Table of contents:
   1. Design Tokens & Reset
   2. Base Typography
   3. Layout Utilities & Buttons
   4. Header / Navigation
   5. Hero
   6. Brand Marquee
   7. Fleet Section
   8. Why Choose Us
   9. Services
   10. Reviews
   11. Booking CTA
   12. Blog
   13. Contact
   14. Footer
   15. Back To Top / Modal
   16. Scroll Reveal Animation
   17. Responsive Breakpoints
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. DESIGN TOKENS & RESET
   Palette is restricted to the five supplied brand colors:
   #134074 (primary blue) #13315C (deep blue) #0B2545 (navy ink)
   #8DA9C4 (slate accent) #EEF4ED (ivory)
   All other tones below are alpha/opacity variants of these five.
   ------------------------------------------------------------------------- */
:root{
  --navy-ink:      #0B2545;
  --navy-deep:     #13315C;
  --blue-primary:  #134074;
  --slate-accent:  #8DA9C4;
  --ivory:         #EEF4ED;

  --color-bg:          var(--ivory);
  --color-bg-alt:      #E7EEE6; /* ivory mixed toward navy-ink at ~4% — same 5-color palette */
  --color-surface:     #FFFFFF00; /* unused placeholder kept transparent */
  --color-text:        var(--navy-ink);
  --color-text-muted:  #3F5878; /* navy-ink lightened toward slate-accent */
  --color-border:      rgba(11,37,69,0.10);
  --color-border-soft: rgba(11,37,69,0.06);

  --shadow-sm: 0 2px 10px rgba(11,37,69,0.08);
  --shadow-md: 0 12px 30px rgba(11,37,69,0.12);
  --shadow-lg: 0 24px 60px rgba(11,37,69,0.20);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --header-h: 84px;
  --container-w: 1240px;

  --ease-out: cubic-bezier(0.16,1,0.3,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body{
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font: inherit; cursor: pointer; }
input, select, textarea{ font: inherit; }
svg{ display: block; }

/* Focus visibility for keyboard users */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--slate-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-primary);
  color: var(--ivory);
  padding: 12px 20px;
  z-index: 9999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------------------
   2. BASE TYPOGRAPHY
   ------------------------------------------------------------------------- */
h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--navy-ink);
}
h1{ font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; }
h1 em{ font-style: italic; font-weight: 500; color: var(--slate-accent); }
h2{ font-size: clamp(2rem, 4vw, 2.9rem); }
h3{ font-size: 1.3rem; font-weight: 600; }
p{ margin: 0 0 1em; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-primary);
  font-weight: 600;
  margin: 0 0 .9em;
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before{
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}
.eyebrow-light{ color: var(--slate-accent); }

.section-head{
  max-width: 640px;
  margin: 0 0 3rem;
}
.section-lead{
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 54ch;
}

/* -------------------------------------------------------------------------
   3. LAYOUT UTILITIES & BUTTONS
   ------------------------------------------------------------------------- */
.container{
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 20px;
}
.section{ padding: 88px 0; }
.section-alt{ background: var(--color-bg-alt); }

.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .95em 1.7em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease-out), background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
  min-height: 44px;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: var(--blue-primary);
  color: var(--ivory);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ background: var(--navy-deep); box-shadow: var(--shadow-md); }

.btn-outline{
  background: transparent;
  border-color: var(--color-border);
  color: var(--blue-primary);
}
.btn-outline:hover{ background: rgba(19,64,116,0.06); border-color: var(--blue-primary); }

.btn-outline-light{
  background: rgba(238,244,237,0.06);
  border-color: rgba(238,244,237,0.55);
  color: var(--ivory);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover{ background: rgba(238,244,237,0.16); border-color: var(--ivory); }

.btn-lg{ padding: 1.05em 2.1em; font-size: 1rem; }
.btn-sm{ padding: .6em 1.3em; font-size: .85rem; }
.btn-block{ width: 100%; }

/* -------------------------------------------------------------------------
   4. HEADER / NAVIGATION
   ------------------------------------------------------------------------- */
.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 500;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color .35s ease, box-shadow .35s ease, height .3s ease;
}
.site-header.is-scrolled{
  height: 72px;
  background: rgba(11,37,69,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 30px rgba(11,37,69,0.25);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: .65em;
  flex-shrink: 0;
}
.brand-text{ display: flex; flex-direction: column; line-height: 1; }
.brand-name{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .02em;
  color: var(--ivory);
}
.brand-sub{
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate-accent);
  margin-top: .3em;
}

.main-nav ul{
  display: flex;
  gap: 2.1rem;
}
.main-nav a{
  font-size: .93rem;
  font-weight: 500;
  color: rgba(238,244,237,0.88);
  position: relative;
  padding: .3em 0;
}
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--slate-accent);
  transition: right .3s var(--ease-out);
}
.main-nav a:hover{ color: var(--ivory); }
.main-nav a:hover::after{ right: 0; }

.header-actions{ display: flex; align-items: center; gap: 1.1rem; }
.header-phone{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--ivory);
}
.header-phone svg{ opacity: .85; }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  padding: 0;
}
.nav-toggle span{
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ivory);
  margin-inline: auto;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------------------------------
   5. HERO
   ------------------------------------------------------------------------- */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ivory);
  isolation: isolate;
}
.hero-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,37,69,0.55) 0%, rgba(11,37,69,0.62) 45%, rgba(11,37,69,0.92) 100%),
    linear-gradient(90deg, rgba(11,37,69,0.55) 0%, rgba(11,37,69,0.15) 45%, rgba(11,37,69,0.55) 100%);
}
.hero-content{
  padding-top: calc(var(--header-h) + 30px);
  padding-bottom: 140px;
  max-width: 780px;
}
.hero-title{ color: var(--ivory); margin-bottom: .4em; }
.hero-sub{
  font-size: 1.1rem;
  color: rgba(238,244,237,0.86);
  max-width: 52ch;
  margin-bottom: 2em;
}
.hero-actions{ display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats-wrap{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  transform: translateY(50%);
  z-index: 2;
}
.hero-stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(11,37,69,0.85);
  border: 1px solid rgba(141,169,196,0.35);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem 1rem;
}
.hero-stats li{
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  border-right: 1px solid rgba(141,169,196,0.25);
}
.hero-stats li:last-child{ border-right: none; }
.stat-num{
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--ivory);
}
.stat-label{
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--slate-accent);
  text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   6. BRAND MARQUEE
   ------------------------------------------------------------------------- */
.marquee{
  background: var(--navy-ink);
  color: var(--slate-accent);
  overflow: hidden;
  padding: 70px 0 22px;
  white-space: nowrap;
}
.marquee-track{
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  animation: marquee 28s linear infinite;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: .12em;
  font-weight: 500;
}
.marquee-track .dot{ font-size: .5rem; color: var(--blue-primary); }
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}

/* -------------------------------------------------------------------------
   7. FLEET SECTION
   ------------------------------------------------------------------------- */
.fleet-filters{
  display: flex;
  gap: .7rem;
  margin-bottom: 2.6rem;
  flex-wrap: wrap;
}
.filter-btn{
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-muted);
  padding: .65em 1.4em;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  transition: all .25s ease;
  min-height: 44px;
}
.filter-btn.is-active, .filter-btn:hover{
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--ivory);
}

.fleet-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.fleet-card{
  background: var(--ivory);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.fleet-card.is-hidden{ display: none; }
.fleet-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.fleet-media{
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.fleet-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.fleet-card:hover .fleet-media img{ transform: scale(1.06); }
.fleet-badge{
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(11,37,69,0.82);
  color: var(--ivory);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .45em .9em;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.fleet-tag{
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(238,244,237,0.92);
  color: var(--navy-ink);
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .05em;
  padding: .4em .8em;
  border-radius: 999px;
}
.fleet-body{
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  flex: 1;
}
.fleet-title-row{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .8rem;
}
.fleet-title-row h3{ font-size: 1.12rem; margin: 0; }
.fleet-color{
  display: block;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.fleet-price{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
  color: var(--blue-primary);
}
.fleet-price .cur{ font-size: .68rem; vertical-align: top; margin-right: 2px; }
.fleet-price .per{ font-size: .68rem; font-weight: 400; color: var(--color-text-muted); }

.fleet-specs{
  display: flex;
  gap: .9rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--color-text-muted);
  border-top: 1px dashed var(--color-border);
  border-bottom: 1px dashed var(--color-border);
  padding: .7rem 0;
}
.fleet-actions{ display: flex; gap: .7rem; margin-top: auto; }
.fleet-actions .btn{ flex: 1; padding-inline: .8em; }

.fleet-note{
  text-align: center;
  font-size: .85rem;
  color: var(--color-text-muted);
  margin-top: 2.2rem;
}

.fleet-banner-strip{
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 60%;
  margin-top: 5rem;
}

/* -------------------------------------------------------------------------
   8. WHY CHOOSE US
   ------------------------------------------------------------------------- */
.features-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.feature-card{
  background: var(--ivory);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.feature-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(19,64,116,0.08);
  color: var(--blue-primary);
  margin-bottom: 1.1rem;
}
.feature-icon svg{ width: 24px; height: 24px; }
.feature-card h3{ font-size: 1.05rem; margin-bottom: .4em; }
.feature-card p{ font-size: .92rem; color: var(--color-text-muted); margin: 0; }

/* -------------------------------------------------------------------------
   9. SERVICES
   ------------------------------------------------------------------------- */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.service-card{
  background: linear-gradient(165deg, var(--navy-ink) 0%, var(--navy-deep) 100%);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.9rem;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.service-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(141,169,196,0.16);
  color: var(--slate-accent);
  margin-bottom: 1.3rem;
}
.service-icon svg{ width: 26px; height: 26px; }
.service-card h3{ color: var(--ivory); font-size: 1.2rem; }
.service-card p{ color: rgba(238,244,237,0.78); font-size: .93rem; }
.service-link{
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 600;
  font-size: .9rem;
  color: var(--slate-accent);
  margin-top: .4rem;
  transition: gap .25s ease;
}
.service-link:hover{ gap: .7em; color: var(--ivory); }

/* -------------------------------------------------------------------------
   10. REVIEWS
   ------------------------------------------------------------------------- */
.reviews-viewport{
  position: relative;
  padding-left: 20px;
}
.reviews-track{
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 20px 1.5rem;
  max-width: var(--container-w);
  margin-inline: auto;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar{ display: none; }
.review-card{
  scroll-snap-align: start;
  flex: 0 0 clamp(280px, 32%, 380px);
  background: var(--ivory);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm);
}
.stars{
  color: var(--blue-primary);
  letter-spacing: .12em;
  margin-bottom: .8rem;
  font-size: .95rem;
}
.review-quote{
  font-size: .98rem;
  color: var(--color-text);
  min-height: 6.5em;
}
.review-author{
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .88rem;
  color: var(--color-text-muted);
}
.review-avatar{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 600;
  flex-shrink: 0;
}
.reviews-controls{
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: .5rem;
}
.reviews-arrow{
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--ivory);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}
.reviews-arrow svg{ width: 20px; height: 20px; }
.reviews-arrow:hover{ background: var(--blue-primary); color: var(--ivory); border-color: var(--blue-primary); }

/* -------------------------------------------------------------------------
   11. BOOKING CTA
   ------------------------------------------------------------------------- */
.cta-banner{
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
  isolation: isolate;
}
.cta-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta-overlay{
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11,37,69,0.88) 0%, rgba(11,37,69,0.75) 100%);
}
.cta-content{ text-align: center; max-width: 640px; margin-inline: auto; }
.cta-content h2{ color: var(--ivory); }
.cta-content p{ color: rgba(238,244,237,0.85); font-size: 1.08rem; margin-bottom: 2rem; }
.cta-actions{ display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* -------------------------------------------------------------------------
   12. BLOG
   ------------------------------------------------------------------------- */
.blog-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.blog-card{
  background: var(--ivory);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.blog-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-thumb{
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  position: relative;
}
.blog-thumb::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(19,64,116,0.55), rgba(11,37,69,0.75));
}
.blog-thumb-1{ background-image: linear-gradient(160deg, #134074, #0B2545); }
.blog-thumb-2{ background-image: linear-gradient(160deg, #13315C, #0B2545); }
.blog-thumb-3{ background-image: linear-gradient(160deg, #0B2545, #13315C); }
.blog-body{ padding: 1.6rem 1.5rem; }
.blog-tag{
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-primary);
  font-weight: 600;
}
.blog-body h3{ font-size: 1.08rem; margin: .5em 0 .5em; }
.blog-body p{ font-size: .92rem; color: var(--color-text-muted); }
.blog-meta{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--color-border);
}

/* -------------------------------------------------------------------------
   13. CONTACT
   ------------------------------------------------------------------------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 2.6rem;
  align-items: start;
}
.contact-form{
  background: var(--ivory);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-field{ margin-bottom: 1.2rem; }
.form-field label{
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: var(--navy-ink);
}
.form-field input, .form-field select, .form-field textarea{
  width: 100%;
  padding: .85em 1em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  transition: border-color .25s ease, box-shadow .25s ease;
  min-height: 44px;
}
.form-field textarea{ resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(19,64,116,0.15);
  outline: none;
}
.form-note{
  min-height: 1.4em;
  font-size: .88rem;
  color: var(--blue-primary);
  font-weight: 600;
  margin: .9rem 0 0;
}

.contact-cards{ display: grid; gap: .9rem; margin-bottom: 1.6rem; }
.contact-card{
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--ivory);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  font-size: .92rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card:not(.contact-card-static):hover{ transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(19,64,116,0.08);
  color: var(--blue-primary);
  flex-shrink: 0;
}
.contact-icon svg{ width: 20px; height: 20px; }

.social-row{ display: flex; gap: .7rem; margin-bottom: 1.6rem; }
.social-icon{
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  transition: all .25s ease;
}
.social-icon svg{ width: 19px; height: 19px; }
.social-icon:hover{ background: var(--blue-primary); color: var(--ivory); border-color: var(--blue-primary); }

/* Dark-background context (footer): swap for light-on-dark contrast */
.site-footer .social-icon{
  color: var(--ivory);
  border-color: rgba(238,244,237,0.28);
}
.site-footer .social-icon:hover{
  background: var(--ivory);
  color: var(--navy-ink);
  border-color: var(--ivory);
}

.map-wrap{
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-soft);
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-sm);
}
.map-wrap iframe{ width: 100%; height: 100%; border: 0; }

/* -------------------------------------------------------------------------
   14. FOOTER
   ------------------------------------------------------------------------- */
.site-footer{
  background: var(--navy-ink);
  color: rgba(238,244,237,0.82);
  padding-top: 4.5rem;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(141,169,196,0.18);
}
.footer-brand p{ font-size: .92rem; color: rgba(238,244,237,0.7); max-width: 32ch; margin: 1.1rem 0 1.4rem; }
.footer-col h4{
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-accent);
  margin-bottom: 1.2rem;
}
.footer-col ul{ display: grid; gap: .7rem; }
.footer-col a{ font-size: .92rem; color: rgba(238,244,237,0.75); transition: color .2s ease; }
.footer-col a:hover{ color: var(--ivory); }
.footer-contact li{ font-size: .92rem; color: rgba(238,244,237,0.75); }

.footer-bottom{ padding: 1.6rem 0; }
.footer-bottom-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
  font-size: .85rem;
  color: rgba(238,244,237,0.6);
}
.footer-legal{ display: flex; gap: 1.4rem; }
.footer-legal a{ color: rgba(238,244,237,0.6); }
.footer-legal a:hover{ color: var(--ivory); }

/* -------------------------------------------------------------------------
   15. BACK TO TOP / MODAL
   ------------------------------------------------------------------------- */
.back-to-top{
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: var(--ivory);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s var(--ease-out);
  z-index: 400;
}
.back-to-top svg{ width: 20px; height: 20px; }
.back-to-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover{ background: var(--navy-deep); }

.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(11,37,69,0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  transition: opacity .3s ease;
}
.modal-overlay[hidden]{ display: none; }
.modal-overlay.is-open{ opacity: 1; }
.modal-box{
  background: var(--ivory);
  border-radius: var(--radius-lg);
  max-width: 920px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(.96);
  transition: transform .3s var(--ease-out);
}
.modal-overlay.is-open .modal-box{ transform: scale(1); }
.modal-close{
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(11,37,69,0.75);
  color: var(--ivory);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.modal-close svg{ width: 18px; height: 18px; }
.modal-media{ position: relative; background: var(--color-bg-alt); }
.modal-media img{ width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.modal-thumbs{
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  display: flex;
  gap: .5rem;
}
.modal-thumbs button{
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(238,244,237,0.4);
  border: none;
  padding: 0;
}
.modal-thumbs button.is-active{ background: var(--ivory); }
.modal-info{ padding: 2rem; display: flex; flex-direction: column; }
.modal-desc{ color: var(--color-text-muted); font-size: .95rem; }
.modal-specs{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--color-text);
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin: 1rem 0 1.4rem;
}
.modal-specs li{ display: flex; flex-direction: column; gap: .2rem; }
.modal-specs li span{ color: var(--color-text-muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.modal-price-row{
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--color-border);
}
.modal-price-row .fleet-price{ font-size: 1.3rem; }

/* -------------------------------------------------------------------------
   17. RESPONSIVE BREAKPOINTS (mobile-first overrides)
   Base styles above already target small screens where relevant;
   the rules below progressively enable the desktop layout.
   ------------------------------------------------------------------------- */

/* ---- Mobile base (≤767px) ---- */
.main-nav{
  position: fixed;
  inset: 0 0 0 auto;
  width: min(84vw, 340px);
  background: var(--navy-ink);
  padding: calc(var(--header-h) + 20px) 28px 32px;
  transform: translateX(100%);
  transition: transform .35s var(--ease-out);
  z-index: 450;
  box-shadow: -20px 0 60px rgba(0,0,0,0.35);
}
.main-nav.is-open{ transform: translateX(0); }
.main-nav ul{ flex-direction: column; gap: 1.6rem; }
.main-nav a{ font-size: 1.05rem; }
.nav-toggle{ display: flex; }
.header-phone{ display: none; }

.hero-stats{ grid-template-columns: repeat(2, 1fr); gap: 1rem 0; }
.hero-stats li:nth-child(2){ border-right: none; }
.hero-stats li{ padding-bottom: .8rem; }
.hero-stats li:nth-child(1), .hero-stats li:nth-child(2){
  border-bottom: 1px solid rgba(141,169,196,0.25);
  padding-top: 0;
}
.hero-stats li:nth-child(3), .hero-stats li:nth-child(4){ padding-top: .8rem; }

.fleet-grid{ grid-template-columns: 1fr; }
.features-grid{ grid-template-columns: 1fr 1fr; }
.services-grid{ grid-template-columns: 1fr; }
.blog-grid{ grid-template-columns: 1fr; }
.contact-grid{ grid-template-columns: 1fr; }
.form-row{ grid-template-columns: 1fr; }
.footer-grid{ grid-template-columns: 1fr 1fr; }
.modal-box{ grid-template-columns: 1fr; }
.modal-media img{ min-height: 220px; }

/* ---- Tablet (≥768px) ---- */
@media (min-width: 768px){
  .features-grid{ grid-template-columns: repeat(2, 1fr); }
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .fleet-grid{ grid-template-columns: repeat(2, 1fr); }
  .blog-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

/* ---- Desktop (≥1024px) ---- */
@media (min-width: 1024px){
  .main-nav{
    position: static;
    width: auto;
    background: transparent;
    padding: 0;
    transform: none;
    box-shadow: none;
    transition: none;
  }
  .main-nav ul{ flex-direction: row; gap: 2.1rem; }
  .main-nav a{ font-size: .93rem; }
  .nav-toggle{ display: none; }
  .header-phone{ display: inline-flex; }

  .hero-stats{ grid-template-columns: repeat(4, 1fr); }
  .hero-stats li{ border-bottom: none !important; padding-top: 0 !important; }

  .fleet-grid{ grid-template-columns: repeat(3, 1fr); }
  .features-grid{ grid-template-columns: repeat(4, 1fr); }
  .services-grid{ grid-template-columns: repeat(3, 1fr); }
  .blog-grid{ grid-template-columns: repeat(3, 1fr); }
  .contact-grid{ grid-template-columns: 1.2fr .9fr; }
  .form-row{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .modal-box{ grid-template-columns: 1fr 1fr; }
}

/* ---- Large desktop (≥1280px) ---- */
@media (min-width: 1280px){
  .container{ padding-inline: 32px; }
}

/* ---- Small phones (≤400px) ---- */
@media (max-width: 400px){
  .hero-stats{ grid-template-columns: 1fr 1fr; padding: 1.3rem .8rem; }
  .fleet-actions{ flex-direction: column; }
}
