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

:root {
  --verde-profundo: #1C2B1A;
  --verde-medio: #2D4A28;
  --verde-acento: #3D6335;
  --lima: #C8E87A;
  --crema: #F5EFE0;
  --crema-oscura: #EDE7D3;
  --dorado: #C4B98A;
  --texto-suave: #7A8B72;
  --texto-apagado: #8FA880;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--crema);
  color: var(--verde-profundo);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--lima);
  color: var(--verde-profundo);
}

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

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

button {
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 64px;
  height: 64px;
  background: var(--crema);
  border-bottom: 1px solid var(--dorado);
  transition: background 0.4s ease, border-color 0.4s ease;
}

nav.scrolled {
  background: var(--verde-profundo);
  border-bottom-color: var(--verde-medio);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--verde-profundo);
  text-transform: uppercase;
  transition: color 0.4s ease;
}

nav.scrolled .nav-logo {
  color: var(--crema);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--texto-suave);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--verde-profundo);
}

nav.scrolled .nav-links a {
  color: var(--texto-apagado);
}

nav.scrolled .nav-links a:hover {
  color: var(--crema);
}

.nav-cta {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--verde-profundo);
  color: var(--crema);
  padding: 10px 22px;
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-cta:hover {
  background: var(--verde-medio);
}

nav.scrolled .nav-cta {
  background: var(--lima);
  color: var(--verde-profundo);
}

nav.scrolled .nav-cta:hover {
  background: var(--lima);
  color: var(--verde-profundo);
  opacity: 0.85;
}

.lang-selector {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 12px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--texto-suave);
  cursor: pointer;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.lang-btn:hover {
  color: var(--verde-profundo);
}

nav.scrolled .lang-btn {
  color: var(--crema);
}

nav.scrolled .lang-btn:hover {
  color: var(--lima);
}

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

.lang-code {
  line-height: 1;
}

.lang-chevron-svg {
  width: 6px;
  height: 4px;
  stroke: var(--dorado);
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.lang-selector.open .lang-chevron-svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  background: var(--crema);
  border: 1px solid var(--dorado);
  border-radius: 2px;
  padding: 8px 0 4px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transform-origin: top center;
  pointer-events: none;
  z-index: 1001;
  transition: opacity 0.16s ease-in, transform 0.16s ease-in;
}

.lang-selector.open .lang-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.26s cubic-bezier(0.34, 1.2, 0.64, 1), transform 0.26s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 18px;
  border: none;
  background: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--texto-suave);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.25s ease, transform 0.25s ease;
  opacity: 0;
  transform: translateY(4px);
}

.lang-option svg {
  width: 18px;
  height: 13px;
  flex-shrink: 0;
}

.lang-selector.open .lang-option {
  opacity: 1;
  transform: translateY(0);
}

.lang-selector.open .lang-option:nth-child(1) { transition-delay: 0ms; }
.lang-selector.open .lang-option:nth-child(2) { transition-delay: 40ms; }
.lang-selector.open .lang-option:nth-child(3) { transition-delay: 80ms; }
.lang-selector.open .lang-option:nth-child(4) { transition-delay: 120ms; }

.lang-option:hover {
  background: var(--crema-oscura);
  color: var(--verde-profundo);
  font-weight: 500;
}

.lang-option.active {
  color: var(--verde-profundo);
  font-weight: 500;
}

.lang-active-line {
  display: none;
  width: 20px;
  height: 1px;
  background: var(--dorado);
  margin-left: auto;
  flex-shrink: 0;
}

.lang-option.active .lang-active-line {
  display: block;
}

.lang-separator {
  height: 1px;
  background: var(--dorado);
  opacity: 0.4;
  margin: 2px 18px;
}

.hero {
  min-height: 100vh;
  background: var(--verde-profundo);
  display: flex;
  align-items: center;
  padding: 64px 64px 0;
  position: relative;
}

.hero-inner {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.hero-left {
  flex: 1.2;
  padding-right: 48px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--lima);
  margin-bottom: 28px;
}

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 1.0;
  color: var(--crema);
}

.hero-h1 .italic-lima {
  font-style: italic;
  color: var(--lima);
}

.hero-divider {
  width: 40px;
  height: 1px;
  background: var(--dorado);
  border: none;
  margin: 28px 0;
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--texto-apagado);
  line-height: 1.8;
  max-width: 380px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}

.btn-primary {
  background: var(--lima);
  color: var(--verde-profundo);
  padding: 14px 32px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'DM Sans', sans-serif;
  border: none;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-ghost {
  background: transparent;
  color: var(--crema);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px 32px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-ghost:hover {
  background: var(--crema);
  color: var(--verde-profundo);
}

.hero-right {
  flex: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration {
  width: 100%;
  height: auto;
  max-height: 560px;
  display: block;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

.banda {
  background: var(--lima);
  padding: 14px 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.banda-item {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--verde-profundo);
}

.banda-sep {
  width: 1px;
  height: 16px;
  background: rgba(28, 43, 26, 0.3);
}

.historia {
  position: relative;
  overflow: hidden;
  padding: 80px 64px;
  background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1400&q=80');
  background-size: cover;
  background-position: center;
}

.historia::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 43, 26, 0.72);
  z-index: 1;
}

.historia-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.historia-left {
  flex: 0 0 40%;
}

.historia .section-label {
  color: var(--lima);
}

.historia-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 42px;
  color: var(--crema);
  line-height: 1.2;
}

.historia-rule {
  width: 80px;
  height: 1px;
  background: var(--dorado);
  border: none;
  margin: 24px 0;
}

.historia-founded {
  font-size: 12px;
  color: var(--texto-apagado);
  letter-spacing: 1px;
}

.historia-right {
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
}

.stat-block {
  padding: 20px 0;
}

.stat-block + .stat-block {
  border-top: 1px solid var(--dorado);
}

.historia .stat-number {
  color: var(--lima);
}

.historia .stat-label {
  color: var(--texto-apagado);
}

.carta {
  background: var(--verde-profundo);
  padding: 80px 64px;
}

.carta-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.carta-header {
  margin-bottom: 48px;
}

.carta-eyebrow {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--lima);
  margin-bottom: 12px;
}

.carta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--crema);
}

.carta-sub {
  font-size: 15px;
  font-style: italic;
  color: var(--texto-apagado);
  margin-top: 8px;
}

.carta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.03);
  align-items: start;
}

.smoothie-card {
  background: var(--verde-medio);
  padding: 32px 28px;
  position: relative;
  z-index: 1;
  transition: background 0.25s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.smoothie-card.active {
  background: var(--verde-acento);
}

.smoothie-card.active {
  transform: scale(1.02);
  z-index: 2;
}

.smoothie-card.reveal {
  transition: background 0.25s ease, opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0;
}

.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--crema);
}

.card-price {
  font-size: 13px;
  font-weight: 500;
  color: var(--lima);
}

.card-rule {
  width: 32px;
  height: 1px;
  background: var(--dorado);
  border: none;
  margin: 14px 0;
}

.card-ingredients {
  font-size: 12px;
  font-weight: 300;
  color: var(--texto-apagado);
  line-height: 1.7;
}

.card-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.smoothie-card.active .card-expand {
  max-height: 220px;
}

.card-expand-inner {
  opacity: 0;
  transform: translateY(8px);
  padding-top: 20px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.smoothie-card.active .card-expand-inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.card-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.card-illustration {
  width: 80px;
  height: 100px;
  flex-shrink: 0;
}

.card-flavor {
  font-size: 13px;
  font-weight: 300;
  font-style: italic;
  color: var(--crema);
  line-height: 1.6;
  margin: 0;
}

.card-allergens {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--texto-apagado);
  margin-top: 8px;
}

.card-order {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lima);
  margin-top: 16px;
  text-align: center;
}

.porque {
  background: var(--crema-oscura);
  padding: 80px 64px;
}

.porque-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.porque-item {
  padding-bottom: 20px;
}

.porque-number {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--dorado);
  line-height: 1;
  margin-bottom: 16px;
}

.porque-title {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--verde-profundo);
  margin-bottom: 10px;
}

.porque-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--texto-suave);
  line-height: 1.8;
}

.porque-rule {
  width: 40px;
  height: 1px;
  background: var(--dorado);
  border: none;
  margin-top: 20px;
}

.ubicacion {
  background: var(--verde-profundo);
  padding: 80px 64px;
}

.ubicacion-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.ubicacion-left {
  flex: 0 0 55%;
}

.ubicacion-eyebrow {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--lima);
  margin-bottom: 16px;
}

.ubicacion h2 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--crema);
  line-height: 1.1;
}

.ubicacion h2 .italic-lima {
  font-style: italic;
  color: var(--lima);
}

.ubicacion-rule {
  width: 60px;
  height: 1px;
  background: var(--dorado);
  border: none;
  margin: 24px 0;
}

.ubicacion-address {
  font-size: 14px;
  font-weight: 300;
  color: var(--texto-apagado);
  line-height: 2.4;
}

.ubicacion-right {
  flex: 0 0 45%;
}

.ubicacion-box {
  background: var(--verde-medio);
  border-radius: 4px;
  padding: 40px;
  text-align: center;
}

.ubicacion-box-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--texto-apagado);
  margin-bottom: 20px;
}

.ubicacion-box-address {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--crema);
  line-height: 1.6;
}

.ubicacion-map-btn {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 12px;
  background: transparent;
  color: var(--lima);
  border: 1px solid var(--verde-acento);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'DM Sans', sans-serif;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.ubicacion-map-btn:hover {
  background: var(--verde-acento);
  color: var(--crema);
}

footer {
  background: #111D0F;
  padding: 28px 64px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--lima);
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 11px;
  color: var(--texto-suave);
  letter-spacing: 1px;
}

.footer-copy {
  font-size: 11px;
  color: var(--texto-suave);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  nav {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-logo {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    padding: 100px 24px 0;
  }

  .hero-inner {
    flex-direction: column;
  }

  .hero-left {
    padding-right: 0;
    flex: none;
  }

  .hero-h1 {
    font-size: 42px;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-right {
    flex: none;
    width: 100%;
    margin-top: 32px;
    justify-content: center;
  }

  .hero-illustration {
    max-height: 320px;
    transform: scale(0.7);
    transform-origin: center top;
  }

  .banda {
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 24px;
  }

  .banda-sep {
    display: none;
  }

  .historia {
    padding: 64px 24px;
  }

  .historia-inner {
    flex-direction: column;
    gap: 48px;
  }

  .historia-left,
  .historia-right {
    flex: none;
    width: 100%;
  }

  .historia-quote {
    font-size: 28px;
  }

  .historia-right {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }

  .historia-right .stat-block {
    flex: 1 1 30%;
    padding: 16px 0;
  }

  .stat-number {
    font-size: 36px;
  }

  .carta {
    padding: 64px 24px;
  }

  .carta h2 {
    font-size: 36px;
  }

  .carta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .porque {
    padding: 64px 24px;
  }

  .porque-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .porque-number {
    font-size: 48px;
  }

  .ubicacion {
    padding: 64px 24px;
  }

  .ubicacion-inner {
    flex-direction: column;
    gap: 48px;
  }

  .ubicacion-left,
  .ubicacion-right {
    flex: none;
    width: 100%;
  }

  .ubicacion h2 {
    font-size: 36px;
  }

  .ubicacion-box {
    min-height: 160px;
  }

  footer {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0 20px;
  }

  .nav-logo {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 10px;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-h1 {
    font-size: 34px;
  }

  .hero-right {
    margin-top: 24px;
  }

  .hero-illustration {
    max-height: 260px;
  }

  .banda {
    flex-direction: column;
    gap: 8px;
    padding: 16px 24px;
  }

  .hide-mobile {
    display: none;
  }

  .historia-quote {
    font-size: 26px;
  }

  .stat-number {
    font-size: 30px;
  }

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

  .card-detail-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card-illustration {
    width: 60px;
    height: 75px;
  }

  .banda-item {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary,
  .btn-ghost {
    text-align: center;
    display: block;
  }

  .porque-number {
    font-size: 42px;
  }

  .ubicacion-box {
    padding: 28px 20px;
  }

  .footer-logo,
  .footer-tagline,
  .footer-copy {
    font-size: 10px;
  }
}