/* =========================================================
   PAGINA CONTACTO — WRAPPER & VARIABLES
   ========================================================= */
.page-contacto {
  --cream: #fbf0d8;
  --wine: #770101;
  --red: #c1111e;
  --blue: #659aba;
  --deep: #023048;
  --ink: #15283d;
  --white: #fffdfa;
  --rose: #f8dfd8;
  --line: rgba(119, 1, 1, 0.1);
  --shadow: 0 18px 50px rgba(2, 48, 72, 0.08);

  color: var(--ink);
  background: linear-gradient(180deg, #fffdfa 0%, #fbf0d8 58%, #fffdfa 100%);
  font-family: Poppins, Arial, sans-serif;
  overflow: hidden;
  min-height: 100vh;
}

.page-contacto,
.page-contacto * {
  box-sizing: border-box;
}

.page-contacto a {
  text-decoration: none;
  color: inherit;
}

.page-contacto button,
.page-contacto input,
.page-contacto select,
.page-contacto textarea {
  font: inherit;
}

.page-contacto:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.25;
  background-image:
    radial-gradient(rgba(119, 1, 1, 0.065) 0.7px, transparent 0.7px),
    radial-gradient(rgba(2, 48, 72, 0.035) 0.7px, transparent 0.7px);
  background-size:
    19px 19px,
    31px 31px;
}

/* HEADER */
.page-contacto header {
  height: 82px;
  max-width: 1440px;
  margin: auto;
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 253, 249, 0.8);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 20;
}

.page-contacto .brand {
  display: flex;
  align-items: center;
  min-width: 150px;
}
.page-contacto .brand-logo {
  display: block;
  width: 170px;
  height: 90px;
  object-fit: contain;
  max-width: none;
}

.page-contacto .logo {
  width: 157px;
  height: auto;
  display: block;
  object-fit: contain;
}

.page-contacto nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  color: #263447;
}

.page-contacto nav a {
  padding: 31px 0 25px;
  position: relative;
}

.page-contacto nav a.active {
  color: var(--wine);
  font-weight: 700;
}

.page-contacto nav a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: var(--red);
}

.page-contacto .top-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--wine);
  color: #fff;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 9px 22px rgba(119, 1, 1, 0.18);
}

.page-contacto .top-cta svg {
  width: 17px;
  height: 17px;
}

.page-contacto .menu-btn {
  display: none;
  border: 0;
  background: none;
  color: var(--wine);
  font-size: 25px;
}

/* HERO */
.page-contacto .hero {
  max-width: 1440px;
  margin: auto;
  min-height: 400px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  position: relative;
}

.page-contacto .hero-copy {
  padding: 54px 30px 38px 66px;
  position: relative;
  z-index: 2;
}

.page-contacto .eyebrow {
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 6px;
  margin-bottom: 18px;
}

.page-contacto h1 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--wine);
  font-size: 58px;
  line-height: 0.98;
  letter-spacing: -2.5px;
  margin: 0 0 17px;
}

.page-contacto .hero-lead {
  font-size: 15px;
  line-height: 1.65;
  max-width: 610px;
  margin: 0;
}

.page-contacto .hero-lead strong {
  font-weight: 700;
}

.page-contacto .script {
  margin-top: 17px;
  color: var(--red);
  font-family: cursive;
  font-size: 24px;
  font-style: italic;
}

.page-contacto .script:after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--wine);
  vertical-align: middle;
  margin-left: 13px;
}

.page-contacto .hero-art {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.page-contacto .hero-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(251, 240, 216, 0.25),
      transparent 58%
    ),
    linear-gradient(90deg, transparent, rgba(247, 224, 214, 0.56));
}

/* =========================================================
   WHATSAPP (COMPONENTE FLOTANTE INDEPENDIENTE)
   ========================================================= */
.cac-whatsapp {
  position: fixed !important;
  left: 24px !important;
  bottom: 24px !important;
  width: 62px !important;
  height: 62px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  border: 3px solid #fbf0d8 !important;
  background: #770101 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  z-index: 99999 !important;
  box-shadow:
    0 12px 30px rgba(119, 1, 1, 0.3),
    0 0 0 7px rgba(193, 17, 30, 0.1);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}
.cac-whatsapp svg {
  width: 30px !important;
  height: 30px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}
.cac-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  background: #c1111e !important;
  box-shadow:
    0 16px 35px rgba(119, 1, 1, 0.36),
    0 0 0 9px rgba(193, 17, 30, 0.12);
}
.cac-whatsapp:focus-visible {
  outline: 3px solid #659aba;
  outline-offset: 4px;
}
/* =========================================================
   ANIMACIÓN WHATSAPP
   ========================================================= */
@keyframes cacWhatsappPulse {
  0%,
  100% {
    box-shadow:
      0 12px 30px rgba(119, 1, 1, 0.3),
      0 0 0 7px rgba(193, 17, 30, 0.1);
  }
  50% {
    box-shadow:
      0 12px 30px rgba(119, 1, 1, 0.3),
      0 0 0 12px rgba(193, 17, 30, 0.04);
  }
}
.cac-whatsapp {
  animation: cacWhatsappPulse 3s ease-in-out infinite;
}
/* =========================================================
   WHATSAPP — MOBILE
   ========================================================= */
@media (max-width: 600px) {
  .cac-whatsapp {
    left: 16px !important;
    bottom: 16px !important;
    width: 58px !important;
    height: 58px !important;
  }
  .cac-whatsapp svg {
    width: 28px !important;
    height: 28px !important;
  }
}
/* =========================================================
   REDUCIR ANIMACIONES
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .cac-whatsapp {
    animation: none !important;
    transition: none !important;
  }
}

.page-contacto .photo {
  width: min(94%, 480px);
  height: 400px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 0 0 0 44%;
}

.page-contacto .photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.page-contacto .photo-fallback {
  width: 100%;
  height: 100%;
  display: none;
  place-items: center;
  background: linear-gradient(145deg, #f4d9cf, #fbf0d8 55%, #d9e7ec);
  color: var(--wine);
  font-family: "Playfair Display", serif;
  font-size: 36px;
  text-align: center;
}

.page-contacto .hero-note {
  position: absolute;
  right: 34px;
  top: 39px;
  width: 118px;
  z-index: 4;
  color: var(--deep);
  font-family: cursive;
  font-size: 21px;
  line-height: 1.05;
  transform: rotate(-4deg);
  text-align: center;
}

.page-contacto .hero-note span {
  display: block;
  font-family: Georgia, serif;
  font-size: 32px;
  margin-top: 8px;
}

/* CONTACT AREA */
.page-contacto .contact-wrap {
  max-width: 1360px;
  margin: auto;
  padding: 14px 40px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.9fr);
  gap: 18px;
}

.page-contacto .card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(119, 1, 1, 0.06);
  border-radius: 25px;
  box-shadow: var(--shadow);
}

.page-contacto .form-card {
  padding: 28px 30px 25px;
}

.page-contacto .kicker {
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 9px;
}

.page-contacto .form-card h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--wine);
  font-size: 35px;
  line-height: 1.05;
  margin: 0 0 6px;
}

.page-contacto .form-intro {
  font-size: 14px;
  margin: 0 0 22px;
  color: #304157;
}

.page-contacto .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.page-contacto .field.full {
  grid-column: 1/-1;
}

.page-contacto label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}

.page-contacto .required {
  color: var(--red);
}

.page-contacto input,
.page-contacto select,
.page-contacto textarea {
  width: 100%;
  border: 1px solid rgba(2, 48, 72, 0.13);
  background: #fffdfa;
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  color: var(--ink);
  transition: 0.2s;
}

.page-contacto input:focus,
.page-contacto select:focus,
.page-contacto textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(193, 17, 30, 0.08);
}

.page-contacto textarea {
  min-height: 116px;
  resize: vertical;
}

.page-contacto .cac-select {
  position: relative;
  width: 100%;
}

/* SELECT REAL
   Se conserva para mantener la funcionalidad del formulario */
.page-contacto .cac-select > select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* BOTÓN VISIBLE */
.page-contacto .cac-select-trigger {
  width: 100%;
  min-height: 45px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  padding: 12px 14px;

  border: 1px solid rgba(2, 48, 72, 0.13);
  border-radius: 10px;

  background: #fffdfa;
  color: #697585;

  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;

  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.page-contacto .cac-select-trigger:hover {
  border-color: rgba(193, 17, 30, 0.35);
}

.page-contacto .cac-select-trigger:focus-visible {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(193, 17, 30, 0.08);
}

/* CUANDO YA SELECCIONÓ UNA OPCIÓN */
.page-contacto .cac-select.has-value .cac-select-trigger {
  color: var(--ink);
}

/* FLECHA */
.page-contacto .cac-select-arrow {
  width: 8px;
  height: 8px;
  flex: none;

  border-right: 1.8px solid var(--deep);
  border-bottom: 1.8px solid var(--deep);

  transform: rotate(45deg) translateY(-2px);

  transition: transform 0.2s ease;
}

/* FLECHA ABIERTA */
.page-contacto .cac-select.is-open .cac-select-arrow {
  transform: rotate(225deg) translate(-1px, -2px);
}

/* LISTA */
.page-contacto .cac-select-options {
  position: absolute;

  top: calc(100% + 8px);
  left: 0;
  right: 0;

  z-index: 9999;

  display: none;

  padding: 6px;

  background: #fffdfa;

  border: 1px solid rgba(119, 1, 1, 0.1);
  border-radius: 14px;

  box-shadow:
    0 18px 40px rgba(2, 48, 72, 0.15),
    0 4px 12px rgba(119, 1, 1, 0.06);

  max-height: min(360px, 55vh);
  overflow-y: auto;

  overscroll-behavior: contain;

  animation: cacSelectIn 0.16s ease;
}

/* ABIERTA */
.page-contacto .cac-select.is-open .cac-select-options {
  display: block;
}

/* OPCIONES */
.page-contacto .cac-select-options button {
  width: 100%;

  display: block;

  margin: 0;
  padding: 12px 13px;

  border: 0;
  border-radius: 9px;

  background: transparent;
  color: var(--ink);

  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;

  text-align: left;

  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;

  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

/* HOVER / SELECCIÓN */
.page-contacto .cac-select-options button:hover,
.page-contacto .cac-select-options button[aria-selected="true"] {
  background: rgba(193, 17, 30, 0.07);
  color: var(--wine);
}

/* OPCIÓN PLACEHOLDER */
.page-contacto .cac-select-options button[data-value=""] {
  color: #697585;
}

/* SCROLL INTERNO */
.page-contacto .cac-select-options::-webkit-scrollbar {
  width: 6px;
}

.page-contacto .cac-select-options::-webkit-scrollbar-track {
  background: transparent;
}

.page-contacto .cac-select-options::-webkit-scrollbar-thumb {
  background: rgba(119, 1, 1, 0.2);
  border-radius: 999px;
}

/* ANIMACIÓN */
@keyframes cacSelectIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   SELECT — PANTALLAS PEQUEÑAS
   ========================================================= */

@media (max-width: 800px) {
  .page-contacto .cac-select-trigger {
    min-height: 45px;
    padding: 12px 14px;
    font-size: 13px;
  }

  .page-contacto .cac-select-options {
    max-height: 55vh;
    border-radius: 13px;
  }

  .page-contacto .cac-select-options button {
    padding: 13px 12px;
    font-size: 13px;
  }
}

/* =========================================================
   SELECT — CELULARES PEQUEÑOS
   ========================================================= */

@media (max-width: 480px) {
  .page-contacto .cac-select-trigger {
    min-height: 45px;
    font-size: 13px;
  }

  .page-contacto .cac-select-options {
    max-height: 52vh;
  }

  .page-contacto .cac-select-options button {
    padding: 12px 11px;
    font-size: 12.5px;
    line-height: 1.45;
  }
}

.page-contacto .consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.5;
  color: #3d4c5c;
}

.page-contacto .consent input {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 1px;
  accent-color: var(--red);
}

.page-contacto .consent a {
  color: var(--red);
  text-decoration: underline;
  font-weight: 600;
}

.page-contacto .submit {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: white;
  padding: 13px 20px;
  margin-top: 18px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(193, 17, 30, 0.17);
  transition: 0.2s;
}

.page-contacto .submit:hover {
  transform: translateY(-2px);
  background: var(--wine);
}

.page-contacto .submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.page-contacto .secure {
  text-align: center;
  font-size: 11px;
  color: #697585;
  margin-top: 13px;
}

/* SIDE CARDS */
.page-contacto .side {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-contacto .info-card {
  padding: 27px 24px;
  background: linear-gradient(145deg, #fae7e1, #f8ddd6);
}

.page-contacto .info-title {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 15px;
}

.page-contacto .info-row {
  display: grid;
  grid-template-columns: 45px 1fr 20px;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(119, 1, 1, 0.08);
}

.page-contacto .info-row:last-child {
  border-bottom: 0;
}

.page-contacto .info-icon {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  display: grid;
  place-items: center;
}

.page-contacto .info-icon svg {
  width: 21px;
  height: 21px;
}

.page-contacto .info-row b {
  font-size: 13px;
  display: block;
  margin-bottom: 2px;
}

.page-contacto .info-row span {
  font-size: 12px;
  line-height: 1.45;
  color: #405065;
}

.page-contacto .info-arrow {
  color: var(--red);
  font-size: 24px;
}

.page-contacto .safe-card {
  position: relative;
  overflow: hidden;
  min-height: 205px;
  background: linear-gradient(135deg, #f4e0d5, #fdf0df);
  padding: 26px 24px;
  color: var(--deep);
}

.page-contacto .safe-card:before {
  content: "";
  position: absolute;
  left: -38px;
  bottom: -30px;
  width: 155px;
  height: 240px;
  background: rgba(101, 154, 186, 0.16);
  border-radius: 70% 40% 55% 45%;
  transform: rotate(-23deg);
}

.page-contacto .safe-card h3 {
  position: relative;
  font-family: cursive;
  font-size: 25px;
  line-height: 1.05;
  font-weight: 500;
  margin: 0 0 16px 170px;
}

.page-contacto .safe-card p {
  position: relative;
  margin: 0 0 0 170px;
  font-size: 13px;
  line-height: 1.55;
  max-width: 200px;
}

.page-contacto .safe-heart {
  position: absolute;
  right: 22px;
  bottom: 17px;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 47px;
  transform: rotate(-8deg);
}

.page-contacto .features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 2px 5px 0;
}

.page-contacto .feature {
  text-align: center;
  color: var(--deep);
  font-size: 11px;
  line-height: 1.35;
}

.page-contacto .feature-icon {
  width: 32px;
  height: 32px;
  color: var(--red);
  margin: 0 auto 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-contacto .feature-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* BOTTOM EMOTIONAL BAND */
.page-contacto .band {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  background: linear-gradient(100deg, #f9ddd7, #fae9df 60%, #f7d8d3);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 25px 70px;
}

.page-contacto .band:before,
.page-contacto .band:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.page-contacto .band:before {
  width: 440px;
  height: 100px;
  left: -110px;
  bottom: -75px;
  background: rgba(255, 255, 255, 0.38);
}

.page-contacto .band:after {
  width: 300px;
  height: 80px;
  right: 8%;
  top: -58px;
  background: rgba(255, 255, 255, 0.3);
}

.page-contacto .band-title {
  position: relative;
  z-index: 2;
  font-family: "Playfair Display", serif;
  color: var(--wine);
  font-size: 39px;
  line-height: 1.03;
  max-width: 390px;
}

.page-contacto .band-quote {
  position: relative;
  z-index: 2;
  font-family: cursive;
  color: var(--red);
  font-size: 21px;
  max-width: 310px;
  line-height: 1.25;
}

.page-contacto .band-illustration {
  position: relative;
  z-index: 2;
  color: var(--red);
  font-size: 90px;
  font-family: Georgia, serif;
  transform: rotate(-8deg);
}

/* FOOTER */
.page-contacto footer {
  background: #fffaf2;
  padding: 40px 55px 27px;
}

.page-contacto .footer-inner {
  max-width: 1340px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr 1.15fr;
  gap: 35px;
}

.page-contacto .footer-logo {
  width: 145px;
  height: auto;
}

.page-contacto .footer-tag {
  font-size: 11px;
  color: #657181;
  margin-top: 8px;
}

.page-contacto footer h3 {
  font-size: 12px;
  margin: 0 0 12px;
}

.page-contacto footer a {
  display: block;
  font-size: 12px;
  color: #425064;
  margin: 8px 0;
}

.page-contacto footer a.active {
  color: var(--red);
  font-weight: 600;
}

.page-contacto .socials {
  display: flex;
  gap: 9px;
  margin-top: 12px;
}

.page-contacto .social {
  width: 34px;
  height: 34px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50%;
  background: #f5ebe1;
  color: var(--deep);
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}
.page-contacto .social svg {
  width: 17px;
  height: 17px;
  display: block;
  margin: 0;
  padding: 0;
  fill: currentColor;
  flex-shrink: 0;
}
.page-contacto .social:hover {
  transform: translateY(-3px);
  background: var(--wine);
  color: #ffffff;
}
.page-contacto .social:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.page-contacto .footer-note {
  align-self: start;
  background: #f8ded7;
  color: var(--red);
  padding: 15px 19px;
  border-radius: 12px;
  font-family: cursive;
  font-size: 18px;
  line-height: 1.15;
  transform: rotate(-2deg);
}

.page-contacto .copyright {
  max-width: 1340px;
  margin: 35px auto 0;
  padding-top: 17px;
  border-top: 1px solid rgba(119, 1, 1, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #74808c;
}

.page-contacto .copyright a {
  display: inline;
}

/* SUCCESS */
.page-contacto .success {
  display: none;
  margin-top: 15px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #e8f3ee;
  color: #14523d;
  font-size: 12px;
  line-height: 1.5;
}

.page-contacto .success.show {
  display: block;
}

/* ERROR */
.page-contacto .form-error {
  display: none;
  margin-top: 15px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #fdf2f2;
  color: #9b1c1c;
  border: 1px solid #f8b4b4;
  font-size: 12px;
  line-height: 1.5;
}

.page-contacto .form-error.show {
  display: block;
}

/* MOBILE */
@media (max-width: 1080px) {
  .page-contacto header {
    padding: 0 25px;
  }

  .page-contacto nav {
    gap: 15px;
  }

  .page-contacto .hero-copy {
    padding-left: 38px;
  }

  .page-contacto h1 {
    font-size: 50px;
  }

  .page-contacto .hero {
    min-height: 380px;
  }

  .page-contacto .hero-art {
    min-height: 380px;
  }

  .page-contacto .photo {
    width: min(94%, 460px);
    height: 380px;
  }

  .page-contacto .hero-note {
    right: 8px;
  }

  .page-contacto .footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }

  .page-contacto .footer-note {
    grid-column: 1/-1;
  }
}

@media (max-width: 800px) {
  .page-contacto header {
    height: 70px;
  }

  .page-contacto .brand {
    min-width: auto;
  }

  .page-contacto .brand-logo {
    width: 90px;
    height: 74px;
  }

  .page-contacto .logo {
    width: 135px;
  }

  .page-contacto .menu-btn {
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--wine);
    font-family: Arial, sans-serif;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition:
      background 0.2s ease,
      transform 0.2s ease;
  }
  .page-contacto .menu-btn:hover {
    background: rgba(119, 1, 1, 0.08);
  }
  .page-contacto .menu-btn:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
  }

  .page-contacto nav,
  .page-contacto .top-cta {
    display: none;
  }

  .page-contacto header.menu-open nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 0;
    padding: 10px;

    background: rgba(255, 253, 249, 0.98);

    border: 1px solid rgba(119, 1, 1, 0.08);
    border-radius: 18px;

    box-shadow: 0 18px 40px rgba(2, 48, 72, 0.14);

    backdrop-filter: blur(14px);

    z-index: 9999;

    animation: contactoMobileMenuIn 0.22s ease;
  }

  /* =========================================================
     ENLACES DEL MENÚ
     ========================================================= */

  .page-contacto header.menu-open nav a {
    display: block;
    margin: 0;
    padding: 13px 15px;

    border-radius: 10px;

    color: var(--ink);

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
  }

  .page-contacto header.menu-open nav a:hover {
    background: #fbedeb;
    color: var(--wine);
  }

  /* =========================================================
     ENLACE ACTIVO
     ========================================================= */

  .page-contacto header.menu-open nav a.active {
    background: #fbedeb;
    color: var(--wine);
    font-weight: 700;
  }

  /* Quitar la línea inferior del menú desktop */

  .page-contacto header.menu-open nav a.active:after,
  .page-contacto header.menu-open nav a.active::after {
    display: none;
  }

  /* =========================================================
     ANIMACIÓN DEL MENÚ
     ========================================================= */

  @keyframes contactoMobileMenuIn {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .page-contacto .hero {
    display: block;
  }

  .page-contacto .hero-copy {
    padding: 42px 24px 27px;
  }

  .page-contacto .eyebrow {
    max-width: 235px;
    line-height: 1.6;
  }

  .page-contacto h1 {
    font-size: 44px;
  }

  .page-contacto .hero-art {
    height: 255px;
    min-height: 255px;
  }

  .page-contacto .photo {
    height: 255px;
    width: 88%;
    border-radius: 0 0 0 33%;
  }

  .page-contacto .hero-note {
    font-size: 16px;
    width: 90px;
    top: 25px;
  }

  .page-contacto .contact-wrap {
    grid-template-columns: 1fr;
    padding: 15px 16px 50px;
  }

  .page-contacto .form-card {
    padding: 24px 17px;
  }

  .page-contacto .kicker {
    max-width: 260px;
    line-height: 1.6;
  }

  .page-contacto .form-grid {
    grid-template-columns: 1fr;
  }

  .page-contacto .field.full {
    grid-column: auto;
  }

  .page-contacto .side {
    display: flex;
  }

  .page-contacto .info-title {
    max-width: 270px;
    line-height: 1.6;
  }

  .page-contacto .band {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 34px 22px;
  }

  .page-contacto .band-title {
    font-size: 32px;
  }

  .page-contacto .band-quote {
    font-size: 18px;
  }

  .page-contacto .band-illustration {
    font-size: 65px;
  }

  .page-contacto footer {
    padding: 35px 24px 25px;
  }

  .page-contacto .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .page-contacto .footer-note {
    grid-column: 1/-1;
  }

  .page-contacto .copyright {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .page-contacto h1 {
    font-size: 38px;
  }

  .page-contacto .script {
    font-size: 20px;
  }

  .page-contacto .info-row {
    grid-template-columns: 42px 1fr 15px;
  }

  .page-contacto .safe-card h3,
  .page-contacto .safe-card p {
    margin-left: 125px;
  }

  .page-contacto .safe-card h3 {
    font-size: 22px;
  }

  .page-contacto .footer-inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 800px) {
  .page-contacto select {
    min-height: 45px;
    font-size: 13px;
    padding: 12px 40px 12px 14px;
  }
}
