/* ==========================================================================
   Aleks & Constance — Batumi Bachata & Wedding Dance
   Boutique Editorial Design System
   ========================================================================== */

:root {
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(20, 18, 16, 0.05);
  --shadow-md: 0 12px 32px rgba(20, 18, 16, 0.08);
  --shadow-lg: 0 24px 56px rgba(15, 13, 12, 0.14);

  --container-max: 1160px;
  --header-h: 70px;

  /* Default (Bachata theme) */
  --bg-hero: #131316;
  --bg-surface: #FAF8F5;
  --bg-alt: #F2EDE6;
  --bg-card: #FFFFFF;
  --bg-dark: #161518;
  --text-primary: #1A1817;
  --text-muted: #5C5550;
  --text-on-dark: #F7F4EF;
  --text-on-dark-muted: #C2BAB2;
  --border-subtle: rgba(26, 24, 23, 0.1);
  --border-dark: rgba(255, 255, 255, 0.12);

  --accent: #C85A44;
  --accent-hover: #AE4733;
  --accent-soft: #F9EAE6;
  --gold: #C69C6D;
  --gold-soft: rgba(198, 156, 109, 0.16);
  --wa-bg: #1F7A52;
  --wa-hover: #186342;
}

body.theme-wedding {
  --bg-hero: #FAF6F0;
  --bg-surface: #FFFFFF;
  --bg-alt: #F6F0E7;
  --bg-card: #FFFFFF;
  --bg-dark: #1E1916;
  --text-primary: #1E1916;
  --text-muted: #615852;
  --border-subtle: rgba(30, 25, 22, 0.1);

  --accent: #B5854B;
  --accent-hover: #9B6E38;
  --accent-soft: #F4ECE1;
  --gold: #B5854B;
  --gold-soft: rgba(181, 133, 75, 0.14);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-surface);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Container & Sections */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 84px 0;
}

.section--alt {
  background-color: var(--bg-alt);
}

.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-header {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section--dark .eyebrow,
.hero--dark .eyebrow {
  color: var(--gold);
}

.section-title {
  font-size: clamp(32px, 4.4vw, 48px);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}

.section--dark .section-subtitle {
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   Sticky Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

body.theme-bachata .site-header {
  background-color: rgba(19, 19, 22, 0.9);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--border-dark);
}

body.theme-wedding .site-header {
  background-color: rgba(250, 246, 240, 0.92);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.78;
  transition: opacity 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  opacity: 1;
}

.nav-link.is-active {
  color: var(--accent);
  font-weight: 600;
}

body.theme-bachata .nav-link.is-active {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

body.theme-bachata .lang-switch {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
}

body.theme-wedding .lang-switch {
  background: rgba(30, 25, 22, 0.06);
  border: 1px solid var(--border-subtle);
}

.lang-pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  opacity: 0.72;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.lang-pill:hover {
  opacity: 1;
}

.lang-pill.is-active {
  opacity: 1;
  background-color: var(--accent);
  color: #FFFFFF;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  padding: 28px 24px 40px;
  overflow-y: auto;
}

body.theme-bachata .mobile-drawer {
  background-color: #131316;
  color: var(--text-on-dark);
}

body.theme-wedding .mobile-drawer {
  background-color: #FAF6F0;
  color: var(--text-primary);
}

.mobile-drawer.is-open {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.18);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 13px;
}

.btn--primary {
  background-color: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(200, 90, 68, 0.24);
}

body.theme-wedding .btn--primary {
  box-shadow: 0 8px 22px rgba(181, 133, 75, 0.24);
}

.btn--primary:hover {
  background-color: var(--accent-hover);
}

.btn--telegram {
  background-color: #229ED9;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(34, 158, 217, 0.24);
}

.btn--telegram:hover {
  background-color: #1A8AC0;
}

.btn--whatsapp {
  background-color: var(--wa-bg);
  color: #FFFFFF;
}

.btn--whatsapp:hover {
  background-color: var(--wa-hover);
}

.btn--outline-dark {
  background-color: transparent;
  border-color: rgba(26, 24, 23, 0.24);
  color: var(--text-primary);
}

.btn--outline-dark:hover {
  border-color: var(--text-primary);
  background-color: rgba(26, 24, 23, 0.04);
}

.btn--outline-light {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--text-on-dark);
}

.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background-color: var(--bg-hero);
  padding: 64px 0 76px;
  overflow: hidden;
}

.hero--dark {
  color: var(--text-on-dark);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 600;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero--dark .hero-lead {
  color: var(--text-on-dark-muted);
}

body.theme-wedding .hero-lead {
  color: var(--text-muted);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
}

.hero--dark .hero-pill {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-on-dark);
}

body.theme-wedding .hero-pill {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1.02;
  max-width: 440px;
  margin-left: auto;
  box-shadow: var(--shadow-lg);
}

.hero--dark .hero-frame {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1B1A1F;
}

body.theme-wedding .hero-frame {
  border: 1px solid rgba(181, 133, 75, 0.28);
  background: #EFE7DC;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(19, 19, 22, 0.78);
  backdrop-filter: blur(8px);
  color: #F7F4EF;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.hero-caption strong {
  font-weight: 600;
}

.hero-caption span {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

/* ==========================================================================
   Split / About Blocks & Cards
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 52px;
  align-items: center;
}

.photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prose p + p {
  margin-top: 14px;
}

.prose p {
  color: var(--text-muted);
  font-size: 16.5px;
}

.prose strong {
  color: var(--text-primary);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card--featured {
  border: 2px solid var(--accent);
  position: relative;
}

.card-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.card-title {
  font-size: 24px;
  line-height: 1.2;
}

.card-text {
  color: var(--text-muted);
  font-size: 15px;
}

.card-price {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-primary);
  margin: 4px 0;
}

.card-price small {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-split {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 4px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-alt);
  border: 1px solid var(--border-subtle);
}

.price-row__label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.price-row__val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
  white-space: nowrap;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.card-footer {
  margin-top: auto;
  padding-top: 12px;
}

/* Highlight Callout / Couple Strip */
.callout-band {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.callout-band--accent {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #241F1E 100%);
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.1);
}

.callout-band--accent .card-text {
  color: var(--text-on-dark-muted);
}

.inline-note {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-soft);
  color: var(--text-primary);
  font-size: 14.5px;
  border-left: 3px solid var(--accent);
}

.inline-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-alt);
  border: 1px solid var(--border-subtle);
}

.gallery-item--third {
  grid-column: span 4;
  aspect-ratio: 10 / 9;
}

.gallery-item--portrait {
  grid-column: span 3;
  aspect-ratio: 3 / 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   Schedule & Location
   ========================================================================== */
.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.schedule-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.schedule-day {
  font-weight: 700;
  font-size: 16px;
}

.schedule-meta {
  font-size: 14px;
  color: var(--text-muted);
}

.schedule-time {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* ==========================================================================
   Steps Timeline (Wedding Dance)
   ========================================================================== */
.step-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  opacity: 0.85;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.is-open {
  border-color: var(--accent);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 16.5px;
}

.faq-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-item.is-open .faq-plus {
  transform: rotate(45deg);
  background-color: var(--accent);
  color: #FFFFFF;
}

.faq-panel {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.faq-item.is-open .faq-panel {
  display: block;
}

/* ==========================================================================
   Cross-Promo & Footer
   ========================================================================== */
.cross-promo {
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  border: 1px solid rgba(181, 133, 75, 0.35);
  background: linear-gradient(135deg, #FAF6F0 0%, #F3EBE0 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cross-promo__content {
  max-width: 660px;
}

.cross-promo .section-title {
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 8px;
}

.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 68px 0 36px;
}

.footer-cta {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.footer-cta .section-title {
  margin-bottom: 12px;
}

.footer-cta p {
  color: var(--text-on-dark-muted);
  margin-bottom: 24px;
}

.footer-cta .btn-group {
  justify-content: center;
}

.footer-planner-note {
  margin: 28px auto 0;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: var(--text-on-dark-muted);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-on-dark-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.prototype-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-frame {
    margin: 0 auto;
    max-width: 400px;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .main-nav,
  .header-cta-desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-item--third {
    grid-column: span 1;
    aspect-ratio: 3 / 4;
  }

  .gallery-item--mobile-wide {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;
  }

  .gallery-item--portrait {
    grid-column: span 1;
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 58px 0;
  }

  .hero {
    padding: 40px 0 54px;
  }

  .grid-3,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .callout-band,
  .cross-promo {
    padding: 24px;
  }

  .btn-group {
    width: 100%;
  }

  .btn-group .btn {
    flex: 1 1 auto;
  }
}
