/* Doke Cakes — shared styles
   Palette: blush pink, dusty rose, warm cream & ivory, white, champagne accents. */
:root {
  --ivory: #fffaf5;
  --cream: #faf3ea;
  --cream-2: #f4e9dc;
  --white: #ffffff;
  --blush: #f9e8e7;
  --blush-2: #f1d5d6;
  --rose: #d6a3aa;
  --rose-mid: #b87983;
  --rose-deep: #97535f;
  --rose-ink: #7c4150;
  --champagne: #c9ad82;
  --champagne-2: #e9dcc5;
  --champagne-3: #f5eee1;
  --ink: #4a3237;
  --muted: #7a5f64;
  --line: #eadbd2;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 24px 48px -30px rgba(120, 66, 78, 0.38);
  --shadow-soft: 0 12px 30px -22px rgba(120, 66, 78, 0.3);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(78px + var(--safe-b));
}
img { max-width: 100%; display: block; }
a { color: var(--rose-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font-family: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 3px;
}
::selection { background: var(--blush-2); color: var(--ink); }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }

/* Language: paired blocks */
html[lang="es"] .en, html[lang="en"] .es { display: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 245, 0.9);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--champagne-2);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner { display: flex; align-items: center; gap: 14px; min-height: 70px; }
.logo { text-decoration: none; color: var(--ink); display: flex; align-items: baseline; gap: 7px; margin-right: auto; }
.logo .mark { font-family: var(--script); font-size: 36px; line-height: 1; color: var(--rose-deep); }
.logo .word { font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; }

.nav { display: flex; gap: 2px; }
.nav a {
  position: relative;
  text-decoration: none; color: var(--ink); font-size: 12.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 10px 8px; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 4px; height: 1px; background: var(--champagne);
  transform: scaleX(0); transition: transform .3s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--rose-deep); }

.lang-toggle {
  display: inline-flex; border: 1px solid var(--champagne-2); border-radius: 999px; padding: 3px; background: var(--white);
}
.lang-toggle button {
  font: 500 12.5px/1 var(--sans); letter-spacing: 0.14em; border: 0; background: none; color: var(--muted);
  min-width: 44px; min-height: 36px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s;
}
.lang-toggle button[aria-pressed="true"] { background: var(--rose-deep); color: var(--white); }

.menu-btn {
  display: none; border: 1px solid var(--champagne-2); background: var(--white); width: 44px; height: 44px; border-radius: 999px; cursor: pointer; color: var(--ink);
}
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1180px) {
  .header-inner { min-height: 62px; gap: 10px; }
  .menu-btn { display: inline-grid; place-items: center; }
  .logo .mark { font-size: 31px; }
  .logo .word { font-size: 14px; letter-spacing: 0.26em; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 6px 20px 20px;
    background: var(--ivory); border-bottom: 1px solid var(--champagne-2);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; animation: drop .25s ease; max-height: calc(100vh - 70px); overflow-y: auto; }
  .nav a { padding: 16px 4px; font-size: 14px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
}
@media (max-width: 360px) {
  .logo .word { display: none; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 0.4em; color: var(--ink); letter-spacing: 0.005em; }
h1 { font-size: clamp(44px, 9vw, 84px); font-weight: 400; }
h2 { font-size: clamp(34px, 5.6vw, 52px); font-weight: 400; }
h3 { font-size: 26px; }
em, .ital { font-family: var(--serif); font-style: italic; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--rose-deep); font-weight: 500; margin: 0 0 14px;
}
.script { font-family: var(--script); color: var(--rose-deep); font-weight: 400; }
.lead { font-size: 18.5px; color: var(--muted); max-width: 44ch; font-weight: 300; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Ornamental divider: hairline · diamond · hairline */
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px auto 30px; color: var(--champagne); }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 56px; background: currentColor; }
.ornament span { width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); }
.ornament.left { justify-content: flex-start; margin-left: 0; }
.ornament.left::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 54px; padding: 12px 30px; border-radius: 999px;
  font: 500 14.5px/1.25 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  border: 1px solid var(--rose-deep); background: var(--rose-deep); color: var(--white);
  box-shadow: 0 10px 24px -14px rgba(151, 83, 95, 0.8);
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--rose-ink); }
.btn:active { transform: scale(0.98); }
.btn.ghost { background: transparent; color: var(--rose-deep); border-color: var(--rose); box-shadow: none; }
.btn.ghost:hover { background: var(--blush); }
.btn.champagne { background: var(--white); color: var(--ink); border-color: var(--champagne); box-shadow: none; }
.btn.champagne:hover { background: var(--champagne-3); }
.btn .bi { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.btn .bi small { font-size: 11.5px; letter-spacing: 0.14em; opacity: 0.85; text-transform: none; font-weight: 400; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.block { width: 100%; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-blush { background: linear-gradient(180deg, var(--blush) 0%, var(--ivory) 100%); }
.section-head { margin-bottom: 36px; }
.page-head { padding: 56px 0 8px; text-align: center; }
.page-head h1 { font-size: clamp(42px, 8vw, 68px); }
@media (max-width: 620px) {
  section { padding: 60px 0; }
  .page-head { padding: 40px 0 0; }
}

/* ---------- Hero ---------- */
.hero { padding: 48px 0 84px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto auto; width: 62%; height: 100%;
  background: radial-gradient(ellipse at 70% 40%, var(--blush) 0%, rgba(249,232,231,0) 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 6px; line-height: 0.95; }
.hero .tag-en { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 4.2vw, 38px); color: var(--ink); margin: 10px 0 4px; line-height: 1.2; }
.hero .tag-es { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 3.2vw, 27px); color: var(--rose-deep); margin: 0 0 22px; line-height: 1.25; }
.hero .lead { margin: 0 0 30px; }
.hero .loc { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14.5px; margin-top: 26px; letter-spacing: 0.04em; }
.hero-art { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-frame {
  position: absolute; inset: -14px -14px 14px 14px;
  border: 1px solid var(--champagne); border-radius: 260px 260px 24px 24px; pointer-events: none;
}
.hero-img {
  position: relative; border-radius: 260px 260px 24px 24px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 1078 / 1800; background: var(--blush);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-badge {
  position: absolute; left: -26px; bottom: -22px; background: var(--white); border: 1px solid var(--champagne-2);
  border-radius: 999px; padding: 12px 20px; box-shadow: var(--shadow-soft); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
}
.hero-badge strong { font-family: var(--serif); font-size: 22px; letter-spacing: 0; text-transform: none; color: var(--rose-deep); font-weight: 600; margin-left: 4px; }
@media (max-width: 880px) {
  .hero { padding: 22px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .hero-art { order: -1; width: min(80%, 340px); }
  .hero .lead { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -20px; white-space: nowrap; }
  .hero-frame { inset: -10px -10px 10px 10px; }
}
@media (max-width: 480px) { .hero .btn-row .btn { width: 100%; } }

/* Staggered entrance */
.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; } .rise.d4 { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise, .nav.open { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Shapes list ---------- */
.shapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--champagne-2); border-left: 1px solid var(--champagne-2); background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.shape { padding: 28px 26px; border-right: 1px solid var(--champagne-2); border-bottom: 1px solid var(--champagne-2); display: flex; flex-direction: column; gap: 6px; }
.shape .n { font-family: var(--serif); font-style: italic; color: var(--champagne); font-size: 18px; }
.shape h3 { font-size: 25px; margin: 0; }
.shape .es-name { font-family: var(--serif); font-style: italic; color: var(--rose-deep); font-size: 18px; line-height: 1.3; }
.shape .from { margin-top: auto; padding-top: 10px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.shape .from strong { font-family: var(--serif); font-size: 24px; letter-spacing: 0; color: var(--rose-deep); font-weight: 600; text-transform: none; }
.shape.feature { background: linear-gradient(160deg, var(--blush) 0%, var(--white) 90%); }
/* An odd last shape fills the rest of its row instead of leaving a gap */
.shapes > .shape:last-child:nth-child(3n+2) { grid-column: span 2; }
@media (max-width: 880px) {
  .shapes { grid-template-columns: repeat(2, 1fr); }
  .shapes > .shape:last-child:nth-child(3n+2) { grid-column: auto; }
  .shapes > .shape:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (max-width: 520px) {
  .shapes { grid-template-columns: 1fr; }
  .shapes > .shape:last-child:nth-child(odd) { grid-column: auto; }
  .shape { padding: 22px 20px; }
}

/* Bento highlight */
.bento-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin: 28px 0 0; padding: 24px 28px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--champagne); box-shadow: var(--shadow-soft);
}
.bento-banner .t { font-family: var(--serif); font-size: clamp(24px, 4vw, 32px); line-height: 1.15; }
.bento-banner .t em { color: var(--rose-deep); display: block; font-size: 0.78em; }
.bento-banner p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.step { position: relative; padding-top: 18px; border-top: 1px solid var(--champagne); }
.step .num { font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--rose); line-height: 1; margin-bottom: 8px; }
.step h3 { font-size: 24px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Price menu ---------- */
.price-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.price-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-soft); }
.price-group h3 { font-size: 28px; margin: 0 0 6px; display: flex; align-items: baseline; gap: 10px; }
.price-group h3 small { font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 12px 0; border-top: 1px dashed var(--line); }
.price-row .l { font-weight: 500; }
.price-row .s { grid-column: 1; font-size: 14.5px; color: var(--muted); }
.price-row .p { grid-row: 1 / span 2; grid-column: 2; align-self: center; text-align: right; font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--rose-deep); line-height: 1; }
.price-row .p small { display: block; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 4px; }
.price-group.feature { background: linear-gradient(160deg, var(--blush) 0%, var(--white) 100%); border-color: var(--champagne-2); }
@media (max-width: 720px) { .price-groups { grid-template-columns: 1fr; } }

.fine { font-size: 14.5px; color: var(--muted); margin: 16px 0 0; }
.fine li { margin: 4px 0; }

.menu-block { margin-top: 72px; }
.menu-block:first-child { margin-top: 0; }

/* Two-up info cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-soft); }
.info-card h3 { margin-bottom: 2px; }
.info-card .es-name { font-family: var(--serif); font-style: italic; color: var(--rose-deep); font-size: 19px; margin-bottom: 10px; }
.info-card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.info-card li { margin: 5px 0; }
.info-card.accent { border-color: var(--champagne); background: linear-gradient(160deg, var(--champagne-3), var(--white)); }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }

.tag {
  display: inline-block; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--rose); color: var(--rose-deep); border-radius: 999px; padding: 4px 11px; background: var(--white);
}
.tag.gold { border-color: var(--champagne); color: #7d6440; }

/* Bilingual word list (flavors, fillings) */
.word-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.word-list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.word-list li span:first-child { font-weight: 500; }
.word-list li span + span { font-family: var(--serif); font-style: italic; color: var(--rose-deep); font-size: 17px; line-height: 1.3; }
@media (max-width: 820px) { .word-list { grid-template-columns: repeat(2, 1fr); gap: 0 18px; } }

.tier-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-soft); }
.tier-col h3 { font-size: 24px; margin-bottom: 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tier-col .word-list { grid-template-columns: 1fr; }
.tier-col .word-list li:last-child { border-bottom: 0; }
@media (max-width: 820px) { .tier-cols { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden; }
table.price-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.price-table caption { text-align: left; padding: 18px 20px 4px; font-family: var(--serif); font-size: 22px; }
.price-table th, .price-table td { padding: 12px 14px; text-align: right; border-bottom: 1px solid var(--line); }
.price-table th:first-child, .price-table td:first-child { text-align: left; }
.price-table thead th { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--cream); }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:nth-child(even) td { background: var(--ivory); }
.price-table td { font-variant-numeric: tabular-nums; }
.price-table td.hl { color: var(--rose-deep); font-weight: 500; }
@media (max-width: 420px) {
  table.price-table { font-size: 14px; }
  .price-table th, .price-table td { padding: 11px 9px; }
}

/* ---------- Notice / policies ---------- */
.policies {
  position: relative; background: var(--white); border: 1px solid var(--champagne-2);
  border-radius: var(--radius); padding: 30px 30px 26px; margin: 28px 0; box-shadow: var(--shadow-soft);
}
.policies::before {
  content: ""; position: absolute; inset: 7px; border: 1px solid var(--champagne-3); border-radius: calc(var(--radius) - 6px); pointer-events: none;
}
.policies h3 { font-size: 26px; margin-bottom: 12px; text-align: center; }
.policies ul { margin: 0; padding: 0; list-style: none; }
.policies li { position: relative; padding: 9px 0 9px 24px; border-bottom: 1px solid var(--line); }
.policies li:last-child { border-bottom: 0; }
.policies li::before { content: ""; position: absolute; left: 3px; top: 19px; width: 6px; height: 6px; border: 1px solid var(--champagne); transform: rotate(45deg); }
@media (max-width: 520px) { .policies { padding: 24px 20px 18px; } }

.callout {
  display: flex; gap: 14px; align-items: flex-start; border-radius: var(--radius-sm); padding: 16px 18px; margin: 14px 0;
  background: var(--champagne-3); border: 1px solid var(--champagne-2); font-size: 15px;
}
.callout svg { flex: none; margin-top: 2px; color: #9a7b4d; }
.callout.rose { background: var(--blush); border-color: var(--blush-2); }
.callout.rose svg { color: var(--rose-deep); }
.callout p { margin: 0; }
.callout p + p { margin-top: 6px; }
.callout strong { font-weight: 600; }

/* ---------- Payment ---------- */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.pay-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 6px; text-align: center; align-items: center;
}
.pay-card .brand { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.pay-card .val { font-family: var(--serif); font-size: clamp(28px, 5vw, 34px); color: var(--ink); font-weight: 500; line-height: 1.15; word-break: break-all; }
.pay-card .btn { margin-top: 14px; width: 100%; max-width: 340px; }
.pay-card .copied { min-height: 22px; font-size: 14px; color: var(--rose-deep); margin: 4px 0 0; }
.pay-policy {
  margin: 22px 0 0; padding: 20px 24px; border-radius: var(--radius); background: var(--blush); border: 1px solid var(--blush-2); text-align: center;
}
.pay-policy p { margin: 0; }
.pay-policy p + p { margin-top: 10px; }
.pay-policy .es-copy { font-family: var(--serif); font-style: italic; font-size: 18.5px; color: var(--rose-ink); }
@media (max-width: 720px) { .pay-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin: 0 0 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; justify-content: center; }
.filters::-webkit-scrollbar { display: none; }
.filters button {
  flex: none; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--champagne-2); background: var(--white);
  font: 500 13px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.filters button[aria-pressed="true"] { background: var(--rose-deep); border-color: var(--rose-deep); color: var(--white); }
.filters button .c { opacity: .65; margin-left: 4px; font-weight: 400; }
@media (max-width: 720px) { .filters { justify-content: flex-start; margin-inline: -20px; padding-inline: 20px; } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: 18px 18px 18px 18px; overflow: hidden; background: var(--blush); aspect-ratio: 3 / 4; position: relative; }
.gallery figure[hidden] { display: none; }
.gallery figure button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.gallery figure button:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: -4px; border-radius: 18px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure::after {
  content: ""; position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2397535f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 15px no-repeat;
  pointer-events: none; box-shadow: 0 4px 12px -6px rgba(0,0,0,.3);
}
.gallery.home { grid-template-columns: repeat(4, 1fr); }
@media (min-width: 901px) {
  .gallery.full figure:nth-child(6n+1) { grid-row: span 2; aspect-ratio: auto; }
}
@media (max-width: 900px) { .gallery, .gallery.home { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (max-width: 620px) { .gallery figure { border-radius: 14px; } }
.gallery:not(:has(figure)) { display: none; }
.gallery:has(figure) + .gallery-empty { display: none; }
.gallery-empty {
  text-align: center; padding: 56px 24px; border: 1px dashed var(--rose); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white) 0%, var(--blush) 100%);
}
.gallery-empty-icon { color: var(--rose-deep); margin: 0 auto 14px; }
.gallery-empty-title { font-family: var(--serif); font-size: clamp(28px, 5vw, 38px); color: var(--ink); margin: 0 0 8px; }
.gallery-empty-sub { color: var(--muted); margin: 0 auto; max-width: 42ch; }
.caption-note { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(46, 30, 34, 0.94); padding: calc(58px + env(safe-area-inset-top, 0px)) 14px calc(76px + var(--safe-b));
  -webkit-tap-highlight-color: transparent;
}
.lightbox[hidden] { display: none; }
.lightbox.open { display: flex; animation: fade .2s ease; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); touch-action: pan-y pinch-zoom; }
.lightbox .lb-cap { position: absolute; left: 0; right: 0; bottom: calc(18px + var(--safe-b)); text-align: center; color: #f6e6e2; font-family: var(--serif); font-style: italic; font-size: 18px; padding: 0 70px; line-height: 1.3; }
.lightbox .lb-count { position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); left: 20px; color: #e8d5cf; font-size: 13px; letter-spacing: 0.2em; }
.lightbox button {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1);
  color: #fff; cursor: pointer; display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox .lb-close { top: calc(8px + env(safe-area-inset-top, 0px)); right: 12px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 620px) {
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: calc(10px + var(--safe-b)); transform: none; width: 44px; height: 44px; }
  .lightbox .lb-cap { font-size: 16px; padding: 0 64px; bottom: calc(18px + var(--safe-b)); }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
body.lb-open { overflow: hidden; }

/* ---------- Instagram band ---------- */
.insta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--white); border: 1px solid var(--champagne-2); border-radius: var(--radius); padding: 30px 34px; box-shadow: var(--shadow-soft);
}
.insta .handle { font-family: var(--serif); font-size: 36px; color: var(--rose-deep); line-height: 1.1; }
.insta .btn-row { flex: 0 1 auto; }
@media (max-width: 620px) {
  .insta { padding: 26px 22px; text-align: center; justify-content: center; }
  .insta .btn-row, .insta .btn { width: 100%; }
}

/* ---------- Form ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
@media (max-width: 620px) { .form-card { padding: 24px 18px; border-radius: 20px; margin-inline: -6px; } }
fieldset { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
fieldset + fieldset { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 28px; }
legend { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 28px; font-weight: 500; margin-bottom: 18px; padding: 0; float: left; width: 100%; line-height: 1.15; }
legend + * { clear: both; }
legend .step-n {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--champagne); display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--rose-deep); background: var(--champagne-3);
}
.field { margin-bottom: 20px; }
.field > label, .field > .label { display: block; font-weight: 500; font-size: 15px; margin-bottom: 7px; }
.req { color: var(--rose-deep); }
.opt { color: var(--muted); font-weight: 400; font-size: 13.5px; }
.hint { display: block; font-size: 14px; color: var(--muted); margin-top: 7px; line-height: 1.5; }
.hint.warn { color: var(--rose-ink); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 620px) { .row-2 { grid-template-columns: 1fr; } }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea {
  width: 100%;
  font: 16px/1.4 var(--sans); /* 16px prevents iOS zoom on focus */
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--blush-2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  min-height: 54px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input[type="date"] { display: block; min-width: 0; text-align: left; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
select {
  padding-right: 44px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2397535f' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
select:disabled, input:disabled { opacity: .55; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--rose-mid); background: var(--white); outline: none; box-shadow: 0 0 0 4px rgba(214, 163, 170, 0.25); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: #c0566b; }

.file-drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  border: 1.5px dashed var(--rose); border-radius: 16px; padding: 26px 16px; background: var(--ivory); cursor: pointer;
}
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop .file-name { font-size: 14px; color: var(--rose-deep); word-break: break-all; }

.choice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.choice { position: relative; flex: 1 1 140px; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.choice > span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 54px; border-radius: var(--radius-sm);
  padding: 10px 12px; border: 1px solid var(--blush-2); background: var(--ivory); font-weight: 500; cursor: pointer; line-height: 1.3;
  transition: background .2s, border-color .2s, color .2s;
}
.choice > span small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 3px; }
.choice input:checked + span { background: var(--rose-deep); color: var(--white); border-color: var(--rose-deep); }
.choice input:checked + span small { color: #f8e1e3; }
.choice input:focus-visible + span { outline: 2px solid var(--rose-deep); outline-offset: 3px; }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-grid .choice > span { min-height: 76px; }
@media (max-width: 620px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } }

.choice-list { display: grid; gap: 10px; }
.choice-list .choice > span { flex-direction: row; justify-content: space-between; text-align: left; gap: 12px; padding: 14px 16px; }
.choice-list .choice > span .nm { display: flex; flex-direction: column; }
.choice-list .choice > span .amt { font-family: var(--serif); font-size: 19px; font-weight: 600; white-space: nowrap; color: var(--rose-deep); }
.choice-list .choice input:checked + span .amt { color: var(--white); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 24px; height: 24px; flex: none; margin: 1px 0 0; accent-color: var(--rose-deep); }

.fill-note { font-size: 14.5px; margin-top: 8px; color: var(--rose-ink); }

/* Inspiration-photo policy card */
.inspo-card {
  position: relative; margin: 6px 0 22px; padding: 26px 24px 22px; border-radius: var(--radius); text-align: center;
  background: linear-gradient(160deg, var(--blush-2) 0%, var(--blush) 100%); border: 1px solid var(--rose);
  box-shadow: var(--shadow-soft);
}
.inspo-card::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(255,255,255,.7); border-radius: calc(var(--radius) - 5px); pointer-events: none; }
.inspo-card .inspo-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--white); color: var(--rose-deep); margin-bottom: 10px; }
.inspo-card p { margin: 0; font-size: 16px; color: var(--ink); }
.inspo-card .es-copy { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rose); font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--rose-ink); line-height: 1.45; }
html[lang="es"] .inspo-card { display: flex; flex-direction: column; align-items: center; }
html[lang="es"] .inspo-card .es-copy { order: -1; margin: 0 0 12px; padding: 0 0 12px; border-top: 0; border-bottom: 1px solid var(--rose); }
html[lang="es"] .inspo-card .inspo-icon { order: -2; }

/* Estimate */
.estimate {
  position: relative; background: linear-gradient(150deg, var(--blush) 0%, var(--ivory) 100%);
  border: 1px solid var(--blush-2); border-radius: 20px; padding: 22px 24px; margin: 4px 0 8px;
}
.estimate h3 { font-size: 22px; margin: 0 0 10px; }
.estimate .line { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; padding: 6px 0; border-bottom: 1px dashed var(--blush-2); }
.estimate .line span:last-child { font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; }
.estimate .total { border-bottom: 0; border-top: 1px solid var(--rose); margin-top: 6px; padding-top: 14px; font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--rose-deep); align-items: baseline; }
.estimate .total span:first-child { font-size: 21px; color: var(--ink); font-weight: 500; }
.estimate .quote-flag {
  margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--champagne);
  font-family: var(--serif); font-size: 21px; line-height: 1.25; text-align: center; color: var(--ink);
}
.estimate .quote-flag em { display: block; color: var(--rose-deep); font-size: 18px; }
.estimate .reasons { margin: 10px 0 0; padding-left: 20px; font-size: 14.5px; color: var(--muted); }
.estimate .small { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }
.estimate .warn { font-size: 14px; color: var(--rose-ink); margin: 10px 0 0; font-weight: 500; }

.form-error { background: #fdecef; color: #8e2f47; border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; font-size: 15px; }
.hidden { display: none !important; }
.submit-btn { width: 100%; min-height: 60px; font-size: 15px; }

/* ---------- Thank you ---------- */
.thanks-card { background: var(--white); border: 1px solid var(--champagne-2); border-radius: 28px; padding: 44px 30px; box-shadow: var(--shadow); text-align: center; position: relative; }
.thanks-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--champagne-3); border-radius: 22px; pointer-events: none; }
.thanks-card h1 { font-size: clamp(48px, 10vw, 76px); margin-bottom: 0; }
.thanks-card .sub-es { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 5vw, 34px); color: var(--rose-deep); margin: 0 0 18px; }
.next-steps { text-align: left; max-width: 520px; margin: 26px auto 0; padding: 0; list-style: none; counter-reset: n; }
.next-steps li { counter-increment: n; position: relative; padding: 10px 0 10px 44px; border-bottom: 1px solid var(--line); }
.next-steps li:last-child { border-bottom: 0; }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 9px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--champagne); display: grid; place-items: center; font-family: var(--serif); font-style: italic; color: var(--rose-deep); }

/* ---------- Footer ---------- */
.site-footer { background: #4a3237; color: #f3e3e0; padding: 56px 0 32px; }
.site-footer a { color: #f7cfd6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer .mark { font-family: var(--script); font-size: 44px; color: #f7cfd6; line-height: 1; margin-bottom: 8px; }
.site-footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; margin: 0 0 14px; color: var(--champagne-2); font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer .copy { border-top: 1px solid rgba(233,220,197,0.22); margin-top: 36px; padding-top: 20px; font-size: 13.5px; opacity: 0.8; letter-spacing: 0.04em; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile order bar ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + var(--safe-b));
  background: rgba(255, 250, 245, 0.95);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--champagne-2);
  display: none;
}
.mobile-cta .btn { width: 100%; min-height: 52px; }
@media (max-width: 880px) { .mobile-cta { display: block; } }
@media (min-width: 881px) { body { padding-bottom: 0; } }
body.no-cta { padding-bottom: 0; }
body.no-cta .mobile-cta { display: none; }
