/*
 * public_html/css/main.css
 * Extraído de public_html/index.html — estilos completos del sitio Mind Matrix
 */

/* ── VARIABLES ──────────────────────────────────────────────────────────── */
:root {
  --bg:        #04101e;
  --surface:   #07192e;
  --card:      #0b2240;
  --card2:     #0e2a4d;
  --cyan:      #00e5ff;
  --cyan-dim:  #00b8cc;
  --cyan-glow: rgba(0,229,255,0.15);
  --orange:    #ff5500;
  --white:     #f0f8ff;
  --gray:      #7da2bf;
  --border:    rgba(0,229,255,0.18);
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --max:       580px;
  --r:         14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image:
    linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── WRAPPER ────────────────────────────────────────────────────────────── */
.app {
  width: 100%;
  max-width: var(--max);
  min-height: 100vh;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0,229,255,0.07);
}

/* ── HEADER ─────────────────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,25,46,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.logo-wrap { display: flex; align-items: center; gap: 9px; }

.logo-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1.5px solid var(--cyan);
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,229,255,0.08);
  flex-shrink: 0;
}
.logo-icon svg { width: 20px; height: 20px; }
.logo-icon img { width: 24px; height: 24px; object-fit: contain; border-radius: 6px; }

.logo-text { line-height: 1; }
.logo-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 12px; font-weight: 800;
  color: var(--white); letter-spacing: 2px;
}
.logo-text span { font-size: 9px; color: var(--gray); letter-spacing: 0.5px; font-weight: 400; }

.social-icons { display: flex; align-items: center; gap: 6px; }
.social-icons a {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: rgba(0,229,255,0.06);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  font-size: 9px; font-weight: 800;
  font-family: var(--font-head);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  letter-spacing: 0.5px;
}
.social-icons a:hover { background: rgba(0,229,255,0.15); border-color: var(--cyan); }

/* ── CAROUSEL ───────────────────────────────────────────────────────────── */
.carousel {
  position: relative; overflow: hidden;
  height: 220px; background: var(--card);
}
@media (min-width: 480px) { .carousel { height: 280px; } }

.carousel-track {
  display: flex; height: 100%;
  transition: transform 0.55s cubic-bezier(0.77,0,0.175,1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%; height: 100%;
  position: relative; display: flex;
  align-items: flex-end; overflow: hidden;
}

.slide-geo { position: absolute; inset: 0; pointer-events: none; z-index: 2; }

.slide-caption {
  position: relative; z-index: 20;
  width: 100%; padding: 20px 18px 14px;
  background: linear-gradient(0deg, rgba(4,16,30,0.95) 0%, rgba(4,16,30,0.4) 70%, transparent 100%);
}

.slide-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px;
  color: var(--cyan); border: 1px solid var(--cyan);
  border-radius: 4px; padding: 2px 7px; margin-bottom: 6px;
}
.slide-title {
  font-family: var(--font-head); font-size: 16px; font-weight: 800;
  color: var(--white); line-height: 1.2; letter-spacing: 0.5px;
}
@media (min-width: 480px) { .slide-title { font-size: 18px; } }
.slide-sub { margin-top: 3px; font-size: 11px; color: var(--cyan); font-weight: 500; letter-spacing: 0.3px; }

/* Carousel arrows */
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,255,0.3);
  color: var(--cyan); font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; backdrop-filter: blur(4px);
}
.carousel-btn:hover { background: rgba(0,229,255,0.25); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* Carousel dots */
.carousel-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 6px; background: var(--surface); }
.dot { width: 6px; height: 6px; border-radius: 3px; background: var(--border); border: none; cursor: pointer; transition: all 0.3s; padding: 0; }
.dot.active { width: 20px; background: var(--cyan); }

/* ── SLOGAN STRIP ───────────────────────────────────────────────────────── */
.slogan-strip {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: rgba(0,229,255,0.03);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.slogan-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,0.3), transparent); }
.slogan-text { font-family: var(--font-head); font-size: 11px; font-weight: 600; color: var(--cyan); letter-spacing: 1px; white-space: nowrap; text-align: center; font-style: italic; }

/* ── SECTION TITLE ──────────────────────────────────────────────────────── */
.section-header { padding: 20px 18px 4px; text-align: center; }
.section-title { font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: 3px; color: var(--cyan); text-transform: uppercase; }
.section-sub { margin-top: 4px; font-size: 12px; color: var(--gray); }

/* ── SERVICE CARDS ──────────────────────────────────────────────────────── */
.services { padding: 10px 14px; display: flex; flex-direction: column; gap: 12px; }

.service-card {
  border-radius: var(--r); background: var(--card);
  border: 1px solid var(--border); overflow: hidden;
  transition: border-color 0.3s;
}
.service-card:hover { border-color: rgba(0,229,255,0.4); }

.card-row { display: grid; grid-template-columns: 1fr 2fr; gap: 0; }

.card-img {
  position: relative; background: var(--card2);
  display: flex; align-items: stretch; justify-content: center;
  min-height: 200px; overflow: hidden;
  border-right: 1px solid var(--border); padding: 0;
}
.card-img-inner {
  width: 100%; aspect-ratio: 2/3; border-radius: 0; border: none;
  background: var(--card2); display: flex; align-items: center;
  justify-content: center; overflow: hidden; position: relative;
}
.card-img-inner img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); }
.service-card:hover .card-img-inner img { transform: scale(1.1); }
.card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,229,255,0.06) 100%);
  pointer-events: none; z-index: 2;
}

.card-controls { padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.card-title { font-family: var(--font-head); font-size: 10px; font-weight: 800; letter-spacing: 0.5px; color: var(--white); line-height: 1.35; text-transform: uppercase; }
.card-desc { font-size: 10px; color: var(--gray); line-height: 1.4; margin-top: -4px; }

.controls-grid { display: flex; flex-direction: column; gap: 7px; }
.control-row { display: flex; flex-direction: column; gap: 3px; }
.control-label { font-size: 9px; color: var(--gray); letter-spacing: 0.5px; font-weight: 500; }

/* Stepper */
.stepper { display: flex; align-items: center; gap: 4px; height: 28px; }
.step-btn {
  width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid var(--border); background: rgba(0,229,255,0.06);
  color: var(--cyan); font-size: 16px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; line-height: 1;
  transition: background 0.15s, transform 0.1s; flex-shrink: 0;
}
.step-btn:hover { background: rgba(0,229,255,0.2); }
.step-btn:active { transform: scale(0.9); }
.step-btn.plus { background: var(--cyan); color: var(--bg); border-color: var(--cyan); }
.step-btn.plus:hover { background: var(--cyan-dim); }
.step-value {
  flex: 1; text-align: center;
  font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--white);
  background: rgba(0,0,0,0.2); border: 1px solid var(--border);
  border-radius: 7px; height: 28px; display: flex; align-items: center; justify-content: center;
}

/* Date input */
.date-input {
  width: 100%; height: 28px; background: rgba(0,0,0,0.2);
  border: 1px solid var(--border); border-radius: 8px; color: var(--white);
  font-family: var(--font-body); font-size: 11px; padding: 0 8px; cursor: pointer;
  outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none; color-scheme: dark;
}
.date-input:focus { border-color: rgba(0,229,255,0.5); }

/* Total bar */
.total-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px; background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.2); border-radius: 9px;
}
.total-label { font-size: 9px; color: var(--gray); font-family: var(--font-head); letter-spacing: 1px; }
.total-value { font-family: var(--font-head); font-size: 14px; font-weight: 900; color: var(--cyan); }
.total-note { font-size: 8px; color: var(--gray); opacity: 0.7; }

/* Reserve button */
.btn-reserve {
  width: 100%; height: 34px; border-radius: 9px;
  background: var(--cyan); color: var(--bg); border: none;
  font-family: var(--font-head); font-size: 10px; font-weight: 800;
  letter-spacing: 1.5px; cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,229,255,0.25); text-transform: uppercase;
}
.btn-reserve:hover { background: var(--cyan-dim); box-shadow: 0 4px 28px rgba(0,229,255,0.4); }
.btn-reserve:active { transform: scale(0.98); }

/* ── CREA CONTENIDO ─────────────────────────────────────────────────────── */
.crea-contenido {
  margin: 4px 14px 0; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--border);
  overflow: hidden; height: 120px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.crea-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #04101e 0%, #0c2040 50%, #04101e 100%); }
.crea-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,229,255,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(255,85,0,0.06) 0%, transparent 50%);
}
.crea-lines { position: absolute; inset: 0; overflow: hidden; }
.crea-lines::before, .crea-lines::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.2), transparent);
}
.crea-lines::before { top: 33%; } .crea-lines::after { top: 66%; }
.crea-content { position: relative; z-index: 2; text-align: center; }
.crea-tag {
  display: inline-block; font-family: var(--font-head); font-size: 7px;
  letter-spacing: 3px; color: var(--orange); border: 1px solid var(--orange);
  border-radius: 4px; padding: 2px 8px; margin-bottom: 8px; opacity: 0.9;
}
.crea-title { font-family: var(--font-head); font-size: 15px; font-weight: 900; color: var(--white); letter-spacing: 1px; }

/* ── CTA FINAL ──────────────────────────────────────────────────────────── */
.cta-section {
  margin: 14px 14px 14px; border-radius: var(--r);
  background: linear-gradient(135deg, #1a0a02 0%, #2a1005 60%, #1a0800 100%);
  border: 1px solid rgba(255,85,0,0.3); padding: 20px 18px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,85,0,0.12) 0%, transparent 60%);
}
.cta-emoji { font-size: 26px; margin-bottom: 6px; display: block; }
.cta-text { position: relative; font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--white); letter-spacing: 0.3px; margin-bottom: 12px; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 24px; height: 40px; border-radius: 10px;
  background: var(--orange); color: #fff; border: none;
  font-family: var(--font-head); font-size: 10px; font-weight: 800;
  letter-spacing: 1.5px; cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255,85,0,0.3);
  position: relative; text-transform: uppercase;
}
.btn-cta:hover { background: #e64d00; box-shadow: 0 4px 28px rgba(255,85,0,0.5); }
.btn-cta:active { transform: scale(0.97); }

/* ── FOOTER BANNER ──────────────────────────────────────────────────────── */
.footer-banner { width: 100%; overflow: hidden; }
.footer-banner img { width: 100%; display: block; }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
footer { text-align: center; padding: 16px; border-top: 1px solid var(--border); margin-top: 4px; }
.footer-logo { font-family: var(--font-head); font-size: 11px; font-weight: 800; color: var(--cyan); letter-spacing: 3px; margin-bottom: 4px; }
.footer-links { display: flex; justify-content: center; gap: 14px; }
.footer-links a { font-size: 9px; color: var(--gray); text-decoration: none; letter-spacing: 0.5px; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { margin-top: 6px; font-size: 9px; color: rgba(125,162,191,0.5); }

/* ── CHECKOUT MODAL ─────────────────────────────────────────────────────── */
.checkout-modal {
  display: none; position: fixed; inset: 0; z-index: 9999;
  align-items: flex-end; justify-content: center;
}
.checkout-modal.open { display: flex; }
.checkout-backdrop { position: absolute; inset: 0; background: rgba(4,16,30,0.85); backdrop-filter: blur(4px); }
.checkout-content {
  position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px 20px 0 0; width: 100%; max-width: var(--max);
  max-height: 90vh; overflow-y: auto; padding: 20px 18px 28px;
}
.checkout-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,229,255,0.08); border: 1px solid var(--border);
  color: var(--gray); width: 30px; height: 30px; border-radius: 50%;
  cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.checkout-close:hover { color: var(--white); background: rgba(0,229,255,0.2); }
.checkout-header h2 { font-family: var(--font-head); font-size: 14px; font-weight: 800; color: var(--white); letter-spacing: 1px; margin-bottom: 16px; }
.checkout-image-container { min-height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.checkout-image-container img { max-width: 100%; border-radius: 10px; }
.checkout-loader { font-size: 12px; color: var(--gray); text-align: center; padding: 20px; }
.checkout-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-checkout {
  width: 100%; height: 44px; border-radius: 10px;
  font-family: var(--font-head); font-size: 11px; font-weight: 800;
  letter-spacing: 1px; cursor: pointer; border: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity 0.2s, transform 0.1s;
}
.btn-checkout:active { transform: scale(0.98); }
.btn-checkout.primary { background: var(--cyan); color: var(--bg); }
.btn-checkout.primary:hover { opacity: 0.88; }
.btn-checkout.outline { background: transparent; border: 1px solid var(--border); color: var(--gray); }
.btn-checkout.outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── ANIMATIONS ─────────────────────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
header    { animation: fade-up 0.5s ease both; }
.carousel { animation: fade-up 0.5s 0.1s ease both; }
.service-card { animation: fade-up 0.5s ease both; }
.service-card:nth-child(1) { animation-delay: 0.15s; }
.service-card:nth-child(2) { animation-delay: 0.25s; }
.service-card:nth-child(3) { animation-delay: 0.35s; }
.crea-contenido { animation: fade-up 0.5s 0.4s ease both; }
.cta-section    { animation: fade-up 0.5s 0.45s ease both; }

@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,229,255,0); }
  50%      { box-shadow: 0 0 12px 2px rgba(0,229,255,0.15); }
}
.total-bar { animation: glow-pulse 3s ease infinite; }

/* ── DESKTOP TWEAKS ─────────────────────────────────────────────────────── */
@media (min-width: 520px) {
  .card-title { font-size: 11px; }
  .crea-contenido { height: 150px; }
  .crea-title { font-size: 20px; }
}
