:root {
  --grafito: #3d3d3f;
  --gris: #C1C0C2;
  --rosa-claro: #F5E9E7;
  --rosa: #ECC5C6;
  --azul: #8A9DB1;
  --oliva: #837D68;
  --radio: 20px;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.6;
  color: var(--grafito);
  background: var(--rosa-claro);
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--grafito); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 8vw, 4.5rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.2rem; margin-bottom: .3em; }
p { margin: 0 0 1em; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(245, 233, 231, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rosa);
}
.brand img { display: block; height: 44px; width: auto; }
.top nav { display: flex; align-items: center; gap: 1.4rem; font-weight: 700; }
.top nav a { text-decoration: none; }
.top nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }

/* Botones */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  background: var(--grafito);
  color: var(--rosa-claro);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid var(--grafito);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--rosa); color: var(--grafito); }
.btn-sm { padding: .4rem 1.1rem; }
.btn-ghost { background: transparent; color: var(--grafito); }
.btn-ghost:hover { background: var(--grafito); color: var(--rosa-claro); }

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.hero-text p { font-size: 1.15rem; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.hero-photo {
  aspect-ratio: 3 / 4;
  background: #fff;
  border-radius: 999px 999px var(--radio) var(--radio);
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 10px var(--rosa);
}
.hero-photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* Secciones */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem); }
.lead { max-width: 60ch; margin-bottom: 2rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { text-decoration: none; display: block; }
.card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: var(--gris); border-radius: var(--radio); margin-bottom: 1rem; transition: transform .2s; }
.card:hover img { transform: translateY(-4px); }
.card p { margin: 0; }
.ph-pink { background: var(--rosa); }
.ph-blue { background: var(--azul); }
.ph-olive { background: var(--oliva); }

.band { max-width: none; background: var(--rosa); text-align: center; }
.band > p { max-width: 62ch; margin-left: auto; margin-right: auto; }
.band .actions { justify-content: center; }
.thanks { margin-top: 2rem; font-weight: 700; font-size: 1.2rem; }
.why { list-style: none; margin: 1.5rem auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why strong { display: block; font-size: 1.1rem; margin-bottom: .3rem; }

.steps { margin: 1.5rem 0 0; padding-left: 1.4rem; display: grid; gap: .8rem; max-width: 60ch; }

.faq { max-width: 70ch; display: grid; gap: .7rem; margin-top: 1.5rem; }
details { background: #fff8f7; border: 2px solid var(--rosa); border-radius: 14px; padding: .9rem 1.2rem; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: .7rem 0 0; }

.cta { text-align: center; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 1.5rem; align-items: start; }
.contact form { display: grid; gap: .5rem; }
.contact label { font-weight: 700; }
.contact input, .contact textarea { font: inherit; color: inherit; padding: .7rem .9rem; border: 2px solid var(--rosa); border-radius: 12px; background: #fff8f7; width: 100%; }
.contact button { justify-self: start; margin-top: .6rem; cursor: pointer; font: inherit; font-weight: 700; }
.wa-text { margin: .6rem 0 0; font-size: .9rem; }
.map iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radio); display: block; }
.map p { margin: .7rem 0 0; }

/* Footer */
footer { background: var(--gris); text-align: center; padding: 2.5rem 1rem; }
footer img { height: 42px; width: auto; }
footer p { margin: .5rem 0 0; }
.small { font-size: .85rem; }

/* Responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { max-width: 380px; width: 100%; margin: 0 auto; }
  .grid { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .top nav a:not(.btn) { display: none; }
  .grid, .why { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; text-align: center; }
}
