/* ═══════════════════════════════════════════════
   LA CIMA — events-page.css
   Uses: variable.css → index.css → events-page.css
   ═══════════════════════════════════════════════ */

/* ══ HERO ═══════════════════════════════════════ */
.ev-hero {
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 64px;
  padding-inline: var(--gutter);
  position: relative;
  overflow: hidden;
}
.ev-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('../imgs/neveria_la_cima_madison-Ice-cream.jpg') center 40% / cover no-repeat;
  transform: scale(1.05);
  will-change: transform;
}
.ev-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,28,.35) 0%,
    rgba(10,10,28,.60) 50%,
    rgba(10,10,28,.90) 100%
  );
}
.ev-hero-inner {
  max-width: var(--max-width); margin-inline: auto;
  width: 100%; position: relative; z-index: 1;
}
.ev-hero-tag {
  font-family: var(--font-accent);
  font-size: 10px; font-weight: 200;
  letter-spacing: .20em; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-bottom: var(--sp-4); display: block;
}
.ev-hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 68px); font-weight: 400;
  color: var(--color-white); line-height: 1.05; margin-bottom: var(--sp-5);
}
.ev-hero-h1 em { font-style: italic; color: var(--color-blue); }
.ev-hero-sub {
  font-family: var(--font-body);
  font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,.80);
  max-width: 560px; line-height: 1.7; margin-bottom: var(--sp-8);
}
.ev-hero-btns { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ══ STATS STRIP ════════════════════════════════ */
.ev-stats {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: var(--sp-6) var(--gutter);
}
.ev-stats-inner {
  max-width: var(--max-width); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  divide-color: var(--color-border);
  text-align: center;
}
.ev-stat {
  padding: var(--sp-4) var(--sp-6);
  border-right: 1px solid var(--color-border);
}
.ev-stat:last-child { border-right: none; }
.ev-stat-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 400;
  color: var(--color-blue-dark); line-height: 1; margin-bottom: var(--sp-1);
}
.ev-stat-label {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 300; color: var(--color-dark-mid);
}

/* ══ EVENT TYPES ════════════════════════════════ */
.ev-types {
  background: var(--color-cream);
  padding-block: var(--sp-20);
  padding-inline: var(--gutter);
}
.ev-types-inner { max-width: var(--max-width); margin-inline: auto; }
.ev-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
.ev-type-card {
  background: var(--color-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease);
  display: flex; flex-direction: column;
  cursor: pointer;
}
.ev-type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(60,61,93,.14);
  border-color: var(--color-blue);
}
.ev-type-card.selected {
  border-color: var(--color-blue-dark);
  box-shadow: 0 0 0 4px rgba(117,186,217,.2), var(--shadow-lg);
}

.ev-type-img {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; position: relative;
  transition: transform var(--ease);
}
.ev-type-card:hover .ev-type-img { transform: scale(1.05); }
.ev-type-img--quince  { background: linear-gradient(135deg, #FFE4E8, #FFD0D5); }
.ev-type-img--bday    { background: linear-gradient(135deg, #FFE9D8, #FFD4B8); }
.ev-type-img--corp    { background: linear-gradient(135deg, #E5F3F9, #B8DFF0); }
.ev-type-img--grad    { background: linear-gradient(135deg, #F3F2D4, #ECEAB0); }
.ev-type-img--wedding { background: linear-gradient(135deg, #F8F0FF, #EDD8FF); }
.ev-type-img--custom  { background: linear-gradient(135deg, #E8F5E0, #C8E8B8); }

.ev-type-badge {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  padding: 4px 12px; border-radius: var(--r-full);
  background: var(--color-dark); color: var(--color-white);
}
.ev-type-badge--popular { background: var(--color-red); }

.ev-type-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.ev-type-title {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 400; color: var(--color-dark);
  margin-bottom: var(--sp-3); line-height: 1.15;
}
.ev-type-desc {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 300; color: var(--color-dark-mid);
  line-height: 1.65; margin-bottom: var(--sp-4); flex: 1;
}
.ev-type-includes {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.ev-type-chip {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 400;
  padding: 3px 10px; border-radius: var(--r-full);
  background: var(--color-sky-blue); color: var(--color-blue-dark);
  border: 1px solid var(--color-blue-light);
}
.ev-type-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px 20px; border-radius: var(--r-full);
  background: var(--color-dark); color: var(--color-white);
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  border: 2px solid var(--color-dark);
  cursor: pointer; transition: all var(--ease);
  text-decoration: none; margin-top: auto;
  letter-spacing: .02em;
}
.ev-type-cta:hover {
  background: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(74,154,191,.35);
}
.ev-type-card.selected .ev-type-cta {
  background: var(--color-wa);
  border-color: var(--color-wa);
}
.ev-type-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ══ PACKAGES SECTION ═══════════════════════════ */
.ev-packages {
  background: var(--color-sky-blue);
  border-top: 1px solid var(--color-blue-light);
  padding-block: var(--sp-20);
  padding-inline: var(--gutter);
}
.ev-packages-inner { max-width: var(--max-width); margin-inline: auto; }

.ev-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
  align-items: stretch;
}

/* ── Base card ── */
.ev-pkg {
  background: var(--color-white);
  border-radius: 20px;
  padding: 36px 32px 32px;
  border: 2px solid var(--color-border);
  transition: all var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  user-select: none;
}
.ev-pkg:hover {
  border-color: var(--color-blue-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

/* ── Featured card ── */
.ev-pkg--featured {
  background: var(--color-dark);
  border-color: var(--color-dark);
  box-shadow: 0 20px 48px rgba(60,61,93,.25);
  transform: translateY(-8px);
}
.ev-pkg--featured:hover {
  transform: translateY(-14px);
  box-shadow: 0 28px 56px rgba(60,61,93,.30);
}

/* ── Badge ── */
.ev-pkg-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 5px 20px; border-radius: var(--r-full);
  background: var(--color-red); color: var(--color-white);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(238,86,89,.35);
}

/* ── Name ── */
.ev-pkg-name {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 400;
  color: var(--color-dark);
  margin-bottom: var(--sp-1); text-align: center;
}
.ev-pkg--featured .ev-pkg-name { color: var(--color-white); }

/* ── Guests ── */
.ev-pkg-guests {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 300;
  color: var(--color-dark-mid);
  text-align: center; margin-bottom: var(--sp-6);
}
.ev-pkg--featured .ev-pkg-guests { color: rgba(255,255,255,.55); }

/* ── Price block ── */
.ev-pkg-price-wrap {
  text-align: center;
  padding: 20px 0;
  margin-bottom: var(--sp-2);
  border-radius: 12px;
  background: var(--color-yellow-light);
}
.ev-pkg--featured .ev-pkg-price-wrap {
  background: rgba(255,255,255,.07);
}
.ev-pkg-price {
  font-family: var(--font-display);
  font-size: 52px; font-weight: 400;
  color: var(--color-dark); line-height: 1;
}
.ev-pkg--featured .ev-pkg-price { color: var(--color-blue); }

.ev-pkg-price-note {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 300;
  color: var(--color-dark-mid); margin-top: 4px;
}
.ev-pkg--featured .ev-pkg-price-note { color: rgba(255,255,255,.45); }

/* ── Divider ── */
.ev-pkg-divider { height: 1px; background: var(--color-border); margin: 20px 0; }
.ev-pkg--featured .ev-pkg-divider { background: rgba(255,255,255,.10); }

/* ── List ── */
.ev-pkg-list { list-style: none; margin-bottom: var(--sp-8); flex: 1; }
.ev-pkg-list li {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 300;
  color: var(--color-dark-mid);
  padding: 11px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex; align-items: center; gap: 12px;
}
.ev-pkg-list li:last-child { border-bottom: none; }
.ev-pkg-list li::before {
  content: '✓';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-sky-blue);
  color: var(--color-blue-dark);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ev-pkg--featured .ev-pkg-list li { color: rgba(255,255,255,.75); border-bottom-color: rgba(255,255,255,.08); }
.ev-pkg--featured .ev-pkg-list li::before { background: rgba(255,255,255,.12); color: var(--color-blue); }

/* ── Buttons ── */
.ev-pkg-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px 20px; border-radius: var(--r-full);
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  border: 2px solid transparent; cursor: pointer;
  transition: all var(--ease); text-decoration: none;
  letter-spacing: .02em; margin-top: auto;
}
.ev-pkg-btn--default {
  background: var(--color-dark); color: var(--color-white);
  border-color: var(--color-dark);
}
.ev-pkg-btn--default:hover {
  background: var(--color-blue-dark); border-color: var(--color-blue-dark);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.ev-pkg-btn--featured {
  background: var(--color-red); color: var(--color-white);
  border-color: var(--color-red);
}
.ev-pkg-btn--featured:hover {
  background: var(--color-red-dark); border-color: var(--color-red-dark);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(238,86,89,.35);
}
.ev-pkg-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ══ HOW IT WORKS ═══════════════════════════════ */
.ev-how {
  background: var(--color-white);
  padding-block: var(--sp-20);
  padding-inline: var(--gutter);
}
.ev-how-inner { max-width: var(--max-width); margin-inline: auto; }
.ev-how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-12);
  position: relative;
}
.ev-how-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: 60px; right: 60px; height: 2px;
  background: linear-gradient(to right, var(--color-blue-light), var(--color-blue), var(--color-blue-light));
  z-index: 0;
}
.ev-how-step { text-align: center; position: relative; z-index: 1; }
.ev-how-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-dark); color: var(--color-white);
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-4);
  border: 4px solid var(--color-cream);
  box-shadow: var(--shadow-sm);
}
.ev-how-icon { font-size: 24px; margin-bottom: var(--sp-3); }
.ev-how-title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 400; color: var(--color-dark); margin-bottom: var(--sp-2);
}
.ev-how-desc {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 300; color: var(--color-dark-mid); line-height: 1.65;
}

/* ══ QUOTE FORM ══════════════════════════════════ */
.ev-quote {
  background: var(--color-cream);
  padding-block: var(--sp-20);
  padding-inline: var(--gutter);
}
.ev-quote-inner {
  max-width: 760px; margin-inline: auto;
}
.ev-quote-card {
  background: var(--color-white);
  border-radius: var(--r-lg);
  padding: var(--sp-12);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.ev-quote-title {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 400; color: var(--color-dark);
  margin-bottom: var(--sp-2); line-height: 1.1; text-align: center;
}
.ev-quote-sub {
  font-family: var(--font-body);
  font-size: 15px; font-weight: 300; color: var(--color-dark-mid);
  text-align: center; margin-bottom: var(--sp-8); line-height: 1.65;
}
.ev-field { margin-bottom: var(--sp-5); }
.ev-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.ev-label {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500; color: var(--color-dark);
  display: block; margin-bottom: var(--sp-2);
}
.ev-label span { color: var(--color-red); }
.ev-input, .ev-select, .ev-textarea {
  width: 100%; padding: 12px 16px;
  font-family: var(--font-body); font-size: 15px; font-weight: 300;
  color: var(--color-dark); background: var(--color-cream);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-md); outline: none; transition: all var(--ease);
}
.ev-input:focus, .ev-select:focus, .ev-textarea:focus {
  border-color: var(--color-blue); background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(117,186,217,.15);
}
.ev-input::placeholder, .ev-textarea::placeholder { color: var(--color-dark-mid); font-weight: 300; }
.ev-textarea { resize: vertical; min-height: 110px; }
.ev-select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235C5E80' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}
.ev-submit {
  width: 100%; padding: 15px 24px;
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  background: var(--color-wa); color: var(--color-white);
  border: none; border-radius: var(--r-full); cursor: pointer;
  transition: all var(--ease); letter-spacing: .02em;
  display: flex; align-items: center; justify-content: center; gap: var(--sp-3);
}
.ev-submit:hover { background: var(--color-wa-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.35); }
.ev-submit svg { width: 18px; height: 18px; }
.ev-alert {
  padding: 14px 18px; border-radius: var(--r-md); margin-bottom: var(--sp-5);
  font-family: var(--font-body); font-size: 15px; font-weight: 400;
  display: none; align-items: center; gap: var(--sp-3);
}
.ev-alert.show { display: flex; }
.ev-alert--success { background: var(--color-green-light); color: var(--color-green-dark); border: 1px solid rgba(138,133,40,.2); }
.ev-alert--error   { background: var(--color-red-light);   color: var(--color-red-dark);   border: 1px solid rgba(204,51,54,.2); }

/* Quick WhatsApp CTA under form */
.ev-wa-alt {
  text-align: center; margin-top: var(--sp-6);
  font-family: var(--font-body); font-size: 14px; font-weight: 300;
  color: var(--color-dark-mid);
}
.ev-wa-alt a { color: var(--color-blue-dark); font-weight: 400; text-decoration: underline; }

/* ══ RESPONSIVE ═════════════════════════════════ */
@media (max-width: 1024px) {
  .ev-types-grid   { grid-template-columns: repeat(2, 1fr); }
  .ev-packages-grid{ grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .ev-pkg--featured{ transform: scale(1); }
  .ev-pkg--featured:hover { transform: translateY(-4px); }
}
@media (max-width: 768px) {
  .ev-how-grid     { grid-template-columns: repeat(2, 1fr); }
  .ev-how-grid::before { display: none; }
  .ev-stats-inner  { grid-template-columns: repeat(2, 1fr); }
  .ev-hero         { min-height: 55vh; padding-top: calc(var(--nav-h) + 40px); }
  .ev-hero-btns    { flex-direction: column; align-items: stretch; width: 100%; }
  .ev-hero-btns .btn { width: 100%; justify-content: center; }
  .ev-quote-card   { padding: var(--sp-8) var(--sp-5); }
}
@media (max-width: 540px) {
  .ev-types-grid   { grid-template-columns: 1fr; }
  .ev-how-grid     { grid-template-columns: 1fr; }
  .ev-field-row    { grid-template-columns: 1fr; }
  .ev-stat         { border-right: none; border-bottom: 1px solid var(--color-border); }
  .ev-stats-inner  { grid-template-columns: 1fr 1fr; }
}

/* ── Selected event indicator ── */
.ev-type-selected-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--color-blue-dark); color: var(--color-white);
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  padding: 4px 12px; border-radius: var(--r-full);
  display: none;
}
.ev-type-card.selected .ev-type-selected-badge { display: block; }

/* ── Packages — full 3 col on desktop ── */
.ev-packages-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  max-width: var(--max-width) !important;
  gap: var(--sp-5);
  margin-top: var(--sp-12);
  align-items: start;
}
@media (max-width: 900px) {
  .ev-packages-grid {
    grid-template-columns: 1fr !important;
    max-width: 480px !important;
    margin-inline: auto;
  }
  .ev-pkg--featured { transform: scale(1) !important; }
}
