@font-face {
  font-family: "Young Serif";
  src: url("/fonts/young-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --fondo: #fbf3ee;
  --rosado: #f5e3e1;
  --tinta: #43302b;
  --menta: #2e7d6b;
  --menta-oscuro: #1f5f50;
  --rosa: #c4737e;
  --dorado: #b88a2e;
  --papel: #fffdf8;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ancho: 68rem;
}

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

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

body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 10vw, 4.75rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 6vw, 2.75rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }

p { margin: 0 0 1em; max-width: 62ch; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--menta-oscuro); text-underline-offset: .22em; }
a:hover { color: var(--rosa); }

:focus-visible {
  outline: 3px solid var(--tinta);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #fff;
  border-radius: 6px;
}

.salto {
  position: absolute; left: -999px; top: 0; z-index: 30;
  background: var(--tinta); color: #fff; padding: .7rem 1rem;
}
.salto:focus { left: 0; color: #fff; }

.wrap { width: min(100% - 2.5rem, var(--ancho)); margin-inline: auto; }
.texto-ancho > * { max-width: 46rem; }
section { padding-block: clamp(3rem, 8vw, 5.5rem); }

/* Botones */
.botones { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .75rem 1.6rem;
  background: var(--menta); color: #fff;
  border: 2px solid var(--menta);
  border-radius: 999px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none;
  transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--menta-oscuro); border-color: var(--menta-oscuro); color: #fff; }
.btn.sec { background: transparent; color: var(--menta-oscuro); }
.btn.sec:hover { background: var(--menta-oscuro); color: #fff; }
.btn.wa { background: #1c6b3f; border-color: #1c6b3f; }
.btn.claro { background: var(--fondo); border-color: var(--fondo); color: var(--tinta); }
.btn.claro:hover { background: #fff; border-color: #fff; color: var(--tinta); }

/* Cabecera */
.hero { padding-block: clamp(2.5rem, 8vw, 5rem) clamp(2.5rem, 6vw, 3.5rem); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-logo { order: -1; position: relative; width: min(62vw, 15rem); }
.hero-logo::before {
  content: ""; position: absolute; inset: -.9rem -.9rem .9rem .9rem;
  border: 3px solid var(--dorado); border-radius: 50%; opacity: .7;
}
.hero-logo img {
  position: relative; border-radius: 50%; width: 100%; aspect-ratio: 1;
  object-fit: cover; box-shadow: 0 10px 28px rgb(67 48 43 / .16);
}
.lema { font-size: clamp(1.2rem, 4vw, 1.5rem); font-weight: 500; margin-bottom: .4rem; }
.sublema { color: var(--menta-oscuro); font-weight: 700; margin-bottom: 1.5rem; }
@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.3fr 1fr; gap: 3rem; }
  .hero-logo { order: 0; width: min(100%, 22rem); justify-self: center; }
}

/* Cartel de cierre */
.cartel {
  position: relative;
  max-width: 34rem;
  margin: .5rem auto 0 0;
  padding: 2.25rem 1.75rem 1.9rem;
  background: var(--papel);
  outline: 2px dashed var(--rosa);
  outline-offset: -12px;
  box-shadow: 0 14px 30px rgb(67 48 43 / .14);
  transform: rotate(-1.2deg);
  animation: asentar .9s cubic-bezier(.2, .8, .2, 1) both;
}
.cartel::before {
  content: ""; position: absolute; top: -.8rem; left: 50%;
  width: 6.5rem; height: 1.7rem; margin-left: -3.25rem;
  background: rgb(46 125 107 / .38); transform: rotate(2.5deg);
}
.cartel h2 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
.cartel .btn { margin-top: .5rem; }
@keyframes asentar {
  from { transform: rotate(-5deg) translateY(-10px); opacity: 0; }
  to { transform: rotate(-1.2deg); opacity: 1; }
}

/* Quiénes somos */
.destacado { font-family: var(--serif); font-size: clamp(1.35rem, 4.2vw, 1.8rem); line-height: 1.4; }

/* Qué hacemos */
.rosado { background: var(--rosado); }
.intro { font-size: 1.15rem; }
.galeria { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.arco { margin: 0; }
.arco img {
  width: 100%; object-fit: cover;
  border-radius: 999px 999px 18px 18px;
  box-shadow: 0 8px 22px rgb(67 48 43 / .12);
}
.arco-1 img, .arco-2 img { aspect-ratio: 4 / 5; }
.arco-3 img { aspect-ratio: 5 / 6; }
.arco figcaption { padding-top: 1rem; }
.arco figcaption p { margin: 0; }
.arco-2 { width: 82%; margin-left: auto; }
.arco-3 { width: 58%; }
@media (min-width: 800px) {
  .galeria { grid-template-columns: 1.6fr 1.2fr .8fr; align-items: end; gap: 2.25rem; }
  .arco-2, .arco-3 { width: auto; margin: 0; }
}

/* Para negocios */
.banda { background: var(--menta); color: #fff; }
.banda h2 { color: #fff; }

/* Dónde estamos */
.donde { display: grid; gap: 2.25rem; }
address { font-style: normal; font-family: var(--serif); font-size: clamp(1.4rem, 4.5vw, 1.8rem); line-height: 1.35; margin-bottom: 1rem; }
.tel { font-family: var(--serif); font-size: clamp(1.7rem, 6vw, 2.3rem); margin-bottom: .5rem; }
.insignias { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .5rem; }
.insignias li { font-weight: 600; }
.insignias span { display: inline-block; width: 1.8rem; }
.resenas { margin: 1.5rem 0 0; font-weight: 600; }
@media (min-width: 800px) { .donde { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }

/* Pie */
footer { background: var(--tinta); color: #f3e3dc; padding-block: 2.5rem; font-size: .98rem; }
footer a { color: #fff; }
footer p { margin-bottom: .75rem; }
footer ul { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* Páginas legales */
.legal { max-width: 46rem; padding-block: 3rem; }
.legal h2 { margin-top: 1.8em; font-size: 1.5rem; }

/* Botón fijo de llamar (solo móvil) */
.llamar-fijo { display: none; }
@media (max-width: 759px) {
  body { padding-bottom: 5.5rem; }
  .botones .btn { width: 100%; }
  .llamar-fijo {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 20;
    min-height: 56px; border-radius: 999px;
    background: var(--menta-oscuro); color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none;
    box-shadow: 0 6px 20px rgb(0 0 0 / .3);
  }
  .llamar-fijo:hover { color: #fff; }
  .llamar-fijo::before { content: "📞"; margin-right: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cartel { animation: none; }
  .btn { transition: none; }
}
