/* =============================================================
   RentalMe — Glassmorphism Modern (premium real-estate)
   1. Tokens
   ============================================================= */
:root {
  /* Base */
  --bg:        #f4f1ea;   /* warm off-white */
  --bg-2:      #ece6db;
  --paper:     #ffffff;

  /* Ink */
  --ink:       #18222c;
  --ink-soft:  #3c4a55;
  --ink-mute:  #6a7682;

  /* Accents */
  --accent:        #0d7d6f;   /* deep teal/emerald */
  --accent-strong: #0a5f54;
  --accent-2:      #e0795f;   /* warm clay — secondary highlight */
  --gold:          #c79a4b;

  /* Glass */
  --glass:    rgba(255, 255, 255, 0.55);
  --glass-2:  rgba(255, 255, 255, 0.35);
  --glass-bd: rgba(255, 255, 255, 0.65);

  --line:     rgba(24, 34, 44, 0.10);
  --line-2:   rgba(24, 34, 44, 0.16);

  /* Mesh gradient stops */
  --mesh-1: #ffd9a8;   /* warm sand */
  --mesh-2: #f6b3a0;   /* soft coral */
  --mesh-3: #a9d8cb;   /* sage mint */
  --mesh-4: #bcd0f0;   /* soft sky */

  /* Type */
  --display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif:   "Fraunces", Georgia, "Times New Roman", serif;

  /* Shape */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 28px;
  --r-xl: 36px;

  /* Shadows */
  --shadow-sm: 0 6px 20px rgba(24, 34, 44, 0.07);
  --shadow:    0 22px 50px -24px rgba(24, 34, 44, 0.32);
  --shadow-lg: 0 50px 90px -40px rgba(24, 34, 44, 0.42);

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1180px;
  --gutter: clamp(1.2rem, 4vw, 3rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.06; letter-spacing: -0.02em; font-family: var(--display); font-weight: 600; }
em { font-style: italic; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: #fff;
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-strong);
  display: inline-flex; align-items: center; gap: .55rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px; background: var(--accent); display: inline-block;
}

.glass {
  background: rgba(255, 255, 255, 0.72);            /* solid fallback */
  border: 1px solid var(--glass-bd);
  box-shadow: var(--shadow-sm);
}
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .glass {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(165%);
    -webkit-backdrop-filter: blur(20px) saturate(165%);
  }
}

/* =============================================================
   4. Mesh background (signature)
   ============================================================= */
.mesh-bg {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background: var(--bg);
  pointer-events: none;
}
.mesh {
  position: absolute; border-radius: 50%;
  filter: blur(90px) saturate(135%);
  opacity: .78;
  will-change: transform;
}
.mesh-a { width: 46vw; height: 46vw; left: -8vw;  top: -10vw;  background: var(--mesh-1); animation: drift1 24s ease-in-out infinite; }
.mesh-b { width: 40vw; height: 40vw; right: -6vw; top: 6vw;    background: var(--mesh-2); animation: drift2 30s ease-in-out infinite; }
.mesh-c { width: 44vw; height: 44vw; left: 12vw;  bottom: -14vw; background: var(--mesh-3); animation: drift3 27s ease-in-out infinite; }
.mesh-d { width: 34vw; height: 34vw; right: 10vw; bottom: 2vw;  background: var(--mesh-4); animation: drift1 33s ease-in-out infinite reverse; }

@keyframes drift1 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(4vw,3vw,0) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-5vw,4vw,0) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: translate3d(0,0,0) scale(1.05); } 50% { transform: translate3d(3vw,-4vw,0) scale(1); } }

/* a faint grain veil for premium texture */
.mesh-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .035; mix-blend-mode: multiply;
}

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  --bg-btn: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  letter-spacing: -0.01em;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s var(--ease-out), color .25s var(--ease-out);
  will-change: transform;
}
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(13, 125, 111, .65);
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(13, 125, 111, .7); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,.5);
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.ico-wa { width: 19px; height: 19px; flex-shrink: 0; }
.nav-cta .ico-wa { width: 17px; height: 17px; }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem var(--gutter);
  transition: padding .35s var(--ease-out);
}
.nav-inner {
  max-width: var(--container); margin-inline: auto;
  display: flex; align-items: center; gap: 1.2rem;
  padding: .5rem .6rem .5rem 1.1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--glass-bd);
  transition: box-shadow .35s var(--ease-out), background .35s var(--ease-out);
}
@supports (backdrop-filter: blur(18px)) {
  .nav-inner { background: rgba(255,255,255,.42); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
}
.nav.is-scrolled .nav-inner { box-shadow: var(--shadow); background: rgba(255,255,255,.7); }
@supports (backdrop-filter: blur(18px)) {
  .nav.is-scrolled .nav-inner { background: rgba(255,255,255,.62); }
}

.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.03em; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; }
.brand-name em { color: var(--accent); font-style: normal; }

.nav-links { display: none; gap: 1.6rem; margin-left: auto; }
.nav-links a { position: relative; font-weight: 500; font-size: .94rem; color: var(--ink-soft); padding: .2rem 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }

.nav-toggle { margin-left: auto; display: inline-flex; flex-direction: column; gap: 5px; padding: .6rem; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .3s; }
.nav.is-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* mobile dropdown */
.nav-mobile {
  position: fixed; inset: 76px var(--gutter) auto var(--gutter); z-index: 99;
  display: grid; gap: .2rem; padding: 1rem;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.85);
  border: 1px solid var(--glass-bd);
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
@supports (backdrop-filter: blur(20px)) { .nav-mobile { background: rgba(255,255,255,.72); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); } }
.nav.is-open .nav-mobile { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.nav-mobile a { padding: .8rem 1rem; border-radius: 12px; font-weight: 500; color: var(--ink-soft); }
.nav-mobile a:hover { background: rgba(13,125,111,.08); color: var(--ink); }
.nav-mobile .btn { margin-top: .4rem; color: #fff; }
.nav-mobile .btn:hover { color: #fff; background: var(--accent-strong); }

/* =============================================================
   7. Hero
   ============================================================= */
.hero { padding: clamp(7rem, 14vw, 9.5rem) var(--gutter) clamp(3rem, 7vw, 5rem); }
.hero-grid {
  max-width: var(--container); margin-inline: auto;
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy { max-width: 40rem; }
.hero-title {
  font-size: clamp(2.6rem, 7.4vw, 5rem);
  line-height: 1.02;
  margin: 1.1rem 0 1.3rem;
  letter-spacing: -0.035em;
}
.hero-title em { font-family: var(--serif); font-weight: 500; font-style: italic; color: var(--accent); letter-spacing: -0.01em; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.8rem; margin-top: 2.4rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--display); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.hero-trust span { font-size: .85rem; color: var(--ink-mute); }

/* hero visual */
.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 460px; }
.hero-card { padding: .7rem; border-radius: var(--r-xl); position: relative; }
.hero-card img { border-radius: calc(var(--r-xl) - 10px); aspect-ratio: 4/3.1; object-fit: cover; width: 100%; }
.hero-card-tag {
  position: absolute; left: 1.4rem; bottom: 1.4rem;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--ink);
}
.hero-card-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(13,125,111,.5); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(13,125,111,.5);} 70%{ box-shadow: 0 0 0 9px rgba(13,125,111,0);} 100%{ box-shadow: 0 0 0 0 rgba(13,125,111,0);} }

.hero-chip {
  position: absolute; right: -.6rem; top: 1.6rem;
  display: grid; gap: .1rem; padding: .9rem 1.15rem; border-radius: var(--r);
  text-align: right;
}
.hero-chip-num { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--accent-strong); letter-spacing: -0.02em; }
.hero-chip-label { font-size: .75rem; color: var(--ink-mute); }

/* =============================================================
   8. Value cards
   ============================================================= */
.value { padding: clamp(1rem, 3vw, 2rem) var(--gutter) 0; }
.value-grid { display: grid; gap: 1.1rem; }
.value-card { padding: 1.8rem; border-radius: var(--r-lg); }
.value-card h2 { font-size: 1.35rem; margin-bottom: .55rem; }
.value-card p { color: var(--ink-soft); font-size: .98rem; }

/* =============================================================
   9. Section heads
   ============================================================= */
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(1.9rem, 4.3vw, 3rem); margin: 1rem 0 .9rem; letter-spacing: -0.03em; }
.section-title em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent); }
.section-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 38rem; }
.section-head.center .section-lead { margin-inline: auto; }

/* =============================================================
   10. Services grid
   ============================================================= */
.services-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.service-card { padding: 1.7rem; border-radius: var(--r-lg); }
.service-card h3 { font-size: 1.18rem; margin: 1rem 0 .5rem; }
.service-card p { color: var(--ink-soft); font-size: .96rem; }
.service-ico {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(140deg, rgba(13,125,111,.16), rgba(224,121,95,.16));
  color: var(--accent-strong);
}
.service-ico svg { width: 24px; height: 24px; }

/* =============================================================
   11. Steps + how video
   ============================================================= */
.how-video {
  padding: .6rem; border-radius: var(--r-xl); margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
  max-width: 880px; margin-inline: auto;
}
.how-video video {
  width: 100%; display: block; border-radius: calc(var(--r-xl) - 8px);
  aspect-ratio: 16 / 9; object-fit: cover; background: #0c1418;
}
.steps { display: grid; gap: 1.1rem; counter-reset: step; }
.step {
  position: relative; padding: 1.7rem 1.7rem 1.7rem 1.7rem;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.4);
  border: 1px solid var(--line);
}
.step-n {
  font-family: var(--display); font-weight: 700; font-size: 2.4rem;
  color: transparent; -webkit-text-stroke: 1.4px var(--accent);
  letter-spacing: -0.04em; display: block; margin-bottom: .4rem; line-height: 1;
}
.step h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.step p { color: var(--ink-soft); font-size: .96rem; }

/* =============================================================
   12. Results / stats
   ============================================================= */
.results .container { position: relative; }
.stats {
  display: grid; gap: 1px;
  grid-template-columns: 1fr 1fr;           /* móvil/tablet: 2 columnas */
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  min-width: 0;                              /* permite encoger sin recortar */
  background: rgba(255,255,255,.6);
  padding: 1.5rem 1rem; text-align: center;
  display: flex; flex-direction: column; gap: .4rem; justify-content: center;
}
.stat:last-child { grid-column: 1 / -1; }    /* la 5ª ocupa la fila entera (2 + 2 + 1) */
@supports (backdrop-filter: blur(16px)) { .stat { background: rgba(255,255,255,.45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); } }
.stat strong { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.1vw, 1.65rem); color: var(--accent-strong); letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
.stat span { font-size: .82rem; color: var(--ink-mute); text-wrap: balance; }

/* Escritorio: las 5 métricas en una sola fila bien repartida */
@media (min-width: 960px) {
  .stats { grid-template-columns: repeat(5, 1fr); }
  .stat:last-child { grid-column: auto; }
}

/* =============================================================
   13. Gallery mosaic
   ============================================================= */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; grid-auto-rows: 200px; }
.mosaic-item { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.mosaic-item:hover img { transform: scale(1.07); }
.m-tall { grid-row: span 2; }
.m-wide { grid-column: span 2; }
.gallery-note { margin-top: 1.1rem; font-size: .82rem; color: var(--ink-mute); font-style: italic; }

/* =============================================================
   14. Quotes
   ============================================================= */
.quotes-grid { display: grid; gap: 1.2rem; }
.quote { padding: 2rem; border-radius: var(--r-lg); position: relative; }
.quote::before {
  content: "“"; position: absolute; top: .1rem; left: 1.2rem;
  font-family: var(--serif); font-style: italic; font-size: 5rem; color: var(--accent); opacity: .22; line-height: 1;
}
.quote blockquote { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--ink); position: relative; }
.quote figcaption { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; }
.quote figcaption img, .avatar-initials { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-initials { display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1rem; }
.quote figcaption span { display: flex; flex-direction: column; font-size: .85rem; color: var(--ink-mute); }
.quote figcaption strong { font-family: var(--sans); color: var(--ink); font-size: .98rem; }

/* case study */
.case { padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: var(--r-lg); position: relative; max-width: 860px; }
.case::before {
  content: "“"; position: absolute; top: .2rem; left: 1.4rem;
  font-family: var(--serif); font-style: italic; font-size: 5rem; color: var(--accent); opacity: .2; line-height: 1;
}
.case blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.5; color: var(--ink); position: relative; }
.case figcaption { display: flex; align-items: center; gap: .9rem; margin-top: 1.5rem; }
.case figcaption span { display: flex; flex-direction: column; font-size: .85rem; color: var(--ink-mute); }
.case figcaption strong { font-family: var(--sans); color: var(--ink); font-size: .98rem; }

/* =============================================================
   15. FAQ
   ============================================================= */
.faq-wrap { max-width: 760px; margin-inline: auto; }
.faq-list { display: grid; gap: .8rem; }
.faq-item { border-radius: var(--r); padding: 0 1.4rem; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 0; font-family: var(--display); font-weight: 600; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--sans); font-weight: 400; font-size: 1.5rem; color: var(--accent);
  transition: transform .3s var(--ease-out); flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--ink-soft); padding-bottom: 1.3rem; margin-top: -.2rem; font-size: .97rem; }

/* =============================================================
   16. CTA
   ============================================================= */
.cta-wrap {
  display: grid; gap: clamp(1.6rem, 4vw, 3rem);
  padding: clamp(1.8rem, 5vw, 3.4rem);
  border-radius: var(--r-xl);
}
.cta-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .9rem 0 .8rem; letter-spacing: -0.03em; }
.cta-title em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent); }
.cta-lead { color: var(--ink-soft); font-size: 1.05rem; }
.cta-points { margin-top: 1.4rem; display: grid; gap: .7rem; }
.cta-points li { position: relative; padding-left: 1.8rem; color: var(--ink-soft); font-size: .96rem; }
.cta-points li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px;
  background: var(--accent); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* contact panel */
.cta-actions {
  align-self: start; display: grid; gap: .8rem;
  padding: clamp(1.4rem, 3vw, 1.8rem); border-radius: var(--r-lg);
}
.cta-actions .btn { gap: .55rem; }
.cta-direct { display: grid; gap: .6rem; margin-top: .4rem; }
.cta-direct a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 1.1rem; border-radius: 14px;
  background: rgba(255,255,255,.6); border: 1px solid var(--line-2);
  transition: border-color .25s var(--ease-out), background .25s, transform .25s var(--ease-out);
}
.cta-direct a:hover { border-color: var(--accent); background: #fff; transform: translateY(-1px); }
.cta-direct span { font-size: .8rem; color: var(--ink-mute); }
.cta-direct strong { font-family: var(--display); font-weight: 600; font-size: .98rem; color: var(--ink); letter-spacing: -0.01em; }

/* form (legacy — not used as primary CTA) */
.cta-form { display: grid; gap: 1rem; align-content: start; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; gap: 1rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.field .opt { font-weight: 400; color: var(--ink-mute); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .85rem 1rem; border-radius: 12px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line-2);
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa4ad; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13,125,111,.15); background: #fff; }
.field textarea { resize: vertical; min-height: 84px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(224,121,95,.15); }

.btn-check { width: 20px; height: 20px; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s var(--ease-bounce); }
.cta-form.is-sent .btn-label { opacity: .85; }
.cta-form.is-sent .btn-check { opacity: 1; transform: scale(1); }
.form-note { font-size: .82rem; color: var(--ink-mute); text-align: center; }
.form-note.is-ok { color: var(--accent-strong); font-weight: 600; }
.form-note.is-err { color: var(--accent-2); font-weight: 600; }

/* =============================================================
   17. Footer
   ============================================================= */
.footer { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; margin-top: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 2.4rem; }
.footer-brand .brand-name { font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.03em; }
.footer-brand .brand-name em { color: var(--accent); font-style: normal; }
.footer-brand p { color: var(--ink-mute); margin-top: .7rem; max-width: 28rem; font-size: .95rem; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.footer-cols h4 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-mute); margin-bottom: .9rem; }
.footer-cols a { display: block; color: var(--ink-soft); padding: .28rem 0; font-size: .95rem; transition: color .2s; }
.footer-cols a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; align-items: center; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-mute); }
.footer-top:hover { color: var(--accent); }

/* =============================================================
   18. Reveal animations
   ============================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.is-ready .reveal { will-change: opacity, transform; }

/* defensive: split-text never invisible (per skill gotcha A.4.5) */
.reveal[data-split] { opacity: 1; transform: none; }

/* float animations (micro — never gated by reduced motion) */
[data-float] { animation: float 6s ease-in-out infinite; }
[data-float-slow] { animation: float 8s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* =============================================================
   19. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .value-card:first-child { grid-column: 1 / -1; }
}
@media (min-width: 720px) {
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .value-card:first-child { grid-column: auto; }
  .mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; }
  .footer-inner { grid-template-columns: 1.3fr 1fr; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .hero-visual { max-width: 500px; justify-self: end; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-wrap { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   20. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mesh { animation: none; }
  [data-float], [data-float-slow] { animation: none; }
  .hero-card-tag .dot { animation: none; }
  /* reveals still work — just shorten */
  .reveal { transition-duration: .35s; }
}

/* =============================================================
   21. Logo oficial
   ============================================================= */
.brand-logo { height: 30px; width: auto; display: block; }
.footer-logo { height: 36px; width: auto; display: block; margin-bottom: .2rem; }
@media (min-width: 960px) { .brand-logo { height: 32px; } }

/* =============================================================
   22. Hero — compactado en escritorio (móvil intacto)
   ============================================================= */
@media (min-width: 960px) {
  .hero { padding-top: 6.4rem; padding-bottom: 2.4rem; }
  .hero-grid { gap: clamp(2rem, 4vw, 3.2rem); }
  .hero-title { font-size: clamp(2.6rem, 4.6vw, 3.95rem); margin: .9rem 0 1.1rem; }
  .hero-sub { font-size: 1.1rem; }
  .hero-actions { margin-top: 1.4rem; }
  .hero-trust { margin-top: 1.8rem; padding-top: 1.2rem; }
  .hero-trust strong { font-size: 1.5rem; }
  .hero-visual { max-width: 430px; }
}

/* =============================================================
   23. Modalidades de gestión + RentalMe Tech
   ============================================================= */
.plans-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.plan { padding: 1.9rem 1.6rem; border-radius: var(--r-lg); text-align: center; }
.plan h3 { font-size: 1.18rem; }
.plan-rate { display: flex; flex-direction: column; align-items: center; margin: .8rem 0 .9rem; }
.plan-rate span { font-family: var(--display); font-weight: 700; font-size: 2.9rem; color: var(--accent-strong); letter-spacing: -0.03em; line-height: 1; }
.plan-rate small { font-size: .8rem; color: var(--ink-mute); margin-top: .25rem; }
.plan-desc { color: var(--ink-soft); font-size: .95rem; }
.plan-mid { border-color: rgba(13,125,111,.42); box-shadow: 0 18px 44px -26px rgba(13,125,111,.5); }

.tech { margin-top: 1.3rem; padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: var(--r-xl); border: 1.5px solid rgba(13,125,111,.35); display: grid; gap: 1.4rem; }
.tech-badge { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--accent); padding: .32rem .75rem; border-radius: 999px; margin-bottom: .8rem; }
.tech-head h3 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.tech-head h3 em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent); }
.tech-sub { color: var(--ink-soft); margin-top: .45rem; max-width: 48ch; }
.tech-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tech-figures div { background: rgba(255,255,255,.6); padding: 1.2rem .6rem; text-align: center; }
.tech-figures strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.7rem; color: var(--accent-strong); letter-spacing: -0.03em; line-height: 1.05; }
.tech-figures span { font-size: .77rem; color: var(--ink-mute); }
.tech-list { display: grid; gap: .62rem; grid-template-columns: 1fr; }
.tech-list li { position: relative; padding-left: 1.7rem; color: var(--ink-soft); font-size: .96rem; }
.tech-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; background: var(--accent); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.tech-note { font-size: .85rem; color: var(--ink-mute); font-style: italic; border-top: 1px solid var(--line); padding-top: 1rem; }
.plans-trial { text-align: center; margin-top: 1.4rem; font-size: .92rem; color: var(--ink-soft); max-width: 56ch; margin-inline: auto; }

@media (min-width: 720px) {
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
  .tech { grid-template-columns: 1fr 1fr; align-items: start; }
  .tech-head, .tech-note { grid-column: 1 / -1; }
  .tech-list { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   24. Media estancia (bloque corto de acceso)
   ============================================================= */
.midstay-panel {
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border-radius: var(--r-xl);
  border: 1px solid rgba(13,125,111,.22);
}
.midstay-short { display: grid; gap: 1.3rem; align-items: center; }
.midstay-title { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: .7rem 0 .6rem; }
.midstay-title em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent); }
.midstay-sub { color: var(--ink-soft); font-size: 1.02rem; max-width: 58ch; }
.midstay-short-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.midstay-short-cta .btn { gap: .5rem; }

@media (min-width: 860px) {
  .midstay-short { grid-template-columns: 1.7fr auto; gap: 2.2rem; }
  .midstay-short-cta { flex-direction: column; align-items: stretch; min-width: 230px; }
}
