
:root {
  --bg: #080b0d;
  --panel: #0d1114;
  --gold: #f0c987;
  --cream: #f7f3ed;
  --muted: #b8b7b3;
  --line: #343331;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  width: 100%;
  min-width: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

/* ========================================
   CABECERA Y NAVEGACIÓN
======================================== */

.header {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 5vw;
  border-bottom: 1px solid #ffffff24;
  background: linear-gradient(#050608a8, transparent);
}

.logo {
  flex-shrink: 0;
  color: #f8f3eb;
  font: 300 clamp(2.5rem, 4vw, 4.1rem)/.85 Georgia, serif;
  letter-spacing: -.08em;
}

.logo span {
  color: var(--gold);
  font-style: italic;
}

.logo small {
  display: block;
  margin: 13px 0 0 6px;
  color: #e8dfd2;
  font: 9px/1.8 Arial, sans-serif;
  letter-spacing: .25em;
}

.header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 38px);
  font-size: 10px;
  letter-spacing: .18em;
}

.header nav > a:not(.nav-wa) {
  padding: 10px 0;
  transition: color .2s ease;
}

.header nav > a:not(.nav-wa):hover {
  color: var(--gold);
}

.nav-wa {
  padding: 12px 20px;
  border: 1px solid #eee8dd;
  border-radius: 30px;
  transition: background .2s ease, color .2s ease;
}

.nav-wa:hover {
  background: var(--gold);
  color: #15100b;
}

.menu {
  display: none;
  padding: 8px 12px;
  border: 1px solid #ffffff77;
  border-radius: 5px;
  background: #080b0d;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* ========================================
   PORTADA / HERO
======================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  height: min(800px, 90vh);
  min-height: 650px;
  overflow: hidden;
  background: #15100f;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 48%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      #08090be8,
      #08090bb8 32%,
      #08090b36 68%,
      #08090b22
    ),
    linear-gradient(
      0deg,
      #080b0d,
      transparent 25%,
      transparent 80%,
      #080b0d88
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 9vw));
  margin: 110px auto 30px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3em;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font: 400 clamp(3rem, 6vw, 6.2rem)/1.05 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}

.hero h1 em {
  color: var(--gold);
  font-weight: 400;
}

.lead {
  max-width: 480px;
  margin: 22px 0 28px;
  color: #e5e0d9;
  font-size: 15px;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.gold-btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 40px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-align: center;
  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.gold-btn {
  background: var(--gold);
  color: #15100b;
}

.gold-btn:hover {
  background: #ffdfa8;
  transform: translateY(-2px);
}

.outline-btn {
  border-color: #e8dfd2;
  color: #fff;
}

.outline-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-bottom {
  position: absolute;
  right: 5vw;
  bottom: 36px;
  z-index: 1;
  color: #fff;
  font-size: 10px;
  letter-spacing: .15em;
}

/* ========================================
   CONTENEDORES Y SERVICIOS
======================================== */

.wrap {
  width: min(1320px, calc(100% - 10vw));
  margin-right: auto;
  margin-left: auto;
}

.services {
  padding-top: 115px;
  padding-bottom: 120px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 45px;
}

.section-heading > div {
  max-width: 750px;
  min-width: 0;
}

.section-heading h2,
.gallery h2,
.balloon-copy h2,
.contact h2 {
  margin: 0;
  font: 400 clamp(2.4rem, 4.4vw, 4.5rem)/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: -.04em;
}

.section-heading h2 em,
.gallery h2 em,
.balloon-copy h2 em,
.contact h2 em {
  color: var(--gold);
  font-weight: 400;
}

.section-heading > p {
  max-width: 370px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service {
  position: relative;
  isolation: isolate;
  display: block;
  min-width: 0;
  min-height: 390px;
  overflow: hidden;
  background: var(--panel);
}

.service > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}

.service:hover > img {
  transform: scale(1.055);
}

.card-dim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    #050607f2 0%,
    #050607a6 38%,
    #05060712 100%
  );
}

.card-content {
  position: absolute;
  right: 25px;
  bottom: 26px;
  left: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.card-content small {
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
}

.card-content h3,
.card-content b {
  margin: 0;
  color: inherit;
  font: 700 23px/1.25 Georgia, "Times New Roman", serif;
  letter-spacing: -.02em;
}

.card-content > span {
  color: #e4dfd7;
  font-size: 12px;
  line-height: 1.6;
}

.card-content i {
  margin-top: 8px;
  color: var(--gold);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .16em;
}

/* ========================================
   DECORACIÓN CON GLOBOS
======================================== */

.balloon-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 600px;
  background: #f1e9df;
  color: #161413;
}

.balloon-photo {
  position: relative;
  min-width: 0;
  min-height: 600px;
  overflow: hidden;
  background: #ded1c3;
}

.balloon-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.balloon-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(40px, 7vw, 105px);
}

.balloon-copy .eyebrow {
  color: #68451f;
}

.balloon-copy h2 {
  max-width: 600px;
  font-size: clamp(2.5rem, 4.2vw, 4.2rem);
}

.balloon-copy h2 em {
  color: #795026;
}

.balloon-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 24px 0;
  color: #403830;
  font-size: 14px;
  line-height: 1.9;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 0 0 30px;
  color: #403830;
  font-size: 12px;
}

.features span {
  display: block;
}

.balloon-copy .outline-btn {
  border-color: #403020;
  color: #30251b;
}

.balloon-copy .outline-btn:hover {
  border-color: #795026;
  background: #795026;
  color: #fff;
}

/* ========================================
   BODAS Y GALERÍA
======================================== */

.gallery {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 70px;
  padding-top: 125px;
  padding-bottom: 125px;
}

.gallery > div {
  min-width: 0;
}

.gallery > div:first-child {
  max-width: 570px;
}

.gallery h2 {
  margin-bottom: 24px;
}

.gallery > div:first-child > p:not(.eyebrow) {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 200px 200px;
  gap: 14px;
  min-width: 0;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  background: var(--panel);
}

.gallery-grid img:first-child {
  grid-column: 1 / -1;
}

/* ========================================
   CONTACTO
======================================== */

.contact {
  padding: 100px 24px;
  background:
    radial-gradient(
      ellipse at center,
      #252019 0%,
      #11100e 48%,
      #080b0d 100%
    );
  text-align: center;
}

.contact .eyebrow {
  margin-bottom: 20px;
}

.contact h2 {
  margin-bottom: 20px;
}

.contact > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ========================================
   PIE DE PÁGINA
======================================== */

footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding: 65px 5vw 30px;
  border-top: 1px solid var(--line);
  background: #07090a;
}

footer > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

footer > div > b {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .2em;
}

footer > div > a,
footer > div > span {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
  transition: color .2s ease;
}

footer > div > a:hover {
  color: var(--gold);
}

.legal {
  grid-column: 1 / -1;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #99958f;
  font-size: 10px;
  line-height: 2;
}

.legal a:hover {
  color: var(--gold);
}

/* ========================================
   WHATSAPP FLOTANTE
======================================== */

.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 19px;
  border: 1px solid #ffffff20;
  border-radius: 40px;
  background: #173f2c;
  color: #fff;
  box-shadow: 0 8px 30px #0005;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}

.float-wa:hover {
  background: #216b43;
  transform: translateY(-3px);
}

/* ========================================
   TABLET Y PORTÁTILES ESTRECHOS
======================================== */

@media (min-width: 651px) and (max-width: 1100px) {
  .header {
    padding-right: 3vw;
    padding-left: 3vw;
  }

  .header nav {
    gap: 14px;
    font-size: 9px;
  }

  .nav-wa {
    padding: 10px 12px;
  }

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

  .service {
    min-height: 360px;
  }

  .section-heading {
    gap: 30px;
  }

  .balloon-copy {
    padding: 35px;
  }

  .gallery {
    gap: 35px;
  }
}

/* ========================================
   MÓVILES
======================================== */

@media (max-width: 650px) {
  html {
    scroll-padding-top: 75px;
  }

  body {
    overflow-x: hidden;
  }

  /* Cabecera móvil */
  .header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 78px;
    padding: 12px 16px;
    gap: 12px;
    background: linear-gradient(#050608e8, #05060855);
  }

  .logo {
    min-width: 0;
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .logo small {
    max-width: 230px;
    margin-top: 9px;
    font-size: 7px;
    letter-spacing: .16em;
    line-height: 1.6;
  }

  .menu {
    display: block;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }

  /* Menú opaco para que no se vea la portada por detrás */
  .header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: #080b0d;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .45);
    font-size: 11px;
    letter-spacing: .12em;
  }

  .header nav.open {
    display: flex;
  }

  .header nav a {
    display: block;
    width: 100%;
    padding: 12px 8px !important;
  }

  .header nav .nav-wa {
    margin-top: 5px;
    text-align: center;
  }

  /* Portada: altura natural y texto dentro del ancho */
  .hero {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 680px;
    max-height: none;
    padding: 115px 0 85px;
    align-items: center;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, #08090be8, #08090b73 75%),
      linear-gradient(0deg, #080b0d, transparent 35%);
  }

  .hero-content {
    position: relative;
    z-index: 1;
    width: calc(100% - 36px);
    max-width: 100%;
    margin: 0 auto;
  }

  .hero .eyebrow {
    margin-bottom: 16px;
    font-size: 9px;
    letter-spacing: .2em;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 9.5vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -.04em;
  }

  .hero .lead {
    max-width: 100%;
    margin: 20px 0 24px;
    font-size: 14px;
    line-height: 1.7;
  }

  .actions {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .actions .gold-btn,
  .actions .outline-btn {
    width: 100%;
    min-height: 48px;
    padding: 14px 12px;
    font-size: 9px;
  }

  .hero-bottom {
    right: 18px;
    bottom: 20px;
    left: 18px;
    font-size: 8px;
    line-height: 1.6;
    letter-spacing: .08em;
  }

  /* Anchos comunes */
  .wrap {
    width: calc(100% - 36px);
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  /* Servicios */
  .services {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
  }

  .section-heading > div,
  .section-heading > p {
    width: 100%;
    max-width: 100%;
  }

  .section-heading h2,
  .gallery h2,
  .balloon-copy h2,
  .contact h2 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.12;
    letter-spacing: -.035em;
  }

  .section-heading > p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
  }

  .cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: 100%;
  }

  .service {
    width: 100%;
    min-width: 0;
    min-height: 340px;
  }

  .card-content {
    right: 20px;
    bottom: 22px;
    left: 20px;
    gap: 8px;
  }

  .card-content h3,
  .card-content b {
    font-size: 22px;
    line-height: 1.25;
  }

  /* Decoración con globos */
  .balloon-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    min-height: 0;
  }

  .balloon-photo {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .balloon-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .balloon-copy {
    width: 100%;
    min-width: 0;
    padding: 42px 22px 48px;
  }

  .balloon-copy h2 {
    max-width: 100%;
  }

  .balloon-copy > p:not(.eyebrow) {
    max-width: 100%;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.8;
  }

  .features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 25px;
  }

  .balloon-copy .outline-btn {
    width: 100%;
    padding: 14px 12px;
    font-size: 9px;
  }

  /* Bodas y galería */
  .gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .gallery > div {
    width: 100%;
    min-width: 0;
  }

  .gallery > div:first-child {
    max-width: 100%;
  }

  .gallery > div:first-child > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.8;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 180px 130px;
    gap: 10px;
    width: 100%;
    min-width: 0;
  }

  .gallery-grid img {
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
  }

  .gallery-grid img:first-child {
    grid-column: 1 / -1;
  }

  /* Contacto */
  .contact {
    width: 100%;
    padding: 65px 20px;
  }

  .contact > p:not(.eyebrow) {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.8;
  }

  .contact .gold-btn {
    max-width: 100%;
    white-space: normal;
  }

  /* Footer */
  footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 16px;
    padding: 40px 20px 25px;
  }

  footer > .logo {
    grid-column: 1 / -1;
    justify-self: start;
  }

  footer > div {
    min-width: 0;
  }

  footer > div > a,
  footer > div > span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .legal {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding-top: 18px;
    line-height: 2;
  }

  /* WhatsApp */
  .float-wa {
    right: 14px;
    bottom: 14px;
    min-height: 46px;
    padding: 0 15px;
  }
}

/* ========================================
   MÓVILES MUY ESTRECHOS
======================================== */

@media (max-width: 380px) {
  .header {
    padding-right: 12px;
    padding-left: 12px;
  }

  .logo {
    font-size: 2.1rem;
  }

  .logo small {
    font-size: 6px;
    letter-spacing: .12em;
  }

  .hero {
    min-height: 650px;
    padding-top: 110px;
    padding-bottom: 75px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 9vw, 2.7rem);
  }

  .hero-content,
  .wrap {
    width: calc(100% - 28px);
  }

  .hero-bottom {
    right: 14px;
    left: 14px;
    font-size: 7px;
  }

  .balloon-copy {
    padding-right: 18px;
    padding-left: 18px;
  }

  .gallery-grid {
    grid-template-rows: 150px 115px;
  }

  footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .float-wa {
    right: 10px;
    bottom: 10px;
  }
}

/* ========================================
   ACCESIBILIDAD
======================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

