/* ───────── SHARED — Ocasiones pages ───────── */
/* Inherits Chocobon variables; each page can override --accent */
:root {
  --pink: #e5308e;
  --pink-deep: #c01f74;
  --pink-soft: #fce4f1;
  --pink-blush: #fdf4f9;
  --blue: #4c4bd9;
  --cream: #fdf9f4;
  --ink: #2a1a24;
  --ink-soft: #5a4452;
  --gold: #c9a55c;
  --line: rgba(42, 26, 36, 0.12);
  --accent: var(--pink);
  --accent-soft: var(--pink-soft);
  --accent-blush: var(--pink-blush);
  --container-max: 1280px;
  --gutter-desktop: 48px;
  --gutter-mobile: 24px;
  --gutter: max(var(--gutter-desktop), calc((100% - var(--container-max)) / 2));
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.display { font-family: 'Cormorant Garamond', serif; font-weight: 500; letter-spacing: -0.01em; }
.script { font-family: 'Caveat', cursive; color: var(--accent); }

/* ── Accessibility ── */
.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  background: var(--ink); color: var(--cream);
  padding: 12px 20px; border-radius: 4px;
  font-weight: 600; font-size: 14px;
  z-index: 1000;
  transition: top 0.15s ease-in-out;
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
.nav-cta:focus-visible,
.btn:focus-visible,
.i-btn:focus-visible,
.whatsapp-float:focus-visible {
  outline-offset: 4px;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* NAV — same as home */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(253, 249, 244, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42, 26, 36, 0.06);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; gap: 36px; font-size: 14px; font-weight: 500; }
.nav-links a { position: relative; padding: 4px 0; color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: white !important;
  padding: 10px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(0.93); }
.nav-cta svg { width: 14px; height: 14px; }
@media (max-width: 820px) {
  .nav { padding: 14px var(--gutter-mobile); }
  .nav-links { display: none; }
}

/* CRUMB BACK */
.crumb {
  position: fixed; top: 120px; left: var(--gutter); z-index: 50;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); padding: 8px 14px;
  border-radius: 999px; background: rgba(253,249,244,0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: all 0.2s;
}
.crumb:hover { color: var(--accent); border-color: var(--accent); }
.crumb svg { width: 14px; height: 14px; }
@media (max-width: 1100px) { .crumb { display: none; } }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  transition: all 0.25s; cursor: pointer; border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent); color: white;
  box-shadow: 0 8px 24px -8px rgba(42,26,36,0.25);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(0.94); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: white; }
.btn svg { width: 18px; height: 18px; }

/* SECTION TITLES */
.section { padding: 120px var(--gutter); }
@media (max-width: 820px) { .section { padding: 80px var(--gutter-mobile); } }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-eyebrow {
  font-family: 'Caveat', cursive;
  font-size: 28px; color: var(--accent);
  margin-bottom: 8px;
  display: inline-block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 500; line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.section-title .ital { font-style: italic; color: var(--accent); }
.section-sub { font-size: 17px; color: var(--ink-soft); max-width: 580px; }

/* OCCASION SWITCHER */
.switcher {
  padding: 64px var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.switcher-label {
  font-family: 'Caveat', cursive;
  font-size: 24px; color: var(--accent);
  text-align: center; margin-bottom: 20px;
}
.switcher-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px; margin: 0 auto;
}
.switcher-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 24px;
  border: 1px solid var(--line); border-radius: 8px;
  background: white;
  transition: all 0.25s;
  position: relative; overflow: hidden;
}
.switcher-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -20px rgba(42,26,36,0.18);
}
.switcher-card.is-current {
  background: var(--ink); border-color: var(--ink); color: var(--cream);
}
.switcher-card.is-current .switcher-name { color: var(--cream); }
.switcher-card.is-current .switcher-meta { color: rgba(253,249,244,0.55); }
.switcher-meta {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500;
}
.switcher-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 500;
  font-style: italic;
  color: var(--ink);
}
.switcher-card .arrow { position: absolute; top: 22px; right: 22px; color: var(--accent); opacity: 0.6; }
.switcher-card.is-current .arrow { color: var(--cream); opacity: 0.4; }
@media (max-width: 820px) {
  .switcher { padding: 48px var(--gutter-mobile); }
  .switcher-grid { grid-template-columns: repeat(2, 1fr); }
  .switcher-name { font-size: 22px; }
}

/* GALLERY shared */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  grid-auto-rows: 180px;
}
.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--accent-soft);
}
.gal-item picture, .gal-item img { width: 100%; height: 100%; }
.gal-item img {
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gal-item:hover img { transform: scale(1.06); }
.gal-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42, 26, 36, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.gal-item:hover::after { opacity: 1; }
.gal-cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  color: white;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s;
  z-index: 2;
  pointer-events: none;
}
.gal-item:hover .gal-cap { transform: translateY(0); opacity: 1; }
.gal-cap-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-style: italic; }
@media (max-width: 820px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}

/* CTA BLOCK */
.cta-block {
  background: var(--accent);
  color: white;
  padding: 100px var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before, .cta-block::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-block::before { width: 400px; height: 400px; top: -200px; left: -150px; }
.cta-block::after { width: 500px; height: 500px; bottom: -250px; right: -200px; }
.cta-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.cta-block .script { color: rgba(255,255,255,0.9); font-size: 32px; margin-bottom: 8px; }
.cta-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 500; line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.cta-block h2 .ital { font-style: italic; }
.cta-block p { font-size: 18px; opacity: 0.9; margin-bottom: 40px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-buttons .btn-primary { background: white; color: var(--accent); box-shadow: none; }
.cta-buttons .btn-primary:hover { background: var(--ink); color: white; }
.cta-buttons .btn-ghost { color: white; border-color: rgba(255,255,255,0.4); }
.cta-buttons .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: white; }
.cta-buttons .btn svg { width: 18px; height: 18px; }

/* FOOTER */
footer {
  background: var(--ink);
  color: rgba(253, 249, 244, 0.7);
  padding: 80px var(--gutter) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand img { height: 72px; width: auto; margin-bottom: 24px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 320px; font-size: 14px; line-height: 1.6; }
.footer-col h5 { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--cream); margin-bottom: 20px; font-weight: 500; font-style: italic; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(253, 249, 244, 0.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  font-size: 13px;
}
.footer-bottom-brand { font-family: 'Caveat', cursive; font-size: 24px; color: var(--accent); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.5);
  z-index: 90;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse 2s ease-out infinite;
  opacity: 0;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* FAQ — keyboard-accessible <details>/<summary> */
.faq-wrap {
  max-width: 820px; margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 48px 24px 0;
  position: relative;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Outfit', sans-serif;
  font-size: 28px; font-weight: 300;
  color: var(--accent);
  transition: transform 0.25s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] summary { color: var(--accent); }
.faq-item .faq-answer {
  padding: 0 0 24px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  max-width: 720px;
}
.faq-item .faq-answer a {
  color: var(--accent); text-decoration: underline; text-underline-offset: 3px;
}
@media (max-width: 720px) {
  .faq-item summary { font-size: 19px; padding: 20px 40px 20px 0; }
}

/* TESTIMONIALS shared */
.tt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tt-card {
  background: white;
  padding: 36px 32px;
  border-radius: 6px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.tt-stars { color: var(--gold); font-size: 16px; letter-spacing: 4px; margin-bottom: 20px; }
.tt-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  flex: 1;
  margin-bottom: 24px;
}
.tt-author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.tt-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px;
}
.tt-name { font-weight: 500; font-size: 15px; }
.tt-where { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.tt-where::before { content: "★"; color: var(--gold); font-size: 11px; }
@media (max-width: 980px) { .tt-grid { grid-template-columns: 1fr; } }

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .whatsapp-float::before { animation: none; display: none; }
}

/* PRINT */
@media print {
  .nav, .crumb, .whatsapp-float, .cta-block, .switcher { display: none !important; }
  body { background: white; color: black; }
  .section { padding: 24px; break-inside: avoid; }
  a { color: black; text-decoration: underline; }
  img { max-width: 100%; page-break-inside: avoid; }
}
