/* Trazo Executive
   Tinta #1C1B19 · Papel #F4F0E8 · Latón #B49A6C
   Piedra #8C877C · Niebla #D8D3C8 · Tinta suave #3A3834
   Cormorant Garamond (titles) · Outfit (interface) */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --tinta: #1c1b19;
  --papel: #f4f0e8;
  --laton: #b49a6c;
  --piedra: #8c877c;
  --niebla: #d8d3c8;
  --suave: #3a3834;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", Helvetica, Arial, sans-serif;
  --header-h: calc(4.25rem + 2px);
  --wrap: 68rem;
  --rule: color-mix(in srgb, var(--tinta) 28%, var(--papel));
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--tinta);
  outline-offset: 3px;
}

.site-header :focus-visible,
.hero :focus-visible,
.band--ink :focus-visible,
.site-footer :focus-visible,
.nav-panel :focus-visible,
.wa-float:focus-visible {
  outline-color: var(--laton);
}

::selection {
  background: var(--laton);
  color: var(--tinta);
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--papel);
  color: var(--tinta);
  padding: 0.6rem 0.9rem;
  z-index: 80;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.4rem));
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--suave);
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  flex: none;
}

.lede {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--suave);
  max-width: 38rem;
}

.lede a,
.services a,
.rates-foot a,
.form-hint a,
.prose a {
  color: var(--tinta);
}

.stack-top {
  margin-top: 1.6rem;
}

.prose-pad {
  padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
}

.btn--line {
  background: transparent;
  color: var(--tinta);
  border-color: var(--tinta);
}

.btn--line:hover {
  background: var(--tinta);
  color: var(--papel);
}

.band {
  padding: clamp(4.25rem, 9vw, 7.5rem) 0;
}

.band--mist {
  background: var(--niebla);
}

.band--ink {
  background: var(--tinta);
  color: var(--papel);
}

.band--ink .eyebrow,
.hero .eyebrow {
  color: var(--laton);
}

.band--ink .lede {
  color: var(--niebla);
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  max-width: 40rem;
}

h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.5rem, 5vw, 4.15rem);
  line-height: 0.98;
}

h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  line-height: 1.1;
}

.num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--suave);
  letter-spacing: 0.04em;
}

/* Header ------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--tinta);
  color: var(--papel);
  border-top: 2px solid var(--laton);
}

.header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.85rem 1.15rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}

.brand__mark {
  width: 2.45rem;
  height: 2.45rem;
  display: block;
  flex: none;
}

.brand__name {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.brand__fillet {
  display: block;
  width: 1.55rem;
  height: 1px;
  margin: 0.28rem 0 0.22rem;
  background: var(--laton);
}

.brand__sub {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.nav-desktop a {
  color: var(--niebla);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-desktop a:hover {
  color: var(--papel);
}

.langs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 500;
  flex-shrink: 0;
}

.langs a {
  color: var(--piedra);
  text-decoration: none;
}

.langs a[aria-current="page"] {
  color: var(--papel);
}

.langs span {
  color: var(--piedra);
}

a.header__reserve {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 2.4rem;
  padding: 0.35rem 0.7rem;
  background: transparent;
  color: var(--papel);
  border: 1px solid var(--niebla);
  font: 500 0.68rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-toggle[aria-expanded="false"] .menu-toggle__close,
.menu-toggle[aria-expanded="true"] .menu-toggle__open {
  display: none;
}

.nav-panel[hidden] {
  display: none;
}

.nav-panel {
  position: fixed;
  z-index: 1;
  inset: var(--header-h) 0 0 0;
  background: var(--tinta);
  overflow: auto;
  padding: 1.5rem 0 3rem;
}

.nav-panel a {
  display: block;
  padding: 0.35rem 0;
  color: var(--papel);
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 8vw, 3.3rem);
  font-weight: 500;
  line-height: 1.05;
}

.nav-panel a:hover {
  color: var(--laton);
}

/* Buttons and links ------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--tinta);
  background: var(--tinta);
  color: var(--papel);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: var(--suave);
  border-color: var(--suave);
}

.btn--paper {
  background: var(--papel);
  border-color: var(--papel);
  color: var(--tinta);
}

.btn--paper:hover {
  background: var(--laton);
  border-color: var(--laton);
  color: var(--tinta);
}

.btn--ghost {
  background: transparent;
  color: var(--papel);
  border-color: var(--papel);
}

.btn--ghost:hover {
  background: var(--papel);
  color: var(--tinta);
}

.btn--small {
  min-height: 2.4rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.66rem;
}

.link {
  color: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-underline-offset: 0.28em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
}

/* Hero ------------------------------------------------- */

.hero {
  background: var(--tinta);
  color: var(--papel);
  padding: clamp(2.4rem, 6vw, 4.5rem) 0 clamp(2.6rem, 6vw, 4.25rem);
}

.hero__grid {
  display: grid;
  gap: 2.4rem;
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(3.15rem, 8vw, 6.15rem);
  line-height: 0.96;
  font-weight: 500;
}

.hero__lead {
  max-width: 34rem;
  margin: 0 0 1.8rem;
  color: var(--niebla);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.5;
}

.hero .link {
  color: var(--niebla);
}

.hero__meta {
  margin-top: 1.8rem;
  color: var(--niebla);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__media img,
.plate img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--tinta);
}

.plate figcaption {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--suave);
}

/* Services --------------------------------------------- */

.services {
  list-style: none;
  margin: 0;
  padding: 0;
}

.services li {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.45rem 0;
  border-top: 1px solid var(--piedra);
}

.services li:last-child {
  border-bottom: 1px solid var(--piedra);
}

.services h3 {
  margin-bottom: 0.3rem;
}

.services p {
  max-width: 38rem;
  color: var(--suave);
}

/* Vehicle ---------------------------------------------- */

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.specs {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}

.specs li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--piedra);
}

.specs li:last-child {
  border-bottom: 1px solid var(--piedra);
}

.note {
  margin-top: 1.15rem;
  color: var(--suave);
}

/* Rates ------------------------------------------------ */

.rates {
  width: 100%;
  border-collapse: collapse;
}

.rates caption {
  caption-side: top;
  text-align: left;
  margin: 0 0 1.15rem;
  color: var(--suave);
  font-weight: 300;
}

.rates th {
  text-align: left;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--suave);
  padding: 0 0 0.75rem;
  border-bottom: 1px solid var(--tinta);
}

.rates td {
  padding: 1.05rem 1rem 1.05rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--tinta) 35%, var(--niebla));
  vertical-align: baseline;
}

.rates th:last-child,
.rates td:last-child {
  text-align: right;
  padding-right: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
}

.rates td:last-child {
  font-size: 1.35rem;
  font-weight: 400;
}

.route-arrow {
  font-family: var(--serif);
  font-weight: 500;
  padding: 0 0.12em;
}

.rates-foot {
  margin-top: 1rem;
  color: var(--suave);
}

.rates-foot a {
  color: var(--tinta);
}

.opening {
  margin-top: 2.6rem;
  max-width: 40rem;
}

.opening p:not(.eyebrow) {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.25;
  color: var(--tinta);
}

.opening .actions {
  margin-top: 1.15rem;
}

/* Reserve ---------------------------------------------- */

.steps {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}

.steps li {
  border-top: 1px solid var(--piedra);
  padding-top: 0.9rem;
}

.steps p {
  color: var(--suave);
  max-width: 28rem;
}

.quote {
  border-top: 1px solid var(--piedra);
  padding-top: 1.6rem;
}

.form-grid {
  display: grid;
  gap: 1.15rem 1.4rem;
  margin-top: 1.4rem;
}

.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--suave);
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0;
  border: 0;
  border-bottom: 1px solid var(--tinta);
  border-radius: 0;
  background: transparent;
  color: var(--tinta);
  font: 400 1rem/1.4 var(--sans);
  appearance: none;
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.2 L6 6.2 L11 1.2' fill='none' stroke='%231C1B19' stroke-width='1.2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.15rem center;
  padding-right: 1.4rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--laton);
  border-bottom-width: 2px;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--tinta);
  outline-offset: 4px;
}

.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--tinta);
  box-shadow: 0 0 0 1000px var(--papel) inset;
}

.field textarea::placeholder,
.field input::placeholder {
  color: var(--suave);
  opacity: 0.85;
}

.form-actions {
  margin-top: 0.4rem;
}

.form-hint {
  margin-top: 1rem;
  max-width: 40rem;
  color: var(--suave);
  font-size: 0.98rem;
}

.form-hint a {
  color: var(--tinta);
}

/* FAQ -------------------------------------------------- */

.faqs details {
  border-top: 1px solid var(--piedra);
}

.faqs details:last-child {
  border-bottom: 1px solid var(--piedra);
}

.faqs summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.05rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 400;
  color: var(--tinta);
}

.faqs summary::-webkit-details-marker {
  display: none;
}

.faqs summary .mark {
  flex: none;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--suave);
}

.faqs summary .mark::before {
  content: "+";
}

.faqs details[open] summary .mark::before {
  content: "–";
}

.faqs details p {
  margin: 0 0 1.15rem;
  max-width: 40rem;
  color: var(--suave);
}

/* Footer ----------------------------------------------- */

.site-footer {
  background: var(--tinta);
  color: var(--papel);
  padding: clamp(3.2rem, 7vw, 5rem) 0 1.6rem;
}

.foot-grid {
  display: grid;
  gap: 2rem;
}

.tagline {
  margin-top: 0.9rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--niebla);
}

.foot-label {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--laton);
}

.plain {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plain li + li {
  margin-top: 0.4rem;
}

.site-footer a {
  color: var(--papel);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.fine {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  justify-content: space-between;
  margin-top: 2.6rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--papel) 24%, transparent);
  color: var(--piedra);
  font-size: 0.85rem;
}

.fine a {
  color: var(--niebla);
}

/* Floating WhatsApp — mobile only ---------------------- */

.wa-float {
  display: none;
}

/* Prose (privacy, 404) --------------------------------- */

.prose {
  max-width: 42rem;
}

.prose h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 0.98;
  font-weight: 500;
}

.prose .updated {
  margin-bottom: 1.6rem;
  color: var(--suave);
  font-size: 0.95rem;
}

.prose h2 {
  margin-top: 2.2rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.prose p,
.prose li {
  color: var(--suave);
}

.prose p + p,
.prose ul {
  margin-top: 0.8rem;
}

.prose ul {
  margin-bottom: 0;
  padding-left: 1.1rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose a {
  color: var(--tinta);
}

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 0;
}

.missing {
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.missing .mark-xl {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.4rem;
}

/* Layout breaks ---------------------------------------- */

@media (min-width: 720px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 4rem));
  }

  .services li {
    grid-template-columns: 4rem 1fr;
    align-items: baseline;
    gap: 1rem 2rem;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid .full {
    grid-column: 1 / -1;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .foot-grid {
    grid-template-columns: 1.3fr 1fr 0.9fr;
    gap: 2rem 3rem;
  }
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}

@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.78fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: end;
  }
}

@media (min-width: 1040px) {
  .nav-desktop {
    display: flex;
  }

  a.header__reserve {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 720px) {
  .wa-float {
    display: flex;
    position: fixed;
    z-index: 30;
    right: calc(1rem + env(safe-area-inset-right));
    bottom: calc(1rem + env(safe-area-inset-bottom));
    width: 3.5rem;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tinta);
    color: var(--papel);
    border: 1px solid var(--laton);
    text-decoration: none;
  }

  body.nav-open .wa-float {
    visibility: hidden;
  }

  .site-footer {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .brand__fillet,
  .brand__sub {
    display: none;
  }

  .brand__mark {
    width: 2rem;
    height: 2rem;
  }

  .brand__name {
    font-size: 1.15rem;
    letter-spacing: 0.12em;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header,
  .wa-float,
  .menu-toggle,
  .nav-panel,
  .skip {
    display: none !important;
  }

  body,
  .hero,
  .band--ink,
  .site-footer,
  .band--mist {
    background: #fff !important;
    color: #000 !important;
  }

  a {
    text-decoration: underline;
  }
}
