:root {
  color-scheme: light;
  --ink: #111818;
  --deep: #071111;
  --muted: #65706c;
  --line: rgba(17, 24, 24, 0.14);
  --paper: #f5f2ea;
  --sand: #ded2bf;
  --bronze: #b7834f;
  --coral: #c95f4d;
  --teal: #0f6b68;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(7, 17, 17, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(245, 242, 234, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.ticker,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  width: 96px;
  line-height: 0;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-links {
  gap: 22px;
  color: rgba(17, 24, 24, 0.72);
  font-size: 0.9rem;
}

.header-cta,
.primary-button,
.secondary-button,
.lead-form button {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 820;
}

.header-cta,
.primary-button,
.lead-form button {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(201, 95, 77, 0.26);
}

.secondary-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.46);
}

.sound-toggle {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 820;
  backdrop-filter: blur(12px);
}

.sound-toggle[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.58);
}

.hero {
  position: relative;
  min-height: 96vh;
  padding: 140px clamp(20px, 5vw, 64px) 64px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/fachada-1.jpeg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 17, 17, 0.92), rgba(7, 17, 17, 0.54) 48%, rgba(7, 17, 17, 0.1)),
    linear-gradient(0deg, rgba(7, 17, 17, 0.76), rgba(7, 17, 17, 0.02));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--bronze);
  font-size: 0.78rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-logo {
  width: min(440px, 68vw);
  height: auto;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.32));
}

.hero-subtitle {
  max-width: 780px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.15rem, 2.05vw, 1.55rem);
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 5vw, 64px);
  bottom: 56px;
  width: min(390px, calc(100% - 40px));
  padding: 26px;
  background: rgba(245, 242, 234, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel div + div {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.metric-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.hero-panel strong {
  font-size: 1.25rem;
}

.ticker {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: var(--deep);
  color: rgba(255, 255, 255, 0.82);
}

.ticker span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.86rem;
}

.seo-intro-section {
  padding: 42px clamp(20px, 5vw, 64px);
  background: var(--paper);
}

.seo-intro-section p {
  max-width: 1180px;
  margin: 0 auto;
  color: rgba(17, 24, 24, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2vw, 1.72rem);
  line-height: 1.6;
}

.thesis-section,
.masterplan-section,
.gallery-section,
.residences-section,
.pricing-section,
.legal-section,
.contact-section {
  padding: 94px clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 44px;
}

.section-heading.compact {
  max-width: 780px;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.04;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
}

p {
  line-height: 1.72;
}

.thesis-section {
  background: var(--paper);
}

.thesis-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.thesis-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.thesis-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.thesis-metrics article {
  min-height: 250px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(7, 17, 17, 0.06);
}

.thesis-metrics strong {
  display: block;
  margin-bottom: 42px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 500;
  line-height: 0.9;
}

.thesis-metrics span {
  color: var(--muted);
  line-height: 1.5;
}

.visual-break {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--deep);
}

.visual-break img {
  height: 100%;
  min-height: 680px;
  object-fit: cover;
}

.visual-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 17, 17, 0.78), rgba(7, 17, 17, 0.1));
}

.visual-caption {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 5vw, 64px);
  bottom: 64px;
  max-width: 620px;
  color: var(--white);
}

.masterplan-section,
.pricing-section {
  background: var(--deep);
  color: var(--white);
}

.master-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.master-grid article {
  min-height: 285px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.master-grid span {
  color: var(--bronze);
  font-weight: 860;
}

.master-grid h3 {
  margin-top: 62px;
}

.master-grid p {
  color: rgba(255, 255, 255, 0.7);
}

.gallery-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1.28fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
  background: var(--paper);
}

.gallery-lead {
  position: sticky;
  top: 110px;
}

.gallery-lead p,
.residences-copy p,
.pricing-copy p,
.legal-grid p,
.contact-copy p,
.form-note {
  color: var(--muted);
}

.image-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.image-mosaic img {
  height: 360px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-mosaic .wide {
  grid-column: span 2;
  height: 430px;
}

.residences-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1.28fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  background: var(--white);
}

.residence-showcase {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  align-items: stretch;
}

.residence-showcase img {
  height: 560px;
  object-fit: cover;
}

.type-list {
  display: grid;
  background: var(--deep);
  color: var(--white);
}

.type-list div {
  display: grid;
  align-content: center;
  min-height: 92px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.type-list span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.66);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(420px, 0.9fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.pricing-copy p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
}

.payment-card {
  margin-top: 30px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.payment-card span {
  color: var(--bronze);
  font-weight: 820;
  text-transform: uppercase;
}

.payment-card strong {
  display: block;
  margin: 12px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
}

.price-table {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.price-table div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.price-table div:last-child {
  border-bottom: 0;
}

.price-table span {
  color: var(--teal);
  font-weight: 840;
}

.legal-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(480px, 1fr);
  gap: clamp(32px, 6vw, 84px);
  background: var(--sand);
}

.legal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legal-grid article {
  min-height: 240px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(17, 24, 24, 0.12);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: stretch;
  background: var(--paper);
}

.contact-media img {
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.contact-copy {
  align-self: center;
}

.lead-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.crm-form {
  min-height: 720px;
  padding: 14px;
}

.crm-form iframe {
  display: block;
  min-height: 650px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(17, 24, 24, 0.78);
  font-size: 0.9rem;
  font-weight: 760;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf8f2;
  color: var(--ink);
  font: inherit;
}

.lead-form textarea {
  min-height: 112px;
  resize: vertical;
}

.lead-form button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 64px);
  background: var(--deep);
  color: rgba(255, 255, 255, 0.64);
}

.site-footer img {
  width: 112px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.resource-page {
  background: var(--paper);
}

.resource-hero {
  padding: 150px clamp(20px, 5vw, 64px) 80px;
  background: var(--deep);
  color: var(--white);
}

.resource-hero-content {
  max-width: 920px;
}

.resource-hero h1,
.article-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 6rem);
  font-weight: 500;
  line-height: 0.98;
}

.resource-hero p,
.article-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.resource-grid-section {
  padding: 82px clamp(20px, 5vw, 64px);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.resource-card {
  min-height: 310px;
  padding: 24px;
  display: grid;
  align-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(7, 17, 17, 0.06);
}

.resource-card span,
.article-meta {
  color: var(--bronze);
  font-size: 0.78rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card h2 {
  margin-top: 18px;
  font-size: 1.65rem;
  line-height: 1.08;
}

.resource-card p {
  color: var(--muted);
}

.resource-card strong {
  color: var(--teal);
}

.article-hero {
  padding: 150px clamp(20px, 5vw, 64px) 74px;
  background:
    linear-gradient(90deg, rgba(7, 17, 17, 0.94), rgba(7, 17, 17, 0.72)),
    url("assets/exterior-2.jpeg") center / cover;
  color: var(--white);
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(32px, 6vw, 84px);
  padding: 82px clamp(20px, 5vw, 64px);
}

.article-content {
  max-width: 860px;
}

.article-content h2 {
  margin-top: 48px;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
}

.article-content h3 {
  margin-top: 34px;
}

.article-content p,
.article-content li {
  color: rgba(17, 24, 24, 0.74);
  font-size: 1.04rem;
  line-height: 1.78;
}

.article-content ul,
.article-content ol {
  padding-left: 22px;
}

.article-aside {
  position: sticky;
  top: 112px;
  align-self: start;
  padding: 26px;
  background: var(--deep);
  color: var(--white);
}

.article-aside p {
  color: rgba(255, 255, 255, 0.7);
}

.article-aside .primary-button {
  width: 100%;
  margin-top: 12px;
}

.article-disclaimer {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.resource-magazine {
  background: #f7f3eb;
}

.magazine-hero {
  position: relative;
  min-height: 100vh;
  padding: 150px clamp(20px, 5vw, 64px) 56px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep);
  color: var(--white);
}

.magazine-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.magazine-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 17, 0.92), rgba(7, 17, 17, 0.58) 48%, rgba(7, 17, 17, 0.14)),
    linear-gradient(0deg, rgba(7, 17, 17, 0.74), rgba(7, 17, 17, 0.08));
}

.magazine-hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.magazine-hero h1 {
  max-width: 940px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 500;
  line-height: 0.95;
}

.magazine-hero-content > p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.06rem, 1.7vw, 1.32rem);
}

.resource-search {
  width: min(760px, 100%);
  min-height: 64px;
  margin-top: 34px;
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.resource-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.resource-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.resource-search button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font: inherit;
  font-weight: 840;
  cursor: pointer;
}

.featured-editorial,
.category-strip,
.magazine-layout {
  padding-left: clamp(20px, 5vw, 64px);
  padding-right: clamp(20px, 5vw, 64px);
}

.featured-editorial {
  padding-top: 88px;
  padding-bottom: 72px;
  background: #f7f3eb;
}

.editorial-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.editorial-heading h2 {
  font-size: clamp(2rem, 3.6vw, 4.1rem);
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 18px;
}

.featured-card {
  position: relative;
  min-height: 330px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 18px;
  background: var(--deep);
  box-shadow: 0 26px 70px rgba(7, 17, 17, 0.12);
}

.featured-card.large {
  grid-row: span 2;
  min-height: 680px;
}

.featured-card img,
.magazine-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 420ms ease;
}

.featured-card img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 17, 17, 0.88), rgba(7, 17, 17, 0.1) 62%);
}

.featured-card div {
  position: relative;
  z-index: 1;
  padding: 28px;
  color: var(--white);
}

.featured-card span,
.magazine-card span {
  color: var(--bronze);
  font-size: 0.76rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-card h3 {
  max-width: 680px;
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.7vw, 3rem);
  font-weight: 500;
  line-height: 1.04;
}

.featured-card p {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.76);
}

.category-strip {
  padding-top: 18px;
  padding-bottom: 84px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  background: #f7f3eb;
}

.category-chip {
  min-height: 104px;
  padding: 20px;
  display: grid;
  gap: 12px;
  align-content: center;
  border: 1px solid rgba(17, 24, 24, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 42px rgba(7, 17, 17, 0.05);
}

.category-chip span {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(201, 95, 77, 0.12);
  color: var(--coral);
  font-weight: 900;
}

.magazine-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 4vw, 56px);
  padding-top: 86px;
  padding-bottom: 96px;
  background: var(--white);
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.magazine-card {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 24, 0.1);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 18px 46px rgba(7, 17, 17, 0.07);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.magazine-card span,
.magazine-card h3,
.magazine-card p {
  margin-left: 20px;
  margin-right: 20px;
}

.magazine-card span {
  display: block;
  margin-top: 20px;
}

.magazine-card h3 {
  margin-top: 10px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.12;
}

.magazine-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.96rem;
}

.featured-card:hover img,
.magazine-card:hover img {
  transform: scale(1.045);
}

.magazine-card:hover,
.featured-card:hover,
.category-chip:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(7, 17, 17, 0.14);
}

.resource-sidebar {
  position: sticky;
  top: 112px;
  align-self: start;
  display: grid;
  gap: 16px;
}

.sidebar-panel {
  padding: 24px;
  border: 1px solid rgba(17, 24, 24, 0.1);
  border-radius: 18px;
  background: #f7f3eb;
}

.sidebar-panel a {
  display: block;
  padding: 14px 0;
  color: rgba(17, 24, 24, 0.78);
  border-bottom: 1px solid rgba(17, 24, 24, 0.1);
}

.sidebar-panel a:last-child {
  border-bottom: 0;
}

.sidebar-search {
  margin-top: 12px;
}

.sidebar-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.sidebar-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(17, 24, 24, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
}

.sidebar-panel.cta {
  background: var(--deep);
  color: var(--white);
}

.sidebar-panel.cta p {
  color: rgba(255, 255, 255, 0.72);
}

.sidebar-panel.cta .primary-button {
  width: 100%;
  margin-top: 10px;
}

.article-hero {
  min-height: 76vh;
  display: grid;
  align-items: end;
  padding-top: 150px;
  background:
    linear-gradient(90deg, rgba(7, 17, 17, 0.92), rgba(7, 17, 17, 0.62) 52%, rgba(7, 17, 17, 0.18)),
    url("assets/exterior-2.jpeg") center / cover;
}

.article-hero h1 {
  max-width: 980px;
  font-size: clamp(2.6rem, 5.2vw, 5.9rem);
}

.article-shell {
  background: #fffdf8;
}

.article-content {
  padding: 18px 0;
}

.article-content > p:first-child {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1.55;
}

.article-content h2 {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
}

.article-aside {
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(7, 17, 17, 0.12);
}

.article-aside::before {
  content: "Guía editorial";
  display: block;
  margin-bottom: 14px;
  color: var(--bronze);
  font-size: 0.76rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 640ms ease,
    transform 640ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .featured-card img,
  .magazine-card img,
  .magazine-card,
  .featured-card,
  .category-chip {
    transition: none;
  }
}

.thanks-page {
  background: var(--paper);
}

.thanks-hero {
  position: relative;
  min-height: 92vh;
  padding: 138px clamp(20px, 5vw, 64px) 72px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep);
  color: var(--white);
}

.thanks-media,
.thanks-overlay {
  position: absolute;
  inset: 0;
}

.thanks-media {
  background-image: url("assets/lobby.jpeg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.thanks-overlay {
  background:
    linear-gradient(90deg, rgba(7, 17, 17, 0.88), rgba(7, 17, 17, 0.46) 56%, rgba(7, 17, 17, 0.14)),
    linear-gradient(0deg, rgba(7, 17, 17, 0.8), rgba(7, 17, 17, 0.05));
}

.thanks-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.thanks-logo {
  width: min(320px, 70vw);
  height: auto;
  margin-bottom: 24px;
}

.thanks-content h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 6.2rem);
  font-weight: 500;
  line-height: 0.98;
}

.thanks-content p {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.experience-section,
.booking-section,
.next-steps-section,
.thanks-cta-section {
  padding: 94px clamp(20px, 5vw, 64px);
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.9fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
  background: var(--paper);
}

.booking-copy {
  position: sticky;
  top: 116px;
}

.booking-copy p {
  max-width: 660px;
  color: var(--muted);
}

.booking-calendar {
  min-height: 720px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.booking-calendar iframe {
  display: block;
  width: 100%;
  min-height: 690px;
}

.experience-section {
  background: var(--deep);
  color: var(--white);
}

.experience-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: var(--shadow);
}

.experience-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.experience-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.next-steps-section {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(520px, 1fr);
  gap: clamp(32px, 6vw, 84px);
  background: var(--paper);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.steps-grid article {
  min-height: 240px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.steps-grid span {
  color: var(--bronze);
  font-weight: 860;
}

.steps-grid h3 {
  margin-top: 54px;
}

.steps-grid p,
.thanks-cta-section p {
  color: var(--muted);
}

.thanks-cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  background: var(--sand);
}

.thanks-cta-section img {
  min-height: 560px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.secondary-button.dark {
  color: var(--ink);
  border-color: rgba(17, 24, 24, 0.22);
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 940px;
    align-items: start;
  }

  .hero-panel {
    left: 20px;
    right: auto;
    bottom: 42px;
  }

  .thesis-layout,
  .gallery-section,
  .residences-section,
  .pricing-layout,
  .legal-section,
  .contact-section,
  .booking-section,
  .next-steps-section,
  .thanks-cta-section {
    grid-template-columns: 1fr;
  }

  .master-grid,
  .legal-grid,
  .steps-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-lead {
    position: static;
  }

  .article-shell {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .featured-grid,
  .magazine-layout {
    grid-template-columns: 1fr;
  }

  .featured-card.large {
    min-height: 520px;
  }

  .category-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-cta {
    display: none;
  }

  .hero .secondary-button {
    display: none;
  }

  .sound-toggle {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .hero .primary-button {
    padding: 0 16px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 920px;
    padding: 116px 18px 42px;
  }

  .hero-media {
    background-position: 58% center;
  }

  .brand {
    width: 86px;
  }

  .hero-logo {
    width: min(260px, 78vw);
  }

  .hero-subtitle {
    font-size: 1.04rem;
  }

  .hero-panel {
    left: 18px;
    bottom: 80px;
    width: calc(100% - 36px);
  }

  .thesis-section,
  .seo-intro-section,
  .masterplan-section,
  .gallery-section,
  .residences-section,
  .pricing-section,
  .legal-section,
  .contact-section,
  .booking-section,
  .experience-section,
  .next-steps-section,
  .thanks-cta-section {
    padding: 66px 18px;
  }

  .thesis-metrics,
  .master-grid,
  .image-mosaic,
  .legal-grid,
  .residence-showcase,
  .steps-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .magazine-hero {
    min-height: 820px;
    padding: 118px 18px 46px;
  }

  .magazine-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.6rem);
  }

  .resource-search {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .resource-search input,
  .resource-search button {
    border-radius: 12px;
  }

  .featured-editorial,
  .category-strip,
  .magazine-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .featured-editorial {
    padding-top: 62px;
    padding-bottom: 52px;
  }

  .featured-grid,
  .category-strip,
  .article-card-grid,
  .resource-sidebar {
    grid-template-columns: 1fr;
  }

  .featured-card,
  .featured-card.large {
    min-height: 390px;
    border-radius: 14px;
  }

  .featured-card div {
    padding: 22px;
  }

  .magazine-card,
  .category-chip,
  .sidebar-panel,
  .article-aside {
    border-radius: 14px;
  }

  .magazine-layout {
    padding-top: 62px;
    padding-bottom: 66px;
  }

  .thanks-hero {
    min-height: 820px;
    padding: 112px 18px 54px;
  }

  .thanks-logo {
    width: min(240px, 72vw);
  }

  .thanks-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-copy {
    position: static;
  }

  .booking-calendar {
    min-height: 760px;
    padding: 10px;
  }

  .booking-calendar iframe {
    min-height: 730px;
  }

  .image-mosaic .wide {
    grid-column: auto;
  }

  .image-mosaic img,
  .image-mosaic .wide,
  .residence-showcase img {
    height: 310px;
  }

  .type-list div {
    min-height: 82px;
  }

  .price-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .visual-break,
  .visual-break img {
    min-height: 520px;
  }

  .contact-media img {
    min-height: 340px;
  }

  .thanks-cta-section img {
    min-height: 320px;
  }

  .lead-form {
    padding: 20px;
  }

  .crm-form {
    min-height: 760px;
    padding: 10px;
  }

  .crm-form iframe {
    min-height: 700px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .resource-hero,
  .article-hero {
    padding: 118px 18px 64px;
  }

  .resource-grid-section,
  .article-shell {
    padding: 62px 18px;
  }
}
