:root {
  --color-bg: #faf8f5;
  --color-cream: #f5f0e8;
  --color-ink: #1a1a1a;
  --color-ink-soft: #4a4a4a;
  --color-accent: #2d4a3e;
  --color-accent-light: #3d6b58;
  --color-gold: #a67c52;
  --color-border: #e5dfd6;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--color-ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}
.nav-links a:hover {
  color: var(--color-accent);
}
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  font-size: 0.9rem;
}
.btn-nav:hover {
  background: var(--color-accent-light);
}
@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* Hero */
section.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-bg) 100%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { order: -1; max-height: 280px; }
}
.hero-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}
.hero-badge svg { flex-shrink: 0; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-ink);
  max-width: 18ch;
}
.hero h1 span {
  color: var(--color-accent);
}
.hero .subheadline {
  font-size: 1.15rem;
  color: var(--color-ink-soft);
  max-width: 42ch;
}
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}
.hero-highlights li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}
.hero-highlights li svg {
  flex-shrink: 0;
  color: var(--color-accent);
}
.hero-price {
  margin-top: 2rem;
}
.hero-price .label {
  font-size: 0.85rem;
  color: var(--color-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-price .amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-accent);
}
.hero-price .note {
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  margin-top: 0.25rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  font-size: 1rem;
}
.btn-primary:hover {
  background: var(--color-accent-light);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  background: transparent;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  font-size: 1rem;
}
.btn-secondary:hover {
  background: var(--color-cream);
}

/* Propuesta de valor */
section.valor {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--color-cream) 0%, #fff 30%, #fff 70%, var(--color-cream) 100%);
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
section.valor::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  opacity: 0.6;
}
.valor-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}
.valor-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.valor-header .section-title {
  margin-bottom: 0.875rem;
}
.valor-subtitle {
  font-size: 1.1rem;
  color: var(--color-ink-soft);
  line-height: 1.65;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--color-ink);
}
.valor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
@media (max-width: 1100px) {
  .valor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .valor-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}
.valor-card {
  padding: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 0 0 0 rgba(45, 74, 62, 0);
  display: flex;
  flex-direction: column;
}
.valor-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-accent-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.valor-card:nth-child(1)::after { content: "01"; }
.valor-card:nth-child(2)::after { content: "02"; }
.valor-card:nth-child(3)::after { content: "03"; }
.valor-card:nth-child(4)::after { content: "04"; }
.valor-card::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 700;
  color: rgba(45, 74, 62, 0.05);
  line-height: 1;
  pointer-events: none;
}
.valor-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 56px rgba(45, 74, 62, 0.12), 0 0 0 1px rgba(45, 74, 62, 0.08);
  border-color: transparent;
}
.valor-card:hover::before {
  opacity: 1;
}
.valor-card-inner {
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}
.valor-card .valor-card-content {
  min-width: 0;
}
.valor-card .icon-wrap {
  margin-bottom: 1.5rem;
  position: relative;
}
.valor-card .icon-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 74, 62, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.valor-card:hover .icon-wrap::before {
  opacity: 1;
}
.valor-card .icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(45, 74, 62, 0.22), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  position: relative;
}
.valor-card:hover .icon {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 12px 36px rgba(45, 74, 62, 0.3), inset 0 1px 0 rgba(255,255,255,0.25);
}
.valor-card .icon.icon-square {
  border-radius: 22px;
}
.valor-card .icon svg {
  width: 36px;
  height: 36px;
  color: #fff;
}
.valor-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--color-ink);
}
.valor-card p {
  font-size: 0.95rem;
  color: var(--color-ink-soft);
  line-height: 1.6;
}
.valor-card-accent {
  height: 5px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  position: relative;
}
.valor-card-accent::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  opacity: 0.5;
}
.valor-card:nth-child(1) { transition-delay: 0s; }
.valor-card:nth-child(2) { transition-delay: 0.05s; }
.valor-card:nth-child(3) { transition-delay: 0.1s; }
.valor-card:nth-child(4) { transition-delay: 0.15s; }

/* Sobre el proyecto */
section.proyecto {
  padding: 5.5rem 0;
  background: #fff;
  border-top: 1px solid var(--color-border);
}
.proyecto .container {
  max-width: 1120px;
}
.proyecto-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.proyecto-header .section-title {
  margin-bottom: 0.75rem;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .proyecto-header .section-title {
    font-size: clamp(1.1rem, 5vw, 1.75rem);
  }
}
.proyecto-header .proyecto-lead {
  font-size: 1.1rem;
  color: var(--color-ink-soft);
  line-height: 1.6;
}
.proyecto h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-ink);
}
.proyecto p {
  font-size: 1.05rem;
  color: var(--color-ink-soft);
  margin-bottom: 1rem;
}

/* Distribución / Resumen unidades */
section.caracteristicas {
  padding: 4.5rem 0;
  background: var(--color-cream);
  border-top: 1px solid var(--color-border);
}
.caracteristicas-block {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.caracteristicas-block .section-title {
  margin-bottom: 1rem;
}
.caracteristicas-summary {
  font-size: 1.1rem;
  color: var(--color-ink-soft);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.caracteristicas-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
}
.caracteristicas-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-accent);
}
.caracteristicas-meta span svg {
  width: 18px;
  height: 18px;
}
.caracteristicas-cta .btn-primary {
  display: inline-flex;
}

/* Unidades - Tabs + Imagen */
section.unidades {
  padding: 5rem 0;
  background: #fff;
  border-top: 1px solid var(--color-border);
}
.unidades-sub {
  text-align: center;
  color: var(--color-ink-soft);
  margin-bottom: 2.5rem;
}
.unidades-tabs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .unidades-tabs-layout { grid-template-columns: 1fr; }
  .unidad-visual { order: -1; max-height: 320px; }
}
.unidad-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  aspect-ratio: 4/3;
  background: var(--color-cream);
}
.unidad-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.unidad-visual img.active {
  opacity: 1;
  z-index: 1;
}
.unidad-visual .unidad-img-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.unidad-side {
  min-width: 0;
}
.unidad-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.unidad-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink-soft);
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.unidad-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.unidad-tab.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.unidad-tab.featured-tab.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
}
.unidad-panels {
  position: relative;
  min-height: 280px;
}
.unidad-panel {
  display: none;
  animation: unidadFade 0.3s ease;
}
.unidad-panel.active {
  display: block;
}
@keyframes unidadFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.unidad-panel-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.unidad-panel-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
}
.unidad-panel-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(166, 124, 82, 0.12);
  padding: 0.35rem 0.65rem;
  border-radius: 100px;
}
.unidad-panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.unidad-panel-meta span {
  font-size: 0.85rem;
  color: var(--color-ink-soft);
  padding: 0.35rem 0.7rem;
  background: var(--color-bg);
  border-radius: 8px;
  border: 1px solid var(--color-border);
}
.unidad-panel-specs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.unidad-panel-specs span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}
.unidad-panel-specs span svg { width: 18px; height: 18px; color: var(--color-accent); }
.unidad-panel-specs span.no { opacity: 0.45; }
.unidad-panel-specs span.no svg { color: var(--color-border); }
.unidad-panel-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-ink);
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  margin-bottom: 1rem;
}
.unidad-panel-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
}
.unidad-panel-cta a:hover { text-decoration: underline; }
.unidad-panel-cta a svg { width: 18px; height: 18px; }
.unidades-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.unidades-cta {
  margin-top: 1.5rem;
  text-align: center;
}

/* La Condesa / Ubicación */
section.ubicacion {
  padding: 5rem 0;
  background: var(--color-cream);
  border-top: 1px solid var(--color-border);
}
.ubicacion .section-title {
  margin-bottom: 0.5rem;
}
.ubicacion-sub {
  text-align: center;
  color: var(--color-ink-soft);
  margin-bottom: 2rem;
}
.condesa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .condesa-grid { grid-template-columns: 1fr; }
  .condesa-map-wrap { order: -1; }
}
.condesa-text .lead {
  font-size: 1.15rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 1rem;
}
.condesa-text p {
  color: var(--color-ink-soft);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.ubicacion-list {
  list-style: none;
  margin: 1.5rem 0 0;
}
.ubicacion-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--color-ink-soft);
}
.ubicacion-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}
.condesa-map-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.condesa-map-wrap iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}
.map-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.ubicacion-cta {
  margin-top: 1.5rem;
  text-align: center;
}

/* Invertir */
section.invertir {
  padding: 4rem 0;
  background: var(--color-accent);
  color: #fff;
}
.invertir .section-title {
  color: #fff;
}
.invertir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.invertir-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.invertir-card p {
  font-size: 0.95rem;
  opacity: 0.92;
  line-height: 1.65;
}

.hero-content { min-width: 0; }

/* Proyecto con imagen */
.proyecto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .proyecto-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .proyecto-image-wrap { order: -1; }
}
.proyecto-text {
  position: relative;
  padding-left: 1.5rem;
  border-left: 4px solid var(--color-accent);
}
.proyecto-text p {
  margin-bottom: 1.25rem;
}
.proyecto-text p:last-child {
  margin-bottom: 0;
}
.proyecto-highlight {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  line-height: 1.45;
}
.proyecto-cta {
  margin-top: 1.75rem;
}
.proyecto-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
}
.proyecto-cta a:hover {
  text-decoration: underline;
}
.proyecto-cta a svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.proyecto-cta a:hover svg {
  transform: translateX(4px);
}
.proyecto-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.proyecto-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  pointer-events: none;
  z-index: 1;
}
.proyecto-image {
  border-radius: 20px;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  display: block;
}

/* Galería */
section.galeria {
  padding: 4rem 0;
}
.galeria-copy {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
  color: var(--color-ink-soft);
}
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) {
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
}
.galeria-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}
.galeria-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Formulario */
section.contacto {
  padding: 4rem 0;
  background: var(--color-cream);
}
.contacto-sub {
  text-align: center;
  color: var(--color-ink-soft);
  margin-bottom: 2rem;
}
.form-wrap {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--color-ink);
}
.form-group label .req {
  color: #b91c1c;
  text-decoration: none;
  font-weight: 700;
}
.form-feedback {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.form-feedback.is-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.form-feedback.is-success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
}
.form-group textarea {
  min-height: 100px;
  resize: vertical;
}
.form-trust {
  font-size: 0.85rem;
  color: var(--color-ink-soft);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-trust svg {
  flex-shrink: 0;
}

body.modal-open {
  overflow: hidden;
}

.thanks-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(26, 26, 26, 0.45);
  backdrop-filter: blur(5px);
}

.thanks-overlay[hidden] {
  display: none !important;
}

.thanks-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 48px rgba(26, 26, 26, 0.12);
  text-align: center;
}

.thanks-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: transparent;
  color: var(--color-ink-soft);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 8px;
}

.thanks-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 0.75rem;
}

.thanks-text {
  font-size: 1rem;
  color: var(--color-ink-soft);
  margin: 0 0 1.2rem;
}

.thanks-btn {
  width: 100%;
  justify-content: center;
}

/* Footer */
footer {
  padding: 2.5rem 0;
  background: var(--color-ink);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
footer a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.footer-legal {
  font-size: 0.8rem;
  opacity: 0.7;
  max-width: 520px;
}
