/* =========================================================
   PropIAweb · hoja de estilos única
   Los estilos propios de cada página van acotados con
   [data-estilo~="..."] en la etiqueta <html> de esa página.
   ========================================================= */

/* ===== Página: maqueta sencilla de agentes-ia e indexpack — se activa con <html data-estilo="oferta-simple"> ===== */
:root:where([data-estilo~="oferta-simple"]) {
  --cream: #f7f2e8;
  --ink: #101615;
  --green: #087b5b;
  --orange: #d9693b;
  --line: #d9d3c6;
  --white: #fffdf8
}

:where([data-estilo~="oferta-simple"]) * {
  box-sizing: border-box
}

html:where([data-estilo~="oferta-simple"]) {
  scroll-behavior: smooth
}

:where([data-estilo~="oferta-simple"]) body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55
}

:where([data-estilo~="oferta-simple"]) a {
  color: inherit
}

:where([data-estilo~="oferta-simple"]) .wrap {
  width: min(1160px, calc(100% - 32px));
  margin: auto
}

:where([data-estilo~="oferta-simple"]) .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--line)
}

:where([data-estilo~="oferta-simple"]) .brand {
  font-weight: 800;
  font-size: 24px;
  text-decoration: none
}

:where([data-estilo~="oferta-simple"]) .brand b,
:where([data-estilo~="oferta-simple"]) .eyebrow {
  color: var(--green)
}

:where([data-estilo~="oferta-simple"]) .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--green)
}

:where([data-estilo~="oferta-simple"]) .btn.alt {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink)
}

:where([data-estilo~="oferta-simple"]) .hero {
  padding: 76px 0 64px;
  max-width: 950px
}

:where([data-estilo~="oferta-simple"]) .eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase
}

:where([data-estilo~="oferta-simple"]) h1,
:where([data-estilo~="oferta-simple"]) h2 {
  font-family: Fraunces, Georgia, serif;
  line-height: 1.05;
  margin: .25em 0
}

:where([data-estilo~="oferta-simple"]) .hero h1 {
  font-size: clamp(48px, 7vw, 82px)
}

:where([data-estilo~="oferta-simple"]) .lead {
  font-size: clamp(19px, 2vw, 25px);
  max-width: 800px;
  color: #34403d
}

:where([data-estilo~="oferta-simple"]) .section {
  padding: 68px 0
}

:where([data-estilo~="oferta-simple"]) .section h2 {
  font-size: clamp(36px, 5vw, 58px)
}

:where([data-estilo~="oferta-simple"]) .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px
}

:where([data-estilo~="oferta-simple"]) .card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 27px
}

:where([data-estilo~="oferta-simple"]) .card.dark {
  background: var(--ink);
  color: white
}

:where([data-estilo~="oferta-simple"]) .card strong {
  font-size: 21px
}

:where([data-estilo~="oferta-simple"]) .steps {
  counter-reset: s
}

:where([data-estilo~="oferta-simple"]) .step:before {
  counter-increment: s;
  content: '0' counter(s);
  display: block;
  color: var(--orange);
  font-weight: 800;
  margin-bottom: 14px
}

:where([data-estilo~="oferta-simple"]) .band {
  background: var(--ink);
  color: white;
  border-radius: 22px;
  padding: 40px
}

:where([data-estilo~="oferta-simple"]) .list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  list-style: none
}

:where([data-estilo~="oferta-simple"]) .list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 17px
}

:where([data-estilo~="oferta-simple"]) .faq details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0
}

:where([data-estilo~="oferta-simple"]) .faq summary {
  font-weight: 800;
  cursor: pointer
}

:where([data-estilo~="oferta-simple"]) footer.footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  font-size: 14px
}

:where([data-estilo~="oferta-simple"]) .fine {
  font-size: 13px;
  color: #65706d
}

@media(max-width:820px) {
  :where([data-estilo~="oferta-simple"]) .grid,
  :where([data-estilo~="oferta-simple"]) .list {
    grid-template-columns: 1fr
  }

  :where([data-estilo~="oferta-simple"]) .hero {
    padding-top: 46px
  }

  :where([data-estilo~="oferta-simple"]) .section {
    padding: 50px 0
  }

  :where([data-estilo~="oferta-simple"]) .nav .btn {
    padding: 11px 15px
  }

  :where([data-estilo~="oferta-simple"]) .band {
    padding: 27px
  }
}

/* ===== Página: colores de marca y fondo crema (páginas legales y de servicio) — se activa con <html data-estilo="marca-crema"> ===== */
:root:where([data-estilo~="marca-crema"]) {
  --brand: #087b5b;
  --mint: #e7f2ed;
  --cream: #f7f2e8
}

:where([data-estilo~="marca-crema"]) body {
  background-color: var(--cream)
}

:where([data-estilo~="marca-crema"]) .brand-ia {
  color: var(--brand);
  font-weight: 950;
  letter-spacing: -.04em
}

:where([data-estilo~="marca-crema"]) a:focus-visible,
:where([data-estilo~="marca-crema"]) button:focus-visible {
  outline: 3px solid #d9693b;
  outline-offset: 3px
}

/* ===== Página: arreglos de desbordamiento en móvil — se activa con <html data-estilo="ajuste-movil"> ===== */
html:where([data-estilo~="ajuste-movil"]),
:where([data-estilo~="ajuste-movil"]) body {
  max-width: 100%;
  overflow-x: hidden
}

@media(max-width:850px) {
  :where([data-estilo~="ajuste-movil"]) *,
  :where([data-estilo~="ajuste-movil"]) *::before,
  :where([data-estilo~="ajuste-movil"]) *::after {
    min-width: 0
  }

  :where([data-estilo~="ajuste-movil"]) .container,
  :where([data-estilo~="ajuste-movil"]) .wrap,
  :where([data-estilo~="ajuste-movil"]) main,
  :where([data-estilo~="ajuste-movil"]) section,
  :where([data-estilo~="ajuste-movil"]) article,
  :where([data-estilo~="ajuste-movil"]) header,
  :where([data-estilo~="ajuste-movil"]) footer,
  :where([data-estilo~="ajuste-movil"]) nav,
  :where([data-estilo~="ajuste-movil"]) form {
    max-width: 100%
  }

  :where([data-estilo~="ajuste-movil"]) h1 {
    overflow-wrap: anywhere
  }

  :where([data-estilo~="ajuste-movil"]) table {
    min-width: 0 !important;
    width: 100% !important;
    table-layout: fixed
  }

  :where([data-estilo~="ajuste-movil"]) th,
  :where([data-estilo~="ajuste-movil"]) td {
    min-width: 0 !important;
    overflow-wrap: anywhere
  }

  :where([data-estilo~="ajuste-movil"]) input[type="checkbox"],
  :where([data-estilo~="ajuste-movil"]) input[type="radio"] {
    min-width: 16px !important;
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px
  }

  :where([data-estilo~="ajuste-movil"]) a.sr-only {
    left: 0 !important;
    transform: none !important
  }

  :where([data-estilo~="ajuste-movil"]) img,
  :where([data-estilo~="ajuste-movil"]) svg,
  :where([data-estilo~="ajuste-movil"]) video,
  :where([data-estilo~="ajuste-movil"]) canvas,
  :where([data-estilo~="ajuste-movil"]) iframe {
    max-width: 100%;
    height: auto
  }

  :where([data-estilo~="ajuste-movil"]) header>div,
  :where([data-estilo~="ajuste-movil"]) header.wrap,
  :where([data-estilo~="ajuste-movil"]) .nav {
    flex-wrap: wrap
  }

  :where([data-estilo~="ajuste-movil"]) .button,
  :where([data-estilo~="ajuste-movil"]) a[class*="inline-flex"] {
    max-width: 100%;
    white-space: normal
  }
}

/* ===== Estilos generales ===== */
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/7452ca4a93358909-s.woff2) format("woff2");
  unicode-range: u+0102-0103, u+0110-0111, u+0128-0129, u+0168-0169, u+01a0-01a1, u+01af-01b0, u+0300-0301, u+0303-0304, u+0308-0309, u+0323, u+0329, u+1ea0-1ef9, u+20ab
}

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/e0ecb571b51ea3b5-s.woff2) format("woff2");
  unicode-range: u+0100-02ba, u+02bd-02c5, u+02c7-02cc, u+02ce-02d7, u+02dd-02ff, u+0304, u+0308, u+0329, u+1d00-1dbf, u+1e00-1e9f, u+1ef2-1eff, u+2020, u+20a0-20ab, u+20ad-20c0, u+2113, u+2c60-2c7f, u+a720-a7ff
}

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/6e8c7cb283336a9d-s.p.woff2) format("woff2");
  unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd
}

@font-face {
  font-family: Fraunces Fallback;
  src: local("Times New Roman");
  ascent-override: 84.71%;
  descent-override: 22.09%;
  line-gap-override: 0.00%;
  size-adjust: 115.45%
}

.__className_fdb222 {
  font-family: Fraunces, Fraunces Fallback;
  font-style: normal
}

.__variable_fdb222 {
  --font-fraunces: "Fraunces", "Fraunces Fallback"
}

@font-face {
  font-family: GeistSans;
  src: url(/_next/static/media/e11418ac562b8ac1-s.p.woff2) format("woff2");
  font-display: swap;
  font-weight: 100 900
}

@font-face {
  font-family: GeistSans Fallback;
  src: local("Arial");
  ascent-override: 85.83%;
  descent-override: 20.52%;
  line-gap-override: 9.33%;
  size-adjust: 107.19%
}

.__className_3a0388 {
  font-family: GeistSans, GeistSans Fallback
}

.__variable_3a0388 {
  --font-geist-sans: "GeistSans", "GeistSans Fallback"
}

@font-face {
  font-family: GeistMono;
  src: url(/_next/static/media/66f30814ff6d7cdf.p.woff2) format("woff2");
  font-display: swap;
  font-weight: 100 900
}

.__className_c1e5c9 {
  font-family: GeistMono, ui-monospace, SFMono-Regular, Roboto Mono, Menlo, Monaco, Liberation Mono, DejaVu Sans Mono, Courier New, monospace
}

.__variable_c1e5c9 {
  --font-geist-mono: "GeistMono", ui-monospace, SFMono-Regular, Roboto Mono, Menlo, Monaco, Liberation Mono, DejaVu Sans Mono, Courier New, monospace
}

*,
:after,
:before {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246/0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style:
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246/0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style:
}

/*
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
*/
*,
:after,
:before {
  box-sizing: border-box;
  border: 0 solid #e5e7eb
}

:after,
:before {
  --tw-content: ""
}

:host,
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  font-family: var(--font-sans), system-ui, sans-serif;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent
}

body {
  margin: 0;
  line-height: inherit
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px
}

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit
}

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

b,
strong {
  font-weight: bolder
}

code,
kbd,
pre,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em
}

small {
  font-size: 80%
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline
}

sub {
  bottom: -.25em
}

sup {
  top: -.5em
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0
}

button,
select {
  text-transform: none
}

button,
input:where([type=button]),
input:where([type=reset]),
input:where([type=submit]) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none
}

:-moz-focusring {
  outline: auto
}

:-moz-ui-invalid {
  box-shadow: none
}

progress {
  vertical-align: baseline
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px
}

::-webkit-search-decoration {
  -webkit-appearance: none
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit
}

summary {
  display: list-item
}

blockquote,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
pre {
  margin: 0
}

fieldset {
  margin: 0
}

fieldset,
legend {
  padding: 0
}

menu,
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0
}

dialog {
  padding: 0
}

textarea {
  resize: vertical
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  opacity: 1;
  color: #9ca3af
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af
}

[role=button],
button {
  cursor: pointer
}

:disabled {
  cursor: default
}

audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
  display: block;
  vertical-align: middle
}

img,
video {
  max-width: 100%;
  height: auto
}

[hidden]:where(:not([hidden=until-found])) {
  display: none
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.25rem;
  padding-left: 1.25rem
}

@media (min-width:1200px) {
  .container {
    max-width: 1200px
  }
}

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

.pointer-events-none {
  pointer-events: none
}

.invisible {
  visibility: hidden
}

.fixed {
  position: fixed
}

.absolute {
  position: absolute
}

.relative {
  position: relative
}

.sticky {
  position: sticky
}

.inset-0 {
  inset: 0
}

.-top-3 {
  top: -.75rem
}

.bottom-5 {
  bottom: 1.25rem
}

.left-6 {
  left: 1.5rem
}

.right-5 {
  right: 1.25rem
}

.top-0 {
  top: 0
}

.-z-10 {
  z-index: -10
}

.z-50 {
  z-index: 50
}

.mx-auto {
  margin-left: auto;
  margin-right: auto
}

.-mt-2 {
  margin-top: -.5rem
}

.mb-2 {
  margin-bottom: .5rem
}

.mb-3 {
  margin-bottom: .75rem
}

.mb-4 {
  margin-bottom: 1rem
}

.mt-0\.5 {
  margin-top: .125rem
}

.mt-1 {
  margin-top: .25rem
}

.mt-10 {
  margin-top: 2.5rem
}

.mt-2 {
  margin-top: .5rem
}

.mt-3 {
  margin-top: .75rem
}

.mt-4 {
  margin-top: 1rem
}

.mt-5 {
  margin-top: 1.25rem
}

.mt-6 {
  margin-top: 1.5rem
}

.mt-7 {
  margin-top: 1.75rem
}

.mt-8 {
  margin-top: 2rem
}

.mt-9 {
  margin-top: 2.25rem
}

.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3
}

.inline-block {
  display: inline-block
}

.inline {
  display: inline
}

.flex {
  display: flex
}

.inline-flex {
  display: inline-flex
}

.table {
  display: table
}

.grid {
  display: grid
}

.hidden {
  display: none
}

.h-1\.5 {
  height: .375rem
}

.h-10 {
  height: 2.5rem
}

.h-11 {
  height: 2.75rem
}

.h-12 {
  height: 3rem
}

.h-14 {
  height: 3.5rem
}

.h-16 {
  height: 4rem
}

.h-4 {
  height: 1rem
}

.h-5 {
  height: 1.25rem
}

.h-6 {
  height: 1.5rem
}

.h-7 {
  height: 1.75rem
}

.h-8 {
  height: 2rem
}

.h-9 {
  height: 2.25rem
}

.h-px {
  height: 1px
}

.w-1\.5 {
  width: .375rem
}

.w-10 {
  width: 2.5rem
}

.w-11 {
  width: 2.75rem
}

.w-12 {
  width: 3rem
}

.w-14 {
  width: 3.5rem
}

.w-4 {
  width: 1rem
}

.w-5 {
  width: 1.25rem
}

.w-6 {
  width: 1.5rem
}

.w-7 {
  width: 1.75rem
}

.w-8 {
  width: 2rem
}

.w-9 {
  width: 2.25rem
}

.w-full {
  width: 100%
}

.min-w-\[40rem\] {
  min-width: 40rem
}

.max-w-2xl {
  max-width: 42rem
}

.max-w-3xl {
  max-width: 48rem
}

.max-w-prose {
  max-width: 68ch
}

.max-w-xl {
  max-width: 36rem
}

.max-w-xs {
  max-width: 20rem
}

.flex-1 {
  flex: 1 1 0%
}

.shrink-0 {
  flex-shrink: 0
}

.border-collapse {
  border-collapse: collapse
}

.list-disc {
  list-style-type: disc
}

.flex-col {
  flex-direction: column
}

.flex-wrap {
  flex-wrap: wrap
}

.items-start {
  align-items: flex-start
}

.items-center {
  align-items: center
}

.justify-center {
  justify-content: center
}

.justify-between {
  justify-content: space-between
}

.gap-1 {
  gap: .25rem
}

.gap-10 {
  gap: 2.5rem
}

.gap-2 {
  gap: .5rem
}

.gap-3 {
  gap: .75rem
}

.gap-4 {
  gap: 1rem
}

.gap-5 {
  gap: 1.25rem
}

.gap-6 {
  gap: 1.5rem
}

.gap-7 {
  gap: 1.75rem
}

.gap-x-2 {
  -moz-column-gap: .5rem;
  column-gap: .5rem
}

.gap-y-2 {
  row-gap: .5rem
}

.space-y-2>:not([hidden])~:not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(.5rem * var(--tw-space-y-reverse))
}

.space-y-3>:not([hidden])~:not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(.75rem * var(--tw-space-y-reverse))
}

.space-y-4>:not([hidden])~:not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse))
}

.space-y-5>:not([hidden])~:not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse))
}

.divide-y>:not([hidden])~:not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse))
}

.divide-border>:not([hidden])~:not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: hsl(var(--border)/var(--tw-divide-opacity, 1))
}

.overflow-hidden {
  overflow: hidden
}

.overflow-x-auto {
  overflow-x: auto
}

.rounded-2xl {
  border-radius: calc(var(--radius) + 12px)
}

.rounded-3xl {
  border-radius: 1.5rem
}

.rounded-full {
  border-radius: 9999px
}

.rounded-lg {
  border-radius: var(--radius)
}

.rounded-xl {
  border-radius: calc(var(--radius) + 6px)
}

.border {
  border-width: 1px
}

.border-b {
  border-bottom-width: 1px
}

.border-t {
  border-top-width: 1px
}

.border-accent {
  --tw-border-opacity: 1;
  border-color: hsl(var(--accent)/var(--tw-border-opacity, 1))
}

.border-border {
  --tw-border-opacity: 1;
  border-color: hsl(var(--border)/var(--tw-border-opacity, 1))
}

.bg-\[\#25D366\] {
  --tw-bg-opacity: 1;
  background-color: rgb(37 211 102/var(--tw-bg-opacity, 1))
}

.bg-accent {
  --tw-bg-opacity: 1;
  background-color: hsl(var(--accent)/var(--tw-bg-opacity, 1))
}

.bg-accent\/10 {
  background-color: hsl(var(--accent)/.1)
}

.bg-accent\/50 {
  background-color: hsl(var(--accent)/.5)
}

.bg-bg {
  --tw-bg-opacity: 1;
  background-color: hsl(var(--bg)/var(--tw-bg-opacity, 1))
}

.bg-bg\/60 {
  background-color: hsl(var(--bg)/.6)
}

.bg-bg\/70 {
  background-color: hsl(var(--bg)/.7)
}

.bg-bg\/85 {
  background-color: hsl(var(--bg)/.85)
}

.bg-primary {
  --tw-bg-opacity: 1;
  background-color: hsl(var(--primary)/var(--tw-bg-opacity, 1))
}

.bg-primary\/5 {
  background-color: hsl(var(--primary)/.05)
}

.bg-surface {
  --tw-bg-opacity: 1;
  background-color: hsl(var(--surface)/var(--tw-bg-opacity, 1))
}

.bg-transparent {
  background-color: transparent
}

.bg-\[radial-gradient\(60\%_50\%_at_70\%_0\%\2c hsl\(var\(--accent\)\/0\.08\)\2c transparent_60\%\)\] {
  background-image: radial-gradient(60% 50% at 70% 0, hsl(var(--accent)/.08), transparent 60%)
}

.p-4 {
  padding: 1rem
}

.p-5 {
  padding: 1.25rem
}

.p-6 {
  padding: 1.5rem
}

.p-8 {
  padding: 2rem
}

.px-2 {
  padding-left: .5rem;
  padding-right: .5rem
}

.px-3 {
  padding-left: .75rem;
  padding-right: .75rem
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem
}

.py-1 {
  padding-top: .25rem;
  padding-bottom: .25rem
}

.py-1\.5 {
  padding-top: .375rem;
  padding-bottom: .375rem
}

.py-14 {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem
}

.py-2 {
  padding-top: .5rem;
  padding-bottom: .5rem
}

.py-2\.5 {
  padding-top: .625rem;
  padding-bottom: .625rem
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem
}

.py-3 {
  padding-top: .75rem;
  padding-bottom: .75rem
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem
}

.py-6 {
  padding-top: 1.5rem
}

.pb-6,
.py-6 {
  padding-bottom: 1.5rem
}

.pl-5 {
  padding-left: 1.25rem
}

.pt-2 {
  padding-top: .5rem
}

.text-left {
  text-align: left
}

.text-center {
  text-align: center
}

.align-top {
  vertical-align: top
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem
}

.text-\[2\.05rem\] {
  font-size: 2.05rem
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem
}

.text-sm {
  font-size: .875rem;
  line-height: 1.25rem
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem
}

.text-xs {
  font-size: .75rem;
  line-height: 1rem
}

.font-bold {
  font-weight: 700
}

.font-medium {
  font-weight: 500
}

.font-semibold {
  font-weight: 600
}

.uppercase {
  text-transform: uppercase
}

.capitalize {
  text-transform: capitalize
}

.leading-\[1\.07\] {
  line-height: 1.07
}

.leading-none {
  line-height: 1
}

.leading-relaxed {
  line-height: 1.625
}

.leading-snug {
  line-height: 1.375
}

.leading-tight {
  line-height: 1.25
}

.tracking-tight {
  letter-spacing: -.025em
}

.tracking-wider {
  letter-spacing: .05em
}

.text-accent {
  --tw-text-opacity: 1;
  color: hsl(var(--accent)/var(--tw-text-opacity, 1))
}

.text-accent-fg {
  --tw-text-opacity: 1;
  color: hsl(var(--accent-fg)/var(--tw-text-opacity, 1))
}

.text-border {
  --tw-text-opacity: 1;
  color: hsl(var(--border)/var(--tw-text-opacity, 1))
}

.text-ink {
  --tw-text-opacity: 1;
  color: hsl(var(--ink)/var(--tw-text-opacity, 1))
}

.text-ink\/90 {
  color: hsl(var(--ink)/.9)
}

.text-muted {
  --tw-text-opacity: 1;
  color: hsl(var(--muted)/var(--tw-text-opacity, 1))
}

.text-primary {
  --tw-text-opacity: 1;
  color: hsl(var(--primary)/var(--tw-text-opacity, 1))
}

.text-primary-fg {
  --tw-text-opacity: 1;
  color: hsl(var(--primary-fg)/var(--tw-text-opacity, 1))
}

.text-primary-fg\/80 {
  color: hsl(var(--primary-fg)/.8)
}

.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38/var(--tw-text-opacity, 1))
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255/var(--tw-text-opacity, 1))
}

.underline {
  text-decoration-line: underline
}

.shadow-lift {
  --tw-shadow: 0 12px 40px -16px rgba(16, 24, 40, .25);
  --tw-shadow-colored: 0 12px 40px -16px var(--tw-shadow-color)
}

.shadow-lift,
.shadow-soft {
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.shadow-soft {
  --tw-shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 8px 24px -12px rgba(16, 24, 40, .12);
  --tw-shadow-colored: 0 1px 3px var(--tw-shadow-color), 0 8px 24px -12px var(--tw-shadow-color)
}

.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px
}

.ring-1 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)
}

.ring-accent {
  --tw-ring-opacity: 1;
  --tw-ring-color: hsl(var(--accent)/var(--tw-ring-opacity, 1))
}

.ring-border {
  --tw-ring-opacity: 1;
  --tw-ring-color: hsl(var(--border)/var(--tw-ring-opacity, 1))
}

.ring-primary-fg\/30 {
  --tw-ring-color: hsl(var(--primary-fg)/0.3)
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)
}

.backdrop-blur {
  --tw-backdrop-blur: blur(8px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s
}

.duration-200 {
  transition-duration: .2s
}

:root {
  --bg: 40 44% 97.5%;
  --surface: 38 36% 94.5%;
  --border: 35 22% 87%;
  --ink: 215 28% 11%;
  --muted: 220 10% 38%;
  --primary: 200 30% 12%;
  --primary-fg: 40 44% 97.5%;
  --accent: 14 80% 42%;
  --accent-fg: 40 44% 98%;
  --radius: 14px;
  --font-sans: var(--font-geist-sans), ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: var(--font-fraunces), Georgia, "Times New Roman", serif;
  --font-mono: var(--font-geist-mono), ui-monospace, "SF Mono", monospace
}

* {
  border-color: hsl(var(--border))
}

html {
  scroll-behavior: smooth
}

body {
  background: hsl(var(--bg));
  color: hsl(var(--ink));
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

::-moz-selection {
  background: hsl(var(--accent)/.2)
}

::selection {
  background: hsl(var(--accent)/.2)
}

.h-display {
  font-family: var(--font-display);
  letter-spacing: -.018em;
  font-optical-sizing: auto;
  font-weight: 480
}

.kicker {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500
}

.bg-grid {
  background-image: linear-gradient(hsl(var(--ink)/.035) 1px, transparent 1px), linear-gradient(90deg, hsl(var(--ink)/.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 0, #000 30%, transparent 75%)
}

.bg-glow {
  background: radial-gradient(48% 40% at 78% -5%, hsl(var(--accent)/.16), transparent 60%), radial-gradient(40% 45% at 12% 8%, hsl(var(--primary)/.06), transparent 60%)
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 2px;
  border-radius: 8px
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important
  }

  html {
    scroll-behavior: auto
  }
}

.hover\:-translate-y-0\.5:hover {
  --tw-translate-y: -0.125rem
}

.hover\:-translate-y-0\.5:hover,
.hover\:scale-105:hover {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05
}

.hover\:bg-primary-fg\/10:hover {
  background-color: hsl(var(--primary-fg)/.1)
}

.hover\:bg-surface:hover {
  --tw-bg-opacity: 1;
  background-color: hsl(var(--surface)/var(--tw-bg-opacity, 1))
}

.hover\:text-accent:hover {
  --tw-text-opacity: 1;
  color: hsl(var(--accent)/var(--tw-text-opacity, 1))
}

.hover\:text-ink:hover {
  --tw-text-opacity: 1;
  color: hsl(var(--ink)/var(--tw-text-opacity, 1))
}

.hover\:underline:hover {
  text-decoration-line: underline
}

.hover\:shadow-lift:hover {
  --tw-shadow: 0 12px 40px -16px rgba(16, 24, 40, .25);
  --tw-shadow-colored: 0 12px 40px -16px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.hover\:brightness-105:hover {
  --tw-brightness: brightness(1.05)
}

.hover\:brightness-105:hover,
.hover\:brightness-110:hover {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)
}

.hover\:brightness-110:hover {
  --tw-brightness: brightness(1.1)
}

.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal
}

.focus\:absolute:focus {
  position: absolute
}

.focus\:left-4:focus {
  left: 1rem
}

.focus\:top-4:focus {
  top: 1rem
}

.focus\:z-\[60\]:focus {
  z-index: 60
}

.focus\:rounded:focus {
  border-radius: .25rem
}

.focus\:border-accent:focus {
  --tw-border-opacity: 1;
  border-color: hsl(var(--accent)/var(--tw-border-opacity, 1))
}

.focus\:bg-primary:focus {
  --tw-bg-opacity: 1;
  background-color: hsl(var(--primary)/var(--tw-bg-opacity, 1))
}

.focus\:px-4:focus {
  padding-left: 1rem;
  padding-right: 1rem
}

.focus\:py-2:focus {
  padding-top: .5rem;
  padding-bottom: .5rem
}

.focus\:text-primary-fg:focus {
  --tw-text-opacity: 1;
  color: hsl(var(--primary-fg)/var(--tw-text-opacity, 1))
}

.disabled\:opacity-60:disabled {
  opacity: .6
}

.group:hover .group-hover\:translate-x-0\.5 {
  --tw-translate-x: 0.125rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

@media (min-width:640px) {
  .sm\:col-span-2 {
    grid-column: span 2/span 2
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .sm\:flex-row {
    flex-direction: row
  }

  .sm\:items-center {
    align-items: center
  }

  .sm\:px-16 {
    padding-left: 4rem;
    padding-right: 4rem
  }

  .sm\:py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem
  }

  .sm\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem
  }

  .sm\:py-28 {
    padding-top: 7rem;
    padding-bottom: 7rem
  }

  .sm\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem
  }

  .sm\:text-5xl {
    font-size: 3rem;
    line-height: 1
  }

  .sm\:text-\[2\.6rem\] {
    font-size: 2.6rem
  }

  .sm\:text-\[3\.6rem\] {
    font-size: 3.6rem
  }

  .sm\:text-\[4\.25rem\] {
    font-size: 4.25rem
  }

  .sm\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem
  }

  .sm\:leading-\[1\.04\] {
    line-height: 1.04
  }

  .sm\:leading-\[1\.05\] {
    line-height: 1.05
  }

  .sm\:leading-\[1\.1\] {
    line-height: 1.1
  }
}

@media (min-width:768px) {
  .md\:block {
    display: block
  }

  .md\:flex {
    display: flex
  }

  .md\:hidden {
    display: none
  }
}

@media (min-width:1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr))
  }

  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr))
  }

  .lg\:grid-cols-\[1\.2fr_1fr\] {
    grid-template-columns: 1.2fr 1fr
  }

  .lg\:grid-cols-\[1fr_1\.2fr\] {
    grid-template-columns: 1fr 1.2fr
  }

  .lg\:flex-row {
    flex-direction: row
  }

  .lg\:items-center {
    align-items: center
  }

  .lg\:justify-between {
    justify-content: space-between
  }
}

/* Mejoras añadidas para la versión editable en HTML/CSS/JS. */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none
}

@media (prefers-reduced-motion:reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none
  }
}

/* Source of truth: the visual design of /packs/. Shared tokens, scoped by layout family. */
:root {
  --pw-cream: #f7f2e8;
  --pw-ink: #101615;
  --pw-green: #087b5b;
  --pw-orange: #d9693b;
  --pw-line: #d9d3c6;
  --pw-white: #fffdf8;
  --pw-muted: #34403d;
  --pw-yellow: #f4c85a
}

html[data-design] {
  scroll-behavior: smooth
}

html[data-design] * {
  box-sizing: border-box
}

html[data-design] a:focus-visible,
html[data-design] button:focus-visible,
html[data-design] input:focus-visible,
html[data-design] textarea:focus-visible,
html[data-design] select:focus-visible {
  outline: 3px solid var(--pw-orange);
  outline-offset: 3px
}

html[data-design] img,
html[data-design] video {
  max-width: 100%
}

/* The source layout already uses Fraunces/Inter; preserve its spacing and structure. */
html[data-design="offer"] .brand {
  letter-spacing: -.035em
}

/* Legacy Next/Tailwind pages: keep their content and responsive layout, unify tokens/type/actions. */
html[data-design="corporate"] {
  --bg: 40 48% 94%;
  --surface: 43 100% 99%;
  --border: 41 20% 81%;
  --ink: 170 16% 7%;
  --muted: 165 10% 23%;
  --primary: 163 88% 26%;
  --primary-fg: 0 0% 100%;
  --accent: 163 88% 26%;
  --accent-fg: 0 0% 100%;
  --font-sans: Inter, Arial, sans-serif;
  --font-display: Fraunces, Georgia, serif;
  --radius: 18px;
  --brand: var(--pw-green);
  --mint: var(--pw-white);
  --cream: var(--pw-cream)
}

html[data-design="corporate"] body {
  background: var(--pw-cream);
  color: var(--pw-ink);
  font-family: Inter, Arial, sans-serif
}

html[data-design="corporate"] .h-display,
html[data-design="corporate"] h1,
html[data-design="corporate"] h2 {
  font-family: Fraunces, Georgia, serif
}

html[data-design="corporate"] header .brand-ia,
html[data-design="corporate"] .brand-ia {
  color: var(--pw-green)
}

html[data-design="corporate"] header {
  border-color: var(--pw-line)
}

html[data-design="corporate"] :is(.bg-accent, .bg-primary) {
  background-color: var(--pw-green)
}

html[data-design="corporate"] :is(.bg-accent, .bg-primary):hover {
  filter: brightness(.94)
}

html[data-design="corporate"] :is(.text-accent, .text-primary) {
  color: var(--pw-green)
}

html[data-design="corporate"] :is(.border-accent, .border-primary) {
  border-color: var(--pw-green)
}

html[data-design="corporate"] :is(.bg-surface, .bg-bg\/60, .bg-bg\/70) {
  background-color: var(--pw-white)
}

html[data-design="corporate"] :is(a.inline-flex, button.inline-flex) {
  border-radius: 999px
}

html[data-design="corporate"] .text-muted {
  color: var(--pw-muted)
}

/* Audit funnel: replace its isolated mint/forest palette without touching form logic. */
html[data-design="audit"] {
  --cream: var(--pw-cream);
  --paper: var(--pw-white);
  --ink: var(--pw-ink);
  --muted: var(--pw-muted);
  --orange: var(--pw-orange);
  --orange-dark: #bd542d;
  --mint: var(--pw-white);
  --line: var(--pw-line)
}

html[data-design="audit"] body {
  background-color: var(--pw-cream);
  background-image: none;
  color: var(--pw-ink);
  font-family: Inter, Arial, sans-serif
}

html[data-design="audit"] :is(h1, h2, h3) {
  font-family: Fraunces, Georgia, serif
}

html[data-design="audit"] .logo b {
  color: var(--pw-green)
}

html[data-design="audit"] .btn {
  background: var(--pw-green);
  color: #fff;
  border-radius: 999px
}

html[data-design="audit"] .nav {
  border-color: var(--pw-line)
}

/* Dedicated diagnostic and dossier: visual changes only. No scoring, pricing or form edits. */
html[data-design="diagnostic"] {
  --ink: var(--pw-ink);
  --muted: var(--pw-muted);
  --soft: #65706d;
  --paper: var(--pw-cream);
  --panel: var(--pw-white);
  --panel-strong: var(--pw-white);
  --line: var(--pw-line);
  --line-strong: var(--pw-line);
  --green: var(--pw-green);
  --green-strong: #066b50;
  --mint: #e7f2ed;
  --blue: var(--pw-ink);
  --blue-soft: #ebe6dc;
  --yellow: var(--pw-yellow);
  --coral: var(--pw-orange)
}

html[data-design="diagnostic"] body {
  background: var(--pw-cream);
  color: var(--pw-ink);
  font-family: Inter, Arial, sans-serif
}

html[data-design="diagnostic"] body.panel-body {
  background: var(--pw-cream)
}

html[data-design="diagnostic"] .site-header {
  background: rgba(247, 242, 232, .96);
  border-color: var(--pw-line)
}

html[data-design="diagnostic"] :is(h1, h2, h3) {
  font-family: Fraunces, Georgia, serif
}

html[data-design="diagnostic"] .brand .dot {
  color: var(--pw-green)
}

html[data-design="diagnostic"] :is(.btn, .card, .panel) {
  border-radius: 18px
}

html[data-design="diagnostic"] .btn.primary {
  border-radius: 999px;
  background: var(--pw-green);
  color: white
}

/* Small confirmation pages are still pages, not a fourth colour system. */
html[data-design="confirmation"] body {
  background: var(--pw-cream);
  color: var(--pw-ink);
  font-family: Inter, Arial, sans-serif
}

html[data-design="confirmation"] .card {
  background: var(--pw-white);
  border: 1px solid var(--pw-line);
  border-radius: 20px;
  box-shadow: 10px 10px 0 var(--pw-ink);
  width: min(650px, calc(100% - 32px));
  padding: clamp(24px, 5vw, 50px)
}

html[data-design="confirmation"] h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(34px, 6vw, 48px)
}

html[data-design="confirmation"] a {
  color: var(--pw-green)
}

/* The diagnostic originally separated the wordmark into flex items. It is one word. */
html[data-design="diagnostic"] .brand {
  gap: 0;
  white-space: nowrap
}

html[data-design="diagnostic"] .brand small {
  margin-left: 10px;
  white-space: normal
}

/* Honest presentation panel in place of the outdated Pitchableme video. */
html[data-design="diagnostic"] .pw-preview {
  min-height: 300px;
  background: var(--pw-ink);
  color: var(--pw-white);
  padding: clamp(24px, 5vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px
}

html[data-design="diagnostic"] .pw-preview-label {
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: .13em;
  color: var(--pw-yellow)
}

html[data-design="diagnostic"] .pw-preview h2 {
  font-size: clamp(30px, 4vw, 47px);
  line-height: 1.08;
  margin: 0;
  color: var(--pw-white)
}

html[data-design="diagnostic"] .pw-preview p {
  margin: 0;
  max-width: 36ch;
  color: #d9dedb
}

html[data-design="diagnostic"] .pw-preview-action {
  display: inline-block;
  background: var(--pw-green);
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none
}

/* add-assets: video */
html[data-design="diagnostic"] .pw-video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #101615;
  border-radius: 0
}

html[data-design="diagnostic"] .video-block {
  overflow: hidden
}

/* ===== 2026-09-28 unification: one chrome, one type scale, one footer ===== */
/* Type scale: Fraunces display everywhere (reference: /auditoria/ display weight). */
html[data-design] h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.04;
  font-size: clamp(2.5rem, 5.4vw, 4.25rem)
}

html[data-design] h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem)
}

html[data-design] h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700
}

/* Header */
html[data-design] .pw-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 242, 232, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pw-line)
}

html[data-design] .pw-header-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

html[data-design] .pw-logo {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.03em;
  color: var(--pw-ink);
  text-decoration: none;
  white-space: nowrap
}

html[data-design] .pw-logo-ia {
  color: var(--pw-green)
}

html[data-design] .pw-nav {
  display: flex;
  align-items: center;
  gap: 26px
}

html[data-design] .pw-nav a {
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--pw-muted);
  text-decoration: none;
  transition: color .15s
}

html[data-design] .pw-nav a:hover {
  color: var(--pw-ink)
}

html[data-design] .pw-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--pw-green);
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: filter .15s
}

html[data-design] .pw-cta:hover {
  filter: brightness(.94)
}

html[data-design] .pw-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--pw-line);
  border-radius: 10px;
  background: transparent;
  color: var(--pw-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer
}

html[data-design] .pw-mobile-nav {
  display: none
}

@media(max-width:960px) {

  html[data-design] .pw-nav,
  html[data-design] .pw-cta {
    display: none
  }

  html[data-design] .pw-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center
  }

  html[data-design] .pw-mobile-nav {
    display: block;
    border-top: 1px solid var(--pw-line);
    background: var(--pw-cream);
    padding: 10px 20px 18px;
    box-shadow: 0 16px 28px rgba(16, 22, 21, .08)
  }

  html[data-design] .pw-mobile-nav[hidden] {
    display: none
  }

  html[data-design] .pw-mobile-nav a {
    display: block;
    padding: 11px 4px;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--pw-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--pw-line)
  }

  html[data-design] .pw-mobile-nav a.pw-mobile-cta {
    display: inline-flex;
    margin-top: 12px;
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    background: var(--pw-green);
    color: #fff;
    font-weight: 700
  }
}

/* Footer */
html[data-design] .pw-footer {
  border-top: 1px solid var(--pw-line);
  background: var(--pw-white);
  font-family: Inter, Arial, sans-serif
}

html[data-design] .pw-footer-grid {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 36px;
  padding: 52px 0;
  grid-template-columns: 1fr
}

@media(min-width:700px) {
  html[data-design] .pw-footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(min-width:1024px) {
  html[data-design] .pw-footer-grid {
    grid-template-columns: 1fr 1.3fr 0.9fr 1fr;
    gap: 36px;
  }
}

html[data-design] .pw-footer-logo {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: 21px;
  margin: 0;
  color: var(--pw-ink)
}

html[data-design] .pw-footer-blurb {
  margin: 12px 0 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pw-muted)
}

html[data-design] .pw-footer-addr {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pw-muted)
}

html[data-design] .pw-footer-h {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--pw-ink)
}

html[data-design] .pw-footer-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px
}

html[data-design] .pw-footer-list a {
  font-size: 14px;
  color: var(--pw-muted);
  text-decoration: none
}

html[data-design] .pw-footer-list a:hover {
  color: var(--pw-ink)
}

html[data-design] .pw-footer-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--pw-muted)
}

html[data-design] .pw-footer-bar {
  border-top: 1px solid var(--pw-line);
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 12px;
  color: var(--pw-muted)
}

html[data-design] .pw-footer-bar p {
  margin: 0
}

html[data-design] .pw-footer-legal {
  display: flex;
  gap: 16px
}

html[data-design] .pw-footer-legal a {
  color: var(--pw-muted);
  text-decoration: none
}

html[data-design] .pw-footer-legal a:hover {
  color: var(--pw-ink)
}

/* Home band (replaces the old mint inline island) */
html[data-design] .pw-band {
  background: var(--pw-ink);
  color: var(--pw-cream);
  text-align: center;
  padding: clamp(44px, 7vw, 64px) 24px
}

html[data-design] .pw-band-inner {
  max-width: 880px;
  margin: 0 auto
}

html[data-design] .pw-band-eyebrow {
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  color: var(--pw-yellow);
  margin: 0
}

html[data-design] .pw-band-title {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 52px);
  letter-spacing: -.04em;
  line-height: 1.06;
  margin: 14px 0;
  color: var(--pw-cream)
}

html[data-design] .pw-band-text {
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: #d9dedb;
  margin: 0 auto;
  max-width: 60ch
}

html[data-design] .pw-band-btn {
  display: inline-block;
  background: var(--pw-green);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
  margin-top: 20px
}

html[data-design] .pw-band-btn:hover {
  filter: brightness(.94)
}

/* 2026-09-28: button contrast, brand accents and ordered process */
html[data-design="corporate"] .pw-cta-band a.pw-band-primary {
  background: var(--pw-white);
  color: var(--pw-green);
  border: 1.5px solid var(--pw-white);
  box-shadow: 0 4px 16px rgba(16, 22, 21, .12);
  font-weight: 700;
  min-height: 48px
}

html[data-design="corporate"] .pw-cta-band a.pw-band-secondary {
  background: transparent;
  color: var(--pw-white);
  border: 1.5px solid var(--pw-white);
  box-shadow: none;
  font-weight: 700;
  min-height: 48px
}

html[data-design="corporate"] .pw-cta-band a.pw-band-primary:hover {
  background: var(--pw-cream)
}

html[data-design="corporate"] .pw-cta-band a.pw-band-secondary:hover {
  background: rgba(255, 255, 255, .12)
}

html[data-design="offer"] .steps {
  counter-reset: s
}

html[data-design="offer"] .step:before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  color: var(--pw-orange)
}

html[data-design] .pw-band-eyebrow {
  color: var(--pw-orange)
}

html[data-design="diagnostic"] .pw-preview-label {
  color: var(--pw-orange)
}

@media(max-width:600px) {

  html[data-design="corporate"] .pw-cta-band a.pw-band-primary,
  html[data-design="corporate"] .pw-cta-band a.pw-band-secondary {
    width: 100%;
    max-width: 350px
  }
}

/* Hoja de estilos principal editable de PropIAweb.
   Los estilos base originales se mantienen en styles.css para conservar
   la réplica visual y aquí puedes añadir tus personalizaciones. */
@import url("./styles.css");

:root {
  --mi-verde: #087b5b;
  --mi-gris: #4a4c4e;
  --mi-tinta: #101615;
  --mi-naranja: #d9693b;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--mi-gris);
  color: var(--mi-tinta);
}

.pw-cta,
.pw-band-btn {
  background: var(--mi-verde);
  transition: transform 180ms ease, filter 180ms ease;
}

.pw-cta:hover,
.pw-band-btn:hover {
  filter: brightness(0.94);
  transform: translateY(-2px);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}


/* Estilos trasladados desde index.html para mantener HTML y CSS separados. */
:root {
  --brand: #087b5b;
  --mint: #e7f2ed;
  --cream: #f7f2e8
}

body {
  background-color: var(--cream)
}

.brand-ia {
  color: var(--brand);
  font-weight: 950;
  letter-spacing: -.04em
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #d9693b;
  outline-offset: 3px
}

html {
  max-width: 100%;
  overflow-x: clip;
}

body {
  max-width: 100%;
}

@media(max-width:850px) {

  *,
  *::before,
  *::after {
    min-width: 0
  }

  .container,
  .wrap,
  main,
  section,
  article,
  header,
  footer,
  nav,
  form {
    max-width: 100%
  }

  h1 {
    overflow-wrap: anywhere
  }

  table {
    min-width: 0 !important;
    width: 100% !important;
    table-layout: fixed
  }

  th,
  td {
    min-width: 0 !important;
    overflow-wrap: anywhere
  }

  input[type="checkbox"],
  input[type="radio"] {
    min-width: 16px !important;
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px
  }

  a.sr-only {
    left: 0 !important;
    transform: none !important
  }

  img,
  svg,
  video,
  canvas,
  iframe {
    max-width: 100%;
    height: auto
  }

  header>div,
  header.wrap,
  .nav {
    flex-wrap: wrap
  }

  .button,
  a[class*="inline-flex"] {
    max-width: 100%;
    white-space: normal
  }
}

@media(max-width:600px) {
  .comparison-table {
    display: block !important;
    width: 100% !important;
    table-layout: auto !important;
    border-collapse: separate !important
  }

  .comparison-table thead {
    display: none
  }

  .comparison-table tbody {
    display: grid;
    gap: 12px;
    padding: 12px
  }

  .comparison-table tbody tr {
    display: block;
    background: #fffdf9;
    border: 1px solid #dcd6c8;
    border-radius: 16px;
    overflow: hidden
  }

  .comparison-table tbody td {
    display: block !important;
    padding: 12px 16px !important;
    overflow-wrap: normal !important;
    word-break: normal !important
  }

  .comparison-table tbody td:first-child {
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 1px solid #e5ded2
  }

  .comparison-table tbody td:nth-child(2),
  .comparison-table tbody td:nth-child(3) {
    border-top: 0
  }

  .comparison-table tbody td:nth-child(2)::before,
  .comparison-table tbody td:nth-child(3)::before {
    display: block;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-weight: 700;
    margin-bottom: 6px
  }

  .comparison-table tbody td:nth-child(2)::before {
    content: "Consultoría tradicional";
    color: #66736e
  }

  .comparison-table tbody td:nth-child(3) {
    background: #e7f2ed;
    color: #18211e
  }

  .comparison-table tbody td:nth-child(3)::before {
    content: "PropIAweb";
    color: #087b5b
  }

  .comparison-table tbody td:nth-child(3) span.flex {
    display: flex;
    align-items: flex-start
  }

  .comparison-table tbody td:nth-child(3) svg {
    min-width: 16px;
    height: 16px
  }
}

.casos-cta {
  border: 1px solid transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.casos-cta {
  color: #ffffff !important;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.casos-cta:hover,
.casos-cta:focus-visible {
  background-color: #ffffff !important;
  color: #0b7a5a !important;
  -webkit-text-fill-color: #0b7a5a !important;
  border-color: #ffffff !important;
  transform: translateY(-1px);
}



.problem-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
    margin-top: 2.5rem;
    padding: 0;
    list-style: none;
}

.problem-card {
    align-self: start;
    height: fit-content;
    padding: 14px 16px;
    border: 1px solid hsl(var(--border));
    border-radius: 18px;
    background: hsl(var(--bg));
    color: hsl(var(--muted));
    font-size: 0.9rem;
    line-height: 1.4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1024px) {
    .problem-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .problem-list {
        grid-template-columns: 1fr;
    }
}



/* ==========================================
   HOVER PARA LAS 4 TARJETAS DE LA PÁGINA DE CASOS
   ========================================== */

#casos article {
    transition: transform 250ms ease, box-shadow 250ms ease;
}

#casos article:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Desactivar el movimiento si el usuario lo prefiere reducido */
@media (prefers-reduced-motion: reduce) {
    #casos article {
        transition: none;
    }

    #casos article:hover {
        transform: none;
    }
}


#tarjeta-lo-que-no-haremos {
    background-color: #111A16;
    border-color: #111A16;
}

#tarjeta-lo-que-no-haremos .kicker {
    color: #F08A5D;
}

#tarjeta-lo-que-no-haremos h2 {
    color: #FCFBF5;
}

#tarjeta-lo-que-no-haremos > p:not(.kicker) {
    color: #E5E7E4;
}

#tarjeta-lo-que-no-haremos a {
    background-color: #0B7A5A;
    color: #FCFBF5;
}


#proyectos-home {
    list-style: none;
    padding: 0;
}

#proyectos-home li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(17, 26, 22, 0.12);
    border-radius: 999px;
    background: #FCFBF5;
    color: #111A16;
    font-weight: 600;
}

#proyectos-home li::before {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    flex: 0 0 0.4rem;
    border-radius: 50%;
    background: #0B7A5A;
}

#proyectos-home.is-animated li {
    opacity: 0;
    animation: proyecto-aparece 450ms ease-out both;
    animation-delay: calc(var(--item-index) * 140ms);
}

@keyframes proyecto-aparece {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    #proyectos-home.is-animated li {
        animation: none;
        opacity: 1;
        transform: none;
    }
}


html[data-design] .pw-footer {
    background: #111A16 !important;
    color: #FCFBF5 !important;
    border-top: 1px solid rgba(252, 251, 245, .18);
}

html[data-design] .pw-footer-logo {
    color: #FCFBF5 !important;
    font-size: 28px;
}

html[data-design] .pw-footer-blurb,
html[data-design] .pw-footer-note {
    color: rgba(252, 251, 245, .72) !important;
}

html[data-design] .pw-footer-h {
    color: #D9E6DF !important;
    font-family: GeistMono, monospace;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

html[data-design] .pw-footer-list a {
    color: rgba(252, 251, 245, .78) !important;
}

html[data-design] .pw-footer-list a:hover {
    color: #0B7A5A !important;
}

html[data-design] .pw-footer-bar {
    border-top-color: rgba(252, 251, 245, .2) !important;
    color: rgba(252, 251, 245, .58) !important;
}

html[data-design] .pw-footer-bar p,
html[data-design] .pw-footer-legal a {
    color: rgba(252, 251, 245, .58) !important;
}

html[data-design] .pw-footer-legal a:hover {
    color: #0B7A5A !important;
}

html[data-design] .pw-logo-ia {
    color: #0B7A5A !important;
}



/* Ribbon vertical del hero: rellena el hueco de la derecha */
.pw-ribbon {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 52%;
    z-index: -10;
    pointer-events: none;
    background-image: url("../ribbon/ribbon-vertical-transparente.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: right center;
}
@media (max-width: 1023px) {
    .pw-ribbon {
        width: 70%;
        transform: translateX(35%); /* lo empuja al borde para no pisar el texto */
        opacity: .3; /* más suave para no competir con el texto */
    }
}





/* Sección imagen + texto en dos columnas */
.pw-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
.pw-split-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 1.5rem;
}
.pw-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (min-width: 1024px) {
    .pw-split {
        grid-template-columns: 1fr 1fr; /* imagen izquierda, texto derecha */
        gap: 3rem;
    }
    .pw-split-img {
        aspect-ratio: 3 / 2; /* más baja: menos hueco vacío junto al texto */
    }
}




/* Dos bloques lado a lado */
.pw-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 1024px) {
    .pw-two-col {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        align-items: stretch; /* las dos tarjetas con la misma altura */
    }
}




/* Botón sobre bloque verde: relieve en reposo, blanco al pasar el ratón */
.pw-btn-light {
    background: #0B7A5A;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow:
        0 6px 14px rgba(0, 0, 0, .28),              /* sombra proyectada */
        inset 0 1px 0 rgba(255, 255, 255, .30),     /* brillo en el borde superior */
        inset 0 -2px 0 rgba(0, 0, 0, .18);          /* borde inferior más oscuro */
    transition: background-color .2s ease, color .2s ease,
                transform .2s ease, box-shadow .2s ease;
}
.pw-btn-light:hover,
.pw-btn-light:focus-visible {
    background: #fff;
    color: #075E46;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .32);
}
.pw-btn-light:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .28);
}




/* Ribbon de esquina: anula el vertical en esta página */
.pw-ribbon.pw-ribbon--corner {
    top: auto;
    bottom: 0;
    right: 0;
    left: auto;
    width: 58%;
    aspect-ratio: 1 / 1;
    transform: translateY(34%);
    opacity: 1;
    background: url("../ribbon/ribbon-esquina-transparente.png") no-repeat right bottom / 100% 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%);
    mask-image: linear-gradient(to right, transparent 0, #000 30%);
}
@media (max-width: 1023px) {
    .pw-ribbon.pw-ribbon--corner {
        width: 100%;
        transform: translateY(40%);
        opacity: .3;
    }
}





/* Ribbon horizontal entre el hero y el formulario */
.pw-ribbon-divider {
    position: relative;
    height: 0;
    z-index: 1;
    pointer-events: none;
}
.pw-ribbon-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: clamp(130px, 12vw, 220px);
    transform: translateY(-38%);   /* parte sube al hero y parte baja al formulario */
    background: url("../ribbon/ribbon-completa-transparente.png") no-repeat center 60.6% / 100% 230%;
}
@media (max-width: 767px) {
    .pw-ribbon-divider::before {
        height: 100px;
        transform: translateY(-45%);
    }
}



/* Diagnóstico: texto + dos bloques arriba, formulario centrado debajo */
.pw-diag-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}
.pw-diag-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
.pw-diag-form {
    max-width: 48rem;
    margin: 3rem auto 0;
}
@media (min-width: 640px) {
    .pw-diag-cards {
        grid-template-columns: 1fr 1fr;   /* Qué incluye | Contacto */
    }
}
@media (min-width: 1024px) {
    .pw-diag-top {
        grid-template-columns: 0.9fr 1.1fr;   /* texto | bloques */
        gap: 4rem;
    }
    .pw-diag-form {
        margin-top: 4rem;
    }
}



/* Cómo trabajamos: 2 tarjetas arriba y 3 abajo */
.pw-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem 1.25rem;   /* más espacio vertical para los números que sobresalen */
}
@media (min-width: 640px) {
    .pw-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .pw-steps > article:last-child {
        grid-column: span 2;   /* la quinta ocupa todo el ancho y no queda sola */
    }
}
@media (min-width: 1024px) {
    .pw-steps {
        grid-template-columns: repeat(6, 1fr);
    }
    .pw-steps > article {
        grid-column: span 2;           /* fila de abajo: 3 tarjetas */
    }
    .pw-steps > article:nth-child(-n+2) {
        grid-column: span 3;           /* fila de arriba: 2 tarjetas más anchas */
    }
}



/* Hero con texto a la izquierda e imagen a la derecha */
.pw-hero-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}
.pw-hero-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 1.5rem;
}
.pw-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45% center;   /* mantiene la calculadora y la mano en el encuadre */
    display: block;
}
@media (min-width: 1024px) {
    .pw-hero-split {
        grid-template-columns: 1.35fr 1fr;
        gap: 4rem;
    }
    .pw-hero-img {
        aspect-ratio: 1 / 1;
        max-width: 640px;
        justify-self: end;   /* pegada al borde derecho del contenedor */
    }
}



.hero-casos-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.hero-casos-image {
    width: min(100%, 420px);
    height: auto;
    justify-self: center;
}

@media (min-width: 768px) {
    .hero-casos-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    }

    .hero-casos-image {
        justify-self: end;
    }
}

.case-cards {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(200px, 1fr);
    gap: 1.25rem;
    overflow-x: auto;
}

.case-card {
    min-width: 0;
}




.hero-metodo{display:grid;gap:2.5rem;align-items:center}
.hero-metodo__media{margin:0;position:relative}
.hero-metodo__media img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;
  object-position:35% center;border-radius:1.5rem;box-shadow:0 18px 50px -20px rgba(20,35,28,.35)}
@media (min-width:1024px){
  .hero-metodo{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:3.5rem}
    .hero-metodo__media img{aspect-ratio:1/1}
}







/* Footer: dar más espacio a Servicios y desplazar Navegación */
.pw-footer {
    grid-template-columns: 1.4fr 1.2fr 0.8fr 1fr;
}

.pw-footer > div:nth-child(2) {
    min-width: 350px;
}

.pw-footer-list a {
    white-space: nowrap;
}

/* ===== Página: cinta decorativa del bloque final (pedir diagnóstico) — se activa con <html data-estilo="cinta-cta"> ===== */
/* ===== Cinta del bloque final (pedir diagnóstico) ===== */

:root:where([data-estilo~="cinta-cta"]) {
  --rb-comp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 1080'%3E%3Cpath d='M-50 760 C300 380 560 1060 900 700 S1500 300 1990 640' fill='none' stroke='%23000' stroke-width='30' stroke-linecap='round'/%3E%3C/svg%3E");
}

:where([data-estilo~="cinta-cta"]) .pw-rb {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-color: hsl(var(--accent))
}

:where([data-estilo~="cinta-cta"]) .pw-cta-band {
  position: relative
}

:where([data-estilo~="cinta-cta"]) .pw-cta-band>*:not(.pw-rb) {
  position: relative;
  z-index: 1
}

:where([data-estilo~="cinta-cta"]) .pw-rb-cta {
  inset: 0;
  background-color: hsl(var(--primary-fg));
  opacity: .16;
  -webkit-mask: var(--rb-comp) center/cover no-repeat;
  mask: var(--rb-comp) center/cover no-repeat
}

/* ===== Página: portada (index.html) — se activa con <html data-estilo="home"> ===== */
/* ===== Cintas PropIAweb ===== */

:root:where([data-estilo~="home"]) {
  --rb-esq: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 1200'%3E%3Cpath d='M-30 900 C300 300 800 1200 1230 380' fill='none' stroke='%23000' stroke-width='26' stroke-linecap='round'/%3E%3C/svg%3E");
  --rb-div: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 375 1920 470'%3E%3Cpath d='M-50 760 C300 380 560 1060 900 700 S1500 300 1990 640' fill='none' stroke='%23000' stroke-width='30' stroke-linecap='round'/%3E%3C/svg%3E");
  --rb-vert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1080 1920'%3E%3Cpath d='M380 -40 C100 560 940 840 700 1960' fill='none' stroke='%23000' stroke-width='28' stroke-linecap='round'/%3E%3C/svg%3E");
  --rb-comp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 1080'%3E%3Cpath d='M-50 760 C300 380 560 1060 900 700 S1500 300 1990 640' fill='none' stroke='%23000' stroke-width='30' stroke-linecap='round'/%3E%3C/svg%3E");
}

:where([data-estilo~="home"]) .bg-grid {
  display: none
}

:where([data-estilo~="home"]) .pw-rb {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-color: hsl(var(--accent))
}

:where([data-estilo~="home"]) .pw-has-rb {
  position: relative;
  overflow: hidden
}

:where([data-estilo~="home"]) .pw-has-rb>.container {
  position: relative;
  z-index: 1
}

:where([data-estilo~="home"]) .pw-rb-hero {
  right: -120px;
  bottom: -110px;
  width: min(720px, 110vw);
  aspect-ratio: 1;
  -webkit-mask: var(--rb-esq) center/contain no-repeat;
  mask: var(--rb-esq) center/contain no-repeat
}

:where([data-estilo~="home"]) .pw-rb-div {
  --gap: 128px;
  position: relative;
  z-index: 0;
  pointer-events: none;
  width: min(100%, 1440px);
  aspect-ratio: 1920/470;
  margin: calc((var(--gap) - min(24.5vw, 353px))/2) auto;
  background-color: hsl(var(--accent));
  -webkit-mask-image: var(--rb-div), linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: var(--rb-div), linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-composite: source-in;
  mask-composite: intersect
}

@media(min-width:640px) {
  :where([data-estilo~="home"]) .pw-rb-div {
    --gap: 192px
  }
}

:where([data-estilo~="home"]) .pw-rb-vert {
  top: 0;
  bottom: 0;
  right: max(20px, calc(50% - 580px));
  aspect-ratio: 9/16;
  -webkit-mask: var(--rb-vert) right center/contain no-repeat;
  mask: var(--rb-vert) right center/contain no-repeat
}

@media(max-width:900px) {
  :where([data-estilo~="home"]) .pw-rb-vert {
    display: none
  }
}

:where([data-estilo~="home"]) .pw-cta-band {
  position: relative
}

:where([data-estilo~="home"]) .pw-cta-band>*:not(.pw-rb) {
  position: relative;
  z-index: 1
}

:where([data-estilo~="home"]) .pw-rb-cta {
  inset: 0;
  background-color: hsl(var(--primary-fg));
  opacity: .16;
  -webkit-mask: var(--rb-comp) center/cover no-repeat;
  mask: var(--rb-comp) center/cover no-repeat
}

/* ===== Cintas PropIAweb ===== */

:root:where([data-estilo~="home"]) {
  --rb-esq: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 1200'%3E%3Cpath d='M-30 900 C300 300 800 1200 1230 380' fill='none' stroke='%23000' stroke-width='26' stroke-linecap='round'/%3E%3C/svg%3E");
  --rb-div: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 375 1920 470'%3E%3Cpath d='M-50 760 C300 380 560 1060 900 700 S1500 300 1990 640' fill='none' stroke='%23000' stroke-width='30' stroke-linecap='round'/%3E%3C/svg%3E");
  --rb-vert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1080 1920'%3E%3Cpath d='M380 -40 C100 560 940 840 700 1960' fill='none' stroke='%23000' stroke-width='28' stroke-linecap='round'/%3E%3C/svg%3E");
  --rb-comp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 1080'%3E%3Cpath d='M-50 760 C300 380 560 1060 900 700 S1500 300 1990 640' fill='none' stroke='%23000' stroke-width='30' stroke-linecap='round'/%3E%3C/svg%3E");
  --rb-hero-long: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-720 0 1920 1200'%3E%3Cpath d='M-700 1075 C-650 1020 -620 990 -560 992 C-480 995 -430 1034 -360 1034 C-260 1034 -110 1030 -30 900 C300 300 800 1200 1230 380' fill='none' stroke='%23000' stroke-width='26' stroke-linecap='round'/%3E%3C/svg%3E");
}

:where([data-estilo~="home"]) .bg-grid {
  display: none
}

:where([data-estilo~="home"]) .pw-rb {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-color: hsl(var(--accent))
}

:where([data-estilo~="home"]) .pw-has-rb {
  position: relative;
  overflow: hidden
}

:where([data-estilo~="home"]) .pw-has-rb>.container {
  position: relative;
  z-index: 1
}

:where([data-estilo~="home"]) .pw-rb-hero {
  right: -120px;
  bottom: -110px;
  width: min(720px, 110vw);
  aspect-ratio: 1;
  -webkit-mask: var(--rb-esq) center/contain no-repeat;
  mask: var(--rb-esq) center/contain no-repeat
}

/* Cinta de la cabecera con cola larga (solo index) */

:where([data-estilo~="home"]) .pw-rb-hero-long {
  width: calc(min(720px, 110vw) * 1.3667);
  aspect-ratio: 1640 / 1200;
  -webkit-mask: var(--rb-hero-long) center/contain no-repeat;
  mask: var(--rb-hero-long) center/contain no-repeat
}

:where([data-estilo~="home"]) .pw-rb-div {
  --gap: 128px;
  position: relative;
  z-index: 0;
  pointer-events: none;
  width: min(100%, 1440px);
  aspect-ratio: 1920/470;
  margin: calc((var(--gap) - min(24.5vw, 353px))/2) auto;
  background-color: hsl(var(--accent));
  -webkit-mask-image: var(--rb-div), linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: var(--rb-div), linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-composite: source-in;
  mask-composite: intersect
}

@media(min-width:640px) {
  :where([data-estilo~="home"]) .pw-rb-div {
    --gap: 192px
  }
}

:where([data-estilo~="home"]) .pw-rb-vert {
  top: 0;
  bottom: 0;
  right: max(20px, calc(50% - 580px));
  aspect-ratio: 9/16;
  -webkit-mask: var(--rb-vert) right center/contain no-repeat;
  mask: var(--rb-vert) right center/contain no-repeat
}

@media(max-width:900px) {
  :where([data-estilo~="home"]) .pw-rb-vert {
    display: none
  }
}

:where([data-estilo~="home"]) .pw-cta-band {
  position: relative
}

:where([data-estilo~="home"]) .pw-cta-band>*:not(.pw-rb) {
  position: relative;
  z-index: 1
}

:where([data-estilo~="home"]) .pw-rb-cta {
  inset: 0;
  background-color: hsl(var(--primary-fg));
  opacity: .16;
  -webkit-mask: var(--rb-comp) center/cover no-repeat;
  mask: var(--rb-comp) center/cover no-repeat
}

/* ===== Página: página de auditoría local (indexauditoria.html) — se activa con <html data-estilo="auditoria-local"> ===== */
@font-face {
            font-family: Geist;
            src: url('/_next/static/media/66f30814ff6d7cdf.p.woff2')
        }

:where([data-estilo~="auditoria-local"]) * {
  box-sizing: border-box
}

:where([data-estilo~="auditoria-local"]) body {
  margin: 0;
  color: #101615;
  font-family: Geist, Arial, sans-serif;
  background: #f7f2e8;
  background-image: linear-gradient(rgba(75, 151, 105, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(75, 151, 105, .1) 1px, transparent 1px);
  background-size: 28px 28px
}

:where([data-estilo~="auditoria-local"]) .wrap {
  max-width: 1160px;
  margin: auto;
  padding: 0 24px
}

:where([data-estilo~="auditoria-local"]) .nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d9d3c6
}

:where([data-estilo~="auditoria-local"]) .logo {
  font-weight: 900;
  font-size: 29px;
  letter-spacing: -1.5px;
  color: #101615;
  text-decoration: none
}

:where([data-estilo~="auditoria-local"]) .logo b {
  color: #087b5b
}

:where([data-estilo~="auditoria-local"]) .btn {
  display: inline-block;
  background: #101615;
  color: #fff;
  padding: 14px 20px;
  border: 0;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px
}

:where([data-estilo~="auditoria-local"]) .hero {
  padding: 80px 0 48px;
  max-width: 880px
}

:where([data-estilo~="auditoria-local"]) .tag {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #087b5b;
  font-size: 13px
}

:where([data-estilo~="auditoria-local"]) .hero h1 {
  font-size: clamp(46px, 7vw, 80px);
  line-height: .97;
  letter-spacing: -.06em;
  margin: 18px 0
}

:where([data-estilo~="auditoria-local"]) .hero p {
  font-size: 21px;
  line-height: 1.55;
  max-width: 760px
}

:where([data-estilo~="auditoria-local"]) .proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #101615;
  color: white
}

:where([data-estilo~="auditoria-local"]) .proof div {
  padding: 26px;
  border-right: 1px solid #52625a
}

:where([data-estilo~="auditoria-local"]) .proof strong {
  display: block;
  font-size: 21px
}

:where([data-estilo~="auditoria-local"]) .proof span {
  color: #e7f2ed
}

:where([data-estilo~="auditoria-local"]) .how {
  padding: 70px 0
}

:where([data-estilo~="auditoria-local"]) .how h2,
:where([data-estilo~="auditoria-local"]) .formintro h2 {
  font-size: 42px;
  letter-spacing: -.04em;
  margin: 12px 0
}

:where([data-estilo~="auditoria-local"]) .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

:where([data-estilo~="auditoria-local"]) .step {
  background: white;
  border: 1px solid #d9d3c6;
  padding: 26px;
  box-shadow: 6px 6px 0 rgba(15, 79, 54, .12)
}

:where([data-estilo~="auditoria-local"]) .step b {
  display: grid;
  place-items: center;
  background: #e7f2ed;
  border: 1px solid #101615;
  width: 38px;
  height: 38px;
  border-radius: 50%
}

:where([data-estilo~="auditoria-local"]) .step h3 {
  font-size: 22px
}

:where([data-estilo~="auditoria-local"]) .step p {
  line-height: 1.5
}

:where([data-estilo~="auditoria-local"]) .audit {
  background: #efe9db;
  border-top: 2px solid #101615;
  padding: 70px 0
}

:where([data-estilo~="auditoria-local"]) .layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px
}

:where([data-estilo~="auditoria-local"]) .formintro p {
  font-size: 18px;
  line-height: 1.55
}

:where([data-estilo~="auditoria-local"]) .form {
  background: white;
  border: 1px solid #101615;
  padding: 30px;
  box-shadow: 9px 9px 0 #101615
}

:where([data-estilo~="auditoria-local"]) .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

:where([data-estilo~="auditoria-local"]) .field {
  margin-bottom: 15px
}

:where([data-estilo~="auditoria-local"]) .field label {
  display: block;
  font-weight: 800;
  margin-bottom: 7px
}

:where([data-estilo~="auditoria-local"]) .field input,
:where([data-estilo~="auditoria-local"]) .field select,
:where([data-estilo~="auditoria-local"]) .field textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid #71897a;
  border-radius: 3px;
  font: inherit;
  background: #fff
}

:where([data-estilo~="auditoria-local"]) .field textarea {
  min-height: 120px
}

:where([data-estilo~="auditoria-local"]) .consent {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  margin: 10px 0 18px
}

:where([data-estilo~="auditoria-local"]) .consent input {
  width: auto
}

:where([data-estilo~="auditoria-local"]) .foot {
  background: #101615;
  color: #fff;
  padding: 34px 0
}

:where([data-estilo~="auditoria-local"]) .foot .wrap {
  display: flex;
  justify-content: space-between
}

:where([data-estilo~="auditoria-local"]) .foot a {
  color: #e7f2ed
}

@media(max-width:760px) {
  :where([data-estilo~="auditoria-local"]) .proof,
  :where([data-estilo~="auditoria-local"]) .steps,
  :where([data-estilo~="auditoria-local"]) .layout,
  :where([data-estilo~="auditoria-local"]) .row {
    grid-template-columns: 1fr
  }

  :where([data-estilo~="auditoria-local"]) .proof div {
    border-bottom: 1px solid #52625a
  }

  :where([data-estilo~="auditoria-local"]) .layout {
    gap: 30px
  }

  :where([data-estilo~="auditoria-local"]) .hero {
    width: 100%;
    margin: 0;
    padding: 52px 24px 48px
  }

  :where([data-estilo~="auditoria-local"]) .hero .tag {
    display: block;
    max-width: 100%;
    line-height: 1.5;
    overflow-wrap: break-word
  }

  :where([data-estilo~="auditoria-local"]) .form {
    padding: 22px
  }

  :where([data-estilo~="auditoria-local"]) .foot .wrap {
    display: block
  }
}

html:where([data-estilo~="auditoria-local"]),
:where([data-estilo~="auditoria-local"]) body {
  max-width: 100%;
  overflow-x: hidden
}

@media(max-width:850px) {
  :where([data-estilo~="auditoria-local"]) *,
  :where([data-estilo~="auditoria-local"]) *::before,
  :where([data-estilo~="auditoria-local"]) *::after {
    min-width: 0
  }

  :where([data-estilo~="auditoria-local"]) .container,
  :where([data-estilo~="auditoria-local"]) .wrap,
  :where([data-estilo~="auditoria-local"]) main,
  :where([data-estilo~="auditoria-local"]) section,
  :where([data-estilo~="auditoria-local"]) article,
  :where([data-estilo~="auditoria-local"]) header,
  :where([data-estilo~="auditoria-local"]) footer,
  :where([data-estilo~="auditoria-local"]) nav,
  :where([data-estilo~="auditoria-local"]) form {
    max-width: 100%
  }

  :where([data-estilo~="auditoria-local"]) h1 {
    overflow-wrap: anywhere
  }

  :where([data-estilo~="auditoria-local"]) table {
    min-width: 0 !important;
    width: 100% !important;
    table-layout: fixed
  }

  :where([data-estilo~="auditoria-local"]) th,
  :where([data-estilo~="auditoria-local"]) td {
    min-width: 0 !important;
    overflow-wrap: anywhere
  }

  :where([data-estilo~="auditoria-local"]) input[type="checkbox"],
  :where([data-estilo~="auditoria-local"]) input[type="radio"] {
    min-width: 16px !important;
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px
  }

  :where([data-estilo~="auditoria-local"]) a.sr-only {
    left: 0 !important;
    transform: none !important
  }

  :where([data-estilo~="auditoria-local"]) img,
  :where([data-estilo~="auditoria-local"]) svg,
  :where([data-estilo~="auditoria-local"]) video,
  :where([data-estilo~="auditoria-local"]) canvas,
  :where([data-estilo~="auditoria-local"]) iframe {
    max-width: 100%;
    height: auto
  }

  :where([data-estilo~="auditoria-local"]) header>div,
  :where([data-estilo~="auditoria-local"]) header.wrap,
  :where([data-estilo~="auditoria-local"]) .nav {
    flex-wrap: wrap
  }

  :where([data-estilo~="auditoria-local"]) .button,
  :where([data-estilo~="auditoria-local"]) a[class*="inline-flex"] {
    max-width: 100%;
    white-space: normal
  }
}

/* ===== Utilidades (antes eran style="" en el HTML) ===== */
.pw-txt-naranja { color: #d9693b !important; }
.pw-txt-gris-claro { color: #c8cecc !important; }
.pw-txt-verde { color: #167D32 !important; }
.pw-semibold { font-weight: 600 !important; }
.pw-centrado-mt { display: flex !important; justify-content: center !important; margin-top: 2rem !important; }
.pw-ratio-4-3 { aspect-ratio: 4 / 3 !important; }
.pw-btn-blanco { color: white !important; border-color: white !important; }
.pw-titulo-una-linea { white-space: nowrap !important; font-size: clamp(1rem, 5.8vw, 2.6rem) !important; }
.pw-media-cuadrada { aspect-ratio: 1 / 1 !important; width: min(100%, 420px) !important; justify-self: end !important; }



/* ===== Menú fijo al hacer scroll (lo activa script.js) ===== */
html {
  scroll-padding-top: var(--pw-header-alto, 72px);
}

.header.pw-header-fijo {
  position: sticky;
  top: 0;
  z-index: 60;
}

.header.pw-header-fijo .pw-header {
  position: relative;
  transition: box-shadow .2s ease;
}

.header.pw-header-scroll .pw-header {
  box-shadow: 0 6px 20px rgba(17, 26, 22, .08);
}



/* ===== Hero compacto (Cómo trabajamos, Casos y Sobre): menos hueco arriba ===== */
.pw-hero-compacto {
  padding-top: 2rem !important;
}


/* Sobre: menos hueco arriba aunque el HTML no lleve la clase pw-hero-compacto */
main > section:first-child > .container:has(.pw-media-cuadrada) {
  padding-top: 2rem !important;
}

/* Sobre: la imagen arriba del todo, alineada con Cómo trabajamos y Casos */
main > section:first-child .pw-media-cuadrada {
  align-self: start;
}

/* Cómo trabajamos: imagen del mismo tamaño que en Casos y Sobre */
.hero-metodo__media {
  width: min(100%, 420px);
  justify-self: end;
}


/* Home: imagen igual que en Casos, Sobre y Cómo trabajamos (420 x 420), subida y pegada a la derecha */
.pw-hero-compacto > div:has(> img) {
  margin-top: -9.8rem;
  width: min(100%, 420px) !important;
  aspect-ratio: 1 / 1 !important;
  justify-self: end;
}

.pw-hero-compacto > div:has(> img) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* ===== Etiquetas de plataformas con la paleta de cada marca ===== */
.pw-marca {
  --c: #101615;          /* color principal */
  --c2: var(--c);        /* segundo color (fondo degradado) */
  --punto: var(--c);     /* relleno del punto */
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem 1rem;
  border-radius: 9999px;
  color: color-mix(in srgb, var(--c) 78%, #000);
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--c) 10%, #fff),
    color-mix(in srgb, var(--c2) 10%, #fff));
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
}

.pw-marca::before {
  content: "";
  flex: none;
  width: .75rem;
  height: .75rem;
  border-radius: 9999px;
  background: var(--punto);
}

.pw-marca-microsoft {
  --c: #737373; --c2: #00A4EF;
  --punto: conic-gradient(#7FBA00 0 25%, #FFB900 0 50%, #00A4EF 0 75%, #F25022 0);
}
.pw-marca-azure {
  --c: #0078D4; --c2: #50E6FF;
  --punto: linear-gradient(135deg, #50E6FF, #0078D4);
}
.pw-marca-salesforce {
  --c: #0176D3; --c2: #00A1E0;
  --punto: linear-gradient(135deg, #00A1E0, #032D60);
}
.pw-marca-gohighlevel {
  --c: #188BF6; --c2: #37CA37;
  --punto: conic-gradient(#188BF6 0 34%, #FFBC00 0 67%, #37CA37 0);
}
.pw-marca-zoho {
  --c: #E42527; --c2: #F9B21D;
  --punto: conic-gradient(#E42527 0 25%, #089949 0 50%, #226DB4 0 75%, #F9B21D 0);
}
.pw-marca-make {
  --c: #6D00CC; --c2: #F024F6;
  --punto: linear-gradient(135deg, #F024F6, #6D00CC);
}



/* ===== Botones de las tarjetas "Tres palancas para crecer" ===== */
.pw-tarjeta {
  display: flex;
  flex-direction: column;
}

.pw-tarjeta-botones {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.pw-btn-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem 1.1rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.pw-btn-card .pw-flecha {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  font-size: .9rem;
  transition: transform .2s ease, background-color .2s ease;
}

.pw-btn-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgba(8, 123, 91, .45);
}

.pw-btn-card:hover .pw-flecha {
  transform: translateX(3px);
}

/* Relleno verde */
.pw-btn-card--relleno {
  background: #087B5B;
  color: #fff;
}
.pw-btn-card--relleno .pw-flecha { background: rgba(255, 255, 255, .18); }
.pw-btn-card--relleno:hover { background: #075E47; }

/* Menta suave */
.pw-btn-card--menta {
  background: #E7F2ED;
  color: #075E47;
}
.pw-btn-card--menta .pw-flecha { background: #fff; }
.pw-btn-card--menta:hover { background: #D6EAE0; }

/* Contorno */
.pw-btn-card--contorno {
  background: transparent;
  color: #087B5B;
  border-color: #087B5B;
}
.pw-btn-card--contorno .pw-flecha { background: #E7F2ED; }
.pw-btn-card--contorno:hover { background: #087B5B; color: #fff; }
.pw-btn-card--contorno:hover .pw-flecha { background: rgba(255, 255, 255, .18); }

/* Blanco (para la tarjeta verde) */
.pw-btn-card--blanco {
  background: #fff;
  color: #075E47;
}
.pw-btn-card--blanco .pw-flecha { background: #E7F2ED; }
.pw-btn-card--blanco:hover { background: #F7F2E8; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45); }



/* ===== Tarjeta "Web y autoridad" más ancha y botones 60 / 40 ===== */
@media (min-width: 1024px) {
  .pw-grid-palancas {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.pw-tarjeta-botones--dividido {
  display: grid;
  grid-template-columns: 3fr 2fr;   /* 60 % / 40 % */
  grid-template-rows: auto auto;
  gap: .6rem;
}

/* Primer botón: ocupa el 60 % y toda la altura */
.pw-tarjeta-botones--dividido > :first-child {
  grid-row: 1 / span 2;
  align-items: flex-end;
  border-radius: 1.25rem;
  padding: 1.1rem;
  font-size: 1rem;
}

/* Los otros dos: se reparten el 40 % uno encima del otro */
.pw-tarjeta-botones--dividido > :not(:first-child) {
  padding: .65rem .9rem;
  font-size: .8rem;
  border-radius: 1rem;
}

.pw-tarjeta-botones--dividido > :not(:first-child) .pw-flecha {
  width: 1.5rem;
  height: 1.5rem;
}

/* En móvil, los tres uno debajo de otro como antes */
@media (max-width: 639px) {
  .pw-tarjeta-botones--dividido {
    grid-template-columns: 1fr;
  }
  .pw-tarjeta-botones--dividido > * {
    grid-row: auto !important;
    align-items: center !important;
    border-radius: 9999px !important;
  }
  .pw-tarjeta-botones--dividido > :first-child {
    padding: .75rem 1.1rem;
    font-size: .875rem;
  }
}

/* Botón "Despachos de abogados": tamaño normal, centrado entre los otros dos */
.pw-tarjeta-botones--dividido > :first-child {
  align-self: center;
  align-items: center;
  border-radius: 9999px;
  padding: .75rem 1.1rem;
  font-size: .875rem;
  text-align: center;
}



/* ===== Logos de plataformas ===== */
.pw-logos-plataformas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}

.pw-logo-plataforma {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: 3.5rem;
  padding: 0 1.25rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #D9D3C6;
  box-shadow: 0 1px 2px rgba(16, 22, 21, .04);
  transition: transform .2s ease, box-shadow .2s ease;
}

.pw-logo-plataforma:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -14px rgba(16, 22, 21, .35);
}

.pw-logo-plataforma img {
  display: block;
  width: auto;
  height: 1.5rem;      /* 24 px: altura base de los logos */
  max-width: 8.5rem;
  object-fit: contain;
}

/* Ajustes ópticos para que todos se vean del mismo tamaño */
.pw-logo-plataforma--salesforce img { height: 2.1rem; }
.pw-logo-plataforma--zoho img       { height: 1.9rem; }
.pw-logo-plataforma--gohighlevel img{ height: 1.35rem; }
.pw-logo-plataforma--make img       { height: 1.15rem; }
.pw-logo-plataforma--dynamics img   { height: 1.6rem; }

.pw-logo-plataforma span {
  font-size: .875rem;
  font-weight: 600;
  color: #101615;
  white-space: nowrap;
}

/* Móvil: etiquetas algo más compactas */
@media (max-width: 639px) {
  .pw-logos-plataformas { gap: .6rem; }
  .pw-logo-plataforma { height: 3rem; padding: 0 1rem; border-radius: .85rem; }
  .pw-logo-plataforma img { max-width: 7rem; }
}



/* ===== Casos: sección "Qué hicimos / Qué haremos" en tarjetas ===== */
.pw-hicimos {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
  counter-reset: pw-hicimos;
}

@media (min-width: 768px) {
  .pw-hicimos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pw-hicimos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 48rem; margin-inline: auto; }
}

.pw-hicimos-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 1.25rem;
  background: #FFFDF8;
  border: 1px solid #D9D3C6;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 8px 24px -12px rgba(16, 24, 40, .12);
  overflow: hidden;
  counter-increment: pw-hicimos;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* Línea verde superior */
.pw-hicimos-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #087B5B, #5FB596);
}

/* Número grande de fondo: 01, 02, 03 */
.pw-hicimos-item::after {
  content: "0" counter(pw-hicimos);
  position: absolute;
  right: 1.1rem;
  top: .6rem;
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: #087B5B;
  opacity: .1;
}

.pw-hicimos-item:hover {
  transform: translateY(-4px);
  border-color: #087B5B;
  box-shadow: 0 18px 40px -20px rgba(8, 123, 91, .45);
}

.pw-hicimos-icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: .9rem;
  background: #E7F2ED;
}

.pw-hicimos-icono img {
  width: 1.6rem;
  height: 1.6rem;
}

.pw-hicimos-texto {
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: #101615;
}




/* ===== Diagnóstico: cintas decorativas ===== */
.pw-diag-cintas {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.pw-diag-cintas > .container {
  position: relative;
  z-index: 1;
}

.pw-cinta {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* 1 · Esquina: arriba a la derecha, pasa por detrás de las tarjetas */
.pw-cinta--esquina {
  top: -6rem;
  right: -10rem;
  width: 46rem;
  aspect-ratio: 1;
  background-image: url("../ribbon/ribbon-esquina.svg");
}

/* 2 · Completa: cruza la página por detrás del formulario */
.pw-cinta--completa {
  top: 24rem;
  left: -5rem;
  width: calc(100% + 10rem);
  aspect-ratio: 16 / 9;
  background-image: url("../ribbon/ribbon-completa.svg");
}

/* Móvil: solo una cinta, abajo, asomando por detrás del formulario */
@media (max-width: 767px) {
  .pw-cinta--completa { display: none; }
  .pw-cinta--esquina { width: 26rem; top: auto; bottom: -7rem; right: -9rem; }
}


/* Home móvil: la foto va debajo de las etiquetas de proyectos, sin montarse */
@media (max-width: 1023px) {
  .pw-hero-compacto > div:has(> img) {
    margin-top: 2.5rem !important;
    justify-self: stretch;
    width: 100% !important;
    position: relative;
    transform: none !important;
  }
}




/* Icono sobre tarjeta verde: fondo blanco para que se vea */
.pw-icono-blanco {
  background: #fff;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35);
}





/* ===== Sobre: sección "Datos" ===== */
.pw-datos {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.pw-datos > .container { position: relative; z-index: 1; }

.pw-datos-cinta {
  position: absolute;
  z-index: 0;
  right: -12rem;
  bottom: -14rem;
  width: 44rem;
  aspect-ratio: 1;
  pointer-events: none;
  background: url("../ribbon/ribbon-esquina.svg") no-repeat center / contain;
  opacity: .9;
}

.pw-datos-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .pw-datos-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
}

.pw-datos-ficha {
  position: relative;
  border-radius: 1.5rem;
  background: #FFFDF8;
  border: 1px solid #D9D3C6;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 20px 40px -24px rgba(16, 24, 40, .25);
  overflow: hidden;
}

.pw-datos-ficha::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #087B5B, #5FB596);
}

.pw-datos-fila {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #ECE6DA;
}

.pw-datos-fila:first-child { border-top: 0; padding-top: 1.6rem; }

.pw-datos-icono {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .75rem;
  background: #E7F2ED;
}

.pw-datos-icono img { width: 1.3rem; height: 1.3rem; }

.pw-datos-fila dt {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #087B5B;
}

.pw-datos-fila dd {
  margin: .3rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: #101615;
}

.pw-datos-fila dd a {
  color: #087B5B;
  text-decoration: underline;
  text-underline-offset: 3px;
}





/* ===== Arreglos móvil (responsive) ===== */

/* 1 · Títulos "en una línea": en móvil pueden partirse en dos líneas equilibradas */
@media (max-width: 1023px) {
  .pw-titulo-una-linea {
    white-space: normal !important;
    font-size: clamp(1.6rem, 7vw, 2rem) !important;
    text-wrap: balance;
  }
}

/* 2 · Pie: el ancho mínimo de 350 px solo en ordenador (en móvil desbordaba) */
@media (max-width: 1023px) {
  .pw-footer > div:nth-child(2) {
    min-width: 0 !important;
  }
  .pw-footer-list a {
    white-space: normal;
  }
}

/* 3 · Enlaces legales del pie: más área para pulsar con el dedo */
.pw-footer-legal {
  flex-wrap: wrap;
}
.pw-footer-legal a {
  display: inline-block;
  padding: .6rem 0;
}




/* ===== Sobre: sección "El equipo" ===== */
.pw-equipo {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px)  { .pw-equipo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pw-equipo { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.pw-persona {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 1.5rem 1.75rem;
  border-radius: 1.5rem;
  background: #FFFDF8;
  border: 1px solid #D9D3C6;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 8px 24px -12px rgba(16, 24, 40, .12);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* Franja menta de fondo en la parte superior */
.pw-persona::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5.5rem;
  background: linear-gradient(180deg, #E7F2ED, rgba(231, 242, 237, 0));
}

.pw-persona:hover {
  transform: translateY(-4px);
  border-color: #087B5B;
  box-shadow: 0 18px 40px -20px rgba(8, 123, 91, .45);
}

/* Círculo con la inicial */
.pw-persona-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #087B5B, #075E47);
  color: #fff;
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 6px #FFFDF8, 0 0 0 7px #D9D3C6, 0 12px 24px -10px rgba(8, 123, 91, .55);
}

.pw-persona-rol {
  position: relative;
  margin-top: 1.4rem;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #087B5B;
}

.pw-persona-nombre {
  position: relative;
  margin-top: .5rem;
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: #101615;
}

.pw-persona-area {
  position: relative;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .9rem;
  border-radius: 9999px;
  background: #E7F2ED;
  color: #075E47;
  font-size: .85rem;
  font-weight: 600;
}

.pw-persona-area::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-radius: 9999px;
  background: #087B5B;
}