﻿:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: #2b231b;
  background: #f7e9d8;
  line-height: 1.7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f7e9d8;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  background: linear-gradient(180deg, #cb291e 0%, #9f1b18 100%);
  color: #faf3e9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-logo img {
  height: 56px;
  width: auto;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  color: #f7f4ef;
  opacity: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 1rem;
  font-weight: 700;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: calc(100vh - 108px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
  padding: 3rem 2rem 4rem;
  background: linear-gradient(180deg, rgba(7, 5, 10, 0.25), rgba(7, 5, 10, 0.25)), url('images/43543.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 241, 205, 0.06), transparent 18%), radial-gradient(circle at bottom right, rgba(236, 95, 32, 0.06), transparent 24%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: #e3b05a;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.95rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #fffef6;
  text-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 1px 0 rgba(255,255,255,0.02);
  font-weight: 800;
}

p {
  font-weight: 500;
}

.hero-content p {
  margin: 1.4rem 0 0;
  color: rgba(247, 244, 239, 0.92);
  max-width: 38rem;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.primary {
  background: linear-gradient(135deg, #f8b229, #ec5f20);
  color: #120a04;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #f7f4ef;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto;
  max-width: 920px;
  padding: 0 1rem;
}

.hero-visual img {
  width: 100%;
  max-width: 520px;
  border-radius: 0.9rem;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
  display: block;
}


.hero-text-below {
  max-width: 920px;
  margin: 1.4rem auto 2.8rem;
  text-align: center;
  color: #2b231b;
  font-size: 1.02rem;
  line-height: 1.7;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border-radius: 0.9rem;
  border: 1px solid rgba(43, 35, 27, 0.06);
}

@media (max-width: 980px) {
  .hero-visual img {
    max-width: 420px;
  }

  .hero-text-below {
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  padding: 3rem 2rem 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.8rem;
  padding: 1.8rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.09);
}

.feature-card h4 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #2b231b;
}

.feature-card p {
  margin: 0;
  color: #4a3f33;
  line-height: 1.8;
}

.section-locations,
.section-story,
.bottom-cta {
  padding: 3rem 2rem;
}

.location-card {
  margin-bottom: 1rem;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-intro {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #f3b95e;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 1.03;
}

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

.location-card {
  overflow: hidden;
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.08);
}

.location-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.location-card-content {
  padding: 1.6rem;
}

.location-card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.2rem;
  color: #2b231b;
}

.location-card p {
  margin: 0 0 0.9rem;
  color: #4a3f33;
  line-height: 1.7;
}

.location-card a {
  color: #f8b229;
  font-weight: 700;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.story-copy {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.8rem;
  padding: 2rem;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.08);
}

.story-copy h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(2rem, 2.8vw, 3rem);
  color: #2b231b;
}

.story-copy p {
  margin: 0 0 1.2rem;
  color: #4a3f33;
  line-height: 1.85;
}

.story-image img {
  width: 100%;
  border-radius: 1.8rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.bottom-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 3rem 2rem 3rem 2rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(248, 178, 41, 0.18), rgba(236, 95, 32, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bottom-cta .cta-label {
  margin: 0 0 0.6rem;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #3d2a13;
  font-size: 0.9rem;
}

.bottom-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  color: #2b231b;
}

.site-footer {
  padding: 3rem 2rem;
  background: linear-gradient(180deg, rgba(15, 11, 19, 0.95), #09080b 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-title {
  margin: 0;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #ffffff;
}

.footer-network {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.footer-network a {
  color: #f7f4ef;
  opacity: 0.95;
}

.footer-copy {
  margin: 0;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 980px) {
  .hero,
  .story-grid,
  .features,
  .location-grid,
  .bottom-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .hero {
    min-height: auto;
    padding: 2rem 1.2rem 2.4rem;
  }

  .hero-content {
    order: 1;
    text-align: center;
    margin: 0 auto;
    max-width: 640px;
    z-index: 3;
    padding: 0;
    background: transparent;
    border-radius: 0.9rem;
    color: inherit;
  }

  .hero-visual {
    order: 2;
    margin-top: 1.6rem;
  }

  .hero-visual img {
    width: 85%;
    max-width: 360px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 5.2vw, 3.4rem);
    line-height: 1.02;
    color: #fffef6;
  }

  .story-image {
    margin-top: 1.6rem;
  }

  .location-card img {
    height: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 1rem 1rem;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(8, 6, 10, 0.98);
    flex-direction: column;
    gap: 0;
    padding: 1.2rem 1.5rem 1.4rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Small screens: tighter hero spacing and full-width image */
  .hero {
    padding: 1.4rem 0.9rem 1.6rem;
  }

    .hero h1 {
      font-size: clamp(1.8rem, 7.2vw, 2.4rem);
      line-height: 1.02;
      color: #fffef6;
    }

  .hero-visual img {
    width: 100%;
    max-width: 320px;
  }

  .hero-content p {
    font-size: 0.98rem;
    color: rgba(247, 244, 239, 0.92);
  }
  }
}
  @media (max-width: 480px) {
    .hero-content {
      background: rgba(255,255,255,0.98);
      padding: 0.9rem;
      border-radius: 0.7rem;
    }

    .eyebrow {
      color: #b57f34;
    }

    .hero h1 {
      font-size: 1.9rem;
      color: #2b231b;
    }
  }

.whatsapp-float {
  position: fixed !important;
  right: 0.8rem !important;
  left: auto !important;
  bottom: 2.2rem !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  z-index: 99999 !important;
  pointer-events: auto !important;
  transform: translateZ(0);
  touch-action: manipulation;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.22);
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.whatsapp-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Ensure WhatsApp button is visible above footer on small screens */
@media (max-width: 720px) {
  .whatsapp-float {
    bottom: 4.8rem;
    right: 0.8rem;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 420px) {
  .whatsapp-float {
    bottom: 3.2rem;
    right: 0.6rem;
    width: 48px;
    height: 48px;
  }
}

/* Prevent horizontal scroll hiding fixed UI and ensure WhatsApp button overlays viewport */
html, body {
  min-width: 100%;
  overflow-x: hidden;
}

.whatsapp-float {
  /* place relative to viewport and account for safe-area on iOS */
  inset: auto 0.8rem calc(2.2rem + env(safe-area-inset-bottom, 0px)) auto !important;
  right: 0.8rem !important;
  bottom: calc(2.2rem + env(safe-area-inset-bottom, 0px)) !important;
  transform: none !important;
  margin: 0 !important;
  box-sizing: content-box !important;
  will-change: right, bottom, transform;
}

@media (max-width: 420px) {
  .whatsapp-float {
    right: 0.55rem !important;
    bottom: calc(3.2rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Más separación lateral en pantallas grandes */
@media (min-width: 1280px) {
  .hero,
  .features,
  .section-locations,
  .section-story,
  .bottom-cta,
  .site-footer {
    padding-left: 6rem;
    padding-right: 6rem;
  }

  .location-grid,
  .features {
    max-width: 1200px;
    margin: 0 auto;
  }

  .hero-content {
    max-width: 720px;
  }
}
