/* Nails by Daniela
   Colors come from her logo (blush #fceaea, red #b21818). Bodoni Moda echoes the high-contrast
   "NAILS" lettering; the dark sections match the moody lighting of her photos.
   Photo frames are arched like an almond nail. */

:root {
  --paper: #fffafa;
  --blush: #fceaea;
  --blush-2: #f6dcdc;
  --rouge: #b21818;
  --rouge-deep: #8c1111;
  --ink: #24161a;
  --muted: #745a5e;
  --line: #efd5d5;
  --night: #1c1215;
  --night-2: #2b1c20;
  --on-night: #f7ecec;
  --on-night-muted: #cbb3b6;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --arch: 999px 999px 22px 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (max-width: 820px) { html { scroll-padding-top: 130px; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--rouge); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--rouge); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand span { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--rouge); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: .96rem; }
.nav a:hover { color: var(--ink); background: var(--blush); }
.nav a[aria-current="page"] { color: var(--rouge); background: var(--blush); }
.lang-btn { border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 7px 14px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink); }
.lang-btn:hover { border-color: var(--rouge); color: var(--rouge); }
@media (max-width: 820px) {
  .top-in { flex-wrap: wrap; gap: 8px 12px; padding-top: 10px; }
  .lang-btn { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 6px 12px; }
}
@media (max-width: 520px) {
  /* the logo already goes home; four links fit on a phone without scrolling */
  .nav a[href="/"] { display: none; }
  .nav { justify-content: space-between; }
  .nav a { padding: 6px 8px; }
}

/* Bodoni's finest hairlines vanish at big sizes (the $ and the – in $40–60); prices use a sturdier optical size */
.tier .price, .item-price, .quote-total span:last-child, .quote-bar b, .p-price, .big-phone, .sheet-foot .big { font-variation-settings: "opsz" 9; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--rouge); background: transparent; color: var(--rouge); font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--blush); }
.btn.solid { background: var(--rouge); color: #fff; }
.btn.solid:hover { background: var(--rouge-deep); border-color: var(--rouge-deep); }
.btn.light { background: #fff; color: var(--rouge); border-color: #fff; }
.btn.light:hover { background: var(--blush); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: .92rem; }
.btn.on { background: var(--rouge); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.wa-ico { width: 20px; height: 20px; flex: none; }
.text-link { color: var(--rouge); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, var(--rouge) 35%, transparent); }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- home hero ---------- */
.hero { background: var(--blush); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding-top: clamp(36px, 6vw, 80px); padding-bottom: clamp(44px, 7vw, 96px); }
.hero-logo { width: min(340px, 78%); height: auto; margin: 0 0 26px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); color: var(--ink); max-width: 13ch; }
.hero .lead { margin: 18px 0 28px; max-width: 44ch; color: var(--muted); font-size: 1.12rem; }
.arches { position: relative; height: clamp(360px, 42vw, 520px); }
.arch { position: absolute; overflow: hidden; border-radius: var(--arch); background: var(--blush-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch.a1 { right: 0; top: 0; width: 64%; height: 100%; }
.arch.a2 { left: 2%; bottom: -6%; width: 44%; height: 68%; border: 6px solid var(--blush); }
@media (max-width: 760px) {
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
  .hero-logo { width: 250px; }
  .arches { height: 380px; }
}

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section.flush-top { padding-top: 0; }
.actions.spaced { margin-top: 22px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.sub { color: var(--muted); max-width: 52ch; margin-top: 10px; }

.dark { background: var(--night); color: var(--on-night); }
.dark .sub { color: var(--on-night-muted); }
.dark .text-link { color: #ffb4b4; text-decoration-color: rgba(255, 180, 180, .4); }
.dark :focus-visible { outline-color: #ffb4b4; }

/* strip of recent work */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 23%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.strip a { scroll-snap-align: start; display: block; aspect-ratio: 3 / 4; border-radius: var(--arch); overflow: hidden; background: var(--night-2); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) { .strip { grid-auto-columns: calc((100% - 5 * 16px) / 6); overflow: visible; } }
@media (max-width: 760px) { .strip { grid-auto-columns: 62%; } }

/* price teaser */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 24px; display: grid; gap: 6px; align-content: start; }
.tier h3 { font-family: var(--body); font-size: 1.02rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tier .price { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 600; color: var(--rouge); line-height: 1; margin: 6px 0 8px; }
.tier p:last-child { color: var(--muted); font-size: .98rem; }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } }

/* the real comment, big */
.pull { background: var(--blush); text-align: center; }
.pull blockquote { margin: 0 auto; max-width: 18ch; font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 8vw, 5.6rem); line-height: 1.1; color: var(--rouge); }
.pull figcaption { margin-top: 22px; color: var(--muted); }
.pull .text-link { display: inline-block; margin-top: 14px; }

/* steps (it is a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--rouge); padding-top: 18px; }
.steps li::before { content: counter(s); display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--rouge); margin-bottom: 10px; }
.steps h3 { font-family: var(--body); font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; letter-spacing: 0; }
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.cta-band { background: var(--rouge); color: #fff; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 48px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { color: #ffdede; margin-top: 6px; }
.cta-band :focus-visible { outline-color: #fff; }

/* ---------- inner page header ---------- */
.page-head { background: var(--blush); padding: clamp(36px, 6vw, 72px) 0 clamp(30px, 5vw, 56px); }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.page-head .sub { font-size: 1.1rem; }
.dark-page .page-head { background: var(--night); color: var(--on-night); }
.dark-page .page-head .sub { color: var(--on-night-muted); }

/* ---------- servicios ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 40px; align-items: start; }
.cat + .cat { margin-top: 36px; }
.cat-name { font-size: 1.8rem; color: var(--rouge); padding-bottom: 10px; border-bottom: 2px solid var(--rouge); }
.items { list-style: none; margin: 0; padding: 0; }
.item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.item-name { font-family: var(--body); font-size: 1.12rem; font-weight: 700; letter-spacing: 0; }
.item-desc { color: var(--muted); font-size: .98rem; margin-top: 2px; }
.item-right { display: flex; align-items: center; gap: 14px; flex: none; }
.item-price { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--ink); min-width: 4.2ch; text-align: right; }
.quote { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: grid; gap: 14px; }
.quote h2 { font-size: 1.6rem; }
.quote ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.quote li { display: flex; justify-content: space-between; gap: 12px; }
.q-price { font-weight: 600; white-space: nowrap; }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 12px; font-weight: 700; }
.quote-total span:last-child { font-family: var(--display); font-size: 2rem; color: var(--rouge); }
.small-note { color: var(--muted); font-size: .9rem; }
.quote-bar { display: none; }
@media (max-width: 860px) {
  .svc { grid-template-columns: 1fr; }
  .quote { position: static; }
  .item { flex-wrap: wrap; gap: 10px; }
  .item-right { width: 100%; justify-content: space-between; }
  .item-price { text-align: left; min-width: 0; }
  .quote-bar:not([hidden]) { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; justify-content: space-between; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: 0 12px 30px -10px rgba(36, 22, 26, .6); }
  .quote-bar b { font-family: var(--display); font-size: 1.3rem; }
  body.has-bar { padding-bottom: 84px; }
}

/* ---------- galería ---------- */
.dark-page { background: var(--night); color: var(--on-night); }
.grid-shots { columns: 3 280px; column-gap: 18px; }
.shot { break-inside: avoid; margin: 0 0 18px; }
.shot button { all: unset; display: block; width: 100%; cursor: zoom-in; border-radius: 22px; overflow: hidden; }
.shot button:focus-visible { outline: 2.5px solid #ffb4b4; outline-offset: 4px; }
.shot img { width: 100%; height: auto; transition: transform .4s ease; }
.shot button:hover img { transform: scale(1.03); }
.shot-cap { margin-top: 8px; color: var(--on-night-muted); font-size: .95rem; }
.lb { width: min(980px, calc(100vw - 20px)); max-width: none; max-height: calc(100vh - 20px); padding: 0; border: 0; background: transparent; color: var(--on-night); }
.lb::backdrop { background: rgba(18, 11, 13, .92); }
.lb-in { display: grid; gap: 12px; justify-items: center; }
.lb-img { max-height: calc(100vh - 170px); width: auto; max-width: 100%; border-radius: 18px; }
.lb-bar { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.lb-cap { font-family: var(--display); font-size: 1.4rem; text-align: center; }
.icon-btn { border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; border-radius: 999px; min-height: 44px; padding: 0 16px; cursor: pointer; font-weight: 600; }
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
.lb :focus-visible { outline-color: #ffb4b4; }

/* ---------- reseñas ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 18px; align-content: space-between; }
.review blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.05; color: var(--rouge); font-weight: 600; }
.review figcaption { color: var(--muted); }
.review figcaption b { color: var(--ink); }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 16px; }
.card h2 { font-size: 1.8rem; }
.big-phone { font-family: var(--display); font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 600; color: var(--rouge); text-decoration: none; line-height: 1; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--rouge); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rouge) 18%, transparent); }
.card-foot { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }

/* preguntas frecuentes */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--rouge); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 62ch; }

/* closing line under a list (galería, reseñas) */
.end-note { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.end-note p { max-width: 48ch; }
.dark-page .end-note { border-top-color: var(--night-2); }
.dark-page .btn { color: #ffb4b4; border-color: #ffb4b4; }
.dark-page .btn:hover { background: var(--night-2); }
.dark-page .btn.solid { background: var(--rouge); border-color: var(--rouge); color: #fff; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--on-night-muted); padding: 44px 0 calc(32px + env(safe-area-inset-bottom)); font-size: .95rem; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: start; }
.foot img { width: 72px; height: 72px; border-radius: 50%; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--on-night); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-contact { display: grid; gap: 4px; text-align: right; }
.foot-base { grid-column: 1 / -1; border-top: 1px solid var(--night-2); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.foot :focus-visible { outline-color: #ffb4b4; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } .foot-contact { text-align: left; } }

/* ---------- precios (printable) ---------- */
.sheet-page { background: var(--blush-2); }
.sheet-tools { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 20px var(--gutter) 0; }
.sheet { width: min(760px, calc(100% - 2 * var(--gutter))); margin: 20px auto 48px; background: #fff; border-radius: 18px; padding: clamp(24px, 5vw, 48px); display: grid; gap: 22px; }
.sheet-head { display: flex; align-items: center; gap: 18px; border-bottom: 2px solid var(--rouge); padding-bottom: 18px; }
.sheet-head img { width: 96px; height: 96px; border-radius: 50%; }
.sheet-head h1 { font-size: clamp(2rem, 6vw, 2.8rem); color: var(--rouge); }
.sheet-head p { color: var(--muted); }
.p-cat h2 { font-size: 1.5rem; margin-bottom: 6px; }
.p-cat + .p-cat { margin-top: 18px; }
.p-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 0; border-bottom: 1px dotted var(--line); }
.p-name { font-weight: 700; }
.p-desc { color: var(--muted); font-size: .92rem; }
.p-price { font-family: var(--display); font-size: 1.4rem; font-weight: 600; white-space: nowrap; }
.sheet-foot { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; border-top: 2px solid var(--rouge); padding-top: 20px; }
#qr { width: 132px; height: 132px; }
#qr svg { width: 100%; height: 100%; display: block; }
.sheet-foot p { color: var(--muted); }
.sheet-foot .big { font-family: var(--display); font-size: 1.6rem; color: var(--ink); font-weight: 600; white-space: nowrap; }
@media screen and (max-width: 560px) { .sheet-foot { grid-template-columns: 1fr; justify-items: start; } }
@media print {
  @page { size: letter; margin: 12mm; }
  body, .sheet-page { background: #fff; }
  .top, .foot, .sheet-tools, .skip { display: none !important; }
  .sheet { width: auto; margin: 0; padding: 0; border-radius: 0; }
  #qr { width: 40mm; height: 40mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

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