/* ===== Cocinas & Granitos — estilos base ===== */

:root {
  --bg: #0A090F;
  --bg-alt: #131019;
  --bg-elevated: #17131F;
  --purple: #4B3AA4;
  --purple-bright: #6C5CE7;
  --purple-tint: rgba(108, 92, 231, 0.14);
  --white: #FFFFFF;
  --off-white: #EDEBF3;
  --gray: #A6A2B5;
  --gray-dim: #726E82;
  --border: #262230;
  --heading: #FFFFFF;

  --font-head: "Montserrat", sans-serif;
  --font-body: "Poppins", sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* Tipografías incluidas en el tema (Montserrat y Poppins, licencia SIL OFL): no dependen de Google */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

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

html { scroll-behavior: smooth; }

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

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

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
  color: var(--heading);
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: #000; }
.section--dark { background: #000; color: var(--white); }

.section--white {
  background: #FFFFFF;
  --off-white: #211D2B;
  --gray: #55515F;
  --heading: #100E17;
  --bg: #FFFFFF;
  --bg-alt: #F4F3F8;
  --bg-elevated: #FAFAFC;
  --border: #E3E0EC;
  --purple-bright: #4B3AA4;
  --purple-tint: rgba(75, 58, 164, 0.08);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 14px;
}

.lede {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 620px;
  margin-top: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--purple); color: var(--white); }
.btn--primary:hover { background: var(--purple-bright); }

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

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

.btn--sm { padding: 10px 20px; font-size: 0.85rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 9, 15, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links > li { position: relative; }

.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--off-white);
  padding: 8px 0;
}
.nav-links a:hover { color: var(--purple-bright); }

.nav-links .has-dropdown > a { display: flex; align-items: center; gap: 6px; }
.nav-links .has-dropdown > a::after { content: "\25BE"; font-size: 0.8em; }

.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 14px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 190px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown li a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--off-white);
}
.dropdown li a:hover { background: var(--purple-tint); color: var(--purple-bright); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); }

/* Hero */
.hero {
  padding: 90px 0 80px;
  background:
    radial-gradient(60% 90% at 85% 0%, var(--purple-tint) 0%, transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

/* Hero — full-bleed video */
.hero--video {
  position: relative;
  padding: 0;
  height: 88vh;
  min-height: 560px;
  max-height: 840px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
}
.hero-video,
.hero-video__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-video__fallback { display: none; }
.hero-video__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 9, 15, 0.1) 0%, rgba(10, 9, 15, 0.35) 45%, rgba(10, 9, 15, 0.92) 100%);
}
.hero-video__content {
  position: relative;
  z-index: 2;
  padding: 0 24px 90px;
  max-width: 1180px;
}
.hero-video__content h1 {
  font-size: clamp(1.6rem, 2.35vw, 2.3rem);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 32px;
  white-space: normal;
}
.hero-video__content h1 br { display: none; }

@media (min-width: 900px) {
  .hero-video__content h1 br { display: inline; }
}

.hero-video--mobile { display: none; }

@media (max-width: 720px) {
  .hero--video { height: 78vh; min-height: 480px; }
  .hero-video--desktop { display: none; }
  .hero-video--mobile { display: block; }
  .hero-video__content { padding-bottom: 56px; }
}

/* Data-saver: JS adds this class when the visitor has data saving enabled */
.hero--data-saver .hero-video { display: none; }
.hero--data-saver .hero-video__fallback { display: block; }

.page-hero {
  padding: 64px 0;
  background: #000;
  color: var(--white);
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { color: var(--purple-bright); }
.page-hero p { color: var(--gray); max-width: 640px; margin-top: 14px; }
.breadcrumb {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--white); }

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 44px; }

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--purple); }
.card img { aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--gray); margin: 10px 0 18px; flex: 1; }
.card-link { font-family: var(--font-head); font-weight: 700; color: var(--purple-bright); display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { gap: 10px; }

/* Pillars / features */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.pillar {
  border: 1px solid var(--border);
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 28px;
}
.pillar .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--purple-bright);
  margin-bottom: 12px;
}
.pillar p { color: var(--gray); margin-top: 8px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--bg-elevated); border: 1px solid var(--border); }
.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 16px;
}
.step p { color: var(--gray); margin-top: 8px; font-size: 0.95rem; }

/* Stats */
.stats { display: flex; gap: 46px; flex-wrap: wrap; margin-top: 40px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.1rem; color: var(--purple-bright); }
.stat span { color: var(--gray); font-size: 0.9rem; }

/* Two-column with media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--border); }
.split ul { margin-top: 20px; }
.split ul li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--gray); }
.split ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--purple-bright);
}

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.team-member img { border-radius: var(--radius); aspect-ratio: 1/1; object-fit: cover; border: 1px solid var(--border); }
.team-member h3 { margin-top: 14px; }
.team-member span { color: var(--purple-bright); font-size: 0.9rem; font-family: var(--font-head); font-weight: 700; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--purple) 0%, #352a7a 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,0.08);
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: #DCD6F7; margin-top: 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; margin-top: 44px; }
.contact-info li { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--purple-tint);
  color: var(--purple-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
  flex-shrink: 0;
}
.contact-info h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 4px; color: var(--heading); }
.contact-info p, .contact-info a { color: var(--gray); }

.form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--off-white);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--off-white);
}
.field select option { background: var(--bg-elevated); color: var(--off-white); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--purple-bright);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 34px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  filter: grayscale(0.3) invert(0.92) contrast(0.9);
}
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* Footer */
.site-footer { background: #000; color: var(--gray); padding: 64px 0 26px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-grid h4 { font-family: var(--font-head); color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--purple-bright); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--off-white);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--purple); border-color: var(--purple); color: var(--white); transform: translateY(-2px); }
.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

/* Whatsapp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: #25D366;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}
.whatsapp-float:hover { background: #20bd5a; transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height: 32px; position: relative; z-index: 2; }
.whatsapp-float__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* Popups */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(5, 4, 8, 0.78);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.is-open { display: flex; animation: popup-fade 0.25s ease; }
@keyframes popup-fade { from { opacity: 0; } to { opacity: 1; } }

.popup-box {
  position: relative;
  background: #17131F;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  padding: 36px 30px 30px;
  box-shadow: var(--shadow);
  animation: popup-pop 0.3s ease;
}
@keyframes popup-pop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.popup-box h3 { margin-bottom: 10px; color: var(--white); }
.popup-box p { color: var(--gray); margin-bottom: 22px; font-size: 0.95rem; }
.popup-box .field label { color: var(--off-white); }
.popup-box .field input, .popup-box .field textarea { background: var(--bg); color: var(--off-white); }

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.popup-close:hover { background: var(--purple); color: var(--white); border-color: var(--purple); }

.popup-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.16);
  color: #6C5CE7;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

.popup-actions { display: flex; flex-direction: column; gap: 10px; }
.popup-actions .btn { width: 100%; justify-content: center; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .grid-3, .pillars, .steps { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { gap: 10px; }
  .nav-cta .btn { padding: 9px 14px; font-size: 0.8rem; white-space: nowrap; }
  .grid-3, .grid-2, .pillars, .steps, .team { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .section { padding: 60px 0; }
}

body.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  padding: 20px 24px 28px;
  border-bottom: 1px solid var(--border);
  gap: 6px;
}
body.nav-open .dropdown {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  box-shadow: none;
  border: none;
  margin-top: 4px;
  display: none;
}
body.nav-open .has-dropdown.open .dropdown { display: block; }

/* Legal / long-form text */
.legal { max-width: 820px; }
.legal p { margin-top: 14px; color: var(--gray); }
.legal h2 { font-size: 1.35rem; margin-top: 40px; }
.legal ul { margin-top: 12px; padding-left: 20px; list-style: disc; }
.legal li { margin-bottom: 8px; color: var(--gray); }
.legal strong { color: var(--heading); }
.legal a { color: var(--purple); text-decoration: underline; }

/* Consent checkbox */
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 18px; font-size: 0.85rem; line-height: 1.45; color: var(--gray); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--purple); cursor: pointer; }
.consent a { color: var(--purple-bright); text-decoration: underline; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* 404 */
.error-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 16vw, 10rem); line-height: 1; letter-spacing: -0.04em; color: var(--purple-bright); margin-bottom: 8px; }
.error-hero { padding: 80px 0; }

/* Honeypot (anti-spam) + form status */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 12px; font-size: 0.9rem; line-height: 1.45; color: var(--gray); }
.form-status:empty { display: none; }
.form-status.is-ok { color: #2fa866; }
.form-status.is-error { color: #e0564d; }


/* ===== Adaptación a WordPress (bloques del editor) ===== */

/* Barra de administración de WordPress: no tapar el encabezado fijo */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Imágenes (bloque Imagen) */
figure.wp-block-image { margin: 0; }
.card figure.wp-block-image, .split figure.wp-block-image { display: block; }
.card figure.wp-block-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split figure.wp-block-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }

/* Listas (bloque Lista) */
ul.wp-block-list { list-style: none; padding-left: 0; }
.legal ul.wp-block-list { list-style: disc; padding-left: 20px; }

/* Botones (bloque Botones). Estilos: btn-primary, btn-outline, btn-outline-dark, btn-sm */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.wp-block-button__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.btn-primary .wp-block-button__link { background: var(--purple); color: #fff; }
.wp-block-button.btn-primary .wp-block-button__link:hover { background: var(--purple-bright); }
.wp-block-button.btn-outline .wp-block-button__link { background: transparent; border-color: #fff; color: #fff; }
.wp-block-button.btn-outline .wp-block-button__link:hover { background: #fff; color: var(--bg); }
.wp-block-button.btn-outline-dark .wp-block-button__link { background: transparent; border-color: var(--off-white); color: var(--off-white); }
.wp-block-button.btn-outline-dark .wp-block-button__link:hover { background: var(--off-white); color: var(--bg); }
.wp-block-button.btn-sm .wp-block-button__link { padding: 10px 20px; font-size: 0.85rem; }
@media (max-width: 720px) { .wp-block-button.btn-sm .wp-block-button__link { padding: 9px 14px; font-size: 0.8rem; } }

/* Enlace "Ver más →" de las tarjetas (párrafo con clase card-link) */
p.card-link { font-family: var(--font-head); font-weight: 700; }
p.card-link a { color: var(--purple-bright); display: inline-flex; align-items: center; gap: 6px; }
p.card-link a:hover { gap: 10px; }

/* Textos sueltos usados como componentes */
p.eyebrow { display: inline-block; }
p.num, p.step-num { margin: 0; }
p.step-num { margin-bottom: 16px; }
p.breadcrumb a { text-decoration: none; }
.form-title { margin-bottom: 20px; }
.cta-banner .wp-block-buttons { margin-top: 0; }
.hero-video__content .wp-block-buttons { margin-top: 0; }

/* Extras de Astra que no usamos */
#ast-scroll-top { display: none !important; }

/* El botón dentro de la información de contacto conserva el texto blanco */
.contact-info a.btn { color: #fff; }
.contact-info a.btn--primary:hover { color: #fff; }

/* Menú móvil desplegado: enlaces alineados a la izquierda */
body.nav-open .nav-links { align-items: flex-start; }
body.nav-open .nav-links > li { width: 100%; }

/*
 * Algunos WordPress envuelven el contenido de cada Grupo en una caja extra
 * (.wp-block-group__inner-container). Con esta regla esa caja "desaparece" y las
 * cuadrículas (pilares, tarjetas, pasos, columnas) siguen viendo a sus hijos directos.
 */
.wp-block-group__inner-container { display: contents; }
