/* ============================================================
   Kolesin Rentals - design tokens + styles
   Palette: deep navy ink + warm sand + teal accent (Miami)
   Type: Plus Jakarta Sans (headings) / Inter (body)
   ============================================================ */

:root {
  /* surfaces */
  --ink:        #0C1B2A;
  --ink-2:      #14293D;
  --sand:       #FAF7F2;
  --surface:    #FFFFFF;
  --line:       #E7E1D8;
  --line-dark:  rgba(255,255,255,.14);

  /* text */
  --text:       #0C1B2A;
  --text-muted: #55636E;
  --text-onink: #F3F6F8;
  --text-onink-muted: #A9BBC7;

  /* accents */
  --accent:        #0B7A7A;
  --accent-bright: #14B8A6;
  --accent-soft:   #E6F5F3;
  --wa:            #25D366;
  --amber:         #E8A33D;

  /* type scale */
  --fs-tiny:  0.78rem;   /* 12.5 */
  --fs-small: 0.875rem;  /* 14   */
  --fs-body:  1rem;      /* 16   */
  --fs-lead:  1.125rem;  /* 18   */
  --fs-h3:    1.25rem;   /* 20   */
  --fs-h2:    clamp(1.6rem, 1.1rem + 1.8vw, 2.35rem);
  --fs-h1:    clamp(2.1rem, 1.2rem + 3.6vw, 3.5rem);

  /* rhythm */
  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4.5rem;

  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(12,27,42,.06), 0 2px 8px rgba(12,27,42,.05);
  --shadow-md: 0 4px 12px rgba(12,27,42,.08), 0 16px 40px rgba(12,27,42,.09);

  --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1160px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.wrap-narrow { max-width: 760px; }

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-alt { background: var(--surface); }
.section-dark { background: var(--ink); color: var(--text-onink); }
.section-dark .section-sub { color: var(--text-onink-muted); }

.section-title { font-size: var(--fs-h2); font-weight: 800; }
.section-sub { margin-top: var(--sp-3); color: var(--text-muted); font-size: var(--fs-lead); max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.4rem;
  font-family: var(--font-head); font-size: var(--fs-body); font-weight: 700;
  border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:active { transform: scale(.98); }
.btn .ic { width: 20px; height: 20px; fill: currentColor; flex: none; }

.btn-wa      { background: var(--wa); color: #06331A; }
.btn-wa:hover{ background: #1FBE5B; box-shadow: var(--shadow-md); }

.btn-primary      { background: var(--ink); color: #fff; }
.btn-primary:hover{ background: var(--ink-2); box-shadow: var(--shadow-md); }
.section-dark .btn-primary       { background: var(--accent-bright); color: #04322F; }
.section-dark .btn-primary:hover { background: #2CCFBC; }

.btn-outline      { background: transparent; color: var(--ink); border-color: rgba(12,27,42,.22); }
.btn-outline:hover{ border-color: var(--ink); background: rgba(12,27,42,.04); }

.btn-sm    { min-height: 42px; padding: .5rem 1.1rem; font-size: var(--fs-small); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: var(--sp-5); min-height: 68px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); margin-right: auto; }
.brand-mark {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: .9rem; letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-head); font-size: var(--fs-body); font-weight: 700; }
.brand-text small  { font-size: var(--fs-tiny); color: var(--text-muted); }

.nav { display: flex; gap: var(--sp-5); }
.nav a {
  color: var(--text); text-decoration: none; font-size: var(--fs-small); font-weight: 500;
  padding: .5rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }

.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-tiny);
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.hero h1 { font-size: var(--fs-h1); font-weight: 800; margin-top: var(--sp-3); max-width: 16ch; }
.lede { margin-top: var(--sp-4); font-size: var(--fs-lead); color: var(--text-muted); max-width: 52ch; }

.cta-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--line);
}
.hero-trust li { display: flex; align-items: center; gap: .45rem; font-size: var(--fs-small); color: var(--text-muted); }
.hero-trust .ic { width: 18px; height: 18px; fill: var(--accent); flex: none; }

.hero-photo { margin: 0; position: relative; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  background: linear-gradient(140deg, #DCE7EA, #EFE8DE);
}
.hero-photo figcaption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(12,27,42,.82); backdrop-filter: blur(8px);
  color: #fff; padding: .75rem 1rem; border-radius: 12px;
  display: flex; flex-direction: column; line-height: 1.3;
}
.hero-photo figcaption strong { font-family: var(--font-head); font-size: var(--fs-body); }
.hero-photo figcaption span { font-size: var(--fs-tiny); color: var(--text-onink-muted); }

/* placeholders shown until real photos are uploaded */
.hero-photo.is-empty::before {
  content: "Portrait goes here"; display: grid; place-items: center;
  width: 100%; aspect-ratio: 4 / 5;
  background: linear-gradient(140deg, #DCE7EA, #EFE8DE);
  border: 2px dashed var(--line); border-radius: var(--radius-lg);
  color: var(--text-muted); font-size: var(--fs-small);
}
.placeholder-note {
  margin-top: var(--sp-5); padding: var(--sp-5);
  border: 2px dashed var(--line); border-radius: var(--radius);
  text-align: center; color: var(--text-muted); font-size: var(--fs-small);
}

/* ---------- cards ---------- */
.cards { display: grid; gap: var(--sp-4); margin-top: var(--sp-6); }
.grid-3 { grid-template-columns: 1fr; }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.section-alt .card { background: var(--sand); }
.card h3 { font-size: var(--fs-h3); font-weight: 700; margin-top: var(--sp-3); }
.card p  { margin-top: var(--sp-2); color: var(--text-muted); font-size: var(--fs-small); }
.card-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); display: grid; place-items: center;
}
.card-ic svg { width: 22px; height: 22px; fill: var(--accent); }

/* ---------- pricing ---------- */
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { border-color: var(--ink); box-shadow: var(--shadow-md); }
.tag {
  position: absolute; top: -12px; left: var(--sp-5);
  background: var(--amber); color: #3A2405;
  font-family: var(--font-head); font-size: var(--fs-tiny); font-weight: 700;
  padding: .25rem .7rem; border-radius: 999px;
}
.price-card h3 { margin-top: 0; }
.price {
  font-family: var(--font-head); font-weight: 800; font-size: 2.25rem;
  margin-top: var(--sp-3); font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}
.price-from { display: block; font-size: var(--fs-tiny); font-weight: 600; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }
.price-per  { font-size: var(--fs-body); font-weight: 600; color: var(--text-muted); }
.price-note { margin-top: auto; padding-top: var(--sp-3); }

.disclaimer { margin-top: var(--sp-5); font-size: var(--fs-tiny); color: var(--text-muted); max-width: 70ch; }

/* ---------- areas ---------- */
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--sp-3); margin-top: var(--sp-6); }
.areas a {
  display: flex; align-items: center; min-height: 64px; padding: 0 1.1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-body);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.areas a:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

/* ---------- steps ---------- */
.steps { display: grid; gap: var(--sp-4); margin-top: var(--sp-6); grid-template-columns: 1fr; counter-reset: step; }
.steps li {
  background: var(--ink-2); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: var(--sp-5);
}
.step-n {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent-bright); color: #04322F;
  font-family: var(--font-head); font-weight: 800; font-size: var(--fs-body);
}
.steps h3 { margin-top: var(--sp-3); font-size: var(--fs-h3); font-weight: 700; color: #fff; }
.steps p  { margin-top: var(--sp-2); color: var(--text-onink-muted); font-size: var(--fs-small); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); margin-top: var(--sp-6); }
.shot {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line);
  background: var(--surface); border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.shot:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.shot img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; object-position: top; background: #ECE6DD; }

.lightbox {
  border: none; padding: 0; background: transparent;
  max-width: min(92vw, 560px); max-height: 92vh;
}
.lightbox::backdrop { background: rgba(12,27,42,.85); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; height: auto; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: -46px; right: 0;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.16); color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ---------- checks ---------- */
.checks { display: grid; gap: var(--sp-3); margin-top: var(--sp-6); grid-template-columns: 1fr; }
.checks li {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: var(--sp-4); background: var(--sand);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: var(--fs-small);
}
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B7A7A'%3E%3Cpath d='m9.5 16.6-3.6-3.6 1.4-1.4 2.2 2.2 6.2-6.2 1.4 1.4-7.6 7.6Z'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ---------- form ---------- */
.lead-form { margin-top: var(--sp-6); display: grid; gap: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-row { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }

.lead-form label {
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-small); color: var(--text-onink);
}
.req { color: var(--amber); }

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="date"],
.lead-form select {
  width: 100%; min-height: 50px; padding: .7rem .9rem;
  font-family: var(--font-body); font-size: var(--fs-body); color: var(--text);
  background: #fff; border: 1px solid transparent; border-radius: 10px;
  appearance: none;
}
.lead-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2355636E'%3E%3Cpath d='m7 10 5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7rem center; background-size: 22px;
  padding-right: 2.4rem;
}
.lead-form input:focus-visible, .lead-form select:focus-visible { outline-offset: 1px; }
.lead-form input[aria-invalid="true"], .lead-form select[aria-invalid="true"] { border-color: #FF8B7B; }

.hint { font-size: var(--fs-tiny); color: var(--text-onink-muted); }
.err  { font-size: var(--fs-tiny); color: #FFB3A7; display: flex; align-items: center; gap: .3rem; }

.consent-note { font-size: var(--fs-tiny); color: var(--text-onink-muted); line-height: 1.5; }
.consent-note a { color: var(--accent-bright); }

.form-status { min-height: 1.4rem; font-size: var(--fs-small); }
.form-status:empty { min-height: 0; }
.form-status.ok  { color: #6EE7C8; }
.form-status.bad { color: #FFB3A7; }
.form-status a   { color: var(--accent-bright); }

/* ---------- footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 5vw, 4rem); }
.footer-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
.footer-brand strong { font-family: var(--font-head); font-size: var(--fs-lead); }
.footer-brand p { margin-top: var(--sp-2); color: var(--text-muted); font-size: var(--fs-small); }

.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { color: var(--text); text-decoration: none; font-size: var(--fs-small); font-weight: 500; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }

.footer-legal p { font-size: var(--fs-tiny); color: var(--text-muted); }
.eho { display: flex; align-items: center; gap: .4rem; margin-top: var(--sp-3); }
.eho-ic { width: 22px; height: 22px; flex: none; fill: var(--text-muted); }

.footer-bottom { margin-top: var(--sp-6); padding-block: var(--sp-4); border-top: 1px solid var(--line); }
.footer-bottom p { font-size: var(--fs-tiny); color: var(--text-muted); }

/* ---------- legal pages ---------- */
.legal h2 { font-size: var(--fs-h3); font-weight: 700; margin-top: var(--sp-6); }
.legal p  { margin-top: var(--sp-3); color: var(--text-muted); max-width: 68ch; }

/* ---------- sticky mobile CTA ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: .6rem;
  padding: .6rem clamp(.75rem, 4vw, 1rem);
  padding-bottom: calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(250,247,242,.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn { min-height: 46px; font-size: var(--fs-small); }

/* ---------- responsive ---------- */
@media (max-width: 899px) {
  body { padding-bottom: 76px; }   /* room for the sticky bar */
  .nav, .header-cta { display: none; }
}

@media (min-width: 600px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .checks { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin-inline: auto; }
}

@media (min-width: 900px) {
  .mobile-bar { display: none; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

@media (min-width: 1100px) {
  .checks { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
