/* ============ BASE & LAYOUT ============ */

.section { padding: 120px 0; border-top: 1px solid var(--rule); position: relative; }
.section:first-of-type { border-top: 0; }

.section-head { max-width: 760px; margin-bottom: 80px; }
.section-head .mono { display: block; margin-bottom: 24px; color: var(--ink-3); letter-spacing: 0.32em; }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.section-title em {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-style: italic;
  text-transform: none; letter-spacing: -0.01em;
}
.section-sub { font-size: 17px; color: var(--ink-2); max-width: 640px; margin: 0; line-height: 1.6; }

/* Brand lockup — big FLORES wordmark style */
.brand-mark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* ============ BUTTONS ============ */

.btn-primary, .btn-ghost, .btn-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-family: 'Open Sans', sans-serif; font-weight: 500;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--ink); color: var(--bg);
  padding: 16px 24px; border: 1px solid var(--ink);
}
.btn-primary:hover { background: transparent; color: var(--ink); }
.btn-primary.lg { padding: 20px 32px; font-size: 12px; }

.btn-ghost {
  background: transparent; color: var(--ink);
  padding: 16px 24px; border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-ghost.lg { padding: 20px 32px; }

.btn-link {
  font-family: 'Open Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.24em;
  padding: 8px 0; border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.btn-link:hover { gap: 14px; }

/* ============ HERO ============ */

.hero {
  padding: 80px 0 100px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative; z-index: 2;
}
@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { order: -1; }
}
.hero-kicker { color: var(--ink-3); margin-bottom: 28px; display: block; letter-spacing: 0.32em; }

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(64px, 9vw, 132px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  display: flex; flex-direction: column;
}
.hero-title .serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-style: italic;
  font-size: 0.42em;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  margin-bottom: 8px;
  display: block;
}
.hero-title-2 {
  display: block;
}
.hero-title-2 em {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-style: italic;
  text-transform: none;
  color: var(--espana-rojo);
}
.hero-title-2 .dot {
  color: var(--espana-amarillo);
  font-style: normal;
}

.hero-lead {
  font-size: 18px; line-height: 1.65; max-width: 520px;
  color: var(--ink-2); margin: 0 0 40px;
}
.hero-lead a { border-bottom: 1px solid var(--ink); font-weight: 500; }
.hero-ctas { display: flex; gap: 12px; margin-bottom: 56px; flex-wrap: wrap; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; padding-top: 32px; border-top: 1px solid var(--rule-soft);
  margin: 0;
}
.hero-stats div { display: flex; flex-direction: column; gap: 8px; }
.hero-stats dt { color: var(--ink-3); font-size: 10px; font-family: 'Open Sans', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-stats dd { font-size: 20px; margin: 0; font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; }

.hero-right { position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center; }
.hero-collage {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
}
.hero-bottles {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 8px; position: relative; padding: 40px 0;
}
.hero-bottle {
  transform: translateY(calc(var(--i) * -10px));
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 28px 40px rgba(0,0,0,0.22));
}
.hero-bottle:nth-child(2) { z-index: 2; transform: translateY(-26px); }
.hero-bottles:hover .hero-bottle { transform: translateY(0); }
.hero-bottle img { width: 180px; }
.hero-caption {
  text-align: center; color: var(--ink-3); margin-top: 16px;
  letter-spacing: 0.4em;
}

/* ============ PRODUCTS ============ */

.products-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.products-grid.grid-stacked { grid-template-columns: 1fr; gap: 0; }
.products-grid.grid-stacked .pcard { border-radius: 0; }
@media (max-width: 960px) { .products-grid { grid-template-columns: 1fr; } }

.pcard {
  background: var(--bg);
  border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 60px -40px rgba(0,0,0,0.3);
}

.pcard-top {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px 22px;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-3);
}
.pcard-num { color: var(--accent); font-weight: 600; letter-spacing: 0.2em; }
.pcard-type { letter-spacing: 0.2em; }

.pcard-stage {
  position: relative; height: 560px;
  display: flex; justify-content: center; align-items: center;
  overflow: hidden;
  padding: 0;
}
.pcard-stage-bg {
  position: absolute; inset: 0;
  background: var(--tint);
  opacity: 1;
}
.pcard-stage-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(0,0,0,0.10), transparent 65%);
}
.pcard-bottle-img {
  position: relative; z-index: 2;
  height: 79%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.30));
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.pcard:hover .pcard-bottle-img { transform: scale(1.38); }

.pcard-body { padding: 28px 28px 12px; }
.pcard-title { margin: 0 0 12px; font-weight: 300; }
.pcard-variant {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 56px;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.pcard-short {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0 0 24px;
  line-height: 1.6;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
}

.pcard-specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin: 0;
  padding: 20px 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.pcard-specs div { display: flex; flex-direction: column; gap: 4px; }
.pcard-specs dt {
  font-family: 'Open Sans', sans-serif;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}
.pcard-specs dd {
  margin: 0; font-size: 14px;
  font-family: 'Open Sans', sans-serif; font-weight: 500;
}

.pcard-actions {
  padding: 18px 28px 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.pcard-links {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.btn-link.sm {
  font-size: 9px; letter-spacing: 0.2em;
}
.btn-link.sm svg { transform: scale(0.85); }
.pcard-actions .btn-primary {
  align-self: stretch;
  justify-content: space-between;
  margin-top: 6px;
  background: var(--accent);
  border-color: var(--accent);
}
.pcard-actions .btn-primary:hover {
  background: transparent;
  color: var(--accent);
}

.products-footnote {
  text-align: center; color: var(--ink-3); margin-top: 28px;
  padding-top: 0; border-top: 0;
  letter-spacing: 0.2em;
}

/* ============ CONDITIONS ============ */
.conditions { background: var(--bg-2); }
.section.conditions { border-top: 0; border-bottom: 0; padding-top: 60px; padding-bottom: 60px; }
.section.launch-section { padding-top: 60px; }
.conditions-head { margin-bottom: 28px; max-width: 720px; }
.conditions-head .mono { color: var(--ink-3); display: block; margin-bottom: 10px; letter-spacing: 0.32em; }
.conditions-lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 300; margin: 0;
  letter-spacing: -0.01em; line-height: 1.3;
  font-style: italic;
}
.conditions-lead a { border-bottom: 1px solid var(--ink); font-style: normal; font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: 16px; }

/* Solo header — no grid below, give it more prominence */
.conditions-head-solo { margin-bottom: 0; max-width: 860px; }
.conditions-head-solo .mono { margin-bottom: 24px; font-size: 13px; }
.conditions-head-solo .conditions-lead { font-size: clamp(30px, 4vw, 46px); }
.conditions-head-solo .conditions-lead a { font-size: clamp(20px, 2.6vw, 30px); }

.conditions-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 48px 0;
}
@media (max-width: 820px) { .conditions-grid { grid-template-columns: 1fr; gap: 32px; } }

.cond-item { display: flex; flex-direction: column; gap: 16px; }
.cond-icon { color: var(--ink); }
.cond-item h4 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: 0.01em; font-family: 'Cormorant Garamond', serif; }
.cond-item p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.65; }

.conditions-foot {
  margin-top: 28px; color: var(--ink-3); text-align: center;
  letter-spacing: 0.24em;
}

/* ============ LAUNCH SECTION ============ */
.launch-section { background: var(--bg); }

/* Grid variant */
.launch-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 820px) { .launch-grid { grid-template-columns: 1fr; } }
.launch-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  display: block;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.launch-card-img {
  aspect-ratio: 4/5;
  height: auto;
  position: relative;
  background: var(--bg-2);
  display: flex; justify-content: center; align-items: center;
  color: var(--ink-3);
}
.launch-card-img .ph-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); }
.launch-card-img .mono { position: relative; z-index: 2; letter-spacing: 0.2em; }
.launch-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(0,0,0,0.18); }
.launch-card-body { padding: 24px; }
.launch-date { color: var(--ink-3); margin-bottom: 8px; display: block; letter-spacing: 0.2em; }
.launch-city { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 36px; margin: 0 0 4px; }
.launch-venue { font-size: 14px; color: var(--ink-2); font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 18px; }
.launch-note { color: var(--ink-3); margin-top: 12px; letter-spacing: 0.18em; }
.launch-card-cta { margin-top: 16px; font-size: 10px; letter-spacing: 0.22em; color: var(--ink); opacity: 0.6; }

/* Timeline variant */
.launch-timeline { position: relative; padding-top: 40px; }
.timeline-rail { position: absolute; top: 60px; left: 0; right: 0; height: 1px; background: var(--rule); }
.timeline-stops { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
@media (max-width: 820px) { .timeline-stops { grid-template-columns: repeat(2, 1fr); } .timeline-rail { display: none; } }
.timeline-stop { position: relative; padding-top: 60px; }
.timeline-dot { position: absolute; top: 14px; left: 0; width: 12px; height: 12px; border: 1px solid var(--ink); background: var(--bg); border-radius: 50%; }
.timeline-date { color: var(--ink-3); margin-bottom: 8px; display: block; letter-spacing: 0.2em; }
.timeline-city { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 30px; margin: 0 0 4px; }
.timeline-venue { font-size: 13px; color: var(--ink-2); margin-bottom: 16px; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 16px; }
.timeline-ph { background: var(--bg-2); border: 1px solid var(--rule-soft); height: 140px; display: flex; justify-content: center; align-items: center; color: var(--ink-3); }

/* Map variant */
.launch-map { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .launch-map { grid-template-columns: 1fr; } }
.launch-map-canvas { background: var(--bg-2); border: 1px solid var(--rule); aspect-ratio: 1/1; padding: 32px; }
.map-svg { width: 100%; height: 100%; }
.launch-map-list { display: flex; flex-direction: column; }
.map-row { display: flex; gap: 20px; align-items: center; text-align: left; padding: 20px 0; border-bottom: 1px solid var(--rule-soft); transition: all 0.2s ease; width: 100%; }
.map-row:hover { padding-left: 8px; }
.map-row.active { padding-left: 8px; }
.map-row.active .map-row-city { color: var(--rojo); }
.map-row-num { color: var(--ink-3); min-width: 30px; letter-spacing: 0.2em; }
.map-row-body { flex: 1; }
.map-row-city { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 28px; }
.map-row-meta { font-size: 12px; color: var(--ink-3); letter-spacing: 0.1em; margin-top: 4px; font-family: 'Open Sans', sans-serif; }

/* ============ MODAL ============ */
.modal-backdrop { position: fixed; inset: 0; background: rgba(28,26,20,0.78); z-index: 100; display: flex; justify-content: center; align-items: center; padding: 40px; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal { background: var(--bg); max-width: 900px; width: 100%; max-height: 90vh; overflow: auto; border: 1px solid var(--rule); position: relative; animation: slideUp 0.3s cubic-bezier(.2,.8,.2,1); }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close { position: absolute; top: 20px; right: 20px; z-index: 2; width: 36px; height: 36px; display: flex; justify-content: center; align-items: center; color: var(--ink); border: 1px solid var(--rule-soft); }
.modal-close:hover { background: var(--ink); color: var(--bg); }
.modal-head { padding: 48px 48px 24px; border-bottom: 1px solid var(--rule-soft); }
.modal-head .mono { color: var(--accent); display: block; margin-bottom: 16px; letter-spacing: 0.32em; }
.modal-head h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 52px; margin: 0; letter-spacing: -0.01em; }
.modal-head h3 em { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-style: italic; text-transform: none; color: var(--accent); }
.modal-grid { display: grid; grid-template-columns: 200px 1fr; gap: 48px; padding: 48px; align-items: center; }
@media (max-width: 720px) { .modal-grid { grid-template-columns: 1fr; } }
.modal-bottle { background: var(--bg-2); padding: 24px; display: flex; justify-content: center; border: 1px solid var(--rule-soft); }
.tech-list { margin: 0; display: flex; flex-direction: column; }
.tech-row { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
.tech-row:last-child { border-bottom: 0; }
.tech-row dt { font-family: 'Open Sans', sans-serif; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.tech-row dd { margin: 0; font-family: 'Open Sans', sans-serif; font-weight: 500; font-size: 16px; }
.modal-foot { padding: 24px 48px; border-top: 1px solid var(--rule-soft); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.site-foot { background: var(--ink); color: var(--bg); padding: 64px 0; }
.foot-uy-only { display: flex; justify-content: center; align-items: center; }
.foot-uy-logo { width: 200px; filter: invert(1) brightness(1.05); opacity: 0.92; }
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { padding: 6px 0; }
.foot-list a { color: rgba(243,236,217,0.8); font-size: 14px; }
.foot-list a:hover { color: var(--bg); border-bottom: 1px solid var(--bg); }
.foot-uy { display: flex; flex-direction: column; gap: 16px; }
.foot-uy-logo { width: 200px; filter: invert(1) brightness(1.05); opacity: 0.92; }
.foot-fine { color: rgba(243,236,217,0.45); font-size: 10px; letter-spacing: 0.24em; }
.foot-bar { border-top: 1px solid rgba(243,236,217,0.14); padding-top: 32px; display: flex; justify-content: space-between; color: rgba(243,236,217,0.5); flex-wrap: wrap; gap: 12px; letter-spacing: 0.2em; }


/* ============ TWEAKS ============ */
.tweaks { position: fixed; bottom: 24px; right: 24px; z-index: 200; background: var(--bg); border: 1px solid var(--rule); padding: 20px; width: 280px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.25); }
.tweaks-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--rule-soft); }
.tweaks-hint { color: var(--ink-3); }
.tweaks-group { margin-bottom: 16px; }
.tweaks-group:last-child { margin-bottom: 0; }
.tweaks-label { display: block; margin-bottom: 8px; color: var(--ink-3); letter-spacing: 0.2em; }
.tweaks-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.tweaks-chip { padding: 6px 12px; border: 1px solid var(--rule); font-size: 10px; letter-spacing: 0.14em; font-family: 'Open Sans', sans-serif; color: var(--ink); text-transform: uppercase; }
.tweaks-chip.on { background: var(--ink); color: var(--bg); }
.tweaks-chip:hover { background: var(--ink); color: var(--bg); }

/* FAQ (SEO) */
.faq .faq-list { max-width: 860px; margin-top: 32px; }
.faq .faq-item { border-top: 1px solid rgba(0,0,0,.14); padding: 22px 0; }
.faq .faq-q { font-size: 1.15rem; font-weight: 600; margin: 0 0 8px; }
.faq .faq-a { margin: 0; line-height: 1.65; }
