/* ============================================================
   MYBURGER — Coming Soon + Reviews
   ============================================================ */

/* ── Variables (desde el logo) ── */
:root {
  --teal:       #5f9b9c;
  --teal-dark:  #3d7a7b;
  --teal-light: #a8d0d1;
  --gold:       #e6bb88;
  --gold-dark:  #cfa06a;
  --dark:       #25262a;
  --charcoal:   #2e2f33;
  --cream:      #faf8f5;
  --gray:       #8a8a8e;
  --gray-light: #e8e8e8;
  --white:      #ffffff;
  --shadow:     0 4px 24px rgba(0,0,0,0.075);
  --radius:     14px;
}

/* ── Reset ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--cream);
  min-height: 100vh;
}

/* ── Split Layout ── */
.split {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.split__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 48px 40px 80px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* ── Background Slideshow ── */
.slideshow-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slideshow-bg .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slideshow-bg .slide.active {
  opacity: 1;
}

.slideshow-bg .slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,16,18,0.75) 0%,
    rgba(20,21,24,0.55) 50%,
    rgba(25,26,29,0.35) 100%
  );
}

.overlay-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.overlay-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  padding: 0;
  cursor: default;
  transition: background 0.3s, transform 0.3s;
}

.overlay-dots .dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

.split__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 56px;
  background: var(--cream);
  position: relative;
  overflow-y: auto;
}

/* ── Left Content ── */
.left-content {
  width: 100%;
  max-width: none;
  text-align: center;
  position: relative;
  z-index: 1;
  background: rgba(12, 13, 15, 0.05);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 60px 48px 100px;
   box-shadow:
     0 16px 80px rgba(0,0,0,0.63),
     0 6px 28px rgba(0,0,0,0.38),
     inset 0 1px 0 rgba(255,255,255,0.12);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-wrap {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.logo-img {
  max-width: 340px;
  height: auto;
  border-radius: 50%;
   box-shadow:
     0 8px 40px rgba(0,0,0,0.44),
     0 0 80px rgba(0,0,0,0.19);
  transition: transform 0.4s ease;
}

.logo-img:hover {
  transform: scale(1.03);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(95,155,156,0.25);
  color: #d4edee;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.badge svg {
  width: 14px;
  height: 14px;
  stroke: #d4edee;
}

.left-content h1 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 3.75rem;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.left-content h1 span {
  color: var(--gold);
}

.left-content .subtitle {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 28px;
  opacity: 0.85;
}

.construction-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.construction-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.social-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.social-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* ── Buy Link ── */
.buy-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 32px;
}

.buy-link svg {
  width: 34px;
  height: 34px;
  transition: transform 0.3s ease;
}

.buy-link span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.buy-link:hover {
  color: var(--gold);
}

.buy-link:hover svg {
  transform: scale(1.1);
}

/* ── Right Content ── */
.right-content {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 40px 36px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.right-header {
  margin-bottom: 28px;
}

.right-header .overline {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
  margin-bottom: 6px;
}

.right-header h2 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 2.25rem;
  color: var(--dark);
  letter-spacing: 1px;
  line-height: 1.1;
}

/* ── Review Form ── */
.review-form {
  background: rgba(255,255,255,0.55);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.3);
}

.review-form h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.form-row {
  margin-bottom: 14px;
}

.form-row label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 4px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--dark);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(95,155,156,0.1);
}

.form-row textarea {
  resize: vertical;
  min-height: 80px;
}

/* ── Star Rating Input ── */
.star-rating-input {
  display: flex;
  gap: 4px;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.star-rating-input input {
  display: none;
}

.star-rating-input label {
  cursor: pointer;
  width: 32px;
  height: 32px;
}

.star-rating-input label svg {
  width: 100%;
  height: 100%;
  fill: var(--gray-light);
  transition: fill 0.15s, transform 0.15s;
}

.star-rating-input label:hover svg,
.star-rating-input label:hover ~ label svg,
.star-rating-input input:checked ~ label svg {
  fill: var(--gold);
}

.star-rating-input label:hover svg {
  transform: scale(1.15);
}

.btn-submit {
  width: 100%;
  padding: 12px;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-submit:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

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

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Reviews List ── */
.reviews-section h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-section h3 .count {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: 18px 20px;
  animation: fade-in 0.35s ease;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
  color: white;
  flex-shrink: 0;
}

.review-card-info { flex: 1; }

.review-card-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dark);
}

.review-card-date {
  font-size: 0.6875rem;
  color: var(--gray);
}

.review-card-stars {
  display: flex;
  gap: 2px;
}

.review-card-stars svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
}

.review-card-stars svg.empty {
  fill: var(--gray-light);
}

.review-card-text {
  font-size: 0.875rem;
  color: var(--charcoal);
  line-height: 1.5;
}

.empty-state {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.35);
  border: 1px dashed rgba(255,255,255,0.4);
  border-radius: var(--radius);
}

.empty-state p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.5;
}

.toast {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0,0,0,0.19);
  z-index: 100;
  animation: toast-in 0.3s ease;
}

.toast.show {
  display: block;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Dark Mode ── */
html.dark-mode {
  --cream:      #1e1f23;
  --white:      #2a2b30;
  --charcoal:   #3a3b40;
  --gray:       #9a9a9e;
  --gray-light: #35363a;
  --dark:       #f0f0f0;
  --shadow:     0 4px 24px rgba(0,0,0,0.2);
}

html.dark-mode .split__right {
  background: var(--cream);
}

html.dark-mode .right-header h2 {
  color: var(--dark);
}

html.dark-mode .right-content {
  background: rgba(30,31,35,0.6);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

html.dark-mode .review-form,
html.dark-mode .review-card,
html.dark-mode .empty-state {
  background: rgba(42,43,48,0.6);
  border-color: rgba(255,255,255,0.06);
}

html.dark-mode .form-row input,
html.dark-mode .form-row textarea {
  background: var(--cream);
  border-color: var(--gray-light);
  color: var(--dark);
}

html.dark-mode .review-card-text {
  color: var(--gray);
}

html.dark-mode .toast {
  background: var(--white);
  color: var(--dark);
}

/* ── Review Modal ── */
.review-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  align-items: center;
  justify-content: center;
}

.review-modal.open {
  display: flex;
}

.review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.review-modal__card {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 28px;
  padding: 48px 40px 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  animation: modal-in 0.4s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.review-modal__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: rgba(95,155,156,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.review-modal__icon svg {
  width: 28px;
  height: 28px;
}

.review-modal__title {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 1.75rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.review-modal__name {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.review-modal__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

.review-modal__stars svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
}

.review-modal__text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  max-height: 120px;
  overflow-y: auto;
}

html.dark-mode .review-modal__card {
  background: rgba(30,31,35,0.7);
  border-color: rgba(255,255,255,0.08);
}

html.dark-mode .review-modal__title {
  color: rgba(255,255,255,0.95);
}

html.dark-mode .review-modal__name {
  color: rgba(255,255,255,0.8);
}

html.dark-mode .review-modal__text {
  color: rgba(255,255,255,0.55);
}

/* ── Dark Mode Toggle ── */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 200;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(37,38,42,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: rgba(95,155,156,0.25);
  border-color: var(--teal);
  color: var(--teal-light);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

html.dark-mode .theme-toggle {
  border-color: rgba(255,255,255,0.08);
  background: rgba(37,38,42,0.8);
  color: var(--gold);
}

html.dark-mode .theme-toggle:hover {
  background: rgba(230,187,136,0.15);
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Responsive: Fluid Auto-Adjust ── */

/* Tablet landscape & down — stack layout, left card full screen */
@media (max-width: 1024px) {
  .split {
    flex-direction: column;
    min-height: auto;
  }

  .split__left {
    justify-content: center;
    min-height: 87dvh;
    padding: clamp(24px, 5vw, 48px) clamp(16px, 4vw, 40px) clamp(24px, 5vw, 48px);
  }

  .split__right {
    justify-content: flex-start;
    min-height: auto;
    padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 56px) clamp(48px, 8vw, 80px);
  }

  .left-content {
    min-height: auto;
    padding: clamp(20px, 4vw, 48px) clamp(20px, 4vw, 48px) clamp(32px, 6vw, 60px);
  }

  .left-content h1 {
    font-size: clamp(2rem, 6vw, 3.75rem);
  }

  .left-content .subtitle {
    font-size: clamp(0.8125rem, 2vw, 1rem);
  }

  .logo-img {
    max-width: clamp(120px, 22vw, 260px);
  }

  .badge {
    font-size: clamp(0.6rem, 1.5vw, 0.75rem);
    padding: clamp(5px, 1vw, 8px) clamp(12px, 3vw, 20px);
  }

  .right-header h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
  }

  .right-content {
    padding: 28px 24px;
  }

  .review-form {
    padding: clamp(18px, 3vw, 24px);
  }
}

/* Tablet portrait — medium screens */
@media (max-width: 768px) {
  .split__left {
    padding: 32px 20px 24px;
  }

  .split__right {
    padding: 24px 20px 48px;
  }

  .right-content {
    padding: 24px 20px;
  }

  .left-content {
    padding: 24px 24px 40px;
  }

  .logo-img {
    max-width: 200px;
  }

  .logo-wrap {
    margin-bottom: 20px;
  }

  .badge {
    margin-bottom: 12px;
  }

  .construction-bar {
    font-size: 0.75rem;
    padding: 8px 14px;
    margin-bottom: 18px;
  }

  .social-links {
    gap: 10px;
    margin-top: 20px;
  }

  .buy-link {
    margin: 0 20px;
  }

  .buy-link svg {
    width: 26px;
    height: 26px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .split__left {
    padding: 24px 16px 20px;
  }

  .split__right {
    padding: 20px 16px 40px;
  }

  .right-content {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .left-content {
    padding: 18px 18px 36px;
    border-radius: 18px;
  }

  .logo-img {
    max-width: 150px;
  }

  .logo-wrap {
    margin-bottom: 16px;
  }

  .badge {
    margin-bottom: 10px;
  }

  .construction-bar {
    font-size: 0.7rem;
    padding: 6px 12px;
    margin-bottom: 14px;
  }

  .buy-link {
    margin: 0 14px;
  }

  .buy-link svg {
    width: 24px;
    height: 24px;
  }

  .buy-link span {
    font-size: 0.65rem;
  }

  .social-links {
    margin-top: 14px;
    gap: 10px;
  }

  .review-form {
    padding: 16px;
  }

  .star-rating-input label {
    width: 28px;
    height: 28px;
  }
}
