/* ==========================================================================
   Nautic Care Poreč — stylesheet
   A single, easy-to-read stylesheet. Structure:
     1. Design tokens (colors, spacing, fonts) — change these to re-skin the site
     2. Base & layout helpers
     3. Buttons
     4. Header / navigation / language switcher
     5. Sections (hero, stats, services, rent, about, video, CTA, contact)
     6. Footer
     7. Utilities & animations
     8. Responsive tweaks
   ========================================================================== */

/* 1. DESIGN TOKENS ======================================================== */
:root {
  /* Brand colors — derived from the anchor logo (#065a89) */
  --navy:        #0a2540;   /* deep hero background            */
  --navy-2:      #0e3557;   /* secondary navy                  */
  --marine:      #0b5d8f;   /* primary brand blue              */
  --azure:       #159fd6;   /* bright accent                   */
  --aqua:        #35c0c6;   /* secondary accent (gradients)    */

  /* Neutrals */
  --ink:         #10202e;   /* main text                       */
  --ink-soft:    #47596a;   /* muted text                      */
  --line:        #e5ebf0;   /* borders / hairlines             */
  --paper:       #ffffff;   /* cards / surfaces                */
  --foam:        #eef5f9;   /* light blue tinted background    */
  --sand:        #f6f2ea;   /* warm off-white background       */

  /* Gradients */
  --grad-accent: linear-gradient(135deg, var(--azure), var(--aqua));
  --grad-navy:   linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--marine) 130%);

  /* Shape & depth */
  --radius:      18px;
  --radius-sm:   12px;
  --shadow-sm:   0 4px 14px rgba(10, 37, 64, .07);
  --shadow-md:   0 14px 34px rgba(10, 37, 64, .12);
  --shadow-lg:   0 24px 60px rgba(10, 37, 64, .18);

  /* Layout */
  --container:   1180px;
  --gutter:      clamp(1rem, 4vw, 2rem);
  --section-y:   clamp(3.5rem, 8vw, 7rem);

  /* Typography */
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* 2. BASE & LAYOUT ======================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* Inline icons default to text size unless a rule overrides them */
svg { width: 1.25em; height: 1.25em; fill: none; }

/* Offset in-page anchors so the sticky header doesn't cover section tops */
section[id] { scroll-margin-top: 82px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--foam { background: var(--foam); }
.section--navy { background: var(--grad-navy); color: #dce9f2; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* Section intro (eyebrow + title + subtitle) */
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--marine);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-accent); border-radius: 2px; }
.section--navy .eyebrow { color: var(--aqua); }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }
.section--navy .section-head p { color: #b9cfe0; }

/* 3. BUTTONS ============================================================== */
.btn {
  --btn-bg: var(--grad-accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem;
  font-family: var(--font-head);
  font-weight: 600; font-size: .98rem;
  border: 0; border-radius: 999px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background-image: var(--btn-bg); color: #fff; box-shadow: 0 10px 22px rgba(21, 159, 214, .32); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(21, 159, 214, .42); }
.btn--light { background: #fff; color: var(--marine); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn--outline:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--marine); padding-inline: 0; }
.btn--block { width: 100%; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 600; color: var(--marine);
  transition: gap .2s ease;
}
.link-arrow:hover { gap: .7rem; }
.link-arrow svg { width: 1em; height: 1em; }

/* 4. HEADER / NAV ========================================================= */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand img { width: 34px; height: auto; }
.brand__text { font-family: var(--font-head); line-height: 1.05; }
.brand__name { display: block; font-weight: 800; font-size: 1.08rem; color: var(--navy); letter-spacing: -.02em; }
.brand__sub { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--azure); }

/* Primary nav */
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-family: var(--font-head); font-weight: 500; font-size: .96rem;
  color: var(--navy); position: relative; padding-block: .25rem;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--grad-accent); border-radius: 2px; transition: width .25s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: .75rem; }

/* Language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  color: var(--navy); transition: border-color .2s ease, box-shadow .2s ease;
}
.lang__btn:hover { border-color: var(--azure); }
.lang__btn svg { width: 1.05em; height: 1.05em; opacity: .7; }
.lang__flag { font-size: 1.05rem; line-height: 1; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + .5rem); min-width: 190px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: .4rem; z-index: 120;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu button {
  display: flex; align-items: center; gap: .6rem; width: 100%;
  padding: .55rem .7rem; border: 0; border-radius: 9px; background: transparent;
  cursor: pointer; font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  text-align: left;
}
.lang__menu button:hover { background: var(--foam); }
.lang__menu button[aria-current="true"] { background: var(--foam); font-weight: 600; color: var(--marine); }
.lang__chip {
  display: inline-grid; place-items: center; min-width: 30px; padding: .12rem .35rem;
  font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  color: var(--marine); background: var(--foam); border-radius: 6px;
}
.lang__menu button[aria-current="true"] .lang__chip { background: var(--grad-accent); color: #fff; }
.lang__code { font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .04em; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: rotate(45deg); }
.nav-open .nav-toggle span::after  { transform: rotate(-45deg) translateY(-1.5px); }

/* 5. HERO ================================================================= */
.hero {
  position: relative; color: #fff; isolation: isolate;
  min-height: min(88vh, 780px);
  display: flex; align-items: center;
  padding-block: clamp(4rem, 12vw, 8rem);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../img/hero.jpg") center/cover no-repeat;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 24, 43, .92) 0%, rgba(6, 24, 43, .72) 45%, rgba(6, 24, 43, .35) 100%);
}
.hero__content { max-width: 660px; }
.hero .eyebrow { color: var(--aqua); }
.hero h1 {
  color: #fff; font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800;
  margin-bottom: 1.1rem;
}
.hero h1 .accent { color: var(--aqua); }
.hero__sub { font-size: clamp(1.02rem, 2vw, 1.2rem); color: #d4e3ef; max-width: 48ch; margin: 0 0 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.hero__badges li { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: #cfe0ee; }
.hero__badges svg { width: 1.15rem; height: 1.15rem; color: var(--aqua); flex: none; }

/* Wave divider */
.wave { display: block; width: 100%; height: auto; margin-top: -1px; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.stat__num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--marine); line-height: 1;
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { color: var(--ink-soft); font-weight: 500; margin-top: .4rem; font-size: .95rem; }

/* 6. SERVICES ============================================================= */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.filter {
  padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; cursor: pointer; font-family: var(--font-head); font-weight: 500; font-size: .9rem;
  color: var(--ink-soft); transition: all .2s ease;
}
.filter:hover { border-color: var(--azure); color: var(--marine); }
.filter.active { background: var(--grad-accent); border-color: transparent; color: #fff; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
}

/* --- Service card. To add a service, copy the .card block in index.html --- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
  position: absolute; left: 1rem; top: 1rem;
  background: rgba(255,255,255,.92); color: var(--marine);
  font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .04em;
  text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.card__badge {
  position: absolute; right: 1rem; top: 1rem;
  background: var(--navy); color: #fff; font-size: .72rem; font-weight: 600;
  padding: .35rem .7rem; border-radius: 999px;
}
.card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card__desc { color: var(--ink-soft); font-size: .96rem; margin: 0 0 1.1rem; }
.card__features { display: grid; gap: .5rem; margin-bottom: 1.4rem; }
.card__features li { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; color: var(--ink); }
.card__features svg { width: 1.05rem; height: 1.05rem; color: var(--aqua); flex: none; margin-top: .15rem; }
.card__body .link-arrow { margin-top: auto; }

/* 7. RENT A BOAT ========================================================== */
.rent { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.rent__gallery { position: relative; display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.rent__gallery img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 100%; object-fit: cover; }
.rent__gallery .g-main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.rent__gallery .g-sub { aspect-ratio: 4 / 3; }
.rent__specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.6rem 0 2rem; }
.spec {
  display: flex; gap: .8rem; align-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm); padding: .9rem 1rem;
}
.spec__icon {
  width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: rgba(53, 192, 198, .18); color: var(--aqua);
}
.spec__icon svg { width: 1.2rem; height: 1.2rem; }
.spec__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: #9fb8cc; }
.spec__value { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: .98rem; }

/* Accordion (FAQ) */
.accordion { margin: 1.5rem 0 2rem; border-top: 1px solid rgba(255,255,255,.14); }
.accordion__item { border-bottom: 1px solid rgba(255,255,255,.14); }
.accordion__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: #fff; text-align: left;
}
.accordion__btn svg { width: 1.2rem; height: 1.2rem; color: var(--aqua); transition: transform .3s ease; flex: none; }
.accordion__item.open .accordion__btn svg { transform: rotate(45deg); }
.accordion__panel { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.accordion__panel p { color: #bcd2e4; margin: 0 0 1.1rem; font-size: .96rem; }

/* 8. ABOUT ================================================================ */
.about { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__list { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.5rem; margin-top: 1.6rem; }
.about__list li { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.about__list svg { width: 1.4rem; height: 1.4rem; color: var(--azure); flex: none; }

/* Video */
.video-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); max-width: 900px; margin-inline: auto;
  background: var(--navy);
}
.video-frame video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }

/* CTA band */
.cta-band { position: relative; text-align: center; color: #fff; isolation: isolate; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/cta-polishing.jpg") center/cover no-repeat;
}
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(10,37,64,.94), rgba(11,93,143,.86)); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.cta-band p { color: #cfe0ee; max-width: 46ch; margin: 0 auto 1.8rem; }

/* 9. CONTACT ============================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3rem); }
.contact-info { display: grid; gap: 1rem; }
.info-card {
  display: flex; gap: 1rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm);
}
.info-card__icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--foam); color: var(--marine); }
.info-card__icon svg { width: 1.3rem; height: 1.3rem; }
.info-card__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.info-card a, .info-card p { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--navy); word-break: break-word; }
.map-embed { border: 0; width: 100%; height: 300px; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-top: .5rem; }

.socials { display: flex; gap: .6rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--marine); transition: all .2s ease;
}
.socials a:hover { background: var(--grad-accent); color: #fff; border-color: transparent; transform: translateY(-2px); }
.socials svg { width: 1.2rem; height: 1.2rem; }

/* Form */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--foam); border: 1.5px solid transparent; border-radius: 12px;
  transition: border-color .2s ease, background-color .2s ease; appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--azure); background: #fff;
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e5484d; background: #fff5f5; }
.field__error { display: none; color: #e5484d; font-size: .82rem; margin-top: .35rem; }
.field.invalid .field__error { display: block; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin: .2rem 0 1rem; }
.hp { position: absolute; left: -9999px; opacity: 0; }  /* honeypot */

.form-status { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: 12px; font-weight: 500; display: none; }
.form-status.show { display: block; }
.form-status.ok  { background: #e7f7ee; color: #10794a; border: 1px solid #b6e6cb; }
.form-status.err { background: #fdeceb; color: #b42318; border: 1px solid #f4bcb8; }

/* 10. FOOTER ============================================================== */
.footer { background: var(--navy); color: #a9c1d4; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer .brand__name { color: #fff; }
.footer__about p { margin: 1rem 0 1.2rem; max-width: 34ch; font-size: .95rem; }
.footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer__links a, .footer__contact li { display: block; padding: .3rem 0; font-size: .95rem; transition: color .2s ease; }
.footer__links a:hover { color: #fff; }
.footer__contact li { display: flex; gap: .55rem; align-items: flex-start; }
.footer__contact svg { width: 1.05rem; height: 1.05rem; color: var(--aqua); flex: none; margin-top: .28rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; justify-content: space-between;
  font-size: .88rem;
}
.footer__bottom a { color: var(--aqua); font-weight: 600; }

/* 11. UTILITIES & ANIMATIONS ============================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in-view { opacity: 1; transform: none; }

/* Back to top */
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad-accent); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 1.3rem; height: 1.3rem; }

/* 12. RESPONSIVE ========================================================= */
@media (min-width: 720px) {
  .rent { grid-template-columns: 1.05fr 1fr; }
  .about { grid-template-columns: 1fr 1.05fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* Mobile navigation: slide-down panel */
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 1rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform .3s ease; z-index: 95;
  }
  .nav-open .nav { transform: translateY(0); }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a::after { display: none; }
  .header__actions .btn--primary { display: none; }  /* keep header tidy on mobile */
}

@media (max-width: 560px) {
  .about__list { grid-template-columns: 1fr; }
  .rent__specs { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats { gap: .5rem; }
  .hero__badges { gap: .9rem 1.4rem; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
