[hidden] { display: none !important; }

:root {
  --color-bg: #F8F8FA;
  --color-bg-alt: #EEEEF4;
  --color-surface: #FFFFFF;
  --color-text: #15173B;
  --color-text-muted: #555873;
  --color-primary: #8A1C7C;
  --color-primary-hover: #721566;
  --color-secondary: #2A3AA6;
  --color-cta: #8A1C7C;
  --color-cta-text: #FFFFFF;
  --color-dark: #15173B;
  --color-dark-2: #1D2050;
  --on-dark: #F3F2FA;
  --on-dark-muted: #B6B8D2;
  --accent-on-dark: #F2B6E6;
  --grad: linear-gradient(118deg, #8A1C7C 0%, #5B2496 52%, #2A3AA6 100%);
  --grad-light: linear-gradient(118deg, #F2B6E6 0%, #C3CAFF 100%);
  --line: color-mix(in srgb, var(--color-text) 12%, transparent);
  --line-dark: color-mix(in srgb, #FFFFFF 15%, transparent);
  --font-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-h1: clamp(2.15rem, 1.4rem + 3vw, 3.4rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 1.9vw, 2.5rem);
  --fs-h3: clamp(1.08rem, 1rem + .35vw, 1.25rem);
  --fs-body: clamp(1rem, .96rem + .2vw, 1.08rem);
  --section-pad-y: clamp(3rem, 6vw, 5rem);
  --sp-1: .5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 2.5rem;
  --sp-6: 3rem;
  --sp-7: 4rem;
  --sp-8: 5rem;
  --radius: 14px;
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-rev: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow-soft: 0 18px 44px -24px rgba(21, 23, 59, .32);
  --shadow-lg: 0 28px 60px -24px rgba(21, 23, 59, .42);
  --datos-cruce: 40px;
  --foto-cruce: 90px;
  --cta-cruce: 96px;
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }
}

@media (max-width: 640px) {
  :root { --datos-cruce: 32px; --foto-cruce: 56px; --cta-cruce: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100vw;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  overflow-x: clip;
  max-width: 100vw;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html, body { -webkit-user-select: none; -moz-user-select: none; user-select: none; }
input, textarea, [contenteditable] { -webkit-user-select: text; user-select: text; }
img { -webkit-user-drag: none; pointer-events: auto; max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, figcaption { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--color-primary); color: #fff; }
:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 108%;
  letter-spacing: -.018em;
}
h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.05; }
h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.1; text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; }
p { max-width: 65ch; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.texto-azul { color: var(--color-secondary); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

section { padding-block: var(--section-pad-y); position: relative; }

.bajada { color: var(--color-text-muted); margin-top: var(--sp-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 50px;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: background-position .6s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease), transform .15s var(--ease);
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--grad);
  background-size: 160% 100%;
  background-position: 0 50%;
  color: var(--color-cta-text);
}
.btn-primary:hover { background-position: 100% 50%; box-shadow: var(--shadow-soft); }
.btn-ghost {
  border-color: color-mix(in srgb, var(--color-secondary) 40%, transparent);
  color: var(--color-secondary);
  background: transparent;
}
.btn-ghost:hover { background: color-mix(in srgb, var(--color-secondary) 8%, transparent); border-color: var(--color-secondary); }
.btn-ghost svg { transition: transform .35s var(--ease); }
.btn-ghost:hover svg { transform: translateX(4px); }
.btn-light { background: #fff; color: var(--color-text); }
.btn-light:hover { background: var(--color-bg-alt); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .5); }
.btn-light svg { color: #1FA855; }

.link-flecha {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--color-primary);
}
.link-flecha svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-flecha:hover svg { transform: translateX(4px); }
.link-inline { color: var(--color-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.brand {
  position: relative;
  z-index: 100;
  overflow: visible;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  color: var(--color-text);
}
.brand-mark {
  position: relative;
  display: block;
  padding-top: .32em;
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: clamp(2.2rem, 1.9rem + .9vw, 2.6rem);
  letter-spacing: -.035em;
  line-height: .9;
}
.brand-mark::before {
  content: "";
  position: absolute;
  left: -.03em;
  top: 0;
  width: 1.18em;
  height: .38em;
  background: var(--grad);
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 83% 100%, 50% 32%, 17% 100%);
}
.brand-sub {
  display: block;
  margin-top: .42em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--color-text-muted);
}

.site-header {
  position: relative;
  z-index: 15;
  background: var(--color-surface);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}
.site-header.is-solid { border-bottom-color: var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}
.main-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.2rem); }
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  font-size: .98rem;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .35s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.btn-wa {
  min-height: 46px;
  padding: .65rem 1.1rem;
  font-size: .95rem;
}
.btn-wa svg { width: 19px; height: 19px; }
.menu-toggle { display: none; }
.nav-close { display: none; }

@media (max-width: 980px) {
  .main-nav {
    position: fixed; top: 0; right: 0; max-height: 100dvh; overflow-y: auto; width: 74%; max-width: 320px;
    background: #fff; color: var(--color-text);
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .15rem;
    padding: 1.3rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
    transform: translateX(100%); visibility: hidden;
    transition: transform .38s var(--ease-rev), visibility 0s .38s, box-shadow 0s .38s;
    z-index: 120; box-shadow: none;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; box-shadow: var(--shadow-lg); transition: transform .38s var(--ease-rev); }
  .main-nav a { min-height: 52px; font-size: 1.12rem; border-bottom: 1px solid var(--line); color: var(--color-text); }
  .main-nav a::after { display: none; }
  .nav-close { display: flex; align-items: center; justify-content: center; align-self: flex-end; width: 44px; height: 44px; margin-bottom: .4rem; border-radius: 50%; background: var(--color-bg-alt); color: var(--color-text); }
  .nav-close svg { width: 20px; height: 20px; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; }
  .menu-toggle svg { width: 24px; height: 24px; }
  .btn-wa { width: 46px; padding: 0; }
  .btn-wa .btn-wa-num { display: none; }
}
.nav-backdrop { position: fixed; inset: 0; background: rgba(10, 11, 32, .45); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease-out), visibility 0s .3s; z-index: 110; }
.nav-backdrop.open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out); }
body.no-scroll { overflow: hidden; }

.site-header--over { background: transparent; color: #fff; }
.site-header--over .brand { color: #fff; }
.site-header--over .brand-sub { color: rgba(255, 255, 255, .82); }
.site-header--over .brand-mark::before { background: var(--grad-light); }
.site-header--over .btn-wa { background: #fff; color: var(--color-text); }
.site-header--over .btn-wa svg { color: #1FA855; }
.site-header--over.is-solid { background: var(--color-surface); color: var(--color-text); border-bottom-color: var(--line); }
.site-header--over.is-solid .brand { color: var(--color-text); }
.site-header--over.is-solid .brand-sub { color: var(--color-text-muted); }
.site-header--over.is-solid .brand-mark::before { background: var(--grad); }
.site-header--over.is-solid .btn-wa { background: var(--grad); background-size: 160% 100%; color: #fff; }
.site-header--over.is-solid .btn-wa svg { color: currentColor; }

.sello {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-text);
  display: grid;
  place-items: center;
  box-shadow: 0 22px 44px -18px rgba(21, 23, 59, .5);
}
.sello-anillo { position: absolute; inset: 0; width: 100%; height: 100%; animation: girar 32s linear infinite; }
.sello-anillo text { font-family: var(--font-body); font-weight: 600; font-size: 8.6px; letter-spacing: .5px; fill: var(--color-text-muted); }
.sello .brand-mark { font-size: 1.7rem; }
@keyframes girar { to { transform: rotate(360deg); } }

.hero { padding-block: 0; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: var(--sp-2);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.hero-lead { margin-top: var(--sp-3); font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); color: var(--color-text-muted); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--sp-4); }
.hero-datos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--color-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1rem .5rem;
}
.hero-datos li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .35rem 1rem;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.3;
}
.hero-datos li + li { border-left: 1px solid var(--line); }
.hero-datos svg { width: 22px; height: 22px; color: var(--color-secondary); }

.hero-split {
  display: flex;
  flex-direction: column;
  min-height: min(calc(100svh - var(--header-h) - 96px), 740px);
  padding-top: clamp(2rem, 5vw, 3.5rem);
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--color-text) 5%, transparent) 0 1px, transparent 1px 56px) left top / 44% 100% no-repeat,
    var(--color-bg);
}
.hero-split .hero-inner { flex: 1; display: flex; align-items: center; padding-bottom: clamp(3rem, 5vw, 4.5rem); position: relative; z-index: 2; }
.hero-split .hero-copy { width: min(100%, 540px); }
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero-split .sello-wrap { position: absolute; top: clamp(1.5rem, 4vw, 3rem); right: clamp(1.5rem, 4vw, 3rem); z-index: 2; }
.hero-split .hero-datos-wrap { position: relative; z-index: 3; margin-bottom: calc(-1 * var(--datos-cruce)); }

@media (max-width: 1100px) {
  .hero-split { min-height: 0; background: var(--color-bg); }
  .hero-split .hero-inner { order: 1; padding-bottom: var(--sp-5); }
  .hero-split .hero-copy { width: min(100%, 640px); }
  .hero-media { order: 2; position: relative; width: 100%; aspect-ratio: 16 / 9; -webkit-mask-image: none; mask-image: none; }
  .hero-split .hero-datos-wrap { order: 3; margin-top: -2.2rem; }
  .hero-datos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: .4rem; }
  .hero-datos li:nth-child(3) { border-left: 0; }
  .sello { width: 104px; height: 104px; }
  .sello .brand-mark { font-size: 1.4rem; }
}

@media (max-width: 640px) {
  .hero-split .sello-wrap { top: .9rem; right: .9rem; }
  .sello { width: 88px; height: 88px; }
  .sello .brand-mark { font-size: 1.15rem; }
  .hero-datos { padding: .6rem .3rem; }
  .hero-datos li { padding: .45rem .6rem; font-size: .86rem; gap: .5rem; }
  .hero-datos svg { width: 19px; height: 19px; }
}

.hero-full {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(5rem, 8vw, 6.5rem);
  color: #fff;
}
.hero-bg-wrap { position: absolute; inset: 0; overflow: hidden; background: var(--color-dark); }
.hero-bg { position: absolute; left: 0; right: 0; top: -4%; bottom: -4%; display: block; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 16, 46, .84) 0%, rgba(14, 16, 46, .58) 40%, rgba(14, 16, 46, .08) 72%),
    linear-gradient(0deg, rgba(14, 16, 46, .78) 0%, rgba(14, 16, 46, 0) 48%);
}
.hero-full .hero-inner { position: relative; z-index: 2; }
.hero-full .hero-copy { max-width: 640px; }
.hero-full .hero-eyebrow { color: var(--accent-on-dark); }
.hero-full h1 .texto-azul { color: #C3CAFF; }
.hero-full .hero-lead { color: rgba(255, 255, 255, .86); }
.hero-full .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero-full .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.hero-full .hero-datos-wrap { position: relative; z-index: 2; margin-top: var(--sp-5); }
.hero-full .hero-datos {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.8rem;
  padding: 1.1rem 0 0;
  background: none;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  border-radius: 0;
  box-shadow: none;
}
.hero-full .hero-datos li { padding: 0; border: 0; color: rgba(255, 255, 255, .9); font-weight: 500; }
.hero-full .hero-datos svg { color: var(--accent-on-dark); }
.hero-full .sello-wrap {
  position: absolute;
  right: max(var(--gutter), (100% - var(--container)) / 2);
  bottom: -64px;
  z-index: 3;
}

@media (max-width: 640px) {
  .hero-full { padding-bottom: 5rem; }
  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(14, 16, 46, .92) 0%, rgba(14, 16, 46, .72) 48%, rgba(14, 16, 46, .1) 78%),
      linear-gradient(180deg, rgba(14, 16, 46, .45) 0%, rgba(14, 16, 46, 0) 22%);
  }
  .hero-full .hero-datos { gap: .35rem 1.1rem; }
  .hero-full .hero-datos li { font-size: .84rem; gap: .45rem; }
  .hero-full .hero-datos svg { width: 17px; height: 17px; }
  .hero-full .sello-wrap { bottom: -44px; }
}

.servicios { background: var(--color-bg-alt); padding-top: calc(var(--section-pad-y) + var(--datos-cruce)); }
.serv-head h2 { max-width: 16ch; }
.serv-list { display: grid; }
.serv {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  translate: 0 0;
}
.serv[data-animate] { transition: opacity .9s var(--ease), transform 1.1s var(--ease), translate .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease); }
.serv-num { font-family: var(--font-display); font-stretch: 115%; font-weight: 800; color: var(--color-primary); }
.serv-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--color-primary) 9%, transparent);
  color: var(--color-primary);
}
.serv-icon svg { width: 23px; height: 23px; }
.serv p { color: var(--color-text-muted); font-size: .98rem; }
.serv .link-flecha { margin-top: auto; }

.m1 .servicios-grid { display: grid; grid-template-columns: minmax(0, 3.1fr) minmax(0, 8.9fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.m1 .serv-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.m1 .serv { background: var(--color-surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.25rem 1rem; }
.m1 .serv:hover { translate: 0 -3px; box-shadow: var(--shadow-soft); border-color: color-mix(in srgb, var(--color-primary) 30%, transparent); }
.m1 .serv-num { display: none; }

@media (max-width: 1240px) {
  .m1 .servicios-grid { grid-template-columns: minmax(0, 1fr); }
  .m1 .serv-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; }
  .m1 .serv-head .bajada { margin-top: 0; }
}
@media (max-width: 900px) {
  .m1 .serv-head { grid-template-columns: minmax(0, 1fr); }
  .m1 .serv-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .m1 .serv-list { grid-template-columns: minmax(0, 1fr); }
  .m1 .serv { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 1rem; row-gap: .35rem; padding: 1.15rem 1.1rem .6rem; }
  .m1 .serv-icon { grid-row: 1 / span 3; }
  .m1 .serv .link-flecha { grid-column: 2; }
}

.m2 .servicios { background: var(--color-surface); padding-top: calc(var(--section-pad-y) + 40px); padding-bottom: calc(var(--section-pad-y) + var(--foto-cruce)); }
.m2 .servicios-grid { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }
.m2 .serv-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: end; }
.m2 .serv-head .bajada { margin-top: 0; }
.m2 .serv-list { border-bottom: 1px solid var(--line); }
.m2 .serv {
  display: grid;
  grid-template-columns: 3.5rem 46px minmax(0, 1fr) minmax(0, 1.25fr) auto;
  align-items: center;
  gap: 1.6rem;
  padding: 1.5rem 1rem;
  border-top: 1px solid var(--line);
}
.m2 .serv:hover { background: color-mix(in srgb, var(--color-primary) 4%, transparent); }
.m2 .serv-num { font-size: 1.15rem; }
.m2 .serv h3 { font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); }
.m2 .serv .link-flecha { margin-top: 0; }

@media (max-width: 900px) {
  .m2 .serv-head { grid-template-columns: minmax(0, 1fr); }
  .m2 .serv { grid-template-columns: 2.5rem minmax(0, 1fr); gap: .35rem 1rem; padding: 1.25rem .25rem; }
  .m2 .serv-num { grid-row: 1 / span 3; align-self: start; padding-top: .2rem; }
  .m2 .serv .serv-icon { display: none; }
  .m2 .serv h3, .m2 .serv p, .m2 .serv .link-flecha { grid-column: 2; }
}

.foto {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
}
.foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foto-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  max-width: calc(100% - 24px);
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .93);
  color: var(--color-text);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.25;
}

.espacios { background: var(--color-surface); }
.espacios-copy h2 { max-width: 15ch; }
.espacios-copy p { color: var(--color-text-muted); margin-top: var(--sp-2); }
.espacios-cta { margin-top: var(--sp-4); }
.espacios-fotos { display: grid; gap: 14px; }
.foto--living, .foto--cocina { aspect-ratio: 1 / 1; }
.foto--casa img { object-position: 50% 40%; }

.m1 .espacios-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.m1 .espacios-fotos { grid-template-columns: minmax(0, 9fr) minmax(0, 8fr); }
.m1 .foto--casa { grid-row: span 2; }

@media (max-width: 900px) {
  .m1 .espacios-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .m1 .espacios-fotos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .m1 .foto--casa { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .m1 .foto--casa img { object-position: 50% 45%; }
  .m1 .foto--living .foto-tag, .m1 .foto--cocina .foto-tag { left: 8px; bottom: 8px; max-width: calc(100% - 16px); font-size: .74rem; padding: .35rem .6rem; }
}

.m2 .espacios { background: var(--color-bg); }
.m2 .espacios-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.m2 .espacios-copy { text-align: center; display: grid; justify-items: center; }
.m2 .espacios-copy h2 { max-width: 20ch; }
.m2 .espacios-copy p { max-width: 56ch; }
.m2 .espacios-fotos { grid-template-columns: minmax(0, 1fr) minmax(0, .75fr) minmax(0, 1fr); align-items: start; }
.m2 .foto--living, .m2 .foto--cocina { aspect-ratio: 3 / 4; }
.m2 .foto--living { order: 1; }
.m2 .foto--casa { order: 2; aspect-ratio: 9 / 16; }
.m2 .foto--cocina { order: 3; }
.m2 .foto--living img { object-position: 50% 60%; }

.galeria { columns: 3; column-gap: 14px; }
.galeria-item { break-inside: avoid; margin: 0 0 14px; border-radius: var(--radius); overflow: hidden; background: var(--color-bg-alt); }
.galeria-item button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.galeria-item img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.galeria-item button:hover img { transform: scale(1.03); }
.galeria-item button:focus-visible { outline: 3px solid var(--color-primary); outline-offset: -3px; }
@media (max-width: 700px) {
  .galeria { columns: 2; column-gap: 10px; }
  .galeria-item { margin-bottom: 10px; }
}

.visor { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 92vh; overflow: visible; }
.visor::backdrop { background: rgba(10, 11, 30, .88); }
.visor img { display: block; max-width: 100%; max-height: 88vh; width: auto; height: auto; margin: auto; border-radius: 12px; }
.visor-cerrar { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: #15173B; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.visor-cerrar:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }

@media (max-width: 700px) {
  .m2 .espacios-fotos {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .m2 .espacios-fotos::-webkit-scrollbar { display: none; }
  .m2 .espacios-fotos .foto { flex: 0 0 auto; scroll-snap-align: start; width: min(76vw, 320px); }
  .m2 .foto--casa { width: calc(min(76vw, 320px) * .75) !important; }
  .m2 .foto--casa .foto-tag { font-size: .72rem; padding: .3rem .55rem; left: 8px; bottom: 8px; max-width: calc(100% - 16px); }
}

.sistema { background: var(--color-dark); color: var(--on-dark); }
.sistema::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 56px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.sistema .container { position: relative; z-index: 1; }
.sistema-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.sistema-media { aspect-ratio: 1 / 1; width: 100%; background: var(--color-dark-2); }
.sistema-copy .bajada { color: var(--on-dark-muted); }
.capa-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  translate: -50% -50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--color-text);
  font: 800 1rem/1 var(--font-display);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .3), 0 12px 24px -8px rgba(0, 0, 0, .55);
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), scale .3s var(--ease), box-shadow .3s var(--ease), opacity .9s var(--ease), transform 1.1s var(--ease);
}
.capa-pin.is-on, .capa-pin:hover { background: var(--color-primary); color: #fff; scale: 1.12; box-shadow: 0 0 0 7px rgba(242, 182, 230, .45), 0 12px 24px -8px rgba(0, 0, 0, .55); }
.capas { display: grid; gap: .2rem; margin-top: var(--sp-4); }
.capas li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 1rem;
  padding: .9rem 1rem;
  margin-inline: -1rem;
  border-radius: 12px;
  cursor: default;
}
.capas li[data-animate] { transition: opacity .9s var(--ease), transform 1.1s var(--ease), background-color .3s var(--ease); }
.capas li.is-on { background: rgba(255, 255, 255, .07); }
.capa-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  font: 800 1rem/1 var(--font-display);
  color: var(--accent-on-dark);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.capas li.is-on .capa-num { background: var(--color-primary); border-color: transparent; color: #fff; }
.capas h3 { font-size: 1.08rem; margin-bottom: .15rem; }
.capas p { color: var(--on-dark-muted); font-size: .98rem; }

.m1 .sistema { padding-bottom: calc(var(--section-pad-y) + var(--foto-cruce)); }
.m2 .sistema-media { margin-top: calc(-1 * (var(--section-pad-y) + var(--foto-cruce))); align-self: start; position: relative; z-index: 2; }

@media (max-width: 900px) {
  .sistema-grid { grid-template-columns: minmax(0, 1fr); }
  .sistema-media { max-width: 560px; }
}
.capa-pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
@media (max-width: 640px) {
  .capa-pin { width: 34px; height: 34px; font-size: .88rem; box-shadow: 0 0 0 4px rgba(255, 255, 255, .3), 0 10px 20px -8px rgba(0, 0, 0, .55); }
}

.proceso { background: var(--color-bg); }
.proceso-media { aspect-ratio: 1 / 1; width: 100%; }
.pasos-linea { height: 1px; margin-top: var(--sp-4); background: linear-gradient(90deg, var(--color-primary), var(--color-secondary) 60%, transparent); }
.pasos { display: grid; gap: 1.5rem 2rem; margin-top: var(--sp-4); }
.paso-num {
  display: block;
  margin-bottom: .55rem;
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-secondary);
}
.pasos h3 { margin-bottom: .3rem; }
.pasos p { color: var(--color-text-muted); font-size: .98rem; }

.m1 .proceso-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.m1 .proceso-media { margin-top: calc(-1 * (var(--section-pad-y) + var(--foto-cruce))); align-self: start; z-index: 2; }
.m1 .pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .m1 .proceso-grid { grid-template-columns: minmax(0, 1fr); }
  .m1 .proceso-media { max-width: 560px; }
}
@media (max-width: 560px) {
  .m1 .pasos { grid-template-columns: minmax(0, 1fr); }
}

.m2 .proceso { background: var(--color-bg-alt); }
.m2 .proceso-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); column-gap: clamp(2rem, 5vw, 4.5rem); }
.m2 .proceso-copy { display: contents; }
.m2 .proceso-copy h2 { grid-column: 1; grid-row: 1; align-self: end; }
.m2 .proceso-copy .bajada { grid-column: 1; grid-row: 2; }
.m2 .proceso-media { grid-column: 2; grid-row: 1 / span 3; align-self: start; }
.m2 .pasos-linea { grid-column: 1 / -1; grid-row: 4; }
.m2 .pasos { grid-column: 1 / -1; grid-row: 5; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--sp-3); }
.m2 .paso-num { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); margin-bottom: .8rem; }

@media (max-width: 1000px) {
  .m2 .pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .m2 .proceso-grid { grid-template-columns: minmax(0, 1fr); }
  .m2 .proceso-copy h2, .m2 .proceso-copy .bajada, .m2 .proceso-media, .m2 .pasos-linea, .m2 .pasos { grid-column: 1; grid-row: auto; }
  .m2 .proceso-copy h2 { order: 1; }
  .m2 .proceso-copy .bajada { order: 2; }
  .m2 .proceso-media { order: 3; margin-top: var(--sp-4); }
  .m2 .pasos-linea { order: 4; }
  .m2 .pasos { order: 5; grid-template-columns: minmax(0, 1fr); }
}

.faq { background: var(--color-bg-alt); }
.faq-head p { margin-top: var(--sp-2); color: var(--color-text-muted); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  color: var(--color-primary);
  transition: transform .4s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.faq-icon svg { width: 18px; height: 18px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--color-primary); color: #fff; }
.faq-item summary:hover .faq-icon { background: color-mix(in srgb, var(--color-primary) 18%, transparent); }
.faq-item[open] summary:hover .faq-icon { background: var(--color-primary-hover); }
.faq-body { padding: 0 3.2rem 1.3rem 0; color: var(--color-text-muted); }

.m1 .faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.m1 .faq-head h2 { max-width: 14ch; }
@media (max-width: 900px) {
  .m1 .faq-grid { grid-template-columns: minmax(0, 1fr); }
}

.m2 .faq { background: var(--color-bg); }
.m2 .faq-grid { display: grid; gap: var(--sp-5); max-width: 820px; }
.m2 .faq-head { text-align: center; display: grid; justify-items: center; }

@media (max-width: 640px) {
  .faq-body { padding-right: 0; }
}

.nosotros { background: var(--color-surface); }
.nosotros-copy p { margin-top: var(--sp-2); color: var(--color-text-muted); }
.valores { display: grid; gap: 1.4rem; }
.valores li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: .2rem 1rem; }
.valores .serv-icon { grid-row: 1 / span 2; }
.valores h3 { font-size: 1.05rem; }
.valores p { color: var(--color-text-muted); font-size: .96rem; }

.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--grad);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: var(--shadow-lg);
  animation: degrade 14s var(--ease) infinite alternate;
}
.cta-card h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.cta-card p { margin-top: .7rem; color: rgba(255, 255, 255, .88); }
.cta-card .btn { margin-top: var(--sp-3); }
@keyframes degrade { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.m1 .nosotros-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.m1 .nosotros-copy h2 { max-width: 15ch; }
.m1 .cta-wrap { align-self: end; position: relative; z-index: 2; translate: 0 calc(var(--section-pad-y) + var(--cta-cruce)); }

@media (max-width: 1100px) {
  .m1 .nosotros { padding-bottom: 0; }
  .m1 .nosotros-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .m1 .cta-wrap { grid-column: 1 / -1; translate: 0 var(--cta-cruce); }
}
@media (max-width: 700px) {
  .m1 .nosotros-grid { grid-template-columns: minmax(0, 1fr); }
}

.m2 .nosotros-grid { display: grid; gap: var(--sp-6); }
.m2 .nosotros-copy { display: grid; gap: var(--sp-3); }
.m2 .nosotros-copy p { margin-top: 0; }
.m2 .nosotros-copy h2 { font-size: .95rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-primary); }
.m2 .nosotros-frase {
  max-width: 30ch;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 700;
  font-size: clamp(1.65rem, 1.1rem + 2.4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--color-text);
}
.m2 .valores { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-top: var(--sp-4); border-top: 1px solid var(--line); }
@media (max-width: 800px) {
  .m2 .valores { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
}
.leer-w { color: color-mix(in srgb, var(--color-text) 22%, transparent); transition: color .45s var(--ease); }
.leer-w.on { color: var(--color-text); }

.cierre { background: var(--color-bg-alt); padding-bottom: 0; }
.cierre-band {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(340px, 34vw, 440px);
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  translate: 0 var(--cta-cruce);
  box-shadow: var(--shadow-lg);
}
.cierre-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.cierre-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(14, 16, 46, .9) 0%, rgba(14, 16, 46, .66) 50%, rgba(14, 16, 46, .25) 100%);
}
.cierre-content { position: relative; z-index: 2; padding: clamp(1.75rem, 5vw, 4rem); max-width: 620px; }
.cierre-content p { margin-top: .9rem; color: rgba(255, 255, 255, .88); }
.cierre-content .btn { margin-top: var(--sp-4); }
@media (max-width: 640px) {
  .cierre-band::before { background: linear-gradient(0deg, rgba(14, 16, 46, .92) 0%, rgba(14, 16, 46, .7) 60%, rgba(14, 16, 46, .35) 100%); }
  .cierre-band { align-items: flex-end; min-height: 420px; }
}

.site-footer {
  position: relative;
  background: var(--color-dark);
  color: var(--on-dark);
  padding-top: calc(var(--section-pad-y) + var(--cta-cruce) + 1rem);
  padding-bottom: var(--sp-4);
}
.site-footer .brand { color: #fff; }
.site-footer .brand-sub { color: var(--on-dark-muted); }
.site-footer .brand-mark::before { background: var(--grad-light); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem; }
.footer-brand p { margin-top: var(--sp-3); color: var(--on-dark-muted); max-width: 32ch; font-size: .98rem; }
.footer-col h3 { font-family: var(--font-body); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-on-dark); margin-bottom: .8rem; }
.footer-col a:not(.btn-share) { display: flex; align-items: center; min-height: 44px; color: var(--on-dark); transition: color .25s var(--ease); }
.footer-col a:not(.btn-share):hover { color: var(--accent-on-dark); }
.footer-col p { color: var(--on-dark-muted); font-size: .96rem; }
.footer-wa { gap: .55rem; font-weight: 600; }
.footer-wa svg { width: 18px; height: 18px; color: #4FD98A; }
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 46px;
  margin-top: .9rem;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .15s var(--ease);
}
.btn-share svg { width: 18px; height: 18px; }
.btn-share:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
.btn-share:active { transform: scale(.97); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 2rem;
  margin-top: var(--sp-6);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-muted);
  font-size: .9rem;
}
.footer-bottom a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

.wsp-float {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .4);
  opacity: 0;
  transform: translateY(12px) scale(.92);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.wsp-float.visible { opacity: 1; transform: none; pointer-events: auto; }
.wsp-float svg { width: 28px; height: 28px; }
.wsp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid #25D366; animation: pulse-ring 2.4s var(--ease-out) infinite; pointer-events: none; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
body.no-scroll .wsp-float { opacity: 0; pointer-events: none; }
@media (min-width: 641px) {
  .wsp-float { right: 24px; bottom: 24px; }
}

.toast-wrap { position: fixed; left: 50%; bottom: 20px; translate: -50% 0; z-index: 140; display: grid; gap: .5rem; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .9rem 1.1rem;
  border-radius: 14px;
  background: var(--color-dark);
  color: #fff;
  font-weight: 500;
  font-size: .96rem;
  box-shadow: var(--shadow-lg);
  animation: toast-in .4s var(--ease) both;
}
.toast svg { width: 20px; height: 20px; color: var(--accent-on-dark); flex-shrink: 0; }
.toast.hiding { animation: toast-out .22s var(--ease-out) both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

[data-animate] { transition: opacity .9s var(--ease), transform 1.1s var(--ease), clip-path 1.2s var(--ease), filter 1s var(--ease); }
[data-animate].in { opacity: 1 !important; transform: none !important; }
[data-animate="blur"].in { filter: none !important; }
[data-animate="mascara"].in, [data-animate="cortina"].in { clip-path: inset(0 0 0 0) !important; }
[data-animate="linea"] { transform-origin: 0 50%; }
[data-animate="zoom"] { transition: transform 1.8s var(--ease); }
[data-animate="mascara"] > img, [data-animate="mascara"] > picture > img { scale: 1.12; transition: scale 1.5s var(--ease), transform .8s var(--ease); }
[data-animate="mascara"].in > img, [data-animate="mascara"].in > picture > img { scale: 1; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { transition: none !important; }
  [data-animate="mascara"] > img, [data-animate="mascara"] > picture > img { scale: 1; }
  .sello-anillo, .cta-card, .wsp-float::before { animation: none; }
  .leer-w { transition: none; }
  .btn, .link-flecha svg, .main-nav a::after, .faq-icon { transition: none; }
}
