/* ==========================================================================
   Limpieza Badalona — Sistema de diseño
   Paleta teal + coral · fondo blanco · tipografía serif display + sans body
   ========================================================================== */

:root {
  /* Color */
  --ink:        #10302e;
  --ink-soft:   #3d5754;
  --muted:      #6b807d;
  --line:       #e4eeec;
  --line-2:     #d3e3e0;

  --primary:    #0e7a75;
  --primary-600:#0a615c;
  --primary-700:#084a46;
  --primary-050:#e9f6f4;
  --primary-100:#d2ede9;

  --accent:     #ff6a45;
  --accent-600: #e84e29;
  --accent-050: #fff0eb;

  --bg:         #ffffff;
  --bg-soft:    #f6faf9;
  --bg-mint:    #eef7f5;
  --dark:       #0b2321;
  --dark-2:     #061716;

  --star:       #f6a821;
  --wa:         #25D366;

  /* Type */
  --serif: "Iowan Old Style", "Palatino Linotype", "Palatino", "Georgia", "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  --mono:  "SFMono-Regular", ui-monospace, "Cascadia Mono", "Menlo", monospace;

  /* Metrics */
  --header-h: 76px;
  --radius:   18px;
  --radius-sm:12px;
  --shadow-sm: 0 2px 8px rgba(11,35,33,.06);
  --shadow-md: 0 12px 32px rgba(11,35,33,.10);
  --shadow-lg: 0 28px 64px rgba(11,35,33,.16);
  --maxw: 1200px;
}

/* Reset -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent-600); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { padding-left: 1.15em; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Layout helpers ----------------------------------------------------------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.prose { max-width: 68ch; margin-inline: auto; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.55rem, 3.4vw, 2.1rem); }
.prose h3 { margin-top: 1.4em; font-size: 1.28rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--soft { background: var(--bg-soft); }
.section--mint { background: var(--bg-mint); }
.section-dark { background: linear-gradient(165deg, var(--dark), var(--dark-2)); color: #dbeae8; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--primary-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-dark .eyebrow { color: #7fd8d0; }

.section-header { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-header.center { margin-inline: auto; text-align: center; }
.section-header h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); margin-top: .5rem; }
.section-header .lead { margin-top: 1rem; color: var(--ink-soft); font-size: 1.1rem; }
.center .eyebrow { justify-content: center; }

.lead { font-size: 1.12rem; color: var(--ink-soft); }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em; border-radius: 999px; font-family: var(--sans);
  font-weight: 650; font-size: 1rem; line-height: 1; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(255,106,69,.32); }
.btn-primary:hover { background: var(--accent-600); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(255,106,69,.4); }
.btn-solid { background: var(--primary); color: #fff; }
.btn-solid:hover { background: var(--primary-600); color: #fff; transform: translateY(-2px); }
.btn-ghost { color: var(--primary-600); border-color: var(--line-2); background: #fff; }
.btn-ghost:hover { color: var(--primary-700); border-color: var(--primary); transform: translateY(-2px); }
.section-dark .btn-ghost, .cta-final .btn-ghost, .cta-band .btn-ghost, .hero-dark .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.4); background: transparent;
}
.section-dark .btn-ghost:hover, .cta-final .btn-ghost:hover, .cta-band .btn-ghost:hover {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.75); color: #fff;
}
.btn-light { background: #fff; color: var(--primary-700); }
.btn-light:hover { background: var(--primary-050); color: var(--primary-700); transform: translateY(-2px); }
.btn-lg { padding: 1.05em 1.9em; font-size: 1.06rem; }

/* Header / Nav ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 600; font-size: 1.28rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  background: linear-gradient(150deg, var(--primary), var(--primary-700));
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-family: var(--sans); font-weight: 600; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-600); line-height: 1; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a { display: inline-flex; align-items: center; gap: .3em; padding: .55rem .8rem; border-radius: 10px; color: var(--ink-soft); font-weight: 600; font-size: .96rem; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary-700); background: var(--primary-050); }

.nav-dropdown > .nav-toggle-sub { background: none; border: 0; color: inherit; }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 268px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md);
  padding: .5rem; list-style: none; margin: 0; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-dropdown:hover .nav-menu, .nav-dropdown:focus-within .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu a { display: flex; flex-direction: column; gap: 1px; padding: .6rem .75rem; border-radius: 10px; }
.nav-menu a span { font-size: .8rem; color: var(--muted); font-weight: 500; }
.nav-menu a:hover span { color: var(--primary-600); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--primary-700); white-space: nowrap; }
.nav-phone:hover { color: var(--accent-600); }

.hamburger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; padding: 0; place-items: center; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.hamburger span + span { margin-top: 4px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-backdrop { position: fixed; inset: 0; background: rgba(11,35,33,.4); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; z-index: 98; }
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

@media (max-width: 1024px) {
  .hamburger { display: grid; }
  .nav-cta .nav-phone { display: none; }
  .nav-links {
    position: fixed; top: var(--header-h); right: 0; z-index: 99;
    width: min(340px, 86vw); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: #fff; border-left: 1px solid var(--line);
    padding: 1rem; overflow-y: auto;
    transform: translateX(105%); transition: transform .28s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line-2);
    border-radius: 0; margin: .1rem 0 .3rem .8rem; padding: 0 0 0 .4rem;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-dropdown.is-open .nav-menu { max-height: 520px; }
  .nav-dropdown > a { justify-content: space-between; }
  .nav-dropdown > a::after { content: "⌄"; font-size: 1.1em; transition: transform .25s ease; }
  .nav-dropdown.is-open > a::after { transform: rotate(180deg); }
}

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 88% 8%, var(--primary-050), transparent 60%),
    radial-gradient(50% 60% at 6% 96%, var(--accent-050), transparent 62%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.hero .hero-sub { margin-top: 1.2rem; font-size: 1.2rem; color: var(--ink-soft); max-width: 42ch; }
.hero .entity { margin-top: 1.4rem; font-size: 1rem; color: var(--muted); max-width: 52ch; padding-left: 1rem; border-left: 3px solid var(--primary-100); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-rating { display: flex; align-items: center; gap: .7rem; margin-top: 1.6rem; font-size: .95rem; color: var(--ink-soft); }
.stars { color: var(--star); letter-spacing: 2px; font-size: 1.05rem; }
.hero-media { position: relative; }
.hero-media .media-frame {
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; background: var(--bg-mint);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: -22px; left: -22px; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-md); padding: 1rem 1.2rem; display: flex; align-items: center; gap: .8rem;
  border: 1px solid var(--line);
}
.hero-badge .num { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--primary); line-height: 1; }
.hero-badge .lbl { font-size: .82rem; color: var(--muted); line-height: 1.25; }

/* Trust bar ---------------------------------------------------------------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 2rem; }
.trust-item { display: flex; gap: .9rem; align-items: flex-start; }
.trust-item .ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-050); color: var(--primary); display: grid; place-items: center; }
.trust-item .ico svg { width: 22px; height: 22px; }
.trust-item strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); line-height: 1; }
.trust-item span { font-size: .9rem; color: var(--muted); }

/* Cards / grids ------------------------------------------------------------ */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-050); color: var(--primary); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.28rem; margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card .card-link { display: inline-flex; align-items: center; gap: .35em; margin-top: 1rem; font-weight: 650; color: var(--primary-600); }
.card .card-link:hover { gap: .6em; color: var(--accent-600); }
.card.featured { background: linear-gradient(160deg, var(--primary), var(--primary-700)); color: #eefaf8; border-color: transparent; }
.card.featured h3, .card.featured p { color: #fff; }
.card.featured .ico { background: rgba(255,255,255,.16); color: #fff; }
.card.featured .card-link { color: #fff; }
.card .tag { position: absolute; top: 1rem; right: 1rem; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35em .7em; border-radius: 999px; }

/* Feature/portal tiles (image + overlay) ----------------------------------- */
.portal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.portal {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate;
}
.portal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.portal::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6,23,22,.92), rgba(6,23,22,.25) 60%, rgba(6,23,22,.05)); }
.portal:hover img { transform: scale(1.06); }
.portal-body { padding: 1.6rem; }
.portal-body h3 { color: #fff; font-size: 1.4rem; }
.portal-body p { color: #d9ece9; font-size: .95rem; margin-top: .3rem; }
.portal-body .card-link { color: #fff; display: inline-flex; align-items: center; gap: .35em; margin-top: .8rem; font-weight: 650; }

/* Advantages / steps ------------------------------------------------------- */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; list-style: none; padding: 0; }
.feature-list li { display: flex; flex-direction: column; gap: .5rem; }
.feature-list .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-050); color: var(--accent-600); display: grid; place-items: center; }
.feature-list .ico svg { width: 24px; height: 24px; }
.feature-list h3 { font-size: 1.18rem; }
.feature-list p { color: var(--ink-soft); font-size: .96rem; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; list-style: none; padding: 0; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: relative; }
.step-card::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 1.6rem; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; font-family: var(--serif); font-size: 1.3rem; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.step-card h3 { font-size: 1.16rem; margin: .8rem 0 .4rem; }
.step-card p { color: var(--ink-soft); font-size: .95rem; }

/* Check list --------------------------------------------------------------- */
.check-list { list-style: none; padding: 0; display: grid; gap: .7rem; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; color: var(--ink-soft); }
.check-list li::before { content: ""; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--primary-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7a75' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat; }

/* TL;DR / callout boxes ---------------------------------------------------- */
.tldr { background: var(--bg-mint); border-left: 4px solid var(--primary); padding: 1.1rem 1.3rem; margin: 1.3rem 0; border-radius: 10px; }
.tldr-label { font-weight: 700; letter-spacing: .08em; font-size: .78rem; text-transform: uppercase; color: var(--primary-600); margin-bottom: .5rem; }
.tldr ul { margin: 0; padding-left: 1.2rem; }
.tldr li { color: var(--ink-soft); }
.tldr li strong { color: var(--ink); }
.callout-box { background: var(--primary-050); border: 1px solid var(--primary-100); border-radius: var(--radius-sm); padding: 1.3rem 1.5rem; margin: 1.4rem 0; }
.honest-box { background: var(--accent-050); border: 1px solid #ffd9cd; border-radius: var(--radius-sm); padding: 1.3rem 1.5rem; margin: 1.4rem 0; }
.honest-box strong { color: var(--accent-600); }

/* VS comparison table ------------------------------------------------------ */
.vs-table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .98rem; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.vs-table th, .vs-table td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.vs-table thead th { background: var(--primary); color: #fff; font-family: var(--sans); font-weight: 650; }
.vs-table thead th:first-child { background: var(--primary-700); }
.vs-table tbody td:first-child { font-weight: 650; color: var(--ink); background: var(--bg-soft); }
.vs-table tbody tr:last-child td { border-bottom: 0; }
.vs-table tbody tr:nth-child(even) td:not(:first-child) { background: var(--bg-soft); }

/* Price chips -------------------------------------------------------------- */
.price-note { display: inline-flex; align-items: baseline; gap: .3em; font-family: var(--serif); }
.price-note .from { font-size: .8rem; font-family: var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.price-note .amount { font-size: 1.5rem; color: var(--primary); font-weight: 600; }

/* Testimonials ------------------------------------------------------------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .8rem; }
.review .stars { font-size: 1rem; }
.review p { color: var(--ink-soft); font-size: .98rem; }
.review .who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.review .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(145deg, var(--primary-100), var(--primary)); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; flex: 0 0 auto; }
.review .who strong { display: block; color: var(--ink); font-size: .96rem; }
.review .who span { font-size: .82rem; color: var(--muted); }

/* Team / about ------------------------------------------------------------- */
.team-card { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.team-photo { border-radius: 22px; overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-md); background: var(--bg-mint); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

/* FAQ ---------------------------------------------------------------------- */
.faq-block { max-width: 820px; margin-inline: auto; display: grid; gap: .8rem; }
.faq-block details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.faq-block details[open] { box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.faq-block summary { list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after { content: "+"; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-050); color: var(--primary); font-size: 1.3rem; display: grid; place-items: center; transition: transform .25s ease; }
.faq-block details[open] summary::after { content: "–"; transform: rotate(180deg); }
.faq-block .faq-body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }
.faq-block .faq-body > * + * { margin-top: .8rem; }

/* Zone pills --------------------------------------------------------------- */
.zone-pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .4em; padding: .55em 1em; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--ink-soft); font-size: .92rem; font-weight: 550; }
.section-dark .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #dbeae8; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* CTA bands ---------------------------------------------------------------- */
.cta-final, .cta-band { background: linear-gradient(155deg, var(--primary), var(--primary-700)); color: #eafaf8; border-radius: 26px; padding: clamp(2.2rem, 5vw, 3.6rem); text-align: center; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 85% -10%, rgba(255,106,69,.35), transparent 60%); }
.cta-final > *, .cta-band > * { position: relative; }
.cta-final h2, .cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4.4vw, 2.7rem); }
.cta-final p { color: #cdeae7; margin: .9rem auto 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.8rem; }

/* Breadcrumb --------------------------------------------------------------- */
.breadcrumb { padding-top: 1.3rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; font-size: .88rem; color: var(--muted); }
.breadcrumb li { display: flex; align-items: center; gap: .4rem; }
.breadcrumb li + li::before { content: "›"; color: var(--line-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary-600); }
.breadcrumb [aria-current] { color: var(--ink-soft); }

/* Page hero (compact, interior pages) -------------------------------------- */
.page-hero { padding-block: clamp(2rem, 5vw, 3.4rem) clamp(2.5rem, 5vw, 3.8rem); background: linear-gradient(180deg, var(--bg-mint), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-top: .6rem; max-width: 20ch; }
.page-hero .lead { margin-top: 1rem; max-width: 60ch; }
.page-hero .hero-actions { margin-top: 1.5rem; }

/* Forms -------------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.5rem); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 650; font-size: .92rem; color: var(--ink); }
.field .req { color: var(--accent-600); }
.field input, .field select, .field textarea {
  font: inherit; padding: .8rem .9rem; border: 1.5px solid var(--line-2); border-radius: 12px;
  background: var(--bg-soft); color: var(--ink); width: 100%; transition: border-color .18s ease, background .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.consent input { width: auto; margin-top: 4px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.info-list { list-style: none; padding: 0; display: grid; gap: 1.2rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--primary-050); color: var(--primary); display: grid; place-items: center; }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list strong { display: block; color: var(--ink); }
.info-list a, .info-list span { color: var(--ink-soft); }

/* Blog --------------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.blog-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .22s ease, box-shadow .22s ease; }
.blog-card > a { display: block; color: inherit; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--bg-mint); }
.blog-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.blog-card__category { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-600); background: var(--primary-050); padding: .3em .7em; border-radius: 999px; }
.blog-card__title { font-size: 1.24rem; margin: .7rem 0 .5rem; color: var(--ink); }
.blog-card__excerpt { color: var(--ink-soft); font-size: .96rem; }
.blog-card__meta { display: flex; gap: 1rem; margin-top: 1rem; font-size: .82rem; color: var(--muted); }
.blog-empty { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; color: var(--muted); }
.skeleton { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.skeleton .sk-img { aspect-ratio: 16/9; background: var(--line); }
.skeleton .sk-body { padding: 1.3rem 1.4rem 1.5rem; display: grid; gap: .7rem; }
.skeleton .sk-line { height: 14px; border-radius: 6px; background: var(--line); }
.skeleton .sk-line.short { width: 40%; }
.skeleton .sk-line.title { height: 22px; width: 80%; }
@keyframes skPulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.skeleton .sk-img, .skeleton .sk-line { animation: skPulse 1.4s ease-in-out infinite; }

/* Footer ------------------------------------------------------------------- */
.site-footer { position: relative; background: linear-gradient(180deg, var(--dark), var(--dark-2)); color: #b9cbc9; padding-top: 3.5rem; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-700)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 1rem; font-size: .95rem; color: #93aba8; max-width: 34ch; }
.footer-col h3 { color: #fff; font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer-col a { color: #b9cbc9; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-col .fico { display: inline-flex; align-items: center; gap: .5rem; }
.footer-socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-socials a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #b9cbc9; }
.footer-socials a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.4rem 2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .86rem; color: #8aa4a1; }
.footer-bottom a { color: #8aa4a1; }
.footer-bottom a:hover { color: #fff; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* WhatsApp float ----------------------------------------------------------- */
@keyframes tmPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } }
.tm-whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 999999; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); animation: tmPulse 2s infinite; transition: transform .2s ease; }
.tm-whatsapp-float:hover { transform: scale(1.1); }
.tm-whatsapp-float:focus-visible { outline: 3px solid #25D366; outline-offset: 3px; }
.tm-whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }

/* Cookie bar --------------------------------------------------------------- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 999998; max-width: 640px; margin-inline: auto; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.3rem 1.4rem; transform: translateY(140%); transition: transform .4s cubic-bezier(.4,0,.2,1); }
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.cookie-bar p { font-size: .9rem; color: var(--ink-soft); }
.cookie-bar p a { text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.cookie-actions .btn { padding: .7em 1.2em; font-size: .92rem; }
.cookie-bar .btn-text { background: none; border: 0; color: var(--muted); font-weight: 600; text-decoration: underline; padding: .7em .4em; }

/* Utilities ---------------------------------------------------------------- */
.updated { font-size: .86rem; color: var(--muted); text-align: center; padding-block: 1.5rem; }
.reveal { opacity: 1; }
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
[hidden] { display: none !important; }

@media (min-width: 700px) { .section-cv { content-visibility: auto; contain-intrinsic-size: auto 600px; } }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin-inline: auto; }
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; }
  .team-photo { max-width: 320px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
  .tm-whatsapp-float { animation: none; }
}
