/*
Theme Name: Nivas
Theme URI: https://websfirm.com
Author: Websfirm Technologies
Author URI: https://websfirm.com
Description: Custom real estate theme for buy, sell and rent listings in Lucknow. Built for property CPTs, locality/BHK/budget search, and a layered jaali-parallax homepage.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nivas
*/

/* ==========================================================================
   1. RESET
   ========================================================================== */
*, *::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; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; }

/* ==========================================================================
   2. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Color -- Awadh palette: sandstone/limestone ground, deep green primary,
     antique gold for lattice + dividers, dusted rose used sparingly. */
  --nivas-ink: #211D18;
  --nivas-ink-soft: #4A443C;
  --nivas-limestone: #E7DCC5;
  --nivas-limestone-deep: #D9C7A0;
  --nivas-paper: #FBF7EF;
  --nivas-white: #FFFFFF;
  --nivas-green: #1F4A3B;
  --nivas-green-deep: #143025;
  --nivas-green-tint: #E4EBE6;
  --nivas-gold: #B08D57;
  --nivas-gold-light: #D8C29A;
  --nivas-rose: #9C4B44;

  /* Type */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1220px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow-card: 0 20px 45px -25px rgba(33, 29, 24, 0.45);
  --shadow-card-hover: 0 30px 60px -25px rgba(33, 29, 24, 0.55);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   3. BASE
   ========================================================================== */
body {
  font-family: var(--font-body);
  background: var(--nivas-limestone);
  color: var(--nivas-ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--nivas-ink);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nivas-gold);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--nivas-gold);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--nivas-green);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.skip-link.screen-reader-text:focus {
  position: fixed;
  top: 10px; left: 10px;
  width: auto; height: auto;
  clip: auto;
  z-index: 999;
  background: var(--nivas-paper);
  color: var(--nivas-ink);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.breadcrumb {
  font-size: 13px;
  color: var(--nivas-ink-soft);
  margin-bottom: 18px;
}
.archive-header .breadcrumb { color: rgba(251,247,239,0.6); }
.archive-header .breadcrumb a { color: rgba(251,247,239,0.8); }
.breadcrumb a:hover { color: var(--nivas-green); }
.archive-header .breadcrumb a:hover { color: var(--nivas-gold-light); }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease-out), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--nivas-green); color: var(--nivas-white); }
.btn--primary:hover { background: var(--nivas-green-deep); transform: translateY(-2px); }
.btn--outline { border: 1.5px solid var(--nivas-ink); color: var(--nivas-ink); }
.btn--outline:hover { background: var(--nivas-ink); color: var(--nivas-paper); transform: translateY(-2px); }
.btn--paper { background: var(--nivas-paper); color: var(--nivas-ink); }
.btn--paper:hover { background: var(--nivas-white); transform: translateY(-2px); }
.btn--whatsapp { background: #25D366; color: #0b3d20; }
.btn--whatsapp:hover { background: #1ebe5b; transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 13px; }

/* ==========================================================================
   5. HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 22px;
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header.is-scrolled {
  background: var(--nivas-paper);
  padding-block: 14px;
  box-shadow: 0 10px 30px -18px rgba(33,29,24,0.35);
}
.site-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--nivas-paper);
  transition: color 0.4s ease;
}
.site-logo span { color: var(--nivas-gold); }
.site-header.is-scrolled .site-logo { color: var(--nivas-ink); }

.main-nav__list { display: flex; align-items: center; gap: 34px; }
.main-nav__link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--nivas-paper);
  position: relative;
  transition: color 0.4s ease;
}
.main-nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: currentColor;
  transition: width 0.3s var(--ease-out);
}
.main-nav__link:hover::after { width: 100%; }
.site-header.is-scrolled .main-nav__link { color: var(--nivas-ink); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.nav-toggle span { display: block; height: 2px; background: var(--nivas-paper); transition: background 0.4s ease; }
.site-header.is-scrolled .nav-toggle span { background: var(--nivas-ink); }

/* ==========================================================================
   6. HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #2b2620 0%, var(--nivas-ink) 60%, #191510 100%);
  isolation: isolate;
}
.hero__layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero__layer--glow {
  background: radial-gradient(60% 50% at 50% 30%, rgba(176,141,87,0.25), transparent 70%);
}
.hero__layer--lattice {
  color: var(--nivas-gold);
  opacity: 0.22;
  inset: -10% -10% -10% -10%;
}
.hero__layer--skyline { bottom: 0; top: auto; height: 42%; color: #171310; }
.hero__layer--skyline svg { width: 100%; height: 100%; }

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 90px;
  text-align: center;
  margin-inline: auto;
}
.hero__eyebrow {
  color: var(--nivas-gold-light);
  justify-content: center;
}
.hero__eyebrow::before { display: none; }
.hero__title {
  color: var(--nivas-paper);
  font-size: clamp(38px, 6vw, 74px);
  max-width: 16ch;
  margin-inline: auto;
  margin-top: 18px;
}
.hero__title em {
  font-style: italic;
  color: var(--nivas-gold-light);
}
.hero__subtitle {
  color: rgba(251,247,239,0.72);
  font-size: 17px;
  max-width: 46ch;
  margin: 20px auto 0;
}

/* ==========================================================================
   7. SEARCH FORM
   ========================================================================== */
.search-form {
  background: var(--nivas-paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 980px;
  margin: 40px auto 0;
}
.search-form__tabs { display: flex; gap: 6px; width: 100%; padding: 4px 4px 0; }
.search-form__tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--nivas-ink-soft);
}
.search-form__tab[aria-current="page"] { background: var(--nivas-green); color: var(--nivas-white); }
.search-form__row { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; align-items: center; }
.search-form__field { flex: 1; min-width: 140px; padding: 8px 16px; border-radius: var(--radius-sm); }
.search-form__field label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nivas-ink-soft);
  margin-bottom: 2px;
}
.search-form__field select, .search-form__field input {
  border: none;
  background: none;
  width: 100%;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--nivas-ink);
  padding: 2px 0;
}
.search-form__submit { flex-shrink: 0; }

/* ==========================================================================
   8. TRUST BAR
   ========================================================================== */
.trust-bar {
  background: var(--nivas-ink);
  padding-block: 26px;
}
.trust-bar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.trust-bar__item { text-align: left; color: var(--nivas-paper); }
.trust-bar__number { font-family: var(--font-display); font-size: 28px; color: var(--nivas-gold-light); display: block; }
.trust-bar__label { font-size: 13px; color: rgba(251,247,239,0.65); }

/* ==========================================================================
   9. SECTIONS (generic)
   ========================================================================== */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--alt { background: var(--nivas-limestone-deep); }
.section--dark { background: var(--nivas-green); color: var(--nivas-paper); }
.section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section__title { font-size: clamp(28px, 3.4vw, 42px); margin-top: 14px; }
.section__link { font-weight: 700; font-size: 14px; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }

/* Lattice divider strip used between sections */
.lattice-divider {
  height: 26px;
  background-image:
    repeating-linear-gradient(45deg, var(--nivas-gold) 0 1.5px, transparent 1.5px 22px),
    repeating-linear-gradient(-45deg, var(--nivas-gold) 0 1.5px, transparent 1.5px 22px);
  opacity: 0.35;
}

/* ==========================================================================
   10. PROPERTY GRID + CARD
   ========================================================================== */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.property-card {
  background: var(--nivas-paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  will-change: transform;
}
.property-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--nivas-limestone-deep);
}
.property-card__image {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02) translateZ(20px);
  transition: transform 0.6s var(--ease-out);
}
.property-card:hover .property-card__image { transform: scale(1.1) translateZ(20px); }
.property-card__badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; }
.property-card__badge {
  background: rgba(251,247,239,0.92);
  color: var(--nivas-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.property-card__badge--featured { background: var(--nivas-gold); color: var(--nivas-ink); }
.property-card__body { padding: 22px; transform: translateZ(30px); }
.property-card__locality { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--nivas-green); }
.property-card__title { font-size: 20px; margin-top: 8px; }
.property-card__meta { display: flex; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(33,29,24,0.1); flex-wrap: wrap; }
.property-card__meta-item { font-size: 13px; color: var(--nivas-ink-soft); }
.property-card__meta-item strong { color: var(--nivas-ink); }
.property-card__footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.property-card__price { font-family: var(--font-display); font-size: 21px; color: var(--nivas-ink); }
.property-card__price small { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--nivas-ink-soft); }
.property-card__arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--nivas-ink);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, transform 0.3s var(--ease-out);
}
.property-card:hover .property-card__arrow { background: var(--nivas-green); border-color: var(--nivas-green); transform: rotate(45deg); }
.property-card:hover .property-card__arrow svg { stroke: var(--nivas-white); }

/* ==========================================================================
   11. LOCALITY EXPLORER
   ========================================================================== */
.locality-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.locality-chip {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--nivas-paper);
  border: 1px solid rgba(33,29,24,0.08);
  transition: transform 0.4s var(--ease-out), background 0.4s ease, color 0.4s ease;
}
.locality-chip:hover { background: var(--nivas-ink); color: var(--nivas-paper); transform: translateY(-6px); }
.locality-chip__name { font-family: var(--font-display); font-size: 19px; }
.locality-chip__count { display: block; font-size: 12.5px; color: var(--nivas-ink-soft); margin-top: 6px; }
.locality-chip:hover .locality-chip__count { color: var(--nivas-gold-light); }

/* ==========================================================================
   12. WHY US
   ========================================================================== */
.why-us__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 20px; }
.why-us__icon { width: 46px; height: 46px; color: var(--nivas-gold-light); margin-bottom: 18px; }
.why-us__title { color: var(--nivas-paper); font-size: 20px; }
.why-us__text { color: rgba(251,247,239,0.7); font-size: 14.5px; margin-top: 10px; }

/* ==========================================================================
   13. CTA BAND
   ========================================================================== */
.cta-band { text-align: center; }
.cta-band__title { font-size: clamp(28px, 3.6vw, 46px); max-width: 20ch; margin-inline: auto; }
.cta-band__actions { display: flex; gap: 16px; justify-content: center; margin-top: 30px; }

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.site-footer { background: var(--nivas-ink); color: rgba(251,247,239,0.75); padding-block: 70px 30px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__logo { font-family: var(--font-display); font-size: 24px; color: var(--nivas-paper); }
.site-footer__about { font-size: 14px; margin-top: 14px; max-width: 32ch; }
.site-footer h4 { color: var(--nivas-paper); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-body); }
.site-footer li { margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: var(--nivas-gold-light); }
.site-footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid rgba(251,247,239,0.12);
  font-size: 12.5px;
  color: rgba(251,247,239,0.5);
}

/* ==========================================================================
   15. ARCHIVE / LISTINGS
   ========================================================================== */
.archive-header { background: var(--nivas-ink); padding: 170px 0 60px; color: var(--nivas-paper); }
.archive-header__title { font-size: clamp(30px, 4vw, 46px); color: var(--nivas-paper); }
.archive-header .search-form { margin-top: 30px; margin-inline: 0; max-width: 100%; }

.archive-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding-block: 50px; align-items: start; }
.archive-sidebar { background: var(--nivas-paper); border-radius: var(--radius-md); padding: 26px; position: sticky; top: 110px; }
.archive-sidebar h3 { font-size: 16px; margin-bottom: 14px; }
.filter-group { margin-bottom: 26px; }
.filter-group label { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; color: var(--nivas-ink-soft); }
.filter-group input[type="checkbox"] { accent-color: var(--nivas-green); }

.archive-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.archive-toolbar__count { font-size: 14.5px; color: var(--nivas-ink-soft); }
.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state h3 { font-size: 24px; }
.empty-state p { color: var(--nivas-ink-soft); margin-top: 10px; }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 50px; }
.pagination .page-numbers {
  min-width: 40px; height: 40px;
  padding: 0 6px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 14px; font-weight: 700;
  background: var(--nivas-paper);
}
.pagination .page-numbers.current { background: var(--nivas-green); color: var(--nivas-white); }
.pagination .page-numbers.dots { background: none; }

/* ==========================================================================
   16. SINGLE PROPERTY
   ========================================================================== */
.property-gallery { padding-top: 96px; }
.property-gallery__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/8; background: var(--nivas-ink); }
.property-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.property-gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 12px; }
.property-gallery__thumb { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; opacity: 0.55; transition: opacity 0.3s ease; }
.property-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.property-gallery__thumb:hover, .property-gallery__thumb.is-active { opacity: 1; }

.property-detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 50px; padding-block: 50px; align-items: start; }
.property-summary { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; padding-bottom: 30px; border-bottom: 1px solid rgba(33,29,24,0.12); }
.property-summary__title { font-size: clamp(26px, 3vw, 36px); }
.property-summary__location { color: var(--nivas-ink-soft); margin-top: 8px; }
.property-summary__price { font-family: var(--font-display); font-size: 32px; text-align: right; }

.property-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-block: 34px; }
.property-fact { background: var(--nivas-paper); border-radius: var(--radius-md); padding: 18px; }
.property-fact__label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--nivas-ink-soft); }
.property-fact__value { font-family: var(--font-display); font-size: 19px; margin-top: 4px; }

.property-description { font-size: 15.5px; line-height: 1.8; color: var(--nivas-ink-soft); }
.rera-note { margin-top: 24px; padding: 14px 18px; background: var(--nivas-green-tint); border-left: 3px solid var(--nivas-green); font-size: 13.5px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.agent-card { background: var(--nivas-ink); color: var(--nivas-paper); border-radius: var(--radius-lg); padding: 30px; position: sticky; top: 110px; }
.agent-card h3 { color: var(--nivas-paper); font-size: 20px; }
.agent-card p { font-size: 13.5px; color: rgba(251,247,239,0.65); margin-top: 6px; }
.agent-card .btn { margin-top: 14px; }
.property-map iframe { width: 100%; border-radius: var(--radius-lg); border: none; height: 360px; }
.related-properties { margin-top: 20px; }

/* ==========================================================================
   17. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .property-grid, .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .locality-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us__grid { grid-template-columns: 1fr; gap: 26px; }
  .archive-layout, .property-detail-layout, .contact-layout { grid-template-columns: 1fr; }
  .archive-sidebar, .agent-card { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .property-grid, .archive-grid, .locality-grid, .property-facts, .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .property-facts { grid-template-columns: repeat(2,1fr); }
  .search-form__row { flex-direction: column; align-items: stretch; }
  .search-form__submit { width: 100%; }
  .contact-form__row { grid-template-columns: 1fr; }
  .trust-bar .container { justify-content: center; text-align: center; }
  .property-gallery__thumbs { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 480px) {
  .property-grid, .archive-grid, .locality-grid, .site-footer__grid, .property-facts { grid-template-columns: 1fr; }
}

/* ==========================================================================
   18. CONTACT PAGE
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 50px;
  padding-block: 60px;
  align-items: start;
}

.contact-form-card {
  background: var(--nivas-paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 4vw, 44px);
}
.contact-form-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(33, 29, 24, 0.1);
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form__field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nivas-ink-soft);
  margin-bottom: 8px;
}
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  border: 1.5px solid rgba(33, 29, 24, 0.15);
  border-radius: var(--radius-sm);
  background: var(--nivas-white);
  padding: 12px 14px;
  font-size: 14.5px;
  transition: border-color 0.25s ease;
}
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus { border-color: var(--nivas-green); }
.contact-form__field textarea { resize: vertical; min-height: 120px; }

/* Honeypot: exists in the DOM for bots, invisible and unreachable for people */
.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message { font-size: 14px; font-weight: 600; display: none; padding: 12px 16px; border-radius: var(--radius-sm); }
.form-message.is-visible { display: block; }
.form-message--success { background: var(--nivas-green-tint); color: var(--nivas-green-deep); }
.form-message--error { background: #F5E1DE; color: var(--nivas-rose); }

.contact-info__list { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.contact-info__row { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; color: rgba(251, 247, 239, 0.75); }
.contact-info__row svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--nivas-gold-light); }
.contact-info__row a { color: rgba(251, 247, 239, 0.85); }
.contact-info__row a:hover { color: var(--nivas-gold-light); }

.contact-map { margin-top: 22px; border-radius: var(--radius-md); overflow: hidden; }
.contact-map iframe { width: 100%; height: 220px; border: none; display: block; }
