/* Nou Hogar Inmobiliaria — design tokens & shared styles
   Ported from the Claude Design prototype (project/*.dc.html). Breakpoint
   unified to 1024px everywhere (nav/footer/forms previously switched at
   900/1024/768px independently — a gap flagged during design review). */

:root {
  --nh-navy-900: #0f223a;
  --nh-blue-700: #274968;
  --nh-gold-500: #c9a65a;
  --nh-gold-700: #a26b25;
  --nh-cream-50: #f5f1e8;
  --nh-sand-100: #ede5d8;
  --nh-gray-600: #6e7681;
  --nh-dark-800: #25303b;
  --nh-white: #ffffff;
  --nh-header-gray: #fbfbf9;
  --nh-border: #e4e6e8;
  --nh-input-border: #d8dadd;
  --nh-placeholder: #9aa1aa;
  --nh-success-border: #397a5a;
  --nh-success-bg: #eaf4ee;
  --nh-success-text: #245c3f;
  --nh-error-border: #b84a4a;
  --nh-error-bg: #fbeaea;
  --nh-error-text: #8a3333;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --shadow-soft: 0 8px 30px rgba(15, 34, 58, 0.08);

  --container-max: 1800px;
  --container-pad: 32px;

  --header-h-desktop: 72px;
  --header-h-mobile: 64px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  background: var(--nh-white);
  color: var(--nh-dark-800);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--nh-navy-900);
  font-weight: 600;
}
p,
span,
a,
button,
input,
textarea,
label,
li,
select {
  font-family: var(--font-body);
}
a {
  color: var(--nh-blue-700);
}
a:hover {
  color: var(--nh-gold-500);
}
ul {
  margin: 0;
}
button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--nh-gold-500);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--nh-navy-900);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: 56px 0;
}
.section--cream {
  background: var(--nh-cream-50);
}
.section--white {
  background: var(--nh-white);
}
.section--navy {
  background: var(--nh-navy-900);
}
@media (min-width: 1024px) {
  .section {
    padding: 88px 0;
  }
  .section--tight {
    padding: 72px 0;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--nh-gold-700);
  margin-bottom: 14px;
}
.eyebrow--on-photo {
  color: var(--nh-gold-500);
}

.h2 {
  font-size: 30px;
  font-weight: 600;
  color: var(--nh-navy-900);
  text-align: center;
  margin-bottom: 24px;
}
@media (min-width: 1024px) {
  .h2 {
    font-size: 44px;
    margin-bottom: 40px;
  }
}
.h2--left {
  text-align: left;
}
.h2--sm {
  font-size: 27px;
}
@media (min-width: 1024px) {
  .h2--sm {
    font-size: 38px;
  }
}

.lede {
  font-size: 15px;
  line-height: 1.6;
  color: var(--nh-dark-800);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition:
    opacity 0.15s ease,
    background-color 0.15s ease;
}
.btn:hover {
  opacity: 0.92;
  color: inherit;
}
.btn:active {
  opacity: 0.85;
}
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.btn-primary {
  background: var(--nh-gold-500);
  color: var(--nh-navy-900);
}
.btn-primary:hover {
  color: var(--nh-navy-900);
  background: #bf9a4e;
}
.btn-outline-dark {
  border: 1px solid var(--nh-navy-900);
  color: var(--nh-navy-900);
  background: transparent;
}
.btn-outline-dark:hover {
  color: var(--nh-navy-900);
  background: rgba(15, 34, 58, 0.06);
}
.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--nh-white);
  background: transparent;
  backdrop-filter: blur(2px);
}
.btn-outline-light:hover {
  color: var(--nh-white);
  background: rgba(255, 255, 255, 0.12);
}
.btn-solid-navy {
  background: var(--nh-navy-900);
  color: #fff;
}
.btn-solid-navy:hover {
  color: #fff;
}
.btn-block {
  width: 100%;
}
.btn-sm {
  min-height: 44px;
  padding: 12px 20px;
  font-size: 14px;
}
.btn-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  max-width: 420px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .btn-row {
    flex-direction: row;
    max-width: none;
  }
}

/* ---------- Header ---------- */
.site-header {
  font-family: var(--font-body);
}
.topbar {
  display: none;
  background: var(--nh-white);
  border-bottom: 1px solid #eeece6;
}
@media (min-width: 1024px) {
  .topbar {
    display: block;
  }
}
.topbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 18px var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar .logo img {
  height: 52px;
  width: auto;
  display: block;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--nh-navy-900);
  white-space: nowrap;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(251, 251, 249, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--nh-border);
}
.navbar.is-stuck {
  box-shadow: 0 4px 20px rgba(15, 34, 58, 0.07);
}
.navbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h-mobile);
}
.navbar .logo img {
  height: 72px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  color: var(--nh-blue-700);
  border-bottom: 2px solid transparent;
  padding-bottom: 6px;
}
.nav-link[aria-current="page"] {
  color: var(--nh-navy-900);
  border-bottom-color: var(--nh-gold-500);
}

.mobile-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  border: 1px solid var(--nh-border);
  background: #fff;
  color: var(--nh-navy-900);
  text-decoration: none;
  cursor: pointer;
}
.mobile-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* These come after .nav-links/.mobile-bar-row so the cascade favors them at
   equal specificity — a class-order bug here previously left the desktop nav
   visible (and overflowing) on mobile. */
.desktop-only {
  display: none;
}
.mobile-only {
  display: flex;
}

@media (min-width: 1024px) {
  .desktop-only {
    display: flex;
  }
  .mobile-only {
    display: none;
  }
  .navbar-inner {
    padding: 16px 32px;
    justify-content: center;
    min-height: var(--header-h-desktop);
  }
  .topbar .logo img {
    height: 73px;
  }
  .navbar .logo img {
    height: 46px;
  }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: var(--header-h-mobile);
  background: var(--nh-white);
  z-index: 60;
  overflow-y: auto;
  display: none;
}
.mobile-menu.is-open {
  display: block;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 4px;
}
.mobile-menu-nav .nav-link {
  padding: 16px 4px;
  border-bottom: 1px solid var(--nh-border);
  color: var(--nh-blue-700);
}
.mobile-menu-nav .nav-link[aria-current="page"] {
  color: var(--nh-navy-900);
  border-bottom-color: var(--nh-border);
}
.mobile-menu-nav .link-btn {
  padding: 16px 4px;
  border-bottom: 1px solid var(--nh-border);
  text-align: left;
}
.mobile-menu-nav .btn {
  margin-top: 20px;
}
body.menu-open,
body.modal-open {
  overflow: hidden;
}

/* Call panel modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 34, 58, 0.55);
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.is-open {
  display: flex;
}
.modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(15, 34, 58, 0.3);
}
.modal-box h3 {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-body);
  margin: 0 0 6px;
}
.modal-box .modal-sub {
  font-size: 14px;
  color: var(--nh-gray-600);
  margin: 0 0 20px;
}
.call-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--nh-border);
}
.call-form input {
  padding: 12px 14px;
  border: 1px solid var(--nh-input-border);
  border-radius: var(--radius-md);
  font-size: 15px;
}
.modal-close {
  margin-top: 18px;
  background: none;
  border: none;
  color: var(--nh-gray-600);
  font-size: 14px;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

/* ---------- Hero (full-bleed photo + overlay text) ---------- */
.hero-photo {
  position: relative;
  width: 100%;
  min-height: 68vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--nh-navy-900);
}
.hero-photo.hero-photo--center {
  align-items: center;
}
.hero-photo picture,
.hero-photo img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo img.hero-bg {
  object-position: 58% center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 34, 58, 0.62) 0%,
    rgba(15, 34, 58, 0.34) 38%,
    rgba(15, 34, 58, 0.8) 100%
  );
}
.hero-scrim--center {
  background: linear-gradient(
    180deg,
    rgba(15, 34, 58, 0.6) 0%,
    rgba(15, 34, 58, 0.42) 45%,
    rgba(15, 34, 58, 0.72) 100%
  );
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 96px var(--container-pad) 48px;
}
.hero-content {
  max-width: 100%;
}
.hero-content--narrow {
  max-width: 640px;
}
.hero-content--centered {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}
.hero-photo h1 {
  font-size: clamp(30px, 8vw, 40px);
  line-height: 1.15;
  font-weight: 600;
  color: var(--nh-white);
  margin-bottom: 20px;
  text-wrap: pretty;
  text-shadow: 0 2px 24px rgba(15, 34, 58, 0.45);
}
.hero-photo p.hero-lede {
  font-size: 15px;
  line-height: 1.55;
  color: #e7e9ec;
  max-width: 56ch;
  margin: 0 0 28px;
}
.hero-photo .hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}
.hero-photo .hero-fine {
  font-size: 13px;
  color: #c9cfd8;
  margin: 0;
}
@media (min-width: 1024px) {
  .hero-photo {
    min-height: min(88vh, 760px);
  }
  .hero-photo.hero-photo--center {
    min-height: min(78vh, 680px);
  }
  .hero-inner {
    padding: clamp(120px, 16vh, 170px) var(--container-pad)
      clamp(56px, 9vh, 88px);
  }
  .hero-content {
    max-width: min(620px, 60%);
  }
  .hero-photo h1 {
    font-size: clamp(40px, 4.6vw, 66px);
  }
  .hero-photo .hero-actions {
    flex-direction: row;
  }
  .hero-photo p.hero-lede {
    font-size: clamp(15px, 1.35vw, 18px);
  }
}

/* Simple cream hero (Trabaja / Contacto) */
.hero-plain {
  padding: 48px 0;
}
.hero-plain h1 {
  font-size: 35px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-plain p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--nh-dark-800);
  max-width: 56ch;
}
@media (min-width: 1024px) {
  .hero-plain {
    padding: 72px 0;
  }
  .hero-plain h1 {
    font-size: 56px;
  }
}
.hero-plain--centered {
  text-align: center;
}
.hero-plain--centered p {
  margin: 0 auto;
}

.split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.split > * {
  flex: 1;
  min-width: 0;
  width: 100%;
}
.split.split--reverse {
  flex-direction: column;
}
@media (min-width: 1024px) {
  .split {
    flex-direction: row;
    gap: 48px;
  }
  .split.split--reverse {
    flex-direction: row-reverse;
  }
}
.split-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.split-photo--tall {
  aspect-ratio: 5 / 4;
}
.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- Grids / cards ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--nh-white);
  border: 1px solid var(--nh-border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
}
.card--on-cream {
  background: var(--nh-cream-50);
}
.card h3 {
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--nh-navy-900);
  margin-bottom: 8px;
}
.card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--nh-dark-800);
  margin: 0;
}
.card img.card-icon {
  margin-bottom: 12px;
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.trust-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--nh-sand-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-item h3 {
  font-size: 19px;
  font-weight: 700;
  font-family: var(--font-body);
  margin-bottom: 4px;
}
.trust-item p {
  font-size: 14px;
  color: var(--nh-dark-800);
  line-height: 1.5;
  margin: 0;
}

.benefit {
  padding: 24px 4px;
}
.benefit h3 {
  font-size: 19px;
  font-weight: 700;
  font-family: var(--font-body);
  margin-bottom: 10px;
}
.benefit p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--nh-dark-800);
  margin: 0;
}

.step-card {
  background: var(--nh-white);
  border: 1px solid var(--nh-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--nh-navy-900);
  color: var(--nh-cream-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.phase-row {
  display: flex;
  gap: 20px;
}
.phase-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phase-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--nh-navy-900);
  color: var(--nh-cream-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.phase-line {
  width: 2px;
  flex: 1;
  background: var(--nh-input-border);
  min-height: 20px;
}
.phase-row:last-child .phase-line {
  background: transparent;
}
.phase-body {
  padding-bottom: 32px;
}
.phase-body h3 {
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-body);
  margin-bottom: 6px;
}
.phase-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--nh-dark-800);
  margin: 0;
}

/* ---------- Photo-band section (Zona / Idealista+CTA) ---------- */
.photo-band {
  background: var(--nh-white);
  padding: 0;
  position: relative;
}
.photo-band-img {
  width: 100%;
  height: 360px;
  overflow: hidden;
}
.photo-band-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.photo-band-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(15, 34, 58, 0.72) 0%,
    rgba(15, 34, 58, 0.25) 60%,
    rgba(15, 34, 58, 0) 100%
  );
}
.photo-band-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.photo-band-content .container {
  width: 100%;
}
.photo-band-text {
  max-width: 480px;
}
.photo-band-text h2 {
  color: var(--nh-white);
  margin-bottom: 14px;
}
.photo-band-text p {
  font-size: 15px;
  line-height: 1.6;
  color: #e7e9ec;
  margin-bottom: 22px;
}
@media (min-width: 1024px) {
  .photo-band-img {
    height: 480px;
  }
}

.dual-cta-band {
  background: var(--nh-white);
  padding: 0;
}
.dual-cta-img {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
}
.dual-cta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.dual-cta-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 34, 58, 0.82) 0%,
    rgba(15, 34, 58, 0.5) 40%,
    rgba(15, 34, 58, 0.5) 60%,
    rgba(15, 34, 58, 0.82) 100%
  );
}
.dual-cta-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.dual-cta-cols {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}
.dual-cta-col {
  flex: 1;
  min-width: 0;
  max-width: 520px;
}
.dual-cta-col h2 {
  color: var(--nh-white);
  margin-bottom: 16px;
}
.dual-cta-col p {
  font-size: 15px;
  line-height: 1.6;
  color: #e7e9ec;
  margin-bottom: 24px;
  max-width: 52ch;
}
.dual-cta-col .fine {
  font-size: 12px;
  color: #c9cfd8;
  margin-top: 10px;
}
@media (min-width: 1024px) {
  .dual-cta-img {
    height: 560px;
  }
  .dual-cta-cols {
    flex-direction: row;
  }
  .dual-cta-col--right {
    margin-left: auto;
    text-align: right;
  }
}

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--nh-border);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 24px;
}
@media (min-width: 1024px) {
  .form-card {
    padding: 32px;
    grid-template-columns: repeat(2, 1fr);
  }
}
.field {
  display: flex;
  flex-direction: column;
}
.field-full {
  grid-column: 1 / -1;
}
@media (min-width: 1024px) {
  .field-full {
    grid-column: 1 / 3;
  }
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--nh-navy-900);
  margin-bottom: 6px;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--nh-input-border);
  padding: 0 14px;
  font-size: 16px;
  background: #fff;
  font-family: var(--font-body);
  color: var(--nh-dark-800);
}
.field textarea {
  padding: 12px 14px;
  min-height: 96px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--nh-placeholder);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--nh-gold-500);
  outline-offset: 1px;
  border-color: var(--nh-gold-500);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--nh-error-border);
}
.field-error {
  color: var(--nh-error-text);
  font-size: 12px;
  margin: 6px 0 0;
}
.field-hint {
  font-size: 12px;
  color: var(--nh-gray-600);
  margin-top: 6px;
}
.field-section-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nh-gold-700);
  margin-bottom: 4px;
  grid-column: 1 / -1;
}
.field-divider {
  border-top: 1px solid var(--nh-border);
  padding-top: 20px;
}

.checkbox-field {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--nh-dark-800);
  align-items: flex-start;
}
.checkbox-field input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.file-drop {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px dashed var(--nh-input-border);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  background: var(--nh-white);
}
.field.has-error .file-drop {
  border-color: var(--nh-error-border);
}
.file-drop-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--nh-cream-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.file-drop-label {
  font-size: 14px;
  color: var(--nh-dark-800);
  flex: 1;
}
.file-remove {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--nh-input-border);
  border-radius: var(--radius-sm);
  color: var(--nh-gray-600);
  font-size: 13px;
  padding: 6px 10px;
  cursor: pointer;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error-banner {
  grid-column: 1 / -1;
  background: var(--nh-error-bg);
  border: 1px solid var(--nh-error-border);
  color: var(--nh-error-text);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 13px;
}
.form-success {
  border: 1px solid var(--nh-success-border);
  background: var(--nh-success-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.form-success p {
  font-size: 16px;
  font-weight: 600;
  color: var(--nh-success-text);
  margin: 0;
}

.form-fineprint {
  font-size: 12px;
  color: var(--nh-gray-600);
  margin-top: 12px;
  text-align: center;
  grid-column: 1 / -1;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--nh-white);
  border: 1px solid var(--nh-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--nh-navy-900);
  font-family: var(--font-body);
}
.faq-symbol {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--nh-gold-500);
}
.faq-answer {
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--nh-dark-800);
  display: none;
}
.faq-item.is-open .faq-answer {
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--nh-header-gray);
  color: var(--nh-navy-900);
  font-family: var(--font-body);
  border-top: 3px solid var(--nh-gold-500);
}
.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 56px var(--container-pad) 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    padding: 64px var(--container-pad) 32px;
  }
}
.footer-brand img {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--nh-navy-900);
  margin: 0;
  max-width: 26ch;
  line-height: 1.4;
}
.footer-col h3 {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nh-gold-700);
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--nh-navy-900);
  text-decoration: none;
  font-size: 15px;
}
.footer-links a:hover {
  color: var(--nh-gold-500);
}
.footer-hours {
  color: var(--nh-gray-600);
  font-size: 14px;
}
.footer-bottom {
  border-top: 1px solid var(--nh-border);
}
.footer-bottom-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px var(--container-pad);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--nh-gray-600);
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal-links a,
.footer-legal-links button {
  color: var(--nh-gray-600);
  text-decoration: underline;
  font-size: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.footer-simple {
  padding: 24px;
  text-align: center;
}
.footer-simple p {
  font-size: 12px;
  color: #8d96a3;
  margin: 0;
}

/* ---------- Mobile CTA bar ---------- */
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: var(--nh-white);
  border-top: 1px solid var(--nh-border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  gap: 10px;
  box-shadow: 0 -8px 30px rgba(15, 34, 58, 0.08);
}
.mobile-cta-bar .btn-primary {
  flex: 1;
}
.mobile-cta-bar .icon-btn {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-color: var(--nh-navy-900);
}
.mobile-cta-spacer {
  height: 68px;
}
@media (min-width: 1024px) {
  .mobile-cta-bar,
  .mobile-cta-spacer {
    display: none;
  }
}
body.form-field-active .mobile-cta-bar {
  display: none;
}
body.form-field-active .mobile-cta-spacer {
  display: none;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--nh-white);
  border: 1px solid var(--nh-border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: 0 8px 28px rgba(15, 34, 58, 0.16);
  z-index: 80;
  display: none;
}
.cookie-banner.is-open {
  display: block;
}
.cookie-banner p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--nh-dark-800);
  margin: 0 0 14px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
  font-family: var(--font-body);
}
.cookie-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--nh-dark-800);
  margin-bottom: 10px;
}
.cookie-check input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
[data-cookie-panel] {
  display: none;
}
[data-cookie-panel].is-active {
  display: block;
}

/* ---------- Gracias page ---------- */
.thanks-header {
  border-bottom: 1px solid var(--nh-border);
  padding: 18px 24px;
}
.thanks-header img {
  height: 34px;
}
.thanks-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--nh-navy-900);
  color: var(--nh-gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.thanks-steps {
  background: var(--nh-cream-50);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: left;
  margin-bottom: 32px;
}
.thanks-step {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.thanks-step:last-child {
  margin-bottom: 0;
}
.thanks-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--nh-navy-900);
  color: var(--nh-cream-50);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.thanks-step p {
  font-size: 14px;
  color: var(--nh-navy-900);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Legal pages ---------- */
.legal-section {
  padding: 64px 0;
}
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal-wrap h1 {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 20px;
}
.legal-notice {
  background: var(--nh-cream-50);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 28px;
}
.legal-notice p {
  font-size: 13px;
  color: var(--nh-gray-600);
  margin: 0;
}
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--nh-dark-800);
}
.legal-body strong {
  color: var(--nh-navy-900);
}

/* ---------- Utility ---------- */
.text-center {
  text-align: center;
}
.center-wrap {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Mobile-only overrides (< 1024px) ---------- */
@media (max-width: 1023px) {
  /* Photo-band "Castellón y provincia": stack image above text on mobile.
     Absolute overlay is unreadable at 360px height when content is long. */
  .photo-band-scrim {
    display: none;
  }
  .photo-band-content {
    position: static;
    background: var(--nh-navy-900);
    padding: 32px 20px 40px;
    display: block;
  }
  .photo-band-text {
    max-width: 100%;
  }

  /* Hero CTAs: full-width stacked buttons on small screens */
  .hero-photo .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Form card: tighter padding on small screens */
  .form-card {
    padding: 20px 16px;
    gap: 16px 0;
  }

  /* Split sections: less vertical gap */
  .split {
    gap: 20px;
  }

  /* Dual CTA band: allow auto height so content does not clip */
  .dual-cta-img {
    height: auto;
    min-height: 0;
  }
  .dual-cta-content {
    position: static;
  }
  .dual-cta-cols {
    padding: 40px 0;
    background: var(--nh-navy-900);
  }
  .dual-cta-img img {
    height: 260px;
    width: 100%;
    object-fit: cover;
    position: static;
  }
  .dual-cta-scrim {
    display: none;
  }
}
