/* ==========================================================================
   Mateo Properties — Premium Student Living
   Mobile-first stylesheet. No build step required.
   ========================================================================== */

:root {
  --green: #0F4D3A;
  --green-dark: #0A3628;
  --green-mid: #146049;
  --green-tint: #E8F0EC;
  --gold: #C9A227;
  --gold-light: #E3C25B;
  --gold-tint: #FBF5E3;
  --ink: #1A1D1B;
  --muted: #4A5550;
  --white: #FFFFFF;
  --off-white: #F7F5EF;
  --line: #E2DED3;
  --danger: #A12A1F;
  --success: #17633F;

  --font-heading: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(10, 54, 40, 0.10);
  --shadow-lg: 0 18px 50px rgba(10, 54, 40, 0.18);
  --header-h: 68px;
  --container: 1160px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--green-dark);
}
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-mid); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 4rem 0; }
.section--off { background: var(--off-white); }
.section--green { background: var(--green); color: var(--white); }
.section--green h2, .section--green h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.075rem; }
.section--green .section-head p { color: rgba(255, 255, 255, 0.88); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8A6D12; /* darker gold for contrast on light backgrounds */
  margin-bottom: 0.75rem;
}
.section--green .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow { color: var(--gold-light); }

.gold-rule {
  width: 64px;
  height: 4px;
  background: var(--gold);
  border: 0;
  border-radius: 2px;
  margin: 0 0 1.25rem;
}
.section-head--center .gold-rule,
.gold-rule--center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-light); color: var(--ink); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-mid); color: var(--white); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.85); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--green-dark); }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green); color: var(--white); }
.btn--whatsapp { background: #1F8A4C; color: var(--white); }
.btn--whatsapp:hover { background: #18703D; color: var(--white); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green);
  color: var(--white);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22); }
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { color: var(--white); }
.brand__logo { width: 30px; height: 46px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.12em;
}
.brand__tag {
  font-family: var(--font-heading);
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  color: var(--gold-light);
  margin-top: 0.25rem;
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #1F8A4C;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
}
.header-whatsapp:hover { background: #18703D; color: var(--white); }
.header-whatsapp i { font-size: 1.2rem; }
.header-whatsapp__label { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
}
.nav-toggle .fa-xmark { display: none; }
.nav-toggle[aria-expanded="true"] .fa-bars { display: none; }
.nav-toggle[aria-expanded="true"] .fa-xmark { display: inline-block; }

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--green-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1.25rem 1.25rem;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 0.85rem 0.25rem;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--gold-light); }
.site-nav .nav-cta { margin-top: 1rem; }
.site-nav .nav-cta a {
  border: 0;
  text-align: center;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-weight: 600;
}
.site-nav .nav-cta a:hover { background: var(--gold-light); color: var(--ink); }

@media (min-width: 480px) {
  .header-whatsapp__label { display: inline; }
}

@media (min-width: 1000px) {
  :root { --header-h: 80px; }
  .brand__logo { width: 34px; height: 52px; }
  .brand__name { font-size: 1.1rem; }
  .brand__tag { font-size: 0.6rem; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: block;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
  .site-nav ul { display: flex; align-items: center; gap: 0.25rem; }
  .site-nav a {
    border: 0;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    position: relative;
  }
  .site-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0.75rem; right: 0.75rem; bottom: 0.15rem;
    height: 2px;
    background: var(--gold);
  }
  .site-nav .nav-cta { margin: 0 0 0 0.5rem; }
  .site-nav .nav-cta a { padding: 0.65rem 1.2rem; }
  .site-nav .nav-cta a::after { display: none; }
  .header-inner { gap: 1rem; }
  .header-whatsapp { order: 3; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(10, 54, 40, 0.95) 0%, rgba(15, 77, 58, 0.86) 50%, rgba(15, 77, 58, 0.45) 100%),
    url("../images/building-street.jpg") center 35% / cover no-repeat;
  padding: 4.5rem 0 7rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 90px 0 0 90px;
  border-color: transparent transparent transparent var(--gold);
}
.hero__content { max-width: 640px; position: relative; }
.hero h1 { color: var(--white); margin-bottom: 0.4em; }
.hero__lead { font-size: 1.15rem; color: rgba(255, 255, 255, 0.92); max-width: 560px; margin-bottom: 2rem; }

.facts {
  position: relative;
  margin-top: -4rem;
  z-index: 2;
}
.facts__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border-top: 4px solid var(--gold);
}
.fact {
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact:nth-child(2n) { border-right: 0; }
.fact__value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--green);
}
.fact__label { display: block; font-size: 0.88rem; color: var(--muted); }

@media (min-width: 760px) {
  .hero { padding: 6.5rem 0 9rem; }
  .facts__grid { grid-template-columns: repeat(4, 1fr); }
  .fact { border-bottom: 0; }
  .fact:nth-child(2n) { border-right: 1px solid var(--line); }
  .fact:last-child { border-right: 0; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  background:
    linear-gradient(120deg, var(--green-dark) 0%, var(--green) 70%, var(--green-mid) 100%);
  color: var(--white);
  padding: 3.25rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: 0; top: 0;
  border-style: solid;
  border-width: 0 70px 70px 0;
  border-color: transparent var(--gold) transparent transparent;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.3em; }
.page-hero p { color: rgba(255, 255, 255, 0.9); max-width: 640px; font-size: 1.08rem; margin: 0; }

/* ---------- Layout helpers ---------- */
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .split--reverse > :first-child { order: 2; }
}

.split__media {
  position: relative;
}
.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split__media::before {
  content: "";
  position: absolute;
  inset: auto -12px -12px auto;
  width: 45%;
  height: 45%;
  border-right: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
  border-radius: 0 0 var(--radius) 0;
  z-index: -1;
}

.lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  height: 100%;
}
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--green);
  color: var(--gold-light);
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.feature-card { border-top: 4px solid var(--gold); }

/* Room type cards */
.room-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.room-card__head {
  background: var(--green);
  color: var(--white);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.room-card__head h3 { color: var(--white); margin: 0; font-size: 1.35rem; }
.room-card__head i { font-size: 1.6rem; color: var(--gold-light); }
.room-card__body { padding: 1.5rem 1.75rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.room-card__body p { color: var(--muted); }
.room-card__body .btn { margin-top: auto; align-self: flex-start; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
}
.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--green);
}
.section--green .check-list li::before { color: var(--gold-light); }

/* Lease */
.lease-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .lease-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lease-grid { grid-template-columns: repeat(4, 1fr); } }
.lease-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(227, 194, 91, 0.45);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.lease-item i { color: var(--gold-light); font-size: 1.5rem; margin-bottom: 0.75rem; display: block; }
.lease-item h3 { margin-bottom: 0.35rem; }
.lease-item p { margin: 0; color: rgba(255, 255, 255, 0.88); font-size: 0.97rem; }
.lease-note { margin-top: 1.75rem; color: rgba(255, 255, 255, 0.88); }
.lease-note a { color: var(--gold-light); }

/* Notice (no pets) */
.notice {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--gold-tint);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.notice__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 1.35rem;
  position: relative;
}
.notice__icon::after {
  content: "";
  position: absolute;
  width: 62%;
  height: 3px;
  background: var(--gold-light);
  transform: rotate(-45deg);
  border-radius: 2px;
}
.notice h2, .notice h3 { margin: 0 0 0.3rem; font-size: 1.3rem; }
.notice p { margin: 0; color: var(--ink); }

/* Team */
.team-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.team-card img {
  width: 110px;
  height: 130px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  border: 3px solid var(--gold);
  background: var(--green);
}
.team-card h3 { margin: 0 0 0.15rem; font-size: 1.1rem; }
.team-card .role { color: var(--muted); font-size: 0.92rem; margin: 0 0 0.6rem; }
.team-card .contact-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-weight: 600; }
.team-card .contact-links a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 32px; }
.team-card .contact-links a:hover { text-decoration: underline; }

@media (min-width: 480px) {
  .team-card { grid-template-columns: 130px 1fr; }
  .team-card img { width: 130px; height: 150px; }
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(110deg, rgba(10, 54, 40, 0.96), rgba(15, 77, 58, 0.88)),
    url("../images/building-corner.jpg") center / cover no-repeat;
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255, 255, 255, 0.9); margin: 0; max-width: 560px; }
@media (min-width: 900px) {
  .cta-band { grid-template-columns: 1.4fr auto; padding: 3rem; }
}

/* ---------- Properties ---------- */
.property-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.property-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--green); }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; }
.property-card__badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.property-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.property-card__body h2 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.property-meta { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.property-meta li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
}
.property-meta li:last-child { border-bottom: 0; }
.property-meta i { color: var(--green); margin-top: 0.3rem; }
.property-meta strong { color: var(--ink); font-weight: 600; }
.availability {
  background: var(--green-tint);
  border-left: 4px solid var(--gold);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 500;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
}
.property-card__body .btn { margin-top: auto; }

/* ---------- Amenities ---------- */
.amenity-group + .amenity-group { margin-top: 3.5rem; }
.amenity-group__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--line);
}
.amenity-group__head h2 { margin: 0; font-size: clamp(1.4rem, 3.5vw, 1.9rem); }
.amenity-group__head .icon-badge { margin: 0; background: var(--gold); color: var(--green-dark); }
.amenity-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .amenity-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .amenity-list { grid-template-columns: repeat(3, 1fr); } }
.amenity {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.amenity i {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green);
  color: var(--gold-light);
  font-size: 1.1rem;
}
.amenity h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.amenity p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--green);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  box-shadow: var(--shadow);
  text-align: left;
  font: inherit;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.04); }
.gallery-item__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.75rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(10, 54, 40, 0.95) 55%);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
}
.gallery-heading { margin-top: 3rem; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(6, 24, 18, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}
.lightbox.is-open { display: flex; }
.lightbox__figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox__img {
  max-height: 75vh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__caption { color: var(--white); margin-top: 1rem; font-family: var(--font-heading); }
.lightbox__btn {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lightbox__btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 0.75rem; top: 50%; transform: translateY(-50%); }
body.no-scroll { overflow: hidden; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 2rem; }
@media (min-width: 960px) {
  .contact-layout { grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .full { grid-column: 1 / -1; }
}
.field label,
.field legend {
  padding: 0;
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}
.field .req { color: var(--danger); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--off-white);
  border: 1.5px solid #B9B4A6;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.45);
}
.field fieldset { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  padding: 0.6rem 1rem;
  border: 1.5px solid #B9B4A6;
  border-radius: 999px;
  cursor: pointer;
  min-height: 46px;
  margin: 0;
}
.radio-row label:has(input:checked) { border-color: var(--green); background: var(--green-tint); }
.field-hint { font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; }
.field .consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.93rem; font-weight: 500; }
.field .consent input,
.field .radio-row input {
  width: 20px;
  height: 20px;
  min-height: 0;
  padding: 0;
  margin: 0.2rem 0 0;
  flex: 0 0 auto;
  accent-color: var(--green);
}
.field .radio-row input { margin: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--success { background: #E3F2E9; color: var(--success); border: 1px solid #9CCFB1; }
.form-status--error { background: #FBE9E7; color: var(--danger); border: 1px solid #E8B4AE; }
.form-status a { color: inherit; font-weight: 700; }

.contact-panel {
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}
.contact-panel h2 { color: var(--white); font-size: 1.4rem; }
.contact-panel a { color: var(--gold-light); }
.contact-panel .btn--whatsapp,
.contact-panel .btn--whatsapp:hover { color: var(--white); }
.contact-panel .btn { margin-bottom: 0.75rem; }
.contact-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.contact-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.5rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.contact-list i { color: var(--gold-light); margin-top: 0.3rem; }
.contact-list strong { display: block; font-family: var(--font-heading); font-weight: 600; }
.contact-list span { color: rgba(255, 255, 255, 0.9); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 14px rgba(10, 54, 40, 0.05);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3.25rem 1.15rem 1.35rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--green-dark);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; background: var(--gold); color: var(--ink); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { padding: 1.1rem 1.35rem 1.25rem; color: var(--muted); }
.faq-answer p:last-child, .faq-answer ol:last-child { margin-bottom: 0; }
.faq-answer ol { padding-left: 1.25rem; }
.faq-answer li { margin-bottom: 0.35rem; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.25rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 5rem 0; }
.error-page .code {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(4rem, 15vw, 7rem);
  line-height: 1;
  color: var(--gold);
}
.error-page .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.86);
  padding: 3.5rem 0 1.5rem;
  border-top: 4px solid var(--gold);
  font-size: 0.95rem;
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { width: 220px; height: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 320px; }
.site-footer h2 {
  color: var(--gold-light);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.4rem; margin-bottom: 0.7rem; }
.footer-contact i { color: var(--gold-light); margin-top: 0.3rem; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--green);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--gold); color: var(--ink); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
