/* =========================================================
   PATEO 125 — Design System
   Paleta neutra: off-white, bege, areia, cinza-quente, taupe, carvão
   ========================================================= */

:root {
  --off-white: #faf7f2;
  --white: #ffffff;
  --sand: #efe7da;
  --beige: #e4d9c7;
  --taupe: #a99a86;
  --warm-gray: #8a8072;
  --charcoal: #2a2622;
  --charcoal-soft: #423c34;
  --line: #ddd2bf;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--off-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

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

section {
  position: relative;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray);
  font-weight: 500;
}

.h-display {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 400;
}

.h-section {
  font-size: clamp(2rem, 4vw, 3rem);
}

.h-card {
  font-size: 1.4rem;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--charcoal-soft);
  line-height: 1.65;
  font-weight: 400;
}

.body-text {
  color: var(--charcoal-soft);
  font-size: 1rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.9rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--off-white);
  border-color: var(--charcoal);
}

.btn-primary:hover {
  background: var(--charcoal-soft);
  border-color: var(--charcoal-soft);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--off-white);
}

.btn-outline-light {
  background: transparent;
  color: var(--off-white);
  border-color: rgba(250, 247, 242, 0.55);
}

.btn-outline-light:hover {
  background: var(--off-white);
  color: var(--charcoal);
  border-color: var(--off-white);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
}

.btn-arrow {
  transition: transform 0.4s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-color: var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 30px;
  width: auto;
  display: block;
  transition: filter 0.4s var(--ease);
}

.site-header.is-transparent:not(.is-scrolled) .nav-link {
  color: var(--off-white);
}

/* over the hero photo, invert the dark logo mark to read white */
.site-header.is-transparent:not(.is-scrolled) .brand-logo {
  filter: brightness(0) invert(1);
}

.footer-logo {
  height: 30px;
  width: auto;
  /* footer background is always dark, so the logo mark is always inverted to white */
  filter: brightness(0) invert(1);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav-link {
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 4px;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 0.65;
}

.nav-cta {
  display: inline-flex;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 20px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: currentColor;
  color: var(--charcoal);
  transition: all 0.35s var(--ease);
}

.site-header.is-transparent:not(.is-scrolled) .menu-toggle span {
  background: var(--off-white);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--off-white);
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.6rem;
  padding: 0 2rem;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  color: var(--off-white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 15, 0.15) 0%, rgba(20, 18, 15, 0.1) 40%, rgba(20, 18, 15, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(3rem, 8vh, 6rem);
  width: 100%;
}

.hero-eyebrow {
  color: rgba(250, 247, 242, 0.85);
  margin-bottom: 1.2rem;
}

.hero h1 {
  color: var(--off-white);
  margin-bottom: 1.3rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  opacity: 0.92;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(250, 247, 242, 0.88);
  max-width: 34ch;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 2.4rem;
  z-index: 1;
  color: rgba(250, 247, 242, 0.75);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-scroll-cue::after {
  content: "";
  width: 1px;
  height: 46px;
  background: rgba(250, 247, 242, 0.5);
}

/* ---------- Sections generic ---------- */

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-tight {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-alt {
  background: var(--sand);
}

.section-dark {
  background: var(--charcoal);
  color: var(--off-white);
}

.section-header {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header .eyebrow {
  margin-bottom: 0.9rem;
  display: block;
}

.section-header h2 {
  margin-bottom: 1.1rem;
}

/* ---------- Intro (concept) ---------- */

.intro {
  text-align: center;
}

.intro .container-narrow > * + * {
  margin-top: 1.4rem;
}

.intro h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

/* ---------- Gabinetes grid ---------- */

.gabinetes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.6rem;
}

.gabinete-card {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  background: var(--white);
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(42, 38, 34, 0.04);
}

.gabinete-card:nth-child(1),
.gabinete-card:nth-child(4) {
  grid-column: span 4;
}
.gabinete-card:nth-child(2),
.gabinete-card:nth-child(3) {
  grid-column: span 2;
}
.gabinete-card:nth-child(5) {
  grid-column: span 3;
}

.gabinete-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.gabinete-card:nth-child(1) .gabinete-card-media,
.gabinete-card:nth-child(4) .gabinete-card-media {
  aspect-ratio: 5 / 4;
}

.gabinete-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.gabinete-card:hover .gabinete-card-media img {
  transform: scale(1.045);
}

.status-badge {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.gabinete-card-media .status-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-badge.disponivel {
  background: rgba(250, 247, 242, 0.92);
  color: var(--charcoal);
}
.status-badge.disponivel::before {
  background: #5c7a5e;
}

.status-badge.ocupado {
  background: rgba(42, 38, 34, 0.55);
  color: var(--off-white);
}
.status-badge.ocupado::before {
  background: rgba(250, 247, 242, 0.7);
}

.gabinete-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.gabinete-card-body h3 {
  font-size: 1.2rem;
}

.gabinete-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--warm-gray);
  flex-wrap: wrap;
}

.gabinete-card-desc {
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  flex: 1;
}

.gabinete-card-footer {
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.link-arrow {
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.link-arrow .arrow {
  transition: transform 0.35s var(--ease);
}

.link-arrow:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Editorial space section ---------- */

.editorial-lead {
  max-width: 640px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.editorial-lead .eyebrow {
  display: block;
  margin-bottom: 1rem;
}

.ed-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.6rem;
  margin-bottom: 1.6rem;
}

.ed-img {
  overflow: hidden;
  border-radius: 3px;
}

.ed-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Row A — uma imagem grande, recuada dos dois lados para criar espaço negativo */
.ed-row-a .ed-img-large {
  grid-column: 2 / 12;
  aspect-ratio: 16 / 9;
}

/* Row B — par assimétrico: uma imagem maior + uma menor, deslocada para baixo */
.ed-row-b {
  align-items: start;
}
.ed-row-b .ed-img-medium {
  grid-column: 1 / 8;
  aspect-ratio: 4 / 3;
}
.ed-row-b .ed-img-small {
  grid-column: 9 / 13;
  aspect-ratio: 3 / 4;
  margin-top: clamp(2rem, 6vw, 5rem);
}

/* Row C — banner largo, sem recuo */
.ed-row-c .ed-img-full {
  grid-column: 1 / 13;
  aspect-ratio: 21 / 9;
}

/* ---------- Porquê Pateo ---------- */

.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.reason {
  padding: 2.6rem 2rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.reason:not(:last-child) {
  border-right: 1px solid var(--line);
}

.reason-index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--taupe);
  display: block;
  margin-bottom: 1.6rem;
}

.reason h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.reason p {
  color: var(--charcoal-soft);
  font-size: 0.94rem;
}

.amenities-note {
  margin-top: 3rem;
  padding: 2rem 2rem;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.amenities-note h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--warm-gray);
  font-weight: 500;
  margin-bottom: 1.1rem;
}

.amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0;
}

.amenities-list li {
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  padding-right: 1.4rem;
  margin-right: 1.4rem;
  border-right: 1px solid var(--line);
}

.amenities-list li:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

/* ---------- Empresas no espaço ---------- */

.logos-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(2.5rem, 7vw, 5.5rem);
}

.logo-item {
  opacity: 0.72;
  transition: opacity 0.3s ease;
}

.logo-item:hover {
  opacity: 1;
}

.logo-img {
  height: 34px;
  width: auto;
}

.logo-img-flashfin {
  height: 42px;
}

/* ---------- Equipa ---------- */

.team-section {
  border-bottom: 1px solid var(--line);
}

.team-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(2.5rem, 7vw, 5rem);
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-photo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.8rem;
}

.team-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--charcoal);
}

.team-role {
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-top: 0.2rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  color: var(--charcoal-soft);
}

/* ---------- Localização ---------- */

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.location-map {
  aspect-ratio: 4/3.4;
  border-radius: 3px;
  overflow: hidden;
  background: var(--sand);
  border: 1px solid var(--line);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.02);
}

.map-consent-btn {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: none;
  border: none;
  padding: 2rem;
  text-align: center;
  color: var(--charcoal);
  transition: background 0.3s;
}

.map-consent-btn:hover {
  background: var(--beige);
}

.map-consent-btn span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  padding: 0.7rem 1.6rem;
  border: 1px solid var(--charcoal);
  border-radius: 2px;
}

.map-consent-btn small {
  font-size: 0.78rem;
  color: var(--warm-gray);
  max-width: 30ch;
}

.location-detail + .location-detail {
  margin-top: 2rem;
}

.location-detail h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--warm-gray);
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.location-detail p {
  color: var(--charcoal-soft);
}

.location-detail ul li {
  color: var(--charcoal-soft);
  padding: 0.3rem 0;
}

.placeholder-text {
  color: var(--taupe);
  font-style: italic;
}

/* ---------- CTA final ---------- */

.cta-final {
  text-align: center;
  padding: clamp(5rem, 10vw, 8.5rem) 0;
}

.cta-final h2 {
  color: var(--off-white);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  max-width: 16ch;
  margin: 0 auto 1.2rem;
}

.cta-final p {
  color: rgba(250, 247, 242, 0.75);
  max-width: 46ch;
  margin: 0 auto 2.2rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: rgba(250, 247, 242, 0.85);
  padding: 3.5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250, 247, 242, 0.14);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--off-white);
  margin-bottom: 0.8rem;
}

.footer-col h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250, 247, 242, 0.5);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-col li {
  padding: 0.3rem 0;
}

.footer-col a:hover {
  opacity: 0.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.6rem;
  font-size: 0.82rem;
  color: rgba(250, 247, 242, 0.5);
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-bottom a:hover {
  color: rgba(250, 247, 242, 0.85);
}

/* ---------- Botão flutuante WhatsApp ---------- */

.whatsapp-float {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(42, 38, 34, 0.28);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.whatsapp-float:hover {
  background: #25d366;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 1.1rem;
    bottom: 1.1rem;
    width: 48px;
    height: 48px;
  }
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Gabinete detail page ---------- */

.gab-hero {
  padding: clamp(7rem, 12vw, 9rem) 0 3rem;
}

.gab-breadcrumb {
  font-size: 0.82rem;
  color: var(--warm-gray);
  margin-bottom: 1.6rem;
  display: flex;
  gap: 0.5rem;
}

.gab-breadcrumb a:hover {
  color: var(--charcoal);
}

.gab-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.gab-title-row h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
}

.gab-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.gab-gallery img {
  width: 100%;
  border-radius: 3px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gab-gallery.single {
  grid-template-columns: 1fr;
}

.gab-gallery.single img {
  aspect-ratio: 16/9.5;
}

.gab-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
}

.gab-info-item h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--warm-gray);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.gab-info-item .value {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.gab-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.gab-other {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.gab-other a {
  display: block;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
}

.gab-other a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gab-other a:hover img {
  transform: scale(1.05);
}

.gab-other-label {
  position: absolute;
  bottom: 0.9rem;
  left: 0.9rem;
  color: var(--off-white);
  font-size: 0.85rem;
  z-index: 1;
}

.gab-other a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20,18,15,0.55) 100%);
}

/* ---------- Contact page / form ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--warm-gray);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--taupe);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-note {
  font-size: 0.82rem;
  color: var(--warm-gray);
  margin-top: 1rem;
}

.form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--charcoal-soft);
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--charcoal);
  flex-shrink: 0;
}

.form-consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-success {
  display: none;
  padding: 1.2rem 1.4rem;
  background: var(--sand);
  border-radius: 3px;
  margin-top: 1.4rem;
  font-size: 0.92rem;
}

.form-success.is-visible {
  display: block;
}

.contact-info-block + .contact-info-block {
  margin-top: 2.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.contact-info-block h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--warm-gray);
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.contact-info-block .big {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

/* ---------- Page header (non-home pages) ---------- */

.page-hero {
  padding: clamp(7.5rem, 14vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
}

.page-hero .eyebrow {
  margin-bottom: 1rem;
}

.page-hero h1 {
  max-width: 20ch;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.4rem;
  }
  .footer-brand-col { grid-column: 1 / -1; }

  .location-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }

  .reasons { grid-template-columns: 1fr; }
  .reason, .reason:not(:last-child) {
    border-right: none;
  }

  .gabinetes-grid { grid-template-columns: repeat(2, 1fr); }
  .gabinete-card,
  .gabinete-card:nth-child(1),
  .gabinete-card:nth-child(2),
  .gabinete-card:nth-child(3),
  .gabinete-card:nth-child(4),
  .gabinete-card:nth-child(5) {
    grid-column: span 1;
  }

  .ed-row-a .ed-img-large,
  .ed-row-b .ed-img-medium,
  .ed-row-b .ed-img-small {
    grid-column: 1 / 13;
    margin-top: 0;
  }
  .ed-row-b { row-gap: 1.6rem; }

  .gab-info-grid { grid-template-columns: 1fr 1fr; row-gap: 1.6rem; }
  .gab-other { grid-template-columns: repeat(2, 1fr); }
  .gab-gallery { grid-template-columns: 1fr; }

  .amenities-list { flex-direction: column; gap: 0.7rem; }
  .amenities-list li { border-right: none; padding-right: 0; margin-right: 0; }
}

@media (max-width: 600px) {
  .gabinetes-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .gab-other { grid-template-columns: repeat(2, 1fr); }
  .hero-scroll-cue { display: none; }
  .gab-title-row { align-items: flex-start; flex-direction: column; }
}
