/* landing.css — estilos exclusivos del landing page
   Los estilos compartidos (nav, footer, variables, botones) están en base.css */

/* ── HERO ── */
#hero {
  height: calc(100vh - 80px);
  max-height: 800px;
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20,19,17,0.93) 0%, rgba(20,19,17,0.65) 55%, rgba(20,19,17,0.15) 100%);
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 80px;
  position: relative;
  z-index: 3;
  max-width: 600px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.5);
}

#hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: #EDE9E3;
  margin-bottom: 28px;
}

#hero h1 em {
  font-style: italic;
  color: #C8A97A;
}

.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  max-width: 420px;
  line-height: 1.75;
  margin-bottom: 56px;
}


.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.btn-secondary {
  font-size: 14px;
  color: var(--warm-white);
  text-decoration: none;
  font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-secondary:hover { color: var(--earth); border-color: var(--earth); }

.hero-visual {
  position: relative;
  background: var(--linen);
  overflow: hidden;
}

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0 16px;
}

.hero-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

.hero-img-placeholder span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--earth);
  opacity: 0.6;
}

/* ── SECTION BASE ── */
section { padding: 120px 80px; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-bottom: 20px;
}

h2 em { font-style: italic; color: var(--earth); }

/* ── BENEFITS ── */
#beneficios { background: var(--linen); }

.benefits-layout {
  display: block;
}

.benefits-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  column-gap: 96px;
  align-items: end;
  margin-bottom: 56px;
}

.benefits-intro .section-label {
  grid-column: 1 / -1;
}

.benefits-intro h2 {
  margin-bottom: 0;
}

.benefits-intro p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
  max-width: 620px;
}

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

.benefit-card {
  background: var(--warm-white);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 4px rgba(26,25,23,0.06);
  transition: background 0.2s, transform 0.15s ease, box-shadow 0.15s ease;
  will-change: transform;
  transform-style: preserve-3d;
}

.benefit-card:hover {
  background: var(--sage);
  box-shadow: 0 4px 16px rgba(26,25,23,0.10);
}

.benefit-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  color: var(--earth);
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--ink);
}

.benefit-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── SERVICES ── */
#servicios { background: var(--warm-white); }

.services-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.services-intro p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 16px;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.service-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: border-color 0.2s, transform 0.2s;
}

.service-item:hover {
  border-color: var(--earth);
  transform: translateY(-4px);
}

.service-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  color: var(--earth);
  margin-bottom: 20px;
  display: block;
}

.service-item h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--ink);
}

.service-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── ABOUT ── */
#nosotros {
  background: var(--linen);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
}

.about-visual {
  background: var(--earth);
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.about-visual-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
}

.about-visual.no-img .about-visual-fallback {
  display: flex;
}

.about-content {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content .section-label { color: var(--earth); }
.about-content .section-label::before { background: var(--earth); }
.about-content h2 { color: var(--ink); }
.about-content h2 em { color: var(--earth); }

.about-content p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  /* auto-fit sobre max-content centra el bloque sea cual sea la cantidad de
     cifras. Antes era 1fr 1fr con un solo hijo, que lo dejaba pegado a la
     izquierda ocupando media reja. */
  grid-template-columns: repeat(auto-fit, minmax(0, max-content));
  justify-content: center;
  text-align: center;
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border-dark);
}

.about-stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--ink);
}

.about-stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* ── CTA INTERMEDIA ── */
#cta-mid {
  position: relative;
  isolation: isolate;
  min-height: 460px;
  padding: 112px 80px;
  background:
    linear-gradient(90deg, rgba(20,18,15,0.86), rgba(20,18,15,0.58)),
    url('../img/hero_bg.jpg') center 45% / cover no-repeat;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-mid-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.cta-mid-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}

#cta-mid h2 {
  color: #FAF9F7;
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 44px);
}

#cta-mid h2 em { color: #D7B98D; }

#cta-mid .btn-primary {
  background: #FAF9F7;
  color: #27241D;
}

#cta-mid .btn-primary:hover {
  background: var(--earth);
  color: var(--warm-white);
}

/* ── PORTFOLIO ── */
#portafolio { background: var(--warm-white); }

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
}

.portfolio-all-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--earth);
  text-decoration: none;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--earth);
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  margin-bottom: 8px;
}

.portfolio-all-link:hover { color: var(--ink); border-color: var(--ink); }

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

.portfolio-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--linen);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img { transform: scale(1.04); }

.portfolio-item-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 24px 24px;
  background: linear-gradient(to top, rgba(28,28,26,0.82) 0%, rgba(28,28,26,0.4) 60%, transparent 100%);
}

.portfolio-item-info h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: #fff;
}

.portfolio-item-info span {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  background: var(--linen);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.portfolio-placeholder svg {
  width: 32px;
  height: 32px;
  color: var(--stone-light);
}

.portfolio-placeholder span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-light);
}

.portfolio-empty {
  grid-column: 1 / -1;
  padding: 80px;
  text-align: center;
  background: var(--linen);
  border-radius: var(--radius-lg);
}

.portfolio-empty p {
  font-size: 15px;
  color: var(--muted);
}

/* ── PRENSA Y MEDIOS ── */
#prensa { background: var(--linen); }

.press-page { padding-top: 160px; }

.press-page .press-intro h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.press-page .press-intro h1 em {
  font-style: italic;
  color: var(--earth);
}

.press-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}

.press-intro > p {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.press-download {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 30px;
  color: var(--ink);
  background: var(--warm-white);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.press-download:hover,
.press-download:focus-visible {
  border-color: var(--earth);
  box-shadow: 0 8px 24px rgba(26,25,23,0.08);
  transform: translateY(-3px);
  outline: none;
}

.press-download-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--earth);
}

.press-download strong {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.25;
}

.press-download-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.press-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 30px;
  color: inherit;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.press-card:hover,
.press-card:focus-visible {
  border-color: var(--earth);
  transform: translateY(-4px);
  outline: none;
}

.press-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--earth);
}

.press-card h2,
.press-card h3 {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 16px;
}

.press-card p {
  flex: 1;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.press-card-link {
  margin-top: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--earth);
}

.media-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 64px;
  padding: 56px;
  background: var(--ink);
  border-radius: var(--radius-lg);
}

.media-feature--reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  margin-top: 32px;
}

.media-feature-copy h2 { color: #FAF9F7; }

.media-feature-copy > p {
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(250,249,247,0.7);
}

.media-external-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #D7B98D;
  text-decoration: none;
}

.media-external-link:hover { color: #FAF9F7; }

.media-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0F0E0C;
  border-radius: var(--radius-lg);
}

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

/* ── FAQ ── */
#faq { background: var(--linen); }

.faq-inner {
  max-width: 840px;
  margin: 0 auto;
}

.faq-header { margin-bottom: 56px; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}

.faq-col { border-top: 1px solid var(--border); }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  gap: 20px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }

.faq-q {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  line-height: 1.3;
}

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--earth);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-answer { padding: 0 0 20px 0; }

.faq-answer p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.faq-answer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.faq-answer ul li {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}

.faq-answer ul li::before {
  content: '·';
  color: var(--earth);
  font-size: 18px;
  line-height: 1.2;
  flex-shrink: 0;
}

/* ── ALIANZA ── */
.about-alliance {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--border-dark);
}

.about-alliance-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--earth);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-alliance-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--earth);
}

.about-alliance-partner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.about-alliance-partner img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--warm-white);
  padding: 8px;
  border: 1px solid var(--border-dark);
  flex-shrink: 0;
}

.about-alliance-partner-text strong {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}

.about-alliance-partner-text p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── ENLACE EXTERNO ── */
.link-externo {
  color: var(--earth);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  /* El icono no debe quedar solo en un renglon separado del texto. */
  white-space: nowrap;
}

.link-externo:hover,
.link-externo:focus-visible {
  color: var(--ink);
}

.icono-externo {
  width: 9px;
  height: 9px;
  margin-left: 4px;
  vertical-align: baseline;
  /* Decorativo: el destino ya se anuncia por el texto oculto. */
  opacity: 0.75;
}

/* Visible solo para lectores de pantalla. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── CONTACT ── */
#contacto {
  background: var(--warm-white);
  padding: 0;
}

.contact-info {
  padding: 112px 80px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: 96px;
  align-items: center;
}

.contact-copy h2 { margin-bottom: 20px; }

.contact-copy > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 440px;
}

.contact-details {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  color: var(--ink);
  background: var(--linen);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(26,25,23,0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  border-color: var(--earth);
  box-shadow: 0 8px 24px rgba(26,25,23,0.08);
  transform: translateY(-3px);
  outline: none;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--warm-white);
}

.contact-detail-text small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-light);
  margin-bottom: 4px;
}

.contact-detail-text strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
}

.contact-detail-text span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.contact-arrow {
  width: 18px;
  height: 18px;
  color: var(--stone-light);
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact-card:hover .contact-arrow,
.contact-card:focus-visible .contact-arrow {
  color: var(--earth);
  transform: translateX(3px);
}

.contact-card-whatsapp .contact-detail-icon {
  background: #256C45;
}


/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.fade-up:nth-child(1) { animation-delay: 0.1s; }
.fade-up:nth-child(2) { animation-delay: 0.2s; }
.fade-up:nth-child(3) { animation-delay: 0.3s; }
.fade-up:nth-child(4) { animation-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  section { padding: 80px 40px; }
  #hero { max-height: 640px; }
  .hero-content { padding: 60px 40px; }
  .hero-sub { margin-bottom: 36px; }
  .benefits-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .services-layout { grid-template-columns: 1fr; gap: 48px; }
  #cta-mid { padding: 80px 40px; }
  #nosotros { grid-template-columns: 1fr; }
  .about-visual { min-height: 300px; }
  .about-content { padding: 60px 40px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .press-header { grid-template-columns: 1fr; gap: 36px; }
  .press-grid { grid-template-columns: 1fr 1fr; }
  .press-card:last-child { grid-column: 1 / -1; min-height: auto; }
  .media-feature,
  .media-feature--reverse { grid-template-columns: 1fr; padding: 44px; }
  .contact-info { grid-template-columns: 1fr; gap: 48px; padding: 80px 40px; }
  .contact-copy > p { max-width: 680px; }
}

@media (max-width: 1024px) {
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 640px) {
  .faq-q { font-size: 16px; }
  .about-alliance-partner { flex-direction: column; align-items: flex-start; }

  section { padding: 60px 24px; }

  #hero {
    height: 60svh;
    max-height: unset;
    padding: 0;
    align-items: flex-end;
    text-align: center;
  }
  .hero-bg {
    display: block;
    object-position: 65% center;
  }
  .hero-overlay {
    display: block;
    background: linear-gradient(to top, rgba(15,14,12,0.92) 0%, rgba(15,14,12,0.55) 50%, rgba(15,14,12,0.2) 100%);
  }
  .hero-content {
    padding: 0 24px 64px;
    max-width: 100%;
    justify-content: flex-end;
  }
  #hero h1 { font-size: 38px; color: #EDE9E3; }
  .hero-eyebrow { color: rgba(255,255,255,0.75); justify-content: center; }
  .hero-eyebrow::before { background: rgba(255,255,255,0.4); }
  .hero-sub { color: rgba(255,255,255,0.72); margin-bottom: 36px; }
  .hero-actions { flex-direction: column; gap: 12px; align-items: center; }
  #hero .btn-secondary { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.35); }

  #cta-mid { min-height: 420px; padding: 72px 24px; }
  .benefits-intro { margin-bottom: 32px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-header { align-items: flex-start; flex-direction: column; gap: 20px; }
  .press-grid { grid-template-columns: 1fr; margin-bottom: 48px; }
  .press-card,
  .press-card:last-child { grid-column: auto; min-height: auto; }
  .press-download { min-width: 0; padding: 24px; }
  .press-page { padding-top: 120px; }
  .media-feature { padding: 28px 20px 20px; gap: 32px; }
  .contact-info { padding: 64px 24px; gap: 36px; }
  .contact-card { grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 14px; padding: 18px; }
  .contact-detail-icon { width: 44px; height: 44px; }
  .contact-detail-text strong { font-size: 15px; overflow-wrap: anywhere; }
  .contact-detail-text span { font-size: 12px; }
  /* .about-stats ya se centra solo con auto-fit; no necesita override aqui. */
}

/* ══════════════════════════════════════════
   DARK MODE — overrides completos por sección
   Paleta: fondos cálidos oscuros, texto off-white,
   acento dorado (#C8A97A) seguro para daltonismo
   ══════════════════════════════════════════ */

/* ── HERO MOBILE (imagen con overlay oscuro, texto siempre claro) ── */

/* ── BENEFIT CARDS ── */
[data-theme="dark"] .benefit-card {
  box-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
[data-theme="dark"] .benefit-card:hover {
  background: var(--linen);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* ── CTA INTERMEDIA (fondo verde oscuro, texto forzado claro) ── */
[data-theme="dark"] #cta-mid {
  background:
    linear-gradient(90deg, rgba(15,14,12,0.9), rgba(15,14,12,0.66)),
    url('../img/hero_bg.jpg') center 45% / cover no-repeat;
}
[data-theme="dark"] #cta-mid h2 { color: #FAF9F7; }
[data-theme="dark"] #cta-mid .cta-mid-label { color: rgba(250,249,247,0.5); }
[data-theme="dark"] #cta-mid .btn-primary {
  background: #D3CEC4;
  color: #1E1C18;
}
[data-theme="dark"] #cta-mid .btn-primary:hover {
  background: var(--earth);
  color: #1E1C18;
}
[data-theme="dark"] #cta-mid h2 em { color: #D7B98D; }

/* ── ABOUT ── */
[data-theme="dark"] #nosotros { background: #1C1A17; }

/* ── SERVICIOS ── */
[data-theme="dark"] .service-item { border-color: var(--border); }

/* ── PORTFOLIO ── */
[data-theme="dark"] .portfolio-item-info {
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
}

/* ── CONTACTO ── */
[data-theme="dark"] .contact-detail-icon {
  background: rgba(237,233,227,0.1);
  border: 1px solid rgba(237,233,227,0.15);
}
[data-theme="dark"] .contact-detail-icon svg { color: var(--earth); }

[data-theme="dark"] .contact-card {
  box-shadow: 0 1px 6px rgba(0,0,0,0.24);
}

/* ── FAQ ── */
[data-theme="dark"] .faq-item { border-color: var(--border); }
[data-theme="dark"] .faq-col { border-color: var(--border); }

/* ── ALIANZA ── */
[data-theme="dark"] .about-alliance-partner img {
  background: #1A1714;
  border-color: var(--border);
}
