/* Mírame Fotografía — estilos propios */

:root {
  --tinta: #3a332e;
  --teal: #00838f;
  --teal-oscuro: #00636c;
  --crema: #fbf8f4;
  --crema-2: #f2ece3;
  --blanco: #ffffff;
  --texto: #3a332e;
  --texto-tenue-oscuro: #c9c2ba;
  --borde: rgba(58,51,46,.12);

  --mk-primario: var(--teal);
  --mk-secundario: var(--tinta);
  --mk-fondo: var(--crema);
  --mk-texto: var(--texto);

  --font-titulo: 'Cormorant Garamond', 'Georgia', serif;
  --font-texto: 'Jost', 'Segoe UI', sans-serif;

  --arch-radius: clamp(28px, 9vw, 130px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-texto);
  color: var(--texto);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, blockquote { font-family: var(--font-titulo); margin: 0; font-weight: 500; }
p { margin: 0; line-height: 1.7; }
ul { margin: 0; padding: 0; list-style: none; }

.arch {
  border-radius: 50% 50% 0 0 / var(--arch-radius) var(--arch-radius) 0 0;
  overflow: hidden;
  position: relative;
}
.arch img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.eyebrow {
  font-family: var(--font-texto);
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal); font-weight: 600; margin: 0 0 .8rem;
}
.eyebrow--light { color: #7fd4dc; }

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.16; max-width: 20ch;
}
.section-title--light { color: var(--blanco); }
.section-sub { max-width: 56ch; margin: 1rem auto 0; color: #6b6259; font-size: 1.02rem; text-align: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.7rem; border-radius: 999px; font-weight: 500; font-size: .95rem;
  font-family: var(--font-texto);
  transition: transform .35s cubic-bezier(.22,1,.36,1), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn-solid { background: var(--teal); color: var(--blanco); }
.btn-solid:hover { transform: translateY(-2px); background: var(--teal-oscuro); }
.btn-ghost { border: 1.5px solid currentColor; color: inherit; }
.btn-ghost:hover { transform: translateY(-2px); background: rgba(0,131,143,.08); }
.btn-grande { padding: 1.1rem 2.2rem; font-size: 1.02rem; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  display: flex; align-items: center; gap: 1.4rem;
  padding: .7rem clamp(1.2rem, 4vw, 3rem);
  background: rgba(251,248,244,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--borde);
}
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; gap: 1.8rem; flex: 1; justify-content: center; }
.site-nav a { font-size: .92rem; font-weight: 500; color: var(--texto); position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0; background: var(--teal); transition: width .3s; }
.site-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: .7rem; }
.icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--borde); color: var(--teal); transition: background .3s;
}
.icon-btn:hover { background: var(--crema-2); }
.icon-btn svg { width: 17px; height: 17px; fill: currentColor; }
.header-cta { padding: .7rem 1.3rem; font-size: .88rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 34px; height: 34px; border: none; background: none; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; height: 2px; background: var(--tinta); border-radius: 2px; }

/* ---------- HERO ---------- */
.hero { padding: clamp(2rem, 5vw, 3.5rem) clamp(1.2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); text-align: center; }
.hero-top { max-width: 720px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.12; margin-top: .3rem; }
.hero-arch-frame {
  position: relative; width: min(880px, 94vw); height: clamp(360px, 62vh, 720px);
  margin: clamp(2rem, 4vw, 3rem) auto;
}
.hero-carousel { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.is-active { opacity: 1; animation: heroZoom 6s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.035); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-slide.is-active { animation: none; }
}
.hero-bottom { max-width: 560px; margin: 0 auto; }
.hero-sub { font-size: 1.05rem; color: #6b6259; }
.hero-actions { margin-top: 1.6rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ---------- TRUST ---------- */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; align-items: center;
  padding: 3rem clamp(1.2rem, 4vw, 3rem); border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde);
}
.trust-item { text-align: center; }
.trust-num { display: block; font-family: var(--font-titulo); font-size: 2.4rem; color: var(--teal); }
.trust-num--icon { font-size: 1.8rem; }
.trust-label { display: block; margin-top: .4rem; font-size: .8rem; color: #6b6259; max-width: 16ch; margin-inline: auto; }

/* ---------- HISTORIA ---------- */
.historia { display: grid; grid-template-columns: .95fr 1.1fr; align-items: stretch; }
.historia-media { min-height: 480px; }
.historia-content { padding: clamp(2.4rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: center; }
.pull-quote { font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.4; color: var(--teal); margin-bottom: 1.3rem; }
.historia-texto { color: var(--texto); font-size: 1rem; max-width: 56ch; margin-top: .9rem; }

/* ---------- SERVICIOS ---------- */
.servicios { padding: 5.5rem clamp(1.2rem, 4vw, 3rem) 6rem; text-align: center; }
.servicios .section-title { margin: 0 auto; }
.serv-featured {
  margin-top: 3rem; display: grid; grid-template-columns: .8fr 1fr; gap: 2.6rem; align-items: center;
  text-align: left;
}
.serv-featured-media { height: 380px; }
.badge {
  display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  color: var(--teal); background: var(--crema-2); padding: .3rem .7rem;
  border-radius: 999px; margin-bottom: 1rem;
}
.serv-featured-texto h3 { font-size: 1.7rem; margin-bottom: .8rem; }
.serv-featured-texto p { color: #6b6259; max-width: 42ch; }

.serv-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem 1.4rem; text-align: left; }
.serv-card-media { height: 200px; }
.serv-card h3 { font-size: 1.15rem; margin-top: 1rem; }
.serv-card p { font-size: .88rem; color: #6b6259; margin-top: .3rem; }

/* ---------- EL ESTUDIO ---------- */
.estudio { background: var(--tinta); padding: 5.5rem 0 6rem; color: var(--blanco); }
.estudio-intro { text-align: center; padding: 0 clamp(1.2rem, 4vw, 3rem); }
.estudio-sub { max-width: 50ch; margin: 1rem auto 0; color: var(--texto-tenue-oscuro); }
.estudio-hscroll { margin-top: 3rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.estudio-track { display: flex; gap: 1.6rem; padding: .5rem clamp(1.2rem, 4vw, 3rem) 1.5rem; width: max-content; }
.estudio-item { flex-shrink: 0; width: clamp(220px, 26vw, 320px); height: clamp(280px, 34vw, 420px); margin: 0; }
.estudio-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 2.4rem 1.1rem .9rem;
  background: linear-gradient(0deg, rgba(0,0,0,.7), transparent);
  color: var(--blanco); font-family: var(--font-titulo); font-size: 1.1rem; font-style: italic;
}

/* ---------- RESEÑAS ---------- */
.resenas { padding: 5.5rem clamp(1.2rem, 4vw, 3rem) 6rem; text-align: center; }
.resenas .section-title { margin: 0 auto; }
.resenas-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 1000px; margin-inline: auto; }
.resena-card { background: var(--blanco); border-radius: 16px; padding: 2.2rem; text-align: left; box-shadow: 0 20px 50px rgba(58,51,46,.08); }
.resena-card p { font-style: italic; font-size: 1.02rem; color: var(--texto); }
.resena-card footer { margin-top: 1.2rem; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); font-weight: 600; }

/* ---------- BOUDOIR ---------- */
.boudoir { background: var(--tinta); color: var(--blanco); display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch; }
.boudoir-media { min-height: 460px; }
.boudoir-content { padding: clamp(2.4rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.4rem; }
.boudoir-content p:not(.eyebrow) { color: var(--texto-tenue-oscuro); font-size: 1.02rem; max-width: 46ch; }
.boudoir .btn-ghost { border-color: rgba(255,255,255,.6); }
.boudoir .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- COMO RESERVAR ---------- */
.reservar { padding: 5.5rem clamp(1.2rem, 4vw, 3rem) 6rem; text-align: center; }
.reservar .section-title { margin: 0 auto; }
.reservar-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: left; }
.reservar-num { font-family: var(--font-titulo); font-size: 2rem; color: var(--teal); font-style: italic; }
.reservar-item h3 { font-size: 1.1rem; margin-top: .6rem; }
.reservar-item p { font-size: .9rem; color: #6b6259; margin-top: .4rem; }
.reservar-nota { margin-top: 3rem; font-style: italic; color: var(--teal); font-family: var(--font-titulo); font-size: 1.2rem; }

/* ---------- CITA / CIERRE ---------- */
.cita { background: var(--teal); color: var(--blanco); text-align: center; padding: 6rem clamp(1.2rem, 4vw, 3rem); }
.cita .section-title { margin: 0 auto; color: var(--blanco); }
.cita .eyebrow { color: rgba(255,255,255,.8); }
.cita-actions { margin-top: 2.2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cita .btn-solid { background: var(--tinta); }
.cita .btn-solid:hover { background: #262019; }
.cita .btn-ghost { border-color: rgba(255,255,255,.7); }
.cita .btn-ghost:hover { background: rgba(255,255,255,.14); }
.cita-contacto { margin-top: 2.6rem; display: grid; gap: .4rem; font-size: .92rem; color: rgba(255,255,255,.85); }
.cita-contacto a { font-weight: 600; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--tinta); color: var(--texto-tenue-oscuro); padding: 4rem clamp(1.2rem, 4vw, 3rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-logo { height: 60px; width: auto; }
.footer-col h4 { font-family: var(--font-texto); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blanco); margin-bottom: .8rem; }
.footer-col p { margin-top: .4rem; font-size: .88rem; }
.footer-col a:hover { text-decoration: underline; }
.footer-redes { display: flex; flex-direction: column; gap: .4rem; }
.footer-legal { margin-top: 1.8rem; font-size: .78rem; text-align: center; opacity: .7; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1050px) {
  .serv-grid { grid-template-columns: repeat(2, 1fr); }
  .reservar-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
}

@media (max-width: 780px) {
  .site-nav { position: fixed; inset: 64px 0 0 0; height: calc(100vh - 64px); flex: none; background: var(--crema); flex-direction: column; align-items: center; justify-content: center; gap: 2rem; transform: translateY(-110%); transition: transform .35s cubic-bezier(.22,1,.36,1); z-index: 400; }
  .site-header.nav-open .site-nav { transform: translateY(0); }
  .site-nav a { font-size: 1.3rem; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-arch-frame { height: 56vh; }
  .hero-actions { flex-direction: column; align-items: stretch; }

  .trust { grid-template-columns: 1fr 1fr; row-gap: 2rem; }

  .historia, .boudoir { grid-template-columns: 1fr; }
  .historia-media, .boudoir-media { min-height: 300px; order: -1; }

  .serv-featured { grid-template-columns: 1fr; }
  .serv-featured-media { height: 280px; }
  .serv-grid { grid-template-columns: 1fr 1fr; }

  .resenas-grid { grid-template-columns: 1fr; }
  .reservar-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-redes { align-items: center; }
  .brand { justify-self: center; }
}

@media (max-width: 480px) {
  .serv-grid { grid-template-columns: 1fr; }
}
