:root {
  --rojo: #7a1f13;
  --rojo-profundo: #461006;
  --rojo-oscuro: #2b0904;
  --naranja: #d56b21;
  --dorado: #f0b35a;
  --crema: #fff3db;
  --crema-suave: #fffaf1;
  --texto: #24120d;
  --texto-suave: #6c5042;
  --blanco: #ffffff;
  --sombra: 0 24px 70px rgba(43, 9, 4, 0.2);
  --radio: 26px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--texto);
  background:
    radial-gradient(circle at 8% 12%, rgba(240, 179, 90, 0.28), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(213, 107, 33, 0.19), transparent 32%),
    linear-gradient(180deg, #fff8ec 0%, #fff2da 48%, #fffaf1 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(30deg, rgba(122, 31, 19, 0.14) 12%, transparent 12.5%, transparent 87%, rgba(122, 31, 19, 0.14) 87.5%, rgba(122, 31, 19, 0.14)),
    linear-gradient(150deg, rgba(122, 31, 19, 0.14) 12%, transparent 12.5%, transparent 87%, rgba(122, 31, 19, 0.14) 87.5%, rgba(122, 31, 19, 0.14));
  background-size: 70px 120px;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: .8rem 1rem;
  color: var(--blanco);
  background: var(--rojo);
  border-radius: 999px;
  transition: top .25s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: .85rem 1rem;
  background: rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(122, 31, 19, 0.12);
}

.navbar {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 900;
  color: var(--rojo-profundo);
  letter-spacing: -.02em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--crema);
  background:
    radial-gradient(circle at 30% 25%, var(--dorado), transparent 28%),
    linear-gradient(135deg, var(--rojo), var(--rojo-oscuro));
  box-shadow: 0 14px 30px rgba(122, 31, 19, .28);
}

.brand-text {
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .2rem;
}

.nav-links a {
  padding: .75rem .95rem;
  border-radius: 999px;
  color: var(--texto-suave);
  font-weight: 700;
  font-size: .95rem;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--rojo);
  background: rgba(240, 179, 90, 0.22);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  background: var(--rojo);
  cursor: pointer;
  padding: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--crema);
  border-radius: 99px;
  transition: transform .25s ease, opacity .25s ease;
}

.section-shell {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(1.4rem, 4vw, 4rem);
  padding: clamp(2rem, 5vw, 5rem) 0;
}

.hero-content,
.hero-card,
.quick-card,
.detail-card,
.contact-box {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .8rem;
  color: var(--rojo);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--naranja);
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.1rem;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: .9;
  letter-spacing: -.075em;
  color: var(--rojo-profundo);
}

h2 {
  margin-bottom: .8rem;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: .98;
  letter-spacing: -.055em;
  color: var(--rojo-profundo);
}

h3 {
  margin-bottom: .6rem;
  font-size: 1.25rem;
  color: var(--rojo-profundo);
}

p {
  color: var(--texto-suave);
  line-height: 1.65;
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 1.4rem;
  color: #4d2b1f;
  font-size: clamp(1.18rem, 2.2vw, 1.75rem);
  font-weight: 800;
}

.hero-info {
  display: grid;
  gap: .7rem;
  margin: 1.5rem 0 1.7rem;
}

.info-pill {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .78rem 1rem;
  border: 1px solid rgba(122, 31, 19, 0.15);
  border-radius: 999px;
  color: var(--rojo-profundo);
  background: rgba(255,255,255,.58);
  box-shadow: 0 14px 38px rgba(122,31,19,.08);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .95rem 1.25rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--crema);
  background: linear-gradient(135deg, var(--rojo), var(--rojo-oscuro));
  box-shadow: 0 18px 40px rgba(122, 31, 19, .28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 24px 50px rgba(122, 31, 19, .36);
}

.btn-outline {
  color: var(--rojo);
  border-color: rgba(122, 31, 19, .28);
  background: rgba(255,255,255,.62);
}

.btn-outline-light {
  color: var(--crema);
  border-color: rgba(255, 243, 219, .55);
  background: rgba(255,255,255,.08);
}

.hero-card {
  align-self: stretch;
  display: grid;
  align-items: center;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 8% -2% -4% 18%;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(213, 107, 33, .28), rgba(122, 31, 19, .18));
  transform: rotate(4deg);
}

.photo-frame {
  display: grid;
  place-items: center;
  width: 100%;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, .88);
  border-radius: var(--radio);
  background: linear-gradient(145deg, #fff8ec, #f6d6a8);
  box-shadow: var(--sombra);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff8ec;
}

.hero-photo-frame {
  min-height: 520px;
}

.hero-photo-frame img {
  max-height: 660px;
}

.intro,
.gallery-section,
.details,
.contact {
  padding: clamp(3rem, 7vw, 6.8rem) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

.quick-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.quick-card {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(122,31,19,.12);
  border-radius: var(--radio);
  background: rgba(255,255,255,.72);
  box-shadow: 0 18px 48px rgba(43, 9, 4, .08);
}

.quick-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: rgba(240, 179, 90, 0.32);
  color: var(--rojo);
  font-size: 1.5rem;
}

.gallery-section {
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.9rem, 2vw, 1.35rem);
}

.gallery-item {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: transform .22s ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-5px);
  outline: none;
}

.gallery-item .photo-frame {
  height: 390px;
  border-width: 8px;
  box-shadow: 0 22px 55px rgba(43, 9, 4, .16);
}

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

.detail-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 330px;
  padding: clamp(1.4rem, 3.5vw, 2.7rem);
  border-radius: 34px;
  border: 1px solid rgba(122,31,19,.12);
  background:
    radial-gradient(circle at 90% 10%, rgba(240,179,90,.26), transparent 32%),
    rgba(255,255,255,.75);
  box-shadow: 0 24px 58px rgba(43, 9, 4, .1);
}

.detail-card.accent {
  color: var(--crema);
  background:
    radial-gradient(circle at 90% 6%, rgba(240,179,90,.42), transparent 26%),
    linear-gradient(135deg, var(--rojo), var(--rojo-oscuro));
  box-shadow: 0 26px 65px rgba(122,31,19,.3);
}

.detail-card.accent h2,
.detail-card.accent p,
.detail-card.accent .eyebrow {
  color: var(--crema);
}

.detail-card.accent .eyebrow::before {
  background: var(--dorado);
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 38px;
  color: var(--crema);
  background:
    radial-gradient(circle at 88% 18%, rgba(240,179,90,.35), transparent 26%),
    linear-gradient(135deg, var(--rojo-profundo), var(--rojo-oscuro));
  box-shadow: var(--sombra);
}

.contact-box h2,
.contact-box p,
.contact-box .eyebrow {
  color: var(--crema);
}

.contact-box .eyebrow::before {
  background: var(--dorado);
}

.contact-phone {
  margin-bottom: .45rem;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.05em;
}

.contact-actions {
  justify-content: flex-end;
  min-width: 220px;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.3rem 1rem 6rem;
  text-align: center;
  color: var(--crema);
  background: var(--rojo-oscuro);
}

.site-footer p {
  margin: .25rem 0;
  color: rgba(255, 243, 219, .9);
}

.floating-whatsapp {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--crema);
  background: linear-gradient(135deg, #2cae54, #126d32);
  box-shadow: 0 18px 42px rgba(18, 109, 50, .34);
  font-size: 1.9rem;
  font-weight: 900;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(22, 6, 3, .88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(100%, 1100px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 22px;
  background: var(--crema-suave);
  box-shadow: 0 25px 80px rgba(0,0,0,.45);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--rojo-oscuro);
  background: var(--crema);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
  }

  .hero-photo-frame {
    min-height: 440px;
  }

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

  .details,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: .7rem .85rem;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .7rem;
    border-radius: 24px;
    border: 1px solid rgba(122,31,19,.14);
    background: rgba(255,250,241,.98);
    box-shadow: 0 22px 50px rgba(43, 9, 4, .18);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .section-shell {
    width: min(100% - 1rem, var(--max));
  }

  .hero {
    gap: 1.7rem;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.5rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .hero-info,
  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .info-pill,
  .btn {
    width: 100%;
  }

  .hero-photo-frame {
    min-height: 360px;
    border-width: 7px;
  }

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

  .gallery-item .photo-frame {
    height: 430px;
  }

  .detail-card {
    min-height: 285px;
  }

  .floating-whatsapp {
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 430px) {
  .brand-mark {
    width: 39px;
    height: 39px;
  }

  .brand-text {
    max-width: 190px;
    line-height: 1.05;
  }

  .gallery-item .photo-frame,
  .hero-photo-frame {
    height: auto;
    min-height: 300px;
  }

  .photo-frame {
    border-radius: 20px;
  }

  .contact-box,
  .detail-card {
    border-radius: 26px;
  }
}
