:root {
  --navy: #07182b;
  --cream: #fff7ea;
  --cream-soft: #fffaf1;
  --gold: #d9a85c;
  --gold-dark: #b98236;
  --text-dark: #172033;
  --muted: #5e6470;
  --input-line: rgba(23, 32, 51, .22);
}

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

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  color: var(--cream);
  background: var(--navy);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(
      90deg,
      rgba(7, 24, 43, .18) 0%,
      rgba(7, 24, 43, .08) 42%,
      rgba(7, 24, 43, .35) 100%
    ),
    url("assets/fondo-desktop.png");
  background-size: cover;
  background-position: center 58%;
  background-repeat: no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 42% 16%, rgba(217, 168, 92, .08), transparent 19%),
    linear-gradient(180deg, rgba(3, 11, 22, .08), rgba(3, 11, 22, .08));
  pointer-events: none;
}

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

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

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

/* HEADER */

.site-header {
  height: 82px;
  border-bottom: 1px solid rgba(255, 247, 234, .13);
  position: relative;
  z-index: 10;
}

.header-inner {
  width: min(1160px, calc(100% - 70px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 118px;
  height: 118px;
  display: block;
  margin-top: 38px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 247, 234, .88);
  font-size: 1rem;
  font-weight: 600;
}

.back-link span {
  color: var(--gold);
  font-size: 1.7rem;
  line-height: 1;
}

/* DESKTOP */

@media (min-width: 761px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .mobile-footer {
    display: none !important;
  }

  .page {
    height: calc(100vh - 82px);
    overflow: hidden;
  }

  .hero-section {
    height: 100%;
    padding: 0;
    overflow: hidden;
  }

  .hero-content {
    width: min(1160px, calc(100% - 70px));
    height: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 82px;
    align-items: center;
    transform: translateY(-18px);
  }
}

/* LEFT */

.hero-copy {
  max-width: 530px;
  padding-top: 0;
  transform: translateY(-10px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .86rem;
  font-weight: 800;
  position: relative;
}

.eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 46px;
  height: 2px;
  background: var(--gold);
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: .92;
  letter-spacing: -.045em;
}

h1 {
  margin-bottom: 22px;
  color: var(--cream);
  font-size: clamp(4.4rem, 6.7vw, 6.5rem);
  text-shadow: 0 10px 32px rgba(0, 0, 0, .28);
}

.lead {
  max-width: 445px;
  color: rgba(255, 247, 234, .92);
  font-size: 1.03rem;
  line-height: 1.5;
}

.pills {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pills span {
  min-height: 42px;
  padding: 0 18px;
  border: 1.4px solid rgba(217, 168, 92, .9);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  background: rgba(7, 24, 43, .25);
  font-size: .96rem;
  font-weight: 700;
}

.whatsapp-note {
  width: 320px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 247, 234, .16);
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: center;
}

.whatsapp-note span {
  width: 38px;
  height: 38px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 1.45rem;
  line-height: 1;
}

.whatsapp-note p {
  color: rgba(255, 247, 234, .94);
  font-size: .98rem;
  line-height: 1.45;
}

/* FORM */

.form {
  width: 100%;
  padding: 22px 40px 26px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .9), transparent 52%),
    var(--cream-soft);
  color: var(--text-dark);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, .34),
    inset 0 0 0 1px rgba(217, 168, 92, .18);
  border: 1px solid rgba(217, 168, 92, .38);
  transform: translateY(26px);
}

.form h2 {
  margin-bottom: 4px;
  color: var(--text-dark);
  font-size: clamp(2.45rem, 3.3vw, 3.25rem);
  text-align: center;
}

.form h2 span {
  color: var(--gold);
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.35rem;
  vertical-align: middle;
}

.form-intro {
  margin-bottom: 12px;
  color: var(--muted);
  text-align: center;
  font-size: .92rem;
}

.form label {
  display: grid;
  gap: 5px;
  margin-bottom: 9px;
  color: var(--text-dark);
  font-size: .78rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--input-line);
  border-radius: 5px;
  background: rgba(255, 255, 255, .44);
  color: var(--text-dark);
  padding: 7px 10px;
  font-size: .86rem;
  font-weight: 500;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input,
select {
  height: 33px;
}

textarea {
  min-height: 50px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(94, 100, 112, .58);
}

select {
  appearance: auto;
  color: var(--muted);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 0 0 3px rgba(217, 168, 92, .14);
}

/* PRIVACIDAD */

.privacy-check {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px !important;
  margin: 5px 0 12px !important;
  color: var(--muted) !important;
  font-size: .75rem !important;
  font-weight: 600 !important;
  line-height: 1.35;
}

.privacy-check input {
  width: 15px;
  height: 15px;
  min-width: 15px;
  margin-top: 1px;
  accent-color: var(--gold-dark);
}

.privacy-check a {
  color: var(--gold-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form button {
  width: 100%;
  height: 50px;
  margin-top: 2px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #d9a85c, #c58c3f);
  color: white;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(185, 130, 54, .23);
  transition: transform .18s ease, box-shadow .18s ease;
}

.form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(185, 130, 54, .32);
}

/* FOOTER */

.mobile-footer {
  display: none;
}

/* POPUP */

.cute-popup {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(7, 24, 43, .72);
  display: grid;
  place-items: center;
  padding: 22px;
}

.cute-popup-box {
  width: min(420px, 100%);
  padding: 44px 30px 34px;
  border-radius: 26px;
  background: var(--cream-soft);
  color: var(--text-dark);
  text-align: center;
  position: relative;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .36);
  border: 1px solid rgba(217, 168, 92, .36);
}

.cute-popup-close {
  position: absolute;
  top: 12px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--text-dark);
  font-size: 1.8rem;
  cursor: pointer;
}

.cute-popup-icon {
  color: var(--gold-dark);
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.cute-popup-box h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.3rem;
  line-height: 1;
  margin-bottom: 10px;
}

.cute-popup-box p {
  color: var(--muted);
  font-weight: 600;
}

/* DESKTOP BAJO */

@media (min-width: 761px) and (max-height: 760px) {
  .site-header {
    height: 70px;
  }

  .brand {
    width: 100px;
    height: 100px;
    margin-top: 30px;
  }

  .page {
    height: calc(100vh - 70px);
  }

  .hero-content {
    transform: translateY(-22px);
  }

  h1 {
    font-size: clamp(4rem, 6vw, 5.7rem);
    margin-bottom: 18px;
  }

  .lead {
    font-size: .98rem;
    line-height: 1.45;
  }

  .pills {
    margin-top: 20px;
  }

  .pills span {
    min-height: 38px;
    padding: 0 16px;
    font-size: .9rem;
  }

  .whatsapp-note {
    margin-top: 20px;
    padding-top: 16px;
  }

  .form {
    padding: 20px 38px 24px;
    transform: translateY(22px);
  }

  .form h2 {
    font-size: 2.85rem;
  }

  .form-intro {
    margin-bottom: 10px;
  }

  .form label {
    margin-bottom: 7px;
  }

  input,
  select {
    height: 31px;
  }

  textarea {
    min-height: 44px;
  }

  .privacy-check {
    margin: 4px 0 9px !important;
    font-size: .7rem !important;
  }

  .form button {
    height: 46px;
  }
}

/* TABLET */

@media (min-width: 761px) and (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr 460px;
    gap: 38px;
  }

  h1 {
    font-size: clamp(3.8rem, 6vw, 5.4rem);
  }

  .form {
    padding: 22px 32px 26px;
  }
}

/* MOBILE */

@media (max-width: 760px) {
  body {
    min-height: 100vh;
    background: var(--navy);
    overflow-x: hidden;
    overflow-y: auto;
  }

  body::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(7, 24, 43, .2) 0%,
        rgba(7, 24, 43, .28) 48%,
        rgba(7, 24, 43, .55) 100%
      ),
      url("assets/fondo-mobile.png");
    background-size: cover;
    background-position: center top;
  }

  body::after {
    background:
      linear-gradient(
        180deg,
        rgba(3, 11, 22, .05) 0%,
        rgba(3, 11, 22, .12) 55%,
        rgba(3, 11, 22, .3) 100%
      );
  }

  .site-header {
    height: 92px;
    border-bottom: 1px solid rgba(217, 168, 92, .44);
  }

  .header-inner {
    width: calc(100% - 40px);
    align-items: center;
  }

  .brand {
    width: 82px;
    height: 82px;
    margin-top: 18px;
  }

  .back-link {
    font-size: .95rem;
    gap: 12px;
    font-weight: 700;
  }

  .back-link span {
    font-size: 1.45rem;
  }

  .page {
    min-height: auto;
  }

  .hero-section {
    min-height: auto;
    padding: 96px 0 0;
  }

  .hero-content {
    width: calc(100% - 40px);
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 54px;
    align-items: start;
    margin-inline: auto;
  }

  .hero-copy {
    max-width: 420px;
    padding-top: 0;
    transform: none;
  }

  .eyebrow {
    margin-bottom: 30px;
    font-size: .78rem;
    letter-spacing: .26em;
  }

  .eyebrow::after {
    bottom: -14px;
    width: 52px;
  }

  h1 {
    margin-bottom: 30px;
    font-size: clamp(4rem, 15vw, 5.7rem);
    line-height: .94;
  }

  .lead {
    max-width: 360px;
    font-size: 1rem;
    line-height: 1.75;
  }

  .pills {
    max-width: 340px;
    margin-top: 32px;
    gap: 14px 16px;
  }

  .pills span {
    min-height: 52px;
    padding: 0 22px;
    font-size: 1rem;
    font-weight: 800;
    background: rgba(7, 24, 43, .35);
  }

  .whatsapp-note {
    width: 360px;
    margin-top: 44px;
    padding-top: 30px;
    grid-template-columns: 56px 1fr;
    gap: 22px;
  }

  .whatsapp-note span {
    width: 54px;
    height: 54px;
    font-size: 1.6rem;
  }

  .whatsapp-note p {
    font-size: .98rem;
    line-height: 1.55;
  }

  .form {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    padding: 40px 34px 38px;
    border-radius: 18px;
    transform: none;
  }

  .form h2 {
    font-size: clamp(2.75rem, 11vw, 3.8rem);
    margin-bottom: 10px;
  }

  .form h2 span {
    font-size: 1.25rem;
  }

  .form-intro {
    margin-bottom: 30px;
    font-size: .96rem;
    line-height: 1.45;
  }

  .form label {
    gap: 10px;
    margin-bottom: 24px;
    font-size: .82rem;
  }

  input,
  select {
    height: 54px;
  }

  input,
  textarea,
  select {
    padding: 14px 16px;
    font-size: .95rem;
    border-radius: 5px;
  }

  textarea {
    min-height: 118px;
  }

  .privacy-check {
    margin: -4px 0 24px !important;
    font-size: .8rem !important;
  }

  .privacy-check input {
    width: 17px;
    height: 17px;
    min-width: 17px;
  }

  .form button {
    height: 72px;
    margin-top: 0;
    font-size: 1.1rem;
    border-radius: 7px;
  }

  .mobile-footer {
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 24px 20px 26px;
    background: linear-gradient(180deg, rgba(7, 24, 43, .08), rgba(7, 24, 43, .86));
    color: rgba(255, 247, 234, .72);
    text-align: center;
    font-size: .88rem;
  }

  .mobile-footer span {
    color: var(--gold);
    font-size: 1.35rem;
  }
}

/* MOBILE PEQUEÑO */

@media (max-width: 430px) {
  .header-inner {
    width: calc(100% - 30px);
  }

  .brand {
    width: 74px;
    height: 74px;
  }

  .back-link {
    font-size: .86rem;
  }

  .hero-section {
    padding-top: 82px;
  }

  .hero-content {
    width: calc(100% - 34px);
    gap: 48px;
  }

  h1 {
    font-size: clamp(3.5rem, 15vw, 4.7rem);
  }

  .lead {
    max-width: 330px;
    font-size: .96rem;
  }

  .pills {
    max-width: 300px;
  }

  .pills span {
    min-height: 48px;
    padding: 0 18px;
    font-size: .94rem;
  }

  .whatsapp-note {
    width: 100%;
  }

  .form {
    padding: 36px 26px 34px;
  }

  .form h2 {
    font-size: 2.7rem;
  }

  .form-intro {
    margin-bottom: 26px;
  }

  .form label {
    margin-bottom: 22px;
  }
}


/* =========================
   AJUSTE HEADER + LOGO
   Igual que página online
   ========================= */

.site-header {
  height: 82px;
  border-bottom: 0;
  background: transparent;
  position: relative;
  z-index: 10;
}

.header-inner {
  width: min(1160px, calc(100% - 70px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 118px;
  height: 118px;
  display: block;
  margin-top: 38px;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  filter:
    drop-shadow(0 12px 24px rgba(0, 0, 0, .28))
    drop-shadow(0 0 10px rgba(255, 247, 234, .14));
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 247, 234, .88);
  font-size: 1rem;
  font-weight: 700;
}

.back-link span {
  color: var(--gold);
  font-size: 1.7rem;
  line-height: 1;
}

/* Desktop bajo */
@media (min-width: 761px) and (max-height: 760px) {
  .site-header {
    height: 70px;
    border-bottom: 0;
  }

  .brand {
    width: 100px;
    height: 100px;
    margin-top: 30px;
  }
}

/* Tablet / móvil */
@media (max-width: 760px) {
  .site-header {
    height: 72px;
    border-bottom: 0;
    background: transparent;
  }

  .header-inner {
    width: min(1160px, calc(100% - 32px));
    align-items: center;
  }

  .brand {
    width: 78px;
    height: 78px;
    margin-top: 12px;
    padding: 0;
  }

  .back-link {
    gap: 10px;
    font-size: .88rem;
    font-weight: 700;
  }

  .back-link span {
    font-size: 1.35rem;
  }

  .hero-section {
    padding-top: 54px;
  }
}

/* Móvil pequeño */
@media (max-width: 430px) {
  .header-inner {
    width: calc(100% - 30px);
  }

  .brand {
    width: 74px;
    height: 74px;
    margin-top: 10px;
  }

  .back-link {
    font-size: .86rem;
  }

  .hero-section {
    padding-top: 62px;
  }
}
