/* ==========================================================================
   EKORUEDAS · estilos compartidos (index, Derio y citas)
   Colores y tipografía tomados del logo.
   Para cambiar un color en toda la web, edita las variables de :root.
   ========================================================================== */

/* ÍNDICE
   1. Tipografía
   2. Botones
   3. Cabecera
   4. Portada de cada taller
   5. Servicios: lista, no tarjetas
   6. El taller
   7. Cita y formulario
   8. Preguntas frecuentes
   9. Contacto y mapa
   10. Pie de página
   11. Portada (index)
   12. Adaptación a pantallas pequeñas
   ----------------------------------------------------------------------
   El resto de animaciones y componentes nuevos están en fx.css, que se
   carga justo después de este archivo y tiene su propio índice. */

@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --lime: #93d600; /* "eko" del logo */
  --teal: #00827c; /* "ruedas" del logo */
  --deep: #053a37; /* verde muy oscuro: fondos oscuros y pie de página */
  --ink: #0a2c2a; /* títulos */
  --text: #2f4a48; /* texto de lectura */
  --muted: #587270; /* texto secundario */
  --mist: #f3f9e3; /* fondo suave verdoso */
  --line: #d8e5c6; /* líneas finas */
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p,
ul,
dl,
dd {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.on-dark :focus-visible {
  outline-color: var(--lime);
}

.wrap {
  width: min(1200px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.section {
  padding-block: clamp(48px, 6vw, 88px);
}
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Tipografía ---------- */
h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
}
h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 34em;
}
.small {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Marca escrita: "eko" lima + "ruedas" verde fuerte, en minúsculas como el logo */
.wordmark {
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: lowercase;
}
.wordmark .eko {
  color: var(--lime);
}
.wordmark .ruedas {
  color: var(--teal);
}
.on-dark .wordmark .ruedas,
.site-footer .wordmark .ruedas {
  color: #fff;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 0;
  border-radius: 99px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  transition: background 0.15s;
}
.btn:hover {
  background: #a6e61a;
}
.btn-teal {
  background: var(--teal);
  color: #fff;
}
.btn-teal:hover {
  background: #006b66;
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: #000;
}
.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.link {
  font-weight: 500;
  color: var(--ink);
  border-bottom: 2px solid var(--lime);
  padding-bottom: 2px;
}
.link:hover {
  border-color: var(--teal);
}

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 42px;
  width: auto;
}
.brand .wordmark {
  font-size: 1.65rem;
}
.brand .place {
  padding: 3px 12px;
  border-radius: 99px;
  background: var(--mist);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}
.nav a:not(.btn):hover {
  color: var(--teal);
}
.nav .switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
}
#menu {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
  color: var(--ink);
  place-items: center;
}
#menu .icon {
  width: 24px;
  height: 24px;
}

/* ---------- Portada de cada taller ---------- */
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 88px);
}
.hero h1 {
  margin-bottom: 22px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 32px;
}
.hours {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--muted);
}
.hours .icon {
  color: var(--teal);
}

/* La "lente": foto dentro de elipses inclinadas, como el símbolo del logo */
.lens {
  width: 100%;
  height: auto;
  overflow: visible;
}
.lens .l-lime {
  fill: var(--lime);
}
.lens .l-ring {
  fill: none;
  stroke: var(--teal);
}

.strip {
  background: var(--mist);
}
.strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 22px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.strip li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.strip li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
}

/* ---------- Servicios: lista, no tarjetas ---------- */
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
  align-items: end;
  margin-bottom: 48px;
}
.services-head p {
  max-width: 30em;
  justify-self: end;
}
.services-head .small {
  display: block;
  margin-top: 8px;
}
.service-list {
  border-top: 2px solid var(--ink);
}
.service {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr) auto;
  gap: 20px 32px;
  align-items: center;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}
.service .ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--teal);
}
.service .ico .icon {
  width: 26px;
  height: 26px;
}
.service h3 {
  margin-bottom: 6px;
}
.service p {
  font-size: 0.95rem;
}
.service li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  line-height: 1.8;
}
.service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}
.ask {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  background: transparent;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.ask:hover {
  background: var(--lime);
  border-color: var(--lime);
}
.case {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--ink);
}
.case h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.case p {
  max-width: 32em;
}

/* ---------- El taller ---------- */
.about {
  background: var(--mist);
}
.about .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1.05;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo p {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 24px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}
.about h2 {
  margin-bottom: 20px;
}
.about .small {
  margin-top: 14px;
}
.principle {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.principle:first-of-type {
  margin-top: 32px;
}
.principle b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.85rem;
}
.principle h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.principle p {
  font-size: 0.9rem;
}

/* ---------- Cita y formulario ---------- */
.booking {
  background: var(--deep);
  color: #cfe6e1;
}
.booking h2 {
  color: #fff;
}
.booking .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.booking .lead {
  margin-top: 20px;
  color: #cfe6e1;
}
.phones {
  display: grid;
  gap: 4px;
  margin: 32px 0 20px;
}
.phone-big {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  color: var(--lime);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.phone-big .icon {
  width: 0.8em;
  height: 0.8em;
}
.phone-big:hover {
  color: #fff;
}
.booking .hours {
  color: #cfe6e1;
  margin-top: 0;
}
.booking .hours .icon {
  color: var(--lime);
}
.booking .future {
  margin-top: 24px;
  padding-left: 16px;
  border-left: 3px solid var(--lime);
  font-size: 0.95rem;
}

form {
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
}
.form-title {
  margin-bottom: 24px;
}
.form-title h3 {
  font-size: 1.4rem;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}
.field.wide {
  grid-column: 1 / -1;
}
.field .hint {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
}
input,
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1.5px solid #c3d4ae;
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
}
input,
select {
  height: 54px;
}
textarea {
  resize: vertical;
  min-height: 96px;
}
input::placeholder,
textarea::placeholder {
  color: #7f9390;
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 130, 124, 0.3);
  border-color: var(--teal);
}

/* La matrícula tiene su propio apartado, con aspecto de placa */
.plate {
  display: flex;
  height: 54px;
  margin-top: 8px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: #fff;
}
.plate::before {
  content: "E";
  display: grid;
  align-items: end;
  justify-items: center;
  flex: none;
  width: 40px;
  padding-bottom: 6px;
  background: #0a4aa6;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}
.plate input {
  height: 100%;
  margin: 0;
  padding-block: 0;
  border: 0;
  border-radius: 0;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.plate input:focus {
  outline: none;
}
.plate:focus-within {
  outline: 3px solid rgba(0, 130, 124, 0.35);
  border-color: var(--teal);
}

#submit {
  width: 100%;
  margin-top: 22px;
  padding-block: 16px;
}
.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}
.result {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--mist);
}
.result[hidden] {
  display: none;
}
.result h4 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  color: var(--ink);
}
.result.is-ok {
  border-color: var(--teal);
}
.result.is-warn {
  border-color: var(--lime);
}
pre {
  margin: 14px 0;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 0.875rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--ink);
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
#copy-status {
  font-size: 0.85rem;
  color: var(--teal);
}

/* ---------- Preguntas frecuentes ---------- */
.faq .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.callout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 26px 28px;
  border-radius: 24px;
  background: var(--lime);
  color: var(--ink);
}
.callout .ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
}
.callout h3 {
  margin-bottom: 4px;
  font-size: 1.3rem;
}
.callout p {
  font-size: 0.95rem;
}
.callout a {
  font-weight: 700;
  border-bottom: 2px solid var(--ink);
}
details {
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  color: var(--ink);
  font-weight: 500;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  color: var(--teal);
  font-size: 1.5rem;
  line-height: 1;
}
details[open] summary::after {
  content: "−";
}
details p {
  margin-top: 14px;
  font-size: 0.95rem;
}

/* ---------- Contacto y mapa ---------- */
.contact {
  background: var(--mist);
}
.contact .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.contact h2 {
  margin-bottom: 18px;
}
.contact .actions {
  margin-top: 28px;
}
.info dt {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.info dd {
  margin-bottom: 24px;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
}
.info dd:last-child {
  margin-bottom: 0;
}
.info a:hover {
  color: var(--teal);
}
.map {
  padding-top: 0;
  background: var(--mist);
}
.map iframe {
  display: block;
  width: 100%;
  height: clamp(300px, 40vw, 440px);
  border: 0;
  border-radius: var(--radius);
  background: #e4efd0;
}
.map .small {
  margin-top: 14px;
}
.other {
  display: inline-block;
  margin-top: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 2px solid var(--lime);
  padding-bottom: 2px;
}
.other:hover {
  border-color: var(--teal);
}

/* ---------- Pie de página ---------- */
.site-footer {
  background: var(--deep);
  color: #b9d6d1;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr;
  gap: 40px;
  padding-block: 64px 44px;
}
.site-footer h2 {
  margin-bottom: 16px;
  font-size: 1rem;
  letter-spacing: 0;
  color: #fff;
}
.site-footer .wordmark {
  font-size: 2rem;
}
.site-footer .tagline {
  margin-top: 14px;
  max-width: 22em;
}
.site-footer address {
  font-style: normal;
}
.site-footer li + li {
  margin-top: 8px;
}
.site-footer a:hover {
  color: var(--lime);
}
.site-footer .tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}
.footer-contact {
  display: grid;
  gap: 14px;
}
.footer-contact p {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-contact .icon {
  margin-top: 0.25em;
  color: var(--lime);
}
.site-footer > .footer-bottom:first-child {
  border-top: 0;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
}
.footer-bottom button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom button:hover,
.footer-bottom a:hover {
  color: var(--lime);
}

dialog {
  width: min(560px, 92%);
  padding: 36px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
}
dialog::backdrop {
  background: rgba(5, 58, 55, 0.6);
}
dialog h2 {
  margin-bottom: 16px;
  font-size: 1.8rem;
}
dialog p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}
#legal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
}

/* ---------- Portada (index) ---------- */
.home-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(48px, 8vw, 112px) clamp(32px, 5vw, 56px);
}
.home-mark {
  width: clamp(110px, 14vw, 170px);
  height: auto;
  margin-bottom: 18px;
}
.home-title {
  font-size: clamp(3.2rem, 9.6vw, 7.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 26px;
}
.notice {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--mist);
  border: 1.5px solid var(--line);
}
.notice .ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}
.notice h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.notice p + p {
  margin-top: 12px;
}
.notice .hours {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-bottom: clamp(64px, 8vw, 104px);
}
.branch {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.4vw, 44px);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.branch:hover,
.branch:focus-within {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(147, 214, 0, 0.22);
}
.branch .name {
  color: var(--teal);
  font-weight: 500;
}
.branch h2 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  letter-spacing: -0.04em;
}
.branch address {
  font-style: normal;
  margin-bottom: 8px;
}
.branch .tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 28px;
  color: var(--ink);
  font-weight: 700;
}
.branch .tel:hover {
  color: var(--teal);
}
.branch .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Adaptación a pantallas pequeñas ---------- */
@media (max-width: 1000px) {
  .service {
    grid-template-columns: 56px minmax(0, 1fr) auto;
  }
  .service ul {
    grid-column: 2;
    grid-row: 2;
  }
  .service .ask {
    grid-column: 3;
    grid-row: 1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  #menu {
    display: grid;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--gutter) 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(5, 58, 55, 0.12);
    font-size: 1rem;
  }
  .nav.open {
    display: flex;
  }
  .nav a:not(.btn) {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav .btn {
    margin-top: 12px;
  }
  .hero .wrap,
  .about .wrap,
  .booking .wrap,
  .faq .wrap,
  .contact .wrap,
  .home-hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero .lens-wrap {
    max-width: 560px;
  }
  .services-head {
    grid-template-columns: 1fr;
  }
  .services-head p {
    justify-self: start;
  }
  .about-photo {
    aspect-ratio: 4 / 3;
  }
  .branches {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .site-header .wrap {
    height: 72px;
  }
  .brand img {
    height: 36px;
  }
  .brand .wordmark {
    font-size: 1.4rem;
  }
  .brand .place {
    display: none;
  }
  .service {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px 16px;
  }
  .service .ico {
    width: 48px;
    height: 48px;
  }
  .service ul,
  .service .ask {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .service .ask {
    justify-self: start;
  }
  .fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }
  .strip ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .callout {
    flex-direction: column;
  }
  dialog {
    padding: 28px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
