@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=DM+Sans:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #10100f;
  --surface: #171613;
  --surface-raised: #1c1a16;
  --ink: #f5f0e7;
  --muted: #c0b8ab;
  --gold: #d1aa69;
  --line: #393025;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  font-family: var(--sans);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 1rem; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #f4cc87; outline-offset: 4px; }
[id] { scroll-margin-top: 6.5rem; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.02; font-weight: 600; }
h2 { font-size: clamp(2.8rem, 6vw, 4.8rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.65rem, 3vw, 2.05rem); }
em { color: var(--gold); font-weight: 500; }
.shell { width: min(1240px, calc(100% - 8rem)); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 8vw, 7rem); }
.skip-link { position: fixed; z-index: 9; top: 1rem; left: 1rem; padding: .7rem 1rem; background: var(--ink); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { background: #10100ff5; position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { flex-shrink: 0; }
.brand img { width: 144px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.6rem); }
.nav a, .footer a { font-size: .92rem; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"], .footer a:hover { color: var(--gold); }
.nav .nav-quote { display: none; }
.menu-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 47px; padding: .62rem 1.2rem; border: 1px solid transparent; border-radius: 2px; font: 700 .89rem/1.25 var(--sans); transition: background-color .2s, color .2s, border-color .2s; text-align: center; }
.button-gold { color: #15110b; background: #c9a064; border-color: #c9a064; }
.button-gold:hover { background: #ebc58a; border-color: #ebc58a; }
.button-outline { color: #dfb979; border-color: #8d6c40; background: transparent; }
.button-outline:hover { background: #34271a; border-color: var(--gold); }
.header-quote[aria-current="page"] { background: #2d2317; }
.button-ghost { color: var(--ink); border-color: #c4a16f80; background: #0d0b09aa; }
.button-ghost:hover { background: #35281c; border-color: var(--gold); }

.hero {
  background:
    linear-gradient(90deg, #100d0af5 0%, #100d0aec 19%, #100d0aac 39%, #100d0a36 65%, #100d0a12 100%),
    linear-gradient(0deg, #100d0aa0, transparent 37%),
    url("assets/gala.jpg") center 55% / cover no-repeat #1f1710;
}
.hero-inner { display: grid; align-items: center; min-height: clamp(490px, 42vw, 650px); padding-block: 4.2rem; }
.hero-copy { max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: .75rem; color: var(--gold); font-size: .84rem; line-height: 1.35; font-weight: 700; letter-spacing: .175em; margin-bottom: 1.1rem; }
.eyebrow span { width: 1.65rem; flex: 0 0 1.65rem; height: 1px; background: #b3884c; }
.hero h1 { font-size: clamp(3.75rem, 6.55vw, 7rem); line-height: .91; letter-spacing: -.035em; }
.hero h1 em { display: inline-block; margin-top: .08em; }
.hero-description { max-width: 420px; margin-top: 1.55rem; color: #e0d7c9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.occasion-strip { border-block: 1px solid #453421; background: #17140f; }
.occasions { display: flex; justify-content: center; gap: clamp(1.4rem, 5vw, 5rem); list-style: none; padding: 1rem 0; color: #d2b98e; }
.occasions li { display: flex; align-items: center; gap: .65rem; font-size: .89rem; }
.occasions li::before { content: ""; width: 5px; height: 5px; background: #ac8049; transform: rotate(45deg); }
.occasions a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .25em; }

.page-content { min-height: calc(100vh - 185px); }
.page-content h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); letter-spacing: -.035em; }
.home-catalog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.home-tile { background: var(--surface); border: 1px solid var(--line); }
.home-tile img { width: 100%; height: auto; aspect-ratio: 1.62; object-fit: cover; }
.home-tile-copy { padding: 1.25rem; }
.home-tile-copy p, .home-planning p:not(.eyebrow), .home-contact p { margin-top: .65rem; color: var(--muted); }
.home-tile-copy a { color: var(--gold); text-decoration: underline; text-underline-offset: .18em; }
.home-tile-copy a:hover { color: var(--ink); }
.home-occasions { background: var(--surface); border-block: 1px solid var(--line); }
.home-occasions-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); }
.home-occasion-photo { margin: 1.6rem 0 0; }
.home-occasion-photo img { width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; }
.home-occasion-list { border-top: 1px solid var(--line); }
.home-occasion-list article { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.home-occasion-list p { margin-top: .4rem; color: var(--muted); }
.home-planning { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.home-planning > div { border-top: 1px solid #8d6c40; padding-top: 1.5rem; }
.home-planning h2, .home-contact h2 { font-size: clamp(2.3rem, 4.5vw, 3.7rem); }
.home-planning .button { margin-top: 1.25rem; }
.home-contact { background: radial-gradient(ellipse at 5% 0%, #302418, #181510 68%); border-block: 1px solid var(--line); }
.home-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(2.75rem, 6vw, 4.75rem); }
.home-contact-inner .button { flex-shrink: 0; }

.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 1.7rem; margin-bottom: 1.8rem; }
.section-intro > p { color: var(--muted); max-width: 350px; }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.5rem; }
.filters button { min-height: 42px; padding: .45rem .95rem; color: var(--muted); background: transparent; border: 1px solid #4d4236; border-radius: 2px; font-size: .89rem; }
.filters button:hover { color: var(--gold); border-color: var(--gold); }
.filters button[aria-pressed="true"] { background: #2d2317; border-color: #a78048; color: #f0ca88; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.catalog-card { background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s; }
.catalog-card:hover, .catalog-card:focus-within { border-color: #997545; }
.catalog-card img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; }
.card-content { padding: 1.2rem; }
.card-content p { margin: .52rem 0 .8rem; color: var(--muted); }
.text-button { padding: .18rem 0; border: 0; border-bottom: 1px solid #8b673d; color: var(--gold); background: transparent; font-weight: 700; font-size: .89rem; }
.text-button:hover { color: #f6d69f; }

.price-note, .price-count { color: var(--muted); }
.price-note { max-width: 65ch; margin-bottom: 1.5rem; }
.price-filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; max-width: 44rem; }
.price-filters label { font-weight: 600; }
.price-count { margin-block: .95rem 1.3rem; font-size: .9rem; }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; align-items: start; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-top-color: #8d6c40; }
.price-card h2 { font-size: 2rem; padding: .85rem 1rem; }
.price-card table { width: 100%; border-collapse: collapse; }
.price-card th, .price-card td { padding: .55rem 1rem; text-align: left; border-top: 1px solid var(--line); }
.price-card th { font-weight: 500; }
.price-card thead { color: var(--muted); background: #100f0d; font-size: .88rem; }
.price-card thead th:last-child, .price-card td { text-align: right; }
.price-card td { white-space: nowrap; color: var(--gold); font-variant-numeric: tabular-nums; }
.price-inline-link { color: var(--gold); text-decoration: underline; text-underline-offset: .2em; }

.process { background: var(--surface); border-block: 1px solid var(--line); }
.process-layout, .faq-layout, .quote-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); }
.process-layout .button { margin-top: 1.5rem; }
.payment-terms { display: grid; gap: .8rem; align-content: start; color: var(--muted); }
.payment-terms strong { color: var(--ink); }
.payment-terms ul { display: grid; gap: .4rem; margin: .25rem 0 0; padding-inline-start: 1.3rem; }
.payment-terms li::marker { color: var(--gold); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { position: relative; counter-increment: step; padding: 1.15rem 0 1.15rem 3.2rem; border-bottom: 1px solid var(--line); }
.steps li::before { position: absolute; left: 0; top: 1.2rem; content: counter(step); border: 1px solid #7c5f38; color: var(--gold); width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; font-size: .9rem; }
.steps p, .faq-list p { color: var(--muted); margin-top: .5rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: .8rem 0; }
.faq-list summary { cursor: pointer; font-weight: 600; min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold); font-size: 1.35rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin-bottom: .55rem; }

.quote { background: radial-gradient(ellipse at 5% 0%, #302418, #181510 55%, #131210); border-block: 1px solid var(--line); }
.quote-description { color: var(--muted); margin-top: 1rem; max-width: 360px; }
.quote-form { display: grid; gap: 1.1rem; }
.fields, .choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.quote-form label, legend { font-size: .92rem; font-weight: 600; }
label input:not([type="checkbox"]), label select, label textarea { display: block; width: 100%; margin-top: .35rem; }
input:not([type="checkbox"]), select, textarea { background: #100f0d; color: var(--ink); border: 1px solid #5a4b39; padding: .64rem .7rem; border-radius: 2px; font-size: 1rem; }
select { appearance: none; padding-right: 2rem; background: linear-gradient(45deg, transparent 48%, var(--gold) 50%) right 15px center / 5px 5px no-repeat, linear-gradient(135deg, var(--gold) 48%, transparent 50%) right 10px center / 5px 5px no-repeat, #100f0d; }
textarea { resize: vertical; }
::placeholder { color: #a89b8c; }
fieldset { margin: 0; min-width: 0; padding: .75rem .8rem .85rem; border: 1px solid #5a4b39; }
.choices { column-gap: .55rem; row-gap: .4rem; }
.choices label { display: flex; align-items: start; gap: .4rem; }
input[type="checkbox"] { width: 1.05rem; height: 1.05rem; margin: .23rem 0 0; accent-color: var(--gold); flex-shrink: 0; }
.optional, .fine-print { color: var(--muted); font-weight: 400; font-size: .86rem; }
.quote-form > .button { justify-self: start; }
.footer { background: #080807; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .6rem; padding-inline-end: 2.75rem; color: var(--muted); }
.footer-logo img { width: 145px; height: auto; }
.footer-contact { display: grid; gap: .15rem; font-style: normal; font-size: .92rem; }
.footer-contact a { color: var(--gold); text-decoration: underline; text-underline-offset: .2em; }
.whatsapp-float {
  position: fixed;
  right: calc(clamp(.85rem, 2vw, 1.5rem) + env(safe-area-inset-right, 0px));
  bottom: calc(clamp(.85rem, 2vw, 1.5rem) + env(safe-area-inset-bottom, 0px));
  z-index: 6;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #087c58;
  color: #fff;
  border: 1px solid #ffffff42;
  box-shadow: 0 .3rem 1.25rem #0008;
  transition: background-color .2s;
}
.whatsapp-float:hover { background-color: #096446; }

.dialog { width: min(530px, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 0; background: var(--surface-raised); border: 1px solid #9c7848; color: var(--ink); }
.dialog::backdrop { background: #000b; }
.dialog-inner { position: relative; padding: clamp(1.2rem, 5vw, 2.2rem); }
.dialog h2 { font-size: clamp(2rem, 6vw, 3rem); margin-right: 2.1rem; }
.dialog p:not(.eyebrow) { margin-block: .75rem; color: var(--muted); }
.dialog ul { padding-left: 1.3rem; }
.dialog li::marker { color: var(--gold); }
.close-dialog { display: grid; place-items: center; position: absolute; top: .75rem; right: .75rem; width: 42px; height: 42px; color: var(--gold); background: var(--bg); border: 1px solid var(--line); font-size: 1.5rem; line-height: 1; }
.dialog textarea { width: 100%; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .75rem; }
#quote-status:empty { display: none; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 4rem); }
  .home-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 65px; }
  .header-quote { margin-inline-start: auto; }
  .menu-toggle { display: block; color: var(--gold); background: transparent; border: 1px solid var(--line); min-height: 43px; padding: .35rem .65rem; border-radius: 2px; font-size: .87rem; }
  .nav { display: none; position: absolute; top: 100%; inset-inline: 0; padding: .9rem 1.25rem; background: var(--surface); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: grid; gap: 0; }
  .nav a { padding: .56rem 0; }
  .hero { background-position: center, center, 58% center; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-layout, .faq-layout, .quote-layout, .home-occasions-layout, .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .header-inner { gap: .45rem; }
  .brand img { width: 102px; }
  .header-quote { min-height: 43px; padding-inline: .5rem; font-size: .78rem; }
  .hero { background-image: linear-gradient(90deg, #100d0aee, #100d0aaa 57%, #100d0a53), linear-gradient(0deg, #100d0ac3, transparent 40%), url("assets/gala.jpg"); }
  .hero-inner { min-height: 480px; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 4rem); }
  .occasions { display: grid; grid-template-columns: max-content max-content; gap: .5rem 1.3rem; }
  .section-intro { display: grid; gap: .75rem; }
  .section-intro > .button { justify-self: start; }
  .home-catalog, .home-planning, .price-filters { grid-template-columns: 1fr; }
  .price-card th, .price-card td { padding-inline: .7rem; }
  .home-contact-inner { align-items: start; flex-direction: column; }
  .catalog-grid { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.2rem; padding-inline-end: 0; padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
  .footer-contact { grid-column: 1 / -1; }
  .footer-logo img { width: 112px; }
  .footer-inner p { font-size: .85rem; }
}
@media (max-width: 360px) {
  .header-quote { display: none; }
  .nav .nav-quote { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
