/* =========================================================
   No Solo Rulos by Agus — estilos
   Paleta de marca: lila #DC85ED + verde #5D9F3E sobre crema
   ========================================================= */
:root {
  --crema: #FBF6F4;
  --crema-2: #F6ECF5;
  --blanco: #FFFFFF;
  --lila: #DC85ED;
  --lila-suave: #F1D3F7;
  --lila-osc: #C47AD3;
  --ciruela: #6B2F78;      /* botones principales (contraste AA con blanco) */
  --ciruela-osc: #3E1A46;  /* footer / textos fuertes */
  --verde: #5D9F3E;
  --verde-osc: #3D7526;    /* botón WhatsApp (contraste AA con blanco) */
  --tinta: #2D1F30;
  --tinta-2: #6A5A6D;
  --borde: #ECDDEB;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Allura", cursive;

  --radio: 18px;
  --sombra: 0 10px 30px -14px rgba(62, 26, 70, .28);
  --gutter: clamp(16px, 5vw, 40px);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--tinta);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { width: 1.15em; height: 1.15em; fill: currentColor; flex-shrink: 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem); color: var(--ciruela-osc); }
h3 { font-size: 1.25rem; color: var(--ciruela-osc); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--crema-2); }

.kicker {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ciruela); margin: 0 0 .8rem;
}
.kicker-light { color: var(--lila-suave); }
.lead { color: var(--tinta-2); margin: 1rem 0 0; max-width: 60ch; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.5rem; border-radius: 999px;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--lila); outline-offset: 3px; }
.btn-primary { background: var(--ciruela); color: #fff; box-shadow: var(--sombra); }
.btn-primary:hover { background: #5a2565; }
.btn-wa { background: var(--verde-osc); color: #fff; box-shadow: var(--sombra); }
.btn-wa:hover { background: #326320; }
.btn-outline { background: transparent; color: var(--ciruela-osc); border-color: var(--ciruela); }
.btn-outline:hover { background: var(--blanco); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); }
.btn-light { background: #fff; color: var(--ciruela-osc); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 244, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borde);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 10px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand img { width: clamp(118px, 30vw, 150px); }
.header-address {
  display: flex; align-items: center; gap: .35rem;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 8px;
  font-size: .82rem; color: var(--tinta-2);
}
.header-address svg { color: var(--ciruela); width: 1em; height: 1em; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--tinta); }
.nav a:hover { color: var(--ciruela); }
.nav .nav-cta { background: var(--ciruela); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; }
.nav .nav-cta:hover { color: #fff; background: #5a2565; }

.menu-btn {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--ciruela-osc); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 859px) {
  .menu-btn { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--crema); border-bottom: 1px solid var(--borde);
    padding: .5rem var(--gutter) 1.2rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--borde); font-size: 1.05rem; }
  .nav .nav-cta { margin-top: 1rem; text-align: center; border: 0; padding: .9rem; }
}
@media (min-width: 860px) { .header-address { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ciruela-osc); color: #fff; overflow: hidden; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: clamp(340px, 62vh, 520px); object-fit: cover; object-position: 60% 25%; }
.hero-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(180deg, rgba(62,26,70,0), rgba(62,26,70,.9));
}
.hero-copy {
  position: relative; margin: -40px auto 0; max-width: var(--max);
  padding: 0 var(--gutter) clamp(64px, 10vw, 80px);
}
.hero .eyebrow { margin: 0 0 .6rem; font-size: .85rem; letter-spacing: .08em; color: var(--lila-suave); font-weight: 500; }
.hero h1 { font-size: clamp(2.8rem, 2rem + 4.5vw, 5rem); color: #fff; }
.hero-sub { margin: .8rem 0 1.6rem; max-width: 34ch; font-size: 1.05rem; color: rgba(255,255,255,.9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero::after { /* onda inferior */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34px;
  background: var(--crema);
  -webkit-mask: radial-gradient(120% 60px at 70% 100%, #000 98%, transparent 100%);
          mask: radial-gradient(120% 60px at 70% 100%, #000 98%, transparent 100%);
}

@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 600px; background: var(--crema); color: var(--tinta); }
  .hero-media { order: 2; }
  .hero-media img { height: 100%; min-height: 600px; border-bottom-left-radius: 220px; object-position: 62% 30%; }
  .hero-media::after { display: none; }
  .hero-copy { position: static; align-self: center; padding: 64px var(--gutter) 64px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .hero .eyebrow { color: var(--ciruela); }
  .hero h1 { color: var(--ciruela-osc); }
  .hero-sub { color: var(--tinta-2); }
  .hero .btn-ghost-light { color: var(--ciruela-osc); border-color: var(--ciruela); background: transparent; }
  .hero::after { display: none; }
  .hero::before { /* forma orgánica lila, como en las placas */
    content: ""; position: absolute; left: -120px; bottom: -160px; width: 360px; height: 360px;
    border-radius: 50%; background: var(--lila-suave); z-index: 0;
  }
  .hero-copy { position: relative; z-index: 1; }
}

/* ---------- Servicios ---------- */
.services { display: grid; gap: 1rem; margin-top: 2.4rem; }
@media (min-width: 760px) { .services { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
.service {
  display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 1rem;
  background: var(--blanco); border-radius: var(--radio); padding: .75rem;
  box-shadow: var(--sombra); border: 1px solid var(--borde);
}
@media (min-width: 760px) {
  .service { grid-template-columns: 1fr; padding: 0; overflow: hidden; }
  .service-thumb { height: 200px; border-radius: 0 !important; }
  .service-body { padding: 0 1.4rem 1.5rem; }
}
.service-thumb { width: 100%; height: 100%; min-height: 120px; object-fit: cover; border-radius: 12px; }
.service-body { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.service-body p { margin: 0; font-size: .95rem; color: var(--tinta-2); }
.service .meta { display: flex; align-items: center; gap: .35rem; font-size: .85rem; }
.tag { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; }
.tag-cal { background: var(--lila-suave); color: var(--ciruela); }
.tag-wa  { background: #DDEED4; color: var(--verde-osc); }
.link-arrow {
  margin-top: .4rem; font-weight: 600; font-size: .95rem; color: var(--ciruela); text-decoration: none;
  display: inline-flex; align-items: center; gap: .3rem; min-height: 44px;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }
.link-wa { color: var(--verde-osc); }

/* ---------- Precios ---------- */
.prices { display: grid; gap: 1rem; margin-top: 2.2rem; align-items: start; }
@media (min-width: 760px) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; } }
@media (min-width: 1080px) { .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.price-card {
  background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio);
  padding: 1.4rem 1.3rem 1.1rem; box-shadow: var(--sombra);
  display: flex; flex-direction: column; gap: .4rem;
}
.price-card header { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .4rem; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { padding: .7rem 0; border-top: 1px solid var(--borde); }
.price-list li:first-child { border-top: 0; padding-top: .2rem; }
.price-line { display: flex; align-items: baseline; gap: .5rem; }
.price-name { font-weight: 600; color: var(--tinta); }
.price-dots { flex: 1; border-bottom: 1.5px dotted var(--lila-osc); opacity: .6; transform: translateY(-4px); min-width: 12px; }
.price-val { font-family: var(--serif); font-size: 1.1rem; color: var(--ciruela); white-space: nowrap; }
.price-desc { margin: .25rem 0 0; font-size: .88rem; color: var(--tinta-2); }

.price-desc strong { color: var(--ciruela); }
.price-note { margin-top: .4rem; background: #EEF6E9; border-left: 3px solid var(--verde-osc); border-radius: 10px; padding: .75rem .9rem; font-size: .88rem; }
.price-note strong { color: var(--verde-osc); }
.price-note p { margin: .2rem 0 0; color: var(--tinta-2); }
.pay-bar {
  margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.2rem;
  background: var(--blanco); border: 1.5px solid var(--lila-osc); border-radius: var(--radio); padding: 1rem 1.3rem;
}
.pay-bar p { margin: 0; }
.pay-badge { background: var(--verde-osc); color: #fff; font-weight: 600; font-size: .9rem; padding: .5rem 1rem; border-radius: 999px; }

/* ---------- Studio Up ---------- */
.studio { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .studio { grid-template-columns: 1fr 1.5fr; gap: 3rem; } }
.studio-brand {
  background: var(--ciruela-osc); color: #fff; border-radius: var(--radio); aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem;
  box-shadow: var(--sombra);
}
.studio-brand img { max-width: 80%; max-height: 70%; object-fit: contain; }
.studio-wordmark { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 2rem + 3vw, 3.8rem); line-height: 1; letter-spacing: -.02em; }
.studio-wordmark span { color: var(--lila); font-style: italic; }
.studio-sub { margin: .6rem 0 0; font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--lila-suave); }
.studio-list { margin: 1.2rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.studio-list li { background: var(--blanco); border: 1px solid var(--borde); border-radius: 999px; padding: .45rem 1rem; font-weight: 600; font-size: .92rem; color: var(--ciruela-osc); }
.studio-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

/* ---------- Trabajos ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.8rem 0 1.4rem; }
.filter {
  min-height: 44px; padding: .5rem 1.2rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--ciruela); background: transparent; color: var(--ciruela); font: 600 .92rem var(--sans);
}
.filter.is-active { background: var(--ciruela); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }

.work { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--borde); }
.gallery:not(.filtered) .work:first-child { grid-column: span 2; grid-row: span 2; }
.work[hidden] { display: none; }
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .gallery:not(.filtered) .work:first-child { grid-column: span 1; grid-row: span 2; }
}
.work-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; background: none; }
.work img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
.work:hover img { transform: scale(1.04); }
.work figcaption {
  position: absolute; left: .6rem; bottom: .6rem; pointer-events: none;
  background: rgba(255,255,255,.92); color: var(--ciruela-osc); font-size: .75rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px;
}
.gallery-more { margin: 1.2rem 0 0; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 720px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(30, 12, 34, .88); }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 14px; margin: 0 auto; }
.lightbox-close {
  position: absolute; top: -14px; right: -6px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; color: var(--ciruela-osc); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--sombra);
}

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { display: flex; gap: 1rem; align-items: flex-start; }
.steps h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.steps p { margin: 0; color: var(--tinta-2); font-size: .95rem; }
.step-n {
  flex: 0 0 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ciruela); color: #fff; font-family: var(--serif); font-size: 1.2rem;
}

.deposit {
  margin-top: 2.4rem; display: flex; gap: 1rem; align-items: flex-start;
  background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio);
  padding: clamp(1.2rem, 4vw, 2rem); box-shadow: var(--sombra);
}
.deposit-icon { width: 40px; height: 40px; color: var(--lila-osc); }
.deposit-body p { margin: 0; }
.deposit-amount { font-family: var(--serif); font-size: clamp(2rem, 1.6rem + 2vw, 2.6rem); color: var(--ciruela-osc); line-height: 1.2; }
.deposit-note { margin-top: .8rem !important; font-size: .9rem; color: var(--tinta-2); }
.alias {
  margin-top: .9rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem;
  background: var(--crema-2); border-radius: 12px; padding: .7rem .9rem; font-size: .95rem;
}
.alias small { color: var(--tinta-2); }
.copy-btn {
  border: 1.5px solid var(--ciruela); background: transparent; color: var(--ciruela);
  border-radius: 999px; padding: .45rem .9rem; font: 600 .85rem var(--sans); cursor: pointer; min-height: 40px;
}
.copy-btn.ok { background: var(--verde-osc); border-color: var(--verde-osc); color: #fff; }

/* ---------- Calendar ---------- */
.cal-wrap {
  position: relative; margin-top: 2rem; background: var(--blanco);
  border: 1px solid var(--borde); border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra);
}
.cal-wrap iframe { display: block; width: 100%; height: 720px; border: 0; background: #fff; position: relative; z-index: 1; }
.cal-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--tinta-2); }
.cal-placeholder[hidden] { display: none; }
@media (max-width: 599px) { .cal-wrap iframe { height: 640px; } }
.cta-stack { display: grid; gap: .75rem; margin-top: 1.4rem; }
@media (min-width: 760px) { .cta-stack { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Sobre Agus ---------- */
.about {
  position: relative; color: #fff; padding: clamp(72px, 10vw, 120px) 0;
  background: var(--ciruela) url("img/pattern-lila.webp") center / 540px auto repeat;
  background-blend-mode: multiply;
}
.about h2 { color: #fff; }
.about-grid { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1.2fr 1fr; } }
.about-copy p { margin: 1rem 0 0; max-width: 52ch; color: rgba(255,255,255,.92); }
.about-copy .about-extra a { color: #fff; font-weight: 600; }
.about-copy .btn { margin-top: 1.8rem; }
.about-quote { text-align: center; }
.about-photo {
  width: min(100%, 380px); margin: 0 auto 1.6rem; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 30%;
  border-radius: 200px 200px 24px 24px; border: 6px solid rgba(255,255,255,.9); box-shadow: 0 24px 48px -20px rgba(0,0,0,.5);
}
.script { font-family: var(--script); font-size: clamp(3rem, 2.2rem + 3.5vw, 4.6rem); line-height: 1; margin: 0; color: #fff; }
.about-stat { margin: 1.4rem 0 0; color: var(--lila-suave); }
.about-stat strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: #fff; }

/* ---------- FAQ ---------- */
.faq { margin-top: 2rem; display: grid; gap: .7rem; }
.faq details { background: var(--blanco); border: 1px solid var(--borde); border-radius: 14px; padding: 0 1.2rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 0; font-weight: 600; color: var(--ciruela-osc);
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--ciruela); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.1rem; color: var(--tinta-2); }
.faq a { color: var(--ciruela); font-weight: 600; }

/* ---------- Ubicación ---------- */
.loc-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .loc-grid { grid-template-columns: 1fr 1.3fr; } }
.loc-address { font-size: 1.1rem; margin: 1rem 0 1.4rem; }
.map { border-radius: var(--radio); overflow: hidden; border: 1px solid var(--borde); box-shadow: var(--sombra); background: var(--borde); }
.map iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ciruela-osc); color: rgba(255,255,255,.85); text-align: center;
  padding: 56px var(--gutter) 110px;
}
.footer-logo { width: 170px; margin: 0 auto; }
.footer-address { margin: 1rem 0; font-size: .95rem; }
.footer-social { display: flex; justify-content: center; gap: .8rem; }
.footer-social a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.35); color: #fff;
}
.footer-social a:hover { background: rgba(255,255,255,.1); }
.footer-social svg { width: 22px; height: 22px; }
.footer-credit { margin: 2rem 0 0; font-size: .8rem; color: rgba(255,255,255,.6); }
.footer-credit a { color: rgba(255,255,255,.85); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--verde-osc); color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
