/* emprendepsicologo.com — handwritten theme.
 * One file, zero framework. Mobile-first.
 * Variables drive color/spacing so a future tenant fork can tweak brand
 * without touching layout. */

:root {
  /* brand */
  --accent: #e95a2a;
  --accent-hover: #c9491f;
  --accent-soft: #fff0e8;
  --sage: #7f9488;
  --sage-soft: #edf3ef;
  --teal: #1f6f70;

  /* surfaces */
  --bg: #ffffff;
  --bg-soft: #f4f6f3;
  --bg-warm: #fbf7f2;
  --bg-dark: #090807;
  --bg-dark-2: #151311;

  /* ink */
  --ink: #161312;
  --ink-2: #2a2624;
  --muted: #6b6360;
  --muted-on-dark: #c2bcb8;
  --line: rgba(0, 0, 0, 0.08);
  --line-on-dark: rgba(255, 255, 255, 0.10);

  /* typography
   * --font-sans : Inter (variable wght 400-700) — UI + body. Tabular numerals
   *               + cv11 stylistic set kicked in at the body level for a
   *               slightly more humanist feel (single-storey g, smaller dots).
   * --font-display : Bricolage Grotesque (variable opsz/wdth/wght) — display
   *               headings; the optical-size axis lets large H1s feel narrower
   *               and tighter while smaller H3/H4s stay legible. */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* layout */
  --container-max: 1200px;
  --container-px: clamp(20px, 5vw, 48px);
  --section-py: clamp(56px, 10vw, 112px);
  --radius: 8px;
  --radius-sm: 6px;

  /* effects */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 28px -12px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, 0.28);
  --transition: 200ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss03", "ss01";
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1em; }

/* ---------- typography ---------- */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 750;            /* Bricolage Grotesque's variable axis goes 400-800; 750 = strong but not bold-bold */
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0 0 0.5em;
  color: inherit;
  font-variation-settings: "wdth" 95;  /* slightly condensed display feel */
}
h1 { font-variation-settings: "wdth" 90, "opsz" 96; }   /* large optical size + tighter width */
h2 { font-variation-settings: "wdth" 92, "opsz" 48; }
h3 { font-variation-settings: "wdth" 95, "opsz" 24; }
h4, h5 { font-variation-settings: "wdth" 96, "opsz" 18; }
h1 { font-size: 2.35rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }
@media (min-width: 760px) {
  h1 { font-size: 3.75rem; }
  h2 { font-size: 2.5rem; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow--on-dark { color: var(--accent); }

.lead {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 60ch;
}
.lead--on-dark { color: var(--muted-on-dark); }

/* ---------- layout primitives ---------- */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-px);
}
.section { padding-block: var(--section-py); }
.section--dark { background: var(--bg-dark); color: #ffffff; }
.section--dark-2 { background: var(--bg-dark-2); color: #ffffff; }
.section--soft { background: var(--bg-soft); }
.section--accent { background: var(--accent); color: #ffffff; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.section-head h2 { margin-bottom: 0.5rem; }
.section-head p { color: var(--muted); font-size: 1.0625rem; }
.section--dark .section-head p { color: var(--muted-on-dark); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #ffffff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn--lg { padding: 1.0625rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }
.btn-arrow::after { content: "→"; }
.btn .whatsapp-logo,
.floating-whatsapp .whatsapp-logo {
  display: block;
  width: 1.24rem;
  height: 1.24rem;
  flex: 0 0 auto;
  border-radius: 0.35rem;
  object-fit: cover;
}
.whatsapp-wordmark {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}
.btn[href^="/out/whatsapp"] {
  color: #fff;
  border-color: #25d366;
  background: #25d366;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.22);
}
.btn[href^="/out/whatsapp"]:hover {
  color: #fff;
  border-color: #1ebe5b;
  background: #1ebe5b;
}
.whatsapp-badge {
  position: relative;
  overflow: visible;
}
.whatsapp-badge::after {
  content: "1";
  position: absolute;
  top: -9px;
  right: -7px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #e11d2e;
  color: #fff;
  font: 900 0.76rem/1 var(--font-sans);
  box-shadow: 0 10px 22px rgba(225, 29, 46, 0.35);
  animation: whatsapp-badge-pulse 1800ms ease-in-out infinite;
}
@keyframes whatsapp-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-badge::after { animation: none; }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-dark);
  color: #ffffff;
  border-bottom: 1px solid var(--line-on-dark);
  backdrop-filter: saturate(160%) blur(8px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
  padding-block: 0.75rem;
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  flex-shrink: 0;
}
.site-header__brand img { height: 36px; width: auto; }
.site-header__brand:hover { opacity: 0.85; }

.site-nav { display: none; align-items: center; gap: 1.75rem; }
.site-nav__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0;
  white-space: nowrap;
}
.site-nav__link:hover { color: #ffffff; }
.site-nav__link.is-active { color: var(--accent); }
.site-nav__caret {
  font-size: 0.65em;
  margin-left: 0.35rem;
  opacity: 0.65;
  transform: translateY(1px);
}

.site-nav__group {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.site-nav__dropdown {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 240px;
  background: #161310;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 60;
}
.site-nav__dropdown a {
  display: block;
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.site-nav__dropdown a:hover {
  background: rgba(238, 91, 34, 0.12);
  color: #ffffff;
}
.site-nav__dropdown a[aria-current="page"] { color: var(--accent); }
.site-nav__group:hover .site-nav__dropdown,
.site-nav__group:focus-within .site-nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Search box (desktop) */
.site-search {
  display: none;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.25rem 0.25rem 0.25rem 0.875rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.site-search:focus-within {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
}
.site-search input[type="search"] {
  appearance: none;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  width: 9rem;
}
.site-search input[type="search"]::placeholder { color: rgba(255, 255, 255, 0.55); }
.site-search button {
  appearance: none;
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}
.site-search button:hover { background: var(--accent-strong, #d44d18); }
.site-search--mobile { display: flex; margin: 1rem 0 0; padding-left: 1rem; }
.site-search--mobile input[type="search"] { width: 100%; }

.site-header__cta { display: none; }

.site-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line-on-dark);
  border-radius: 10px;
  color: #ffffff;
}
.site-header__toggle svg { width: 22px; height: 22px; }

/* CSS-only mobile menu via :checked */
#site-nav-toggle { display: none; }
.site-mobile-nav {
  display: none;
  background: var(--bg-dark);
  border-top: 1px solid var(--line-on-dark);
  padding: 1rem var(--container-px) 1.5rem;
}
.site-mobile-nav__link, .site-mobile-nav > a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line-on-dark);
}
.site-mobile-nav__group .site-mobile-nav__link { border-bottom: 0; padding-bottom: 0.25rem; }
.site-mobile-nav__sub {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0 0.75rem 1rem;
  border-bottom: 1px solid var(--line-on-dark);
}
.site-mobile-nav__sub a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.site-mobile-nav .btn { margin-top: 1rem; }
#site-nav-toggle:checked ~ .site-mobile-nav { display: block; }

@media (min-width: 960px) {
  .site-nav { display: flex; }
  .site-search { display: inline-flex; }
  .site-header__cta { display: inline-flex; }
  .site-header__toggle { display: none; }
  .site-mobile-nav, #site-nav-toggle:checked ~ .site-mobile-nav { display: none; }
}

@media (min-width: 1280px) {
  .site-search input[type="search"] { width: 12rem; }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- hero ---------- */

.hero {
  background: var(--bg-dark);
  color: #ffffff;
  padding-block: clamp(48px, 8vw, 96px);
}
.hero__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.1fr 1fr; }
}
.hero__badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero__title {
  font-size: 2.5rem;
  line-height: 1.05;
  margin: 0 0 1rem;
}
@media (min-width: 760px) {
  .hero__title { font-size: 4.25rem; }
}
.hero__title .accent { color: var(--accent); }
.hero__tags {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
}
.hero__lead {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  margin-bottom: 2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.hero__photo-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.hero__photo-badge::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-on-dark);
}
.hero__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0;
  line-height: 1;
}
@media (min-width: 760px) {
  .hero__stat-value { font-size: 2.25rem; }
}
.hero__stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.375rem;
}

/* ---------- pain points / cards grid ---------- */

.cards-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cards-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(238, 91, 34, 0.25); }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.0625rem; }
.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}
.card__link:hover { gap: 0.625rem; }

/* dark variant for "todo lo que necesitas" */
.card--on-dark {
  background: var(--bg-dark-2);
  border-color: var(--line-on-dark);
}
.card--on-dark:hover { border-color: rgba(238, 91, 34, 0.4); }
.card--on-dark p { color: var(--muted-on-dark); }
.card--on-dark .card__icon { background: rgba(238, 91, 34, 0.12); }

/* pain-point card has a left accent stripe */
.card--pain { border-left: 3px solid var(--accent); padding-left: 1.625rem; }

/* ---------- about / two-column rich block ---------- */

.about-block { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 960px) { .about-block { grid-template-columns: 1fr 1fr; align-items: center; } }
.about-block__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.about-block__copy h2 { margin-bottom: 1rem; }
.about-block__copy p { color: var(--muted); font-size: 1.0625rem; }
.section--dark .about-block__copy p { color: var(--muted-on-dark); }

/* ---------- sobre-mí page ---------- */

.about-hero {
  background: var(--bg-dark);
  color: #fff;
  padding-block: clamp(56px, 9vw, 96px);
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 20% 10%, rgba(238, 91, 34, 0.18), transparent 60%),
    radial-gradient(600px 300px at 90% 90%, rgba(238, 91, 34, 0.10), transparent 60%);
  pointer-events: none;
}
.about-hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 960px) {
  .about-hero__inner { grid-template-columns: 1.05fr 1fr; }
}
.about-hero__title {
  font-size: 2rem;
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}
@media (min-width: 760px) {
  .about-hero__title { font-size: 3.5rem; }
}
.about-hero__lead {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 2rem;
}
.about-hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.about-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.about-split__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 960px) {
  .about-split__grid { grid-template-columns: 1.1fr 1fr; }
  .about-split__grid--reverse { grid-template-columns: 1fr 1.1fr; }
}
.about-split__copy h2 {
  font-size: 1.75rem;
  margin: 0.5rem 0 1.25rem;
}
@media (min-width: 760px) {
  .about-split__copy h2 { font-size: 2.25rem; }
}
.about-split__copy p {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}
.about-split__sub {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: none;
  margin: -0.25rem 0 1.25rem !important;
}
.about-split__media {
  position: relative;
  align-self: stretch;
}
.about-split__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.about-split__accent {
  position: absolute;
  inset: auto -1.25rem -1.25rem auto;
  width: 60%;
  height: 70%;
  background: var(--accent);
  border-radius: var(--radius);
  z-index: 0;
  opacity: 0.95;
}
.about-split__accent--left {
  inset: auto auto -1.25rem -1.25rem;
}

.about-split__books-title {
  margin: 2rem 0 1rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--ink-soft);
}
.about-books { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.about-books a {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.125rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.about-books a:hover { border-color: var(--accent); transform: translateY(-1px); }
.about-books__icon { font-size: 1.25rem; line-height: 1; }
.about-books strong { display: block; margin-bottom: 0.15rem; }
.about-books em {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.hero__stats--standalone {
  border: none !important;
  padding: 0 !important;
  margin: 1rem 0 0 !important;
}

/* ---------- reading list (internal linking from service pages) ---------- */

.reading-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 720px;
  margin-inline: auto;
}
.reading-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.reading-list a:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 6px 18px -8px rgba(238, 91, 34, 0.35);
}
.reading-list__icon { font-size: 1.25rem; line-height: 1; }
.reading-list__title { font-size: 1rem; line-height: 1.4; }
.reading-list__arrow { color: var(--accent); font-weight: 700; }

/* ---------- testimonials ---------- */

.testimonials {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  padding: 2rem 1.75rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  display: flex;
  flex-direction: column;
}
.testimonial__rating {
  display: inline-flex;
  gap: 0.15rem;
  color: #f5a623;
  font-size: 1.05rem;
  margin-bottom: 0.875rem;
  letter-spacing: 0;
}
.testimonial__quote {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 1.5rem;
  flex: 1;
}
.testimonial figcaption {
  display: flex;
  gap: 0.875rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.testimonial figcaption > span:last-child {
  display: flex;
  flex-direction: column;
}
.testimonial__avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ff9259);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0;
  box-shadow: 0 4px 10px -2px rgba(238, 91, 34, 0.5);
}
.testimonial__author {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}
.testimonial__role {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- ebook CTA ---------- */

.ebook-cta { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .ebook-cta { grid-template-columns: 1fr 1.4fr; } }
.ebook-cta__media img {
  max-width: 320px;
  margin: 0 auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.4));
}
.ebook-cta__copy h2 { color: #ffffff; margin-bottom: 1rem; }
.ebook-cta__copy p { color: rgba(255, 255, 255, 0.78); font-size: 1.0625rem; max-width: 52ch; }
.ebook-cta__bullets { display: grid; gap: 0.625rem; margin: 1.5rem 0; }
.ebook-cta__bullets li {
  display: flex;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.85);
}
.ebook-cta__bullets li::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* ---------- post cards (recent guides) ---------- */

.post-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card__media { aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-card__title { font-size: 1.125rem; margin: 0 0 0.5rem; flex: 1; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--accent); }
.post-card__excerpt { color: var(--muted); font-size: 0.9375rem; margin: 0; }
.post-card__meta { display: flex; gap: 0.75rem; font-size: 0.8125rem; color: var(--muted); margin-bottom: 0.75rem; }
.post-card--text-only .post-card__body { min-height: 190px; }

/* ---------- FAQ (CSS-only accordion via <details>) ---------- */

.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  background: #ffffff;
  overflow: hidden;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.125rem 1.5rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform var(--transition);
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq__body { padding: 1rem 1.5rem 1.5rem; color: var(--muted); }
.faq__body p { margin: 0 0 0.75rem; }

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

.final-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #ff7a3f 100%);
  color: #ffffff;
  text-align: center;
}
.final-cta h2 {
  color: #ffffff;
  font-size: 1.75rem;
  max-width: 720px;
  margin: 0 auto 1rem;
}
@media (min-width: 760px) {
  .final-cta h2 { font-size: 2.75rem; }
}
.final-cta p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.0625rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.final-cta .btn--primary { background: #ffffff; color: var(--accent); border-color: #ffffff; }
.final-cta .btn--primary:hover { background: var(--bg-soft); color: var(--accent-hover); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.78);
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: 2rem;
}
.site-footer__top {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .site-footer__top { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.site-footer__brand img { height: 40px; margin-bottom: 1.25rem; }
.site-footer__brand p { color: rgba(255, 255, 255, 0.65); max-width: 36ch; }
.site-footer h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin: 0 0 1rem;
  font-weight: 800;
}
.site-footer ul { display: grid; gap: 0.625rem; }
.site-footer a { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.site-footer a:hover { color: var(--accent); }
.footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
}
.footer-whatsapp-link .whatsapp-logo {
  width: 1.18rem;
  height: 1.18rem;
  border-radius: 0.32rem;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}
.site-footer__bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: block;
  width: 66px;
  height: 66px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #fff;
  box-shadow: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-3px) scale(1.03);
}
.floating-whatsapp .whatsapp-logo {
  display: block;
  width: 66px;
  height: 66px;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(18, 16, 17, 0.24);
}
.floating-whatsapp.whatsapp-badge::after {
  top: -7px;
  right: -7px;
  width: 23px;
  height: 23px;
  border-width: 2px;
  font-size: 0.78rem;
  box-shadow: 0 9px 18px rgba(225, 29, 46, 0.34);
}
@media (max-width: 640px) {
  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 60px;
    height: 60px;
  }
  .floating-whatsapp .whatsapp-logo {
    width: 60px;
    height: 60px;
    border-radius: 15px;
  }
}

/* ---------- skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--accent);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- prose (legal pages, blog post body, service body) ---------- */

.prose { max-width: 760px; margin: 0 auto; font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1.25;
}
@media (min-width: 760px) {
  .prose h2 { font-size: 1.875rem; }
}
.prose h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1rem;
}
.prose h3 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: var(--ink);
}
.prose h4 { margin-top: 1.75rem; font-size: 1.0625rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.25em; }
.prose ul, .prose ol { padding-left: 1.25em; list-style: revert; }
.prose ul li, .prose ol li { margin-bottom: 0.375em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--accent-hover); }
.prose img {
  border-radius: var(--radius);
  margin: 2.5rem auto;
  display: block;
  max-width: 100%;
  height: auto;
  box-shadow: var(--shadow-md);
}
.prose blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  border-left: 4px solid var(--accent);
  background: var(--bg-soft);
  font-style: italic;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose code {
  background: var(--bg-soft);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.9em;
}

/* ---------- service detail page tweaks ---------- */

.service-why { padding-block: clamp(40px, 6vw, 64px); }
.service-body { padding-block: clamp(48px, 7vw, 80px); }
.service-body .container { max-width: 1160px; }
.service-body__cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

/* ---------- page hero (non-home pages) ---------- */

.page-hero {
  background: var(--bg-dark);
  color: #ffffff;
  padding-block: clamp(48px, 8vw, 96px);
}
.page-hero h1 {
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
  max-width: 18ch;
}
@media (min-width: 760px) {
  .page-hero h1 { font-size: 3.25rem; }
}
.page-hero .lead { max-width: 56ch; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.page-hero--compact { padding-block: clamp(40px, 6vw, 72px); }
.page-hero--compact h1 { max-width: none; }

/* ---------- search page ---------- */

.search-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  max-width: 640px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  align-items: center;
}
.search-form:focus-within { border-color: rgba(255, 255, 255, 0.32); }
.search-form input[type="search"] {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  padding: 0.5rem 0;
}
.search-form input[type="search"]::placeholder { color: rgba(255, 255, 255, 0.55); }
.search-form .btn { border-radius: 999px; padding: 0.625rem 1.25rem; }
.search-meta {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.search-results { list-style: none; padding: 0; margin: 0; }
.search-result a {
  display: block;
  padding: 1.25rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.search-result a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.search-result h3 {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  color: var(--ink);
}
.search-result p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}
.search-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-soft);
}
.search-empty a { color: var(--accent); font-weight: 600; }

.page-hero--with-photo .page-hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 960px) {
  .page-hero--with-photo .page-hero__grid { grid-template-columns: 1.1fr 1fr; }
}
.page-hero__media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* ---------- step / process cards ---------- */

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* ---------- contact page ---------- */

.contact-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(238, 91, 34, 0.25); }
.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--accent-soft);
  border-radius: 14px;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.contact-card h3 { margin: 0 0 0.375rem; }
.contact-card p { margin: 0 0 0.625rem; color: var(--muted); font-size: 0.9375rem; }
.contact-card__value { color: var(--accent); font-weight: 700; }

.contact-faq {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.contact-faq h2 { margin: 0 0 1rem; font-size: 1.25rem; }
.contact-faq ul { display: grid; gap: 0.75rem; padding-left: 1.25rem; list-style: disc; }
.contact-faq li { color: var(--muted); }

/* ---------- contact form (centralised inbox) ---------- */

.contact-layout {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 960px) {
  .contact-layout { grid-template-columns: 1.6fr 1fr; align-items: start; }
}
.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.contact-form-card h2 { margin: 0 0 1.25rem; font-size: 1.5rem; }
.contact-form .form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.25rem;
}
@media (min-width: 640px) { .contact-form .form-grid { grid-template-columns: 1fr 1fr; } }
.contact-field { display: grid; gap: 0.4rem; }
.contact-field--full { grid-column: 1 / -1; }
.contact-field span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
}
.contact-field span em { color: var(--accent); font-style: normal; }
.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field input[type="tel"],
.contact-field select,
.contact-field textarea {
  appearance: none;
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.875rem;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.contact-field textarea { resize: vertical; min-height: 6.5rem; line-height: 1.55; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(238, 91, 34, 0.15);
}
.contact-form .cf-turnstile { margin: 1.25rem 0 0; }
.contact-form button[type="submit"] { margin-top: 1.5rem; }
.contact-form__footnote {
  margin: 0.875rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.contact-form__footnote a { color: var(--accent); text-decoration: underline; }
.contact-form-stub {
  padding: 1.5rem;
  background: var(--bg-soft);
  border-radius: 12px;
  text-align: center;
}
.contact-form-stub p { color: var(--muted); }
.contact-form-stub .btn { margin: 0.25rem; }

.contact-side h3 {
  margin: 0 0 0.875rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--ink-soft, var(--muted));
}
.contact-channels { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.75rem; }
.contact-channels a {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.125rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.contact-channels a:hover { border-color: var(--accent); transform: translateY(-1px); }
.contact-channels__icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 12px;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-channels strong { display: block; font-size: 0.95rem; }
.contact-channels em { font-style: normal; font-size: 0.85rem; color: var(--muted); }
.contact-pledge {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-pledge ul { padding-left: 1.25rem; list-style: disc; display: grid; gap: 0.5rem; }
.contact-pledge li { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

/* gracias page */
.thanks-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .thanks-grid { grid-template-columns: 1.2fr 1fr; } }
.thanks-grid .card { background: var(--bg-soft); border: 1px solid var(--line); padding: 1.75rem; border-radius: var(--radius); }
.thanks-grid h3 { margin: 0 0 0.875rem; font-size: 1.05rem; }
.thanks-grid ol { padding-left: 1.25rem; display: grid; gap: 0.5rem; color: var(--muted); }
.thanks-grid ol li { line-height: 1.55; }
.thanks-links { padding: 0; margin: 0; list-style: none; display: grid; gap: 0.5rem; }
.thanks-links a { color: var(--accent); font-weight: 600; }
.thanks-links a:hover { text-decoration: underline; }

/* ---------- blog post hero + featured + body ---------- */

.post-hero {
  background: var(--bg-dark);
  color: #ffffff;
  padding-block: clamp(40px, 6vw, 72px);
}
.post-hero__crumb {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
}
.post-hero__crumb a { color: var(--accent); font-weight: 600; }
.post-hero h1 {
  font-size: 1.875rem;
  margin: 0 0 1rem;
  max-width: 24ch;
}
@media (min-width: 760px) {
  .post-hero h1 { font-size: 3rem; }
}
.post-hero .lead { color: rgba(255, 255, 255, 0.78); max-width: 60ch; }

.post-featured {
  background: var(--bg-soft);
  padding: 2rem 0;
}
.post-featured img {
  display: block;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-body { padding-top: clamp(40px, 5vw, 64px); }
.post-body .container { max-width: 880px; }
.post-body .prose { max-width: none; }

/* Inline ebook CTA shown between prose and related posts */
.inline-ebook {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: 3rem;
  padding: 1.75rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
@media (min-width: 640px) {
  .inline-ebook { grid-template-columns: 140px 1fr; }
}
.inline-ebook__media img {
  width: 100%;
  max-width: 140px;
  margin: 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.inline-ebook h3 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.inline-ebook p { color: var(--muted); margin: 0 0 1rem; font-size: 0.95rem; }

/* Related posts at bottom of post */
.related-posts .section-head { margin-bottom: 2.5rem; }

/* Buttons inside .prose: keep the .btn look (drop underline + accent text). */
.prose a.btn {
  text-decoration: none;
  color: #ffffff;
  margin: 0.75rem 0 1.5rem;
}
.prose a.btn:hover { color: #ffffff; }

/* ---------- blog list pager (kept) ---------- */

.blog-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding-top: 3rem;
}
.blog-pager a, .blog-pager span {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
}
.blog-pager a { background: var(--accent); color: #ffffff; }
.blog-pager a:hover { background: var(--accent-hover); }
.blog-pager span { color: var(--muted); }

/* ---------- 2026 visual refresh: Emprende Psicólogo home ---------- */

.site-header {
  background: rgba(9, 8, 7, 0.94);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
}
.site-header__inner {
  max-width: none;
  width: 100%;
  padding-inline: clamp(20px, 3.8vw, 76px);
  min-height: 76px;
  gap: 1rem;
}
.site-header__brand img {
  height: 34px;
  width: auto;
}
.site-nav {
  gap: 0.25rem;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}
.site-nav__link {
  min-height: 40px;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  line-height: 1;
}
.site-nav__link:hover,
.site-nav__link.is-active {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.site-search {
  height: 48px;
  padding: 0 0 0 0.9rem;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
}
.site-search button {
  width: 42px;
  height: 42px;
  margin-right: 0.2rem;
}
.site-header__cta {
  min-height: 48px;
  padding-inline: 1.2rem;
  box-shadow: 0 16px 30px rgba(233, 90, 42, 0.22);
}
@media (min-width: 1120px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(210px, 1fr);
    column-gap: 1rem;
  }
  .site-header__brand { justify-self: start; }
  .site-nav { justify-self: center; }
  .site-search { justify-self: end; }
  .site-header__cta { justify-self: end; }
}
@media (min-width: 960px) and (max-width: 1359px) {
  .site-search:not(.site-search--mobile) { display: none; }
}
@media (min-width: 1360px) and (max-width: 1679px) {
  .site-search:not(.site-search--mobile) { display: none; }
}
@media (min-width: 1680px) {
  .site-header__inner {
    grid-template-columns: max-content max-content minmax(240px, 300px) max-content;
    justify-content: space-between;
  }
  .site-nav { justify-self: center; }
  .site-search:not(.site-search--mobile) { width: 100%; }
  .site-search:not(.site-search--mobile) { display: inline-flex; }
  .site-search input[type="search"] { width: 100%; min-width: 0; }
}

.hero--home {
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding-block: 68px;
  background:
    linear-gradient(90deg, rgba(9, 8, 7, 0.98), rgba(9, 8, 7, 0.92)),
    var(--bg-dark);
  color: #fff;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hero__content { max-width: 720px; }
.hero__kicker {
  margin: 0 0 1rem;
  color: #f5c4ad;
  font-weight: 800;
}
.hero--home h1 {
  max-width: 780px;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 2.7rem;
  line-height: 1.03;
}
.hero--home .hero__lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}
.hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.35rem 0 1.7rem;
}
.hero__signals li {
  padding: 0.48rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
  font-size: 0.92rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.hero__mobile-portrait { display: none; }
.hero__mobile-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #1b1715;
}
.hero--home .hero__stats {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
  padding: 0;
  border: 0;
}
.hero--home .hero__stats div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.065);
}
.hero--home .hero__stats dt {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.hero--home .hero__stats dd {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}
.hero__visual {
  position: relative;
  min-height: 520px;
}
.hero__portrait-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #1b1715;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}
.hero__portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
.hero__proof-card,
.hero__mini-card {
  position: absolute;
  z-index: 2;
  max-width: 280px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.hero__proof-card {
  right: -0.5rem;
  bottom: 2.5rem;
  padding: 1rem;
  background: rgba(244, 246, 243, 0.96);
  color: var(--ink);
}
.hero__proof-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}
.hero__proof-card strong {
  display: block;
  line-height: 1.25;
}
.hero__mini-card {
  left: 1rem;
  top: -4.75rem;
  padding: 0.95rem;
  background: rgba(21, 19, 18, 0.92);
  color: #fff;
}
.hero__mini-card strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fff;
}
.hero__mini-card span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.45;
}
@media (min-width: 760px) {
  .hero--home h1 { font-size: 4.15rem; }
  .hero--home .hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.04fr 0.86fr; }
}
@media (max-width: 720px) {
  .hero--home { padding-block: 46px; }
  .hero--home h1 { font-size: 2.28rem; }
  .hero__mobile-portrait {
    display: block;
    margin: 1.35rem 0 1.1rem;
  }
  .hero__visual {
    display: none;
    min-height: auto;
  }
  .hero__proof-card,
  .hero__mini-card {
    position: static;
    max-width: none;
    margin-top: 0.75rem;
  }
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-strip__inner {
  display: grid;
  gap: 1px;
  padding-block: 0;
  background: var(--line);
}
.trust-strip article {
  padding: 1.15rem 0;
  background: #fff;
}
.trust-strip strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-size: 0.94rem;
}
.trust-strip span {
  display: block;
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
@media (min-width: 760px) {
  .trust-strip__inner { grid-template-columns: repeat(3, 1fr); }
  .trust-strip article { padding: 1.2rem 1.3rem; }
}

.section--quiet { background: var(--bg-soft); }
.section-head--split {
  max-width: none;
  display: grid;
  gap: 1.4rem;
  text-align: left;
  align-items: end;
}
.section-head--split > p,
.section-head--split > a {
  justify-self: start;
}
@media (min-width: 860px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.72fr);
  }
  .section-head--split > p,
  .section-head--split > a {
    justify-self: end;
  }
}

.problem-grid {
  display: grid;
  gap: 1rem;
}
.problem-card {
  min-height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.problem-card span {
  display: inline-flex;
  margin-bottom: 1.1rem;
  color: var(--accent);
  font-weight: 900;
}
.problem-card p {
  margin: 0;
  color: var(--ink-2);
  font-weight: 700;
  line-height: 1.55;
}
@media (min-width: 760px) {
  .problem-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-grid {
  display: grid;
  gap: 1rem;
}
.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 90, 42, 0.35);
  box-shadow: 0 18px 42px rgba(22, 19, 18, 0.09);
}
.service-card__tag {
  align-self: flex-start;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--sage-soft);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
}
.service-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}
.service-card p {
  flex: 1;
  color: var(--muted);
  font-size: 0.95rem;
}
.service-card__link {
  margin-top: 0.8rem;
  color: var(--accent);
  font-weight: 850;
}
@media (min-width: 700px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

.portfolio-showcase {
  background: var(--bg-dark);
  color: #fff;
}
.portfolio-showcase__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.portfolio-showcase__copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
}
.case-grid {
  display: grid;
  gap: 1rem;
}
.case-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}
.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}
.case-card div { padding: 1rem; }
.case-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: #f5c4ad;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}
.case-card h3 {
  margin: 0 0 0.4rem;
  color: #fff;
}
.case-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}
@media (min-width: 920px) {
  .portfolio-showcase__grid { grid-template-columns: 0.82fr 1.18fr; }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
}

.method-band {
  padding-block: 76px;
  background: var(--bg-warm);
}
.method-band__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
.method-band .eyebrow--on-dark { color: var(--accent); }
.method-band h2 { color: var(--ink); }
.method-band p { color: var(--muted); }
.method-list {
  display: grid;
  gap: 0.8rem;
}
.method-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.method-card > span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 900;
}
.method-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.method-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
@media (min-width: 860px) {
  .method-band__grid { grid-template-columns: 0.82fr 1.18fr; }
}

.about-block__media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
.about-block__copy p {
  font-size: 1.05rem;
}

.testimonial {
  border-radius: var(--radius);
  box-shadow: none;
}
.testimonial__quote::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--accent);
}

.ebook-section {
  background: var(--bg-dark-2);
  color: #fff;
}
.ebook-section .ebook-cta {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}
.ebook-section .ebook-cta__copy p {
  color: rgba(255, 255, 255, 0.78);
}
@media (min-width: 760px) {
  .ebook-section .ebook-cta { grid-template-columns: 0.72fr 1.28fr; }
}

.btn--dark {
  color: var(--ink);
  border-color: var(--ink);
}
.btn--dark:hover {
  background: var(--ink);
  color: #fff;
}

.final-cta {
  background: var(--accent);
  background-image: linear-gradient(135deg, var(--accent), #f07945);
}
.final-cta h2 {
  font-size: 2rem;
}
@media (min-width: 760px) {
  .final-cta h2 { font-size: 2.75rem; }
}

@media (max-width: 640px) {
  .hero__actions .btn,
  .section-head--split .btn,
  .portfolio-showcase .btn {
    width: 100%;
    white-space: normal;
  }
  .trust-strip__inner { background: transparent; }
  .trust-strip article {
    border-bottom: 1px solid var(--line);
  }
  .problem-grid { grid-template-columns: 1fr; }
  .method-card { grid-template-columns: 1fr; }
}

/* ---------- full-site page template refresh ---------- */

.narrow-container { max-width: 900px; }

.btn--on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
}
.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.page-hero--split {
  padding-block: 72px;
  background:
    radial-gradient(900px 320px at 82% 20%, rgba(233, 90, 42, 0.16), transparent 70%),
    var(--bg-dark);
}
.page-hero--split h1 {
  max-width: 760px;
}
.page-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.page-hero__panel {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.page-hero__panel > span,
.price-card__label {
  display: block;
  margin-bottom: 0.55rem;
  color: #f5c4ad;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}
.page-hero__panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.12;
}
.page-hero__panel p,
.page-hero__panel li {
  color: rgba(255, 255, 255, 0.74);
}
.page-hero__panel p {
  margin-top: 0.85rem;
}
.page-hero__panel ul {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.2rem;
}
.page-hero__panel li {
  position: relative;
  padding-left: 1.1rem;
}
.page-hero__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.67em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--accent);
}
.page-hero__panel dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin: 1.25rem 0 0;
}
.page-hero__panel dl div {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}
.page-hero__panel dt {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}
.page-hero__panel dd {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}
@media (min-width: 900px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.7fr); }
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--sage-soft);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
}
.feature-card h3 { font-size: 1.15rem; }

.pricing-grid {
  display: grid;
  gap: 1rem;
}
.price-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.price-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}
.price-card strong {
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}
.price-card p {
  color: var(--muted);
}
.price-card ul {
  display: grid;
  gap: 0.55rem;
  color: var(--ink-2);
}
.price-card li {
  position: relative;
  padding-left: 1.15rem;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--accent);
}
@media (min-width: 860px) {
  .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.split-content {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
}
.split-content > * {
  min-width: 0;
}
@media (min-width: 980px) {
  .split-content { grid-template-columns: minmax(0, 1fr) 320px; }
  .service-body .split-content {
    grid-template-columns: minmax(0, 740px) 300px;
    justify-content: center;
    gap: 2rem;
  }
  .service-body .prose-card {
    padding: clamp(2rem, 3vw, 2.75rem);
  }
}
.prose-card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow-wrap: anywhere;
}
.sticky-aside,
.direct-booking {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
@media (min-width: 980px) {
  .sticky-aside {
    position: sticky;
    top: 104px;
  }
}
.sticky-aside h3,
.direct-booking h2 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}
.sticky-aside p,
.direct-booking p {
  color: var(--muted);
}
.sticky-aside--ebook img {
  width: 140px;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.service-card--dark {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}
.service-card--dark h3,
.service-card--dark .service-card__link {
  color: #fff;
}
.service-card--dark p {
  color: rgba(255, 255, 255, 0.72);
}

.link-grid {
  display: grid;
  gap: 0.85rem;
}
.link-grid a {
  display: block;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.link-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 90, 42, 0.35);
  box-shadow: var(--shadow-md);
}
.link-grid span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}
.link-grid strong {
  display: block;
  color: var(--ink);
  line-height: 1.25;
}
@media (min-width: 760px) {
  .link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.about-hero--refresh {
  background:
    radial-gradient(760px 360px at 16% 12%, rgba(233, 90, 42, 0.14), transparent 70%),
    var(--bg-dark);
}
.about-story {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.about-story__copy p {
  color: var(--muted);
  font-size: 1.05rem;
}
.about-story__media img {
  width: 100%;
  max-height: 640px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow-md);
}
.about-books-panel {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.about-books-panel h3 {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}
@media (min-width: 900px) {
  .about-story { grid-template-columns: minmax(0, 1fr) 420px; }
  .about-story--reverse { grid-template-columns: 420px minmax(0, 1fr); }
}

.featured-post {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.featured-post__media {
  min-height: 100%;
  background: var(--bg-soft);
}
.featured-post__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.featured-post__copy {
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.featured-post__copy time {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-weight: 700;
}
.featured-post__copy h2 {
  font-size: 1.75rem;
}
.featured-post__copy p {
  color: var(--muted);
}
@media (min-width: 860px) {
  .featured-post { grid-template-columns: 0.9fr 1.1fr; }
}
.empty-state {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  text-align: center;
}

.post-hero--editorial {
  background:
    radial-gradient(900px 300px at 70% 18%, rgba(233, 90, 42, 0.16), transparent 70%),
    var(--bg-dark);
}
.post-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.post-hero--editorial h1 {
  max-width: 840px;
}
.post-hero__media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #050403;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.post-hero__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.post-body .split-content {
  max-width: 1120px;
}
@media (min-width: 980px) {
  .post-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .post-hero__media { max-width: 720px; }
}

.contact-hero .page-hero__panel .btn {
  margin-top: 1rem;
}
.contact-layout {
  gap: 1.5rem;
}
.contact-form-card > .eyebrow,
.direct-booking > .eyebrow,
.contact-pledge > .eyebrow {
  margin-bottom: 0.75rem;
}
.direct-booking {
  margin-bottom: 1rem;
}
.contact-channels__icon {
  color: var(--accent);
  font-weight: 900;
  font-size: 0.92rem;
}
.contact-channels__icon--whatsapp {
  padding: 0;
  overflow: hidden;
  background: transparent;
}
.contact-channels__icon--whatsapp .whatsapp-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.contact-pledge {
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.contact-pledge .eyebrow {
  margin-bottom: 0.75rem;
}

.thanks-hero .page-hero__panel {
  align-self: stretch;
}
.thanks-grid .card {
  background: #fff;
}
.thanks-grid .eyebrow {
  margin-bottom: 0.75rem;
}

.search-hero .search-form {
  margin-top: 1.6rem;
}
.search-results {
  list-style: none;
}
.search-result a {
  background: #fff;
}

.legal-prose {
  font-size: 1rem;
}

@media (max-width: 640px) {
  .page-hero--split { padding-block: 48px; }
  .page-hero__panel dl { grid-template-columns: 1fr; }
  .post-hero__grid,
  .page-hero__grid,
  .about-story,
  .about-story--reverse,
  .featured-post {
    grid-template-columns: 1fr;
  }
  .page-hero__cta .btn,
  .contact-form button[type="submit"] {
    width: 100%;
  }
  .prose-card,
  .sticky-aside,
  .direct-booking,
  .contact-form-card {
    padding: 1.15rem;
  }
}

/* ---------- 2026 feedback round: service pages, blog hero, WhatsApp ---------- */

/* WhatsApp action button (transactional/service CTAs). */
.btn--whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}
.btn--whatsapp:hover {
  background: #1ebe5b;
  border-color: #1ebe5b;
  color: #ffffff;
}

/* Final CTA banner can carry two actions side by side. */
.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}
.final-cta__actions .btn--ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
}
.final-cta__actions .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
.final-cta__actions .btn[href^="/out/whatsapp"],
.final-cta__actions .btn[href^="/out/whatsapp"]:hover {
  color: #ffffff;
  border-color: #25d366;
  background: #25d366;
}
.final-cta__actions .btn[href^="/out/whatsapp"]:hover {
  border-color: #1ebe5b;
  background: #1ebe5b;
}

/* Service pages: owned sections only, no imported mobile-ish content dumps. */
.service-process { background: var(--bg-warm); }
.service-focus__grid,
.service-quality__grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
.service-focus__copy {
  max-width: 620px;
}
.service-focus__copy p:not(.eyebrow),
.service-quality__grid > div > p {
  color: var(--muted);
  font-size: 1.05rem;
}
.service-focus__cards {
  display: grid;
  gap: 1rem;
}
.service-focus-card {
  padding: clamp(1.2rem, 2vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 38px rgba(22, 19, 18, 0.055);
}
.service-focus-card span {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}
.service-focus-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}
.service-focus-card p {
  margin: 0;
  color: var(--muted);
}
.service-checklist {
  display: grid;
  gap: 0.85rem;
}
.service-checklist li {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-2);
  font-weight: 750;
  line-height: 1.45;
}
.service-checklist li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 0.95rem;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 900;
}
@media (min-width: 900px) {
  .service-focus__grid {
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  }
  .service-focus__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .service-quality__grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  }
}

/* Blog post: centered editorial hero (title) with the featured image centered
   below, instead of a split title/photo hero. */
.post-hero--centered {
  text-align: center;
  background:
    radial-gradient(900px 360px at 50% 0%, rgba(233, 90, 42, 0.16), transparent 72%),
    var(--bg-dark);
}
.post-hero--centered .container { max-width: 860px; }
.post-hero--centered h1 {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.post-hero--centered .lead {
  margin-left: auto;
  margin-right: auto;
}
.post-hero--centered .post-hero__crumb { margin-bottom: 1.1rem; }
.post-featured img { max-width: 960px; }

@media (max-width: 640px) {
  .final-cta__actions .btn { width: 100%; }
}

/* ---------- not found page ---------- */

.not-found-hero .page-hero__grid {
  align-items: stretch;
}
.not-found-hero {
  padding-block: clamp(40px, 8vw, 72px);
}
.not-found-hero .page-hero__panel {
  align-self: center;
}
.not-found-search {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  max-width: 620px;
  margin-top: 1.75rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}
.not-found-search:focus-within {
  border-color: rgba(255, 255, 255, 0.34);
}
.not-found-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  padding: 0.55rem 0;
}
.not-found-search input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.56);
}
.not-found-search .btn {
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
}
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.15rem;
}
.not-found-panel .btn {
  margin-top: 1.1rem;
}
.not-found-grid {
  display: grid;
  gap: 1rem;
}
.not-found-card {
  min-height: 100%;
  padding: clamp(1.25rem, 2vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 38px rgba(22, 19, 18, 0.055);
}
.not-found-card > span {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.34rem 0.56rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}
.not-found-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.18rem;
}
.not-found-card p {
  color: var(--muted);
}
.not-found-card ul {
  display: grid;
  gap: 0.65rem;
}
.not-found-card a:not(.card__link) {
  color: var(--ink-2);
  font-weight: 750;
}
.not-found-card a:not(.card__link):hover {
  color: var(--accent);
}
.not-found-card--accent {
  background: var(--bg-dark);
  color: #fff;
  border-color: var(--line-on-dark);
}
.not-found-card--accent p {
  color: var(--muted-on-dark);
}
.not-found-card--accent .card__link {
  color: #f5c4ad;
}
@media (min-width: 820px) {
  .not-found-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 819px) {
  .not-found-panel {
    display: none;
  }
}
@media (max-width: 620px) {
  .page-not-found .floating-whatsapp {
    display: none;
  }
  .not-found-search {
    align-items: stretch;
    flex-direction: column;
    border-radius: var(--radius);
    padding: 0.85rem;
  }
  .not-found-search input[type="search"] {
    width: 100%;
    padding-inline: 0.2rem;
  }
  .not-found-search .btn,
  .not-found-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
