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

:root {
  --charcoal: #1a1a1a;
  --charcoal-light: #2d2d2d;
  --charcoal-mid: #3d3d3d;
  --coral: #E8635B;
  --coral-light: #f07870;
  --coral-pale: #fdf0ef;
  --white: #ffffff;
  --off-white: #faf9f8;
  --gray-50: #f7f7f6;
  --gray-100: #efefee;
  --gray-200: #e2e2e0;
  --gray-300: #c8c8c5;
  --gray-400: #9e9e9a;
  --gray-500: #6e6e6a;
  --gray-600: #4a4a47;
  --gray-700: #333330;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 249, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: color 0.3s var(--ease-out);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--coral);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--charcoal);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--charcoal);
  padding: 0.625rem 1.25rem;
  transition: background 0.3s var(--ease-out), transform 0.2s var(--ease-out);
}

.nav-cta:hover {
  background: var(--coral);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
  z-index: 1001;
}

.nav-toggle-line {
  width: 100%;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--white);
  border: 1px solid var(--charcoal);
}

.btn-primary:hover {
  background: var(--coral);
  border-color: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 99, 91, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--white);
}

.btn-white:hover {
  background: var(--coral-pale);
  border-color: var(--coral);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ── Section Eyebrow ── */
.section-eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1rem;
}

/* ── Section Title ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  padding: 120px 2rem 80px;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 1.75rem;
}

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

.hero-desc {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-600);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.hero-meta-item a {
  color: var(--coral);
  transition: color 0.3s var(--ease-out);
}

.hero-meta-item a:hover {
  color: var(--charcoal);
}

.hero-meta-item svg {
  flex-shrink: 0;
  color: var(--coral);
}

/* Hero Image */
.hero-right {
  position: relative;
}

.hero-image-frame {
  overflow: hidden;
  position: relative;
}

.hero-image-frame img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

.hero-accent-card {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: var(--charcoal);
  color: var(--white);
  padding: 1.75rem 2rem;
  z-index: 2;
}

.accent-card-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.accent-card-label {
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--gray-300);
  line-height: 1.5;
}

.hero-line {
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: var(--gray-200);
}

/* ── Divider ── */
.section-divider {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.divider-text {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
}

/* ── About ── */
.about {
  padding: 8rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  overflow: hidden;
}

.about-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.about-image-wrap:hover img {
  transform: scale(1.03);
}

.about-content .section-title {
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-200);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--gray-200);
}

/* ── Flavors ── */
.flavors {
  padding: 6rem 2rem 8rem;
  background: var(--white);
}

.flavors-header {
  max-width: 640px;
  margin: 0 auto 4rem;
}

.flavors-header .section-title {
  margin-bottom: 1rem;
}

.flavors-intro {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-500);
}

.flavors-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flavor-card {
  background: var(--off-white);
  padding: 2rem 1.5rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  border: 1px solid transparent;
}

.flavor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border-color: var(--gray-200);
}

.flavor-swatch {
  width: 100%;
  height: 80px;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  transition: transform 0.4s var(--ease-out);
}

.flavor-card:hover .flavor-swatch {
  transform: scale(1.04);
}

.flavor-swatch-mango { background: linear-gradient(135deg, #f5c542, #e8a020); }
.flavor-swatch-tamarindo { background: linear-gradient(135deg, #8B5E3C, #6d4c2e); }
.flavor-swatch-chamoy { background: linear-gradient(135deg, #E8635B, #c9443b); }
.flavor-swatch-cajeta { background: linear-gradient(135deg, #b8763b, #9a6028); }
.flavor-swatch-strawberry { background: linear-gradient(135deg, #e8635b, #d44a42); }
.flavor-swatch-coconut { background: linear-gradient(135deg, #f0ece0, #d4cfc0); }
.flavor-swatch-sandía { background: linear-gradient(135deg, #f47b7b, #e05555); }
.flavor-swatch-chocolate { background: linear-gradient(135deg, #5c3a1e, #3d2510); }

.flavor-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.flavor-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.flavors-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-top: 2.5rem;
  font-style: italic;
}

.flavors-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ── Gallery ── */
.gallery {
  padding: 8rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.gallery-header {
  text-align: center;
  margin-bottom: 4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  position: relative;
}

.gallery-item--large {
  grid-column: 1 / 8;
  grid-row: 1 / 2;
}

.gallery-item:not(.gallery-item--large) {
  grid-column: span 4;
  grid-row: 1 / 2;
}

.gallery-item--wide {
  grid-column: 4 / 13;
  grid-row: 2 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
  min-height: 240px;
}

.gallery-item--large img {
  min-height: 480px;
}

.gallery-item--wide img {
  min-height: 240px;
}

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

/* ── Visit ── */
.visit {
  padding: 8rem 2rem;
  background: var(--charcoal);
  color: var(--white);
}

.visit-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.visit .section-title {
  color: var(--white);
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 3rem 0;
}

.visit-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.visit-detail svg {
  flex-shrink: 0;
  color: var(--coral);
  margin-top: 0.25rem;
}

.visit-detail-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.375rem;
}

.visit-detail-value {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-200);
}

.visit-detail-value a {
  color: var(--coral);
  transition: color 0.3s var(--ease-out);
}

.visit-detail-value a:hover {
  color: var(--coral-light);
}

.visit-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.visit-actions .btn-primary {
  background: var(--coral);
  border-color: var(--coral);
}

.visit-actions .btn-primary:hover {
  background: var(--coral-light);
  border-color: var(--coral-light);
}

.visit-actions .btn-outline {
  border-color: var(--gray-500);
  color: var(--gray-300);
}

.visit-actions .btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.visit-map {
  height: 480px;
  background: var(--charcoal-light);
  overflow: hidden;
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(0.3) contrast(1.05);
  transition: filter 0.4s var(--ease-out);
}

.visit-map:hover iframe {
  filter: grayscale(0) contrast(1);
}

/* ── CTA Band ── */
.cta-band {
  background: var(--coral);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-text {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.cta-subtext {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 4rem 2rem 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  padding: 3rem 0 3rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: color 0.3s var(--ease-out);
}

.footer-link:hover {
  color: var(--coral);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--coral);
}

.footer-contact a {
  color: var(--coral);
  transition: color 0.3s var(--ease-out);
}

.footer-contact a:hover {
  color: var(--coral-light);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid var(--charcoal-light);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-right {
    max-width: 480px;
  }

  .hero-image-frame img {
    height: 500px;
  }

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

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

  .gallery-item--large {
    grid-column: 1 / 7;
  }

  .gallery-item:not(.gallery-item--large) {
    grid-column: span 3;
  }

  .gallery-item--wide {
    grid-column: 1 / 13;
  }

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

  .visit-map {
    height: 360px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-inner > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--off-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 1000;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 1.5rem 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero-image-frame img {
    height: 400px;
  }

  .hero-accent-card {
    bottom: -1rem;
    left: -0.5rem;
    padding: 1.25rem 1.5rem;
  }

  .accent-card-number {
    font-size: 1.75rem;
  }

  .hero-line {
    left: 1.5rem;
    right: 1.5rem;
  }

  .about {
    padding: 5rem 1.5rem;
  }

  .about-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .stat-divider {
    width: 48px;
    height: 1px;
  }

  .flavors {
    padding: 5rem 1.5rem 6rem;
  }

  .flavors-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery {
    padding: 5rem 1.5rem;
  }

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

  .gallery-item--large,
  .gallery-item:not(.gallery-item--large),
  .gallery-item--wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery-item--large img {
    min-height: 300px;
  }

  .visit {
    padding: 5rem 1.5rem;
  }

  .visit-map {
    height: 280px;
  }

  .cta-band {
    padding: 4rem 1.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-inner > :first-child {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .visit-actions {
    flex-direction: column;
  }

  .visit-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
}

@media not all and (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
  }
}
