/* ==========================================================
   ALTOMURO — hoja de estilos
   Paleta de la marca: negro carbón, blanco, rojo ALTOMURO
   ========================================================== */
:root {
  --ink: #18181a;
  --ink-2: #222225;
  --ink-3: #2e2e32;
  --paper: #f3f2f0;
  --white: #ffffff;
  --red: #e3141b;        /* rojo de marca (decorativo / textos grandes) */
  --red-strong: #c8101a; /* rojo para fondos de botón con texto blanco (AA) */
  --muted: #a6a6ad;      /* texto secundario sobre fondo oscuro (AA) */
  --muted-dark: #55555c; /* texto secundario sobre fondo claro (AA) */
  --line: rgba(255,255,255,.12);
  --line-dark: rgba(0,0,0,.12);

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.6;
  color: var(--white);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--white); color: var(--ink); padding: .75rem 1rem; font-weight: 600; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Logotipo ---------- */
.logo {
  display: inline-flex; align-items: center; text-decoration: none;
  font-weight: 500; font-size: 1.75rem; letter-spacing: -.01em; line-height: 1; color: var(--white);
}
.logo > span { display: inline-flex; align-items: center; }
.logo-ring { width: .84em; height: .84em; color: var(--red); margin: .06em .02em 0 .03em; }
.logo-lg { font-size: 2.4rem; }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent; --fg: var(--white); --bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .8em 1.6em;
  font: 500 1rem/1.2 var(--font); letter-spacing: .02em;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { --bg: var(--red-strong); --bd: var(--red-strong); }
.btn-primary:hover { --bg: #a90d16; --bd: #a90d16; }
.btn-ghost { --bd: rgba(255,255,255,.55); }
.btn-ghost:hover { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.btn-light { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.btn-light:hover { --bg: transparent; --fg: var(--white); }
.btn-dark { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); }
.btn-dark:hover { --bg: var(--red-strong); --bd: var(--red-strong); }
.btn-sm { min-height: 42px; padding: .6em 1.2em; font-size: .95rem; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .8rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--red); }

/* ---------- Encabezado ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(24,24,26,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav ul { display: flex; gap: 2rem; }
.nav ul a { position: relative; text-decoration: none; font-size: .98rem; padding: .5rem 0; }
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav ul a:hover::after, .nav ul a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 7px; width: 48px; height: 48px;
    background: none; border: 0; cursor: pointer; z-index: 2;
  }
  .nav-toggle span { display: block; width: 28px; height: 2px; background: var(--white); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 2.5rem;
    background: var(--ink); visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav.is-open { visibility: visible; opacity: 1; }
  .nav ul { flex-direction: column; align-items: center; gap: 1.25rem; }
  .nav ul a { font-size: 1.75rem; }
  body.menu-open { overflow: hidden; }
  .header-inner > .logo { position: relative; z-index: 2; }
  .scroll-cue { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  padding-block: calc(var(--header-h) + 3rem) clamp(4rem, 10vh, 7rem);
  overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--ink-2); }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.1); opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s var(--ease), transform 8s linear;
}
.hero-media img.is-active { opacity: 1; transform: scale(1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(24,24,26,.55) 0%, rgba(24,24,26,.15) 35%, rgba(24,24,26,.85) 100%),
    linear-gradient(90deg, rgba(24,24,26,.75) 0%, rgba(24,24,26,0) 70%);
}
.hero-ring {
  position: absolute; z-index: -1; color: var(--red); opacity: .8;
  width: clamp(220px, 34vw, 520px); height: clamp(220px, 34vw, 520px);
  right: -4vw; bottom: -6vw; animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-content { max-width: var(--container); }
.hero h1 { font-size: clamp(2.75rem, 1.6rem + 5.6vw, 6.5rem); font-weight: 600; max-width: 13ch; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--red); }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: 300; max-width: 46ch; color: #e6e6ea; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero .eyebrow { color: #d6d6db; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.5rem; translate: -50% 0;
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 13px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--white); border-radius: 2px; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Franja ---------- */
.ticker { overflow: hidden; background: var(--red-strong); padding-block: 1.1rem; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span {
  display: inline-flex; align-items: center; font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em; padding-inline: 1.5rem; white-space: nowrap;
}
.ticker span::after { content: ""; width: .5em; height: .5em; margin-left: 3rem; border: 2px solid var(--white); border-radius: 50%; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(5rem, 10vw, 9rem); }
.section-tight { padding-top: 0; }
.section-light { background: var(--paper); color: var(--ink); }
.section-light .eyebrow { color: var(--muted-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2.1rem, 1.5rem + 2.8vw, 4rem); }
.section-intro { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.section-light .section-intro { color: var(--muted-dark); }

/* Servicios */
.services { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, 1fr); }
.service { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; }
.service-img { position: absolute; inset: 0; }
.service-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.75); transition: transform .9s var(--ease), filter .6s var(--ease); }
.service::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,24,26,0) 30%, rgba(24,24,26,.95) 100%); }
.service:hover .service-img img { transform: scale(1.06); filter: grayscale(0) brightness(.8); }
.service-body { position: relative; z-index: 1; padding: 2rem 1.75rem; }
.service-num { display: block; font-size: .85rem; letter-spacing: .2em; color: #ff5a5f; font-weight: 600; margin-bottom: .75rem; }
.service h3 { font-size: 1.85rem; }
.service p { color: #d4d4d9; font-size: 1rem; margin: 0; }
.service-body::before { content: ""; display: block; width: 0; height: 2px; background: var(--red); margin-bottom: 1.25rem; transition: width .5s var(--ease); }
.service:hover .service-body::before { width: 3rem; }

@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, 1fr); } .service { min-height: 440px; } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } .service { min-height: 380px; } }

/* Especialidades */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.split .section-head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
.split .section-head .btn { margin-top: 1rem; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); }
.specs li { padding: 2rem 1.5rem 2rem 0; border-bottom: 1px solid var(--line-dark); }
.specs li:nth-child(odd) { padding-right: 2rem; border-right: 1px solid var(--line-dark); }
.specs li:nth-child(even) { padding-left: 2rem; }
.specs h3 { font-size: 1.35rem; display: flex; align-items: center; gap: .6rem; }
.specs h3::before { content: ""; width: .55em; height: .55em; border: 2.5px solid var(--red); border-radius: 50%; flex: none; }
.specs p { margin: 0; color: var(--muted-dark); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split .section-head { position: static; }
}
@media (max-width: 560px) {
  .specs { grid-template-columns: 1fr; }
  .specs li, .specs li:nth-child(odd), .specs li:nth-child(even) { padding: 1.75rem 0; border-right: 0; }
}

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { position: relative; padding-top: 2.25rem; border-top: 1px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--red); border-radius: 50%; }
.step-num { display: block; font-size: 3.25rem; font-weight: 300; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.5); margin-bottom: 1rem; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--muted); font-size: 1rem; margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(220px, 24vw, 330px); gap: 1.25rem; }
.g-item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .9s var(--ease), filter .6s var(--ease); }
.g-item:hover img { transform: scale(1.05); filter: grayscale(0); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(24,24,26,.92)); }
.g-item figcaption { position: absolute; left: 1.5rem; bottom: 1.25rem; z-index: 1; font-size: 1.25rem; font-weight: 500; }
.g-item figcaption span { display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: #ff6b70; font-weight: 600; margin-bottom: .2rem; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g-tall { grid-row: span 1; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .g-wide { grid-column: span 1; }
}

/* CTA */
.cta-band { position: relative; overflow: hidden; background: var(--ink-2); padding-block: clamp(5rem, 9vw, 8rem); text-align: center; isolation: isolate; }
.cta-ring { position: absolute; z-index: -1; color: var(--red); opacity: .18; width: 640px; height: 640px; left: 50%; top: 50%; translate: -50% -50%; }
.cta-inner h2 { font-size: clamp(2.2rem, 1.4rem + 3.5vw, 4.5rem); }
.cta-inner p { color: var(--muted); font-size: 1.2rem; }
.cta-inner .hero-actions { justify-content: center; }

/* Nosotros */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); filter: grayscale(1); }
.about-ring { position: absolute; width: 38%; height: auto; aspect-ratio: 1; color: var(--red); right: -10%; bottom: -8%; }
.about-text h2 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.5rem); }
.about-text p { color: #cfcfd4; }
.values { margin-top: 2rem; display: grid; gap: .9rem; }
.values li { padding-left: 1.75rem; position: relative; color: #cfcfd4; }
.values li::before { content: ""; position: absolute; left: 0; top: .6em; width: .9rem; height: 2px; background: var(--red); }
.values strong { color: var(--white); font-weight: 600; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about-ring { right: -4%; } }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact h2 { font-size: clamp(2.1rem, 1.5rem + 2.8vw, 4rem); }
.contact-list { margin: 2.5rem 0 0; display: grid; gap: 1.5rem; }
.contact-list div { border-top: 1px solid var(--line-dark); padding-top: 1rem; }
.contact-list dt { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: .25rem; }
.contact-list dd { margin: 0; font-size: clamp(1.2rem, 1rem + .9vw, 1.75rem); font-weight: 500; }
.contact-list a { text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.contact-list a:hover { background-size: 100% 2px; }

.contact-form { background: var(--white); padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); display: grid; gap: 1.25rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field label { font-size: .9rem; font-weight: 500; }
.opt { color: var(--muted-dark); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem; min-height: 48px; background: var(--paper); border: 1.5px solid transparent; border-radius: var(--radius);
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field [aria-invalid="true"] { border-color: var(--red-strong); }
.field-check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; }
.field-check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--red-strong); flex: none; }
.form-status { margin: 0; font-size: .95rem; min-height: 1.5em; }
.form-status.is-error { color: var(--red-strong); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Pie */
.site-footer { background: #111113; padding-top: clamp(4rem, 7vw, 6rem); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.tagline { color: var(--muted); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 1rem; }
.site-footer nav ul { display: grid; gap: .6rem; }
.site-footer a { text-decoration: none; color: #d0d0d5; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.site-footer address { font-style: normal; line-height: 2; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.75rem; font-size: .88rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%;
  background: #1f8f4e; color: var(--white); box-shadow: 0 10px 25px -8px rgba(0,0,0,.5);
  transition: transform .25s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }

/* Animación de entrada */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* Impresión */
@media print {
  .site-header, .hero-media, .ticker, .wa-float, .scroll-cue, .contact-form { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- División de mantenimiento ---------- */
.hero-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.hero-tags li {
  font-size: .85rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: .45rem .9rem; border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
  background: rgba(24,24,26,.35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}

.props { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.prop { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 40px -28px rgba(0,0,0,.35); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.prop:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(0,0,0,.45); }
.prop-img { aspect-ratio: 7/5; overflow: hidden; position: relative; }
.prop-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.prop:hover .prop-img::after { transform: scaleX(1); }
.prop-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s var(--ease), transform .9s var(--ease); }
.prop:hover .prop-img img { filter: grayscale(0); transform: scale(1.05); }
.prop-body { padding: 1.6rem 1.5rem 1.75rem; }
.prop h3 { font-size: 1.6rem; display: flex; align-items: center; gap: .6rem; }
.prop h3::before { content: ""; width: .5em; height: .5em; border: 2.5px solid var(--red); border-radius: 50%; flex: none; }
.prop p { color: var(--muted-dark); font-size: 1rem; }
.prop ul { display: grid; gap: .45rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); }
.prop li { position: relative; padding-left: 1.25rem; font-size: .95rem; }
.prop li::before { content: ""; position: absolute; left: 0; top: .7em; width: .6rem; height: 2px; background: var(--red); }

.mtypes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: clamp(3rem, 6vw, 5rem); }
.mtype { background: var(--ink); color: var(--white); padding: 2.25rem 2rem; border-radius: var(--radius); position: relative; overflow: hidden; }
.mtype::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border: 14px solid var(--red); border-radius: 50%; opacity: .2; }
.mtype-k { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #ff5a5f; margin-bottom: .9rem; }
.mtype h3 { font-size: 1.5rem; }
.mtype p { color: var(--muted); margin: 0; font-size: 1rem; }

.mant-cta { margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); }
.mant-cta p { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 500; letter-spacing: -.01em; }

.services-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1100px) { .props { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1000px) { .services-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .mtypes { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .services-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .props { grid-template-columns: 1fr; } }

/* ==========================================================
   Concepto: Creamos + Cuidamos
   ========================================================== */
.hero-sub {
  font-size: clamp(1.35rem, .95rem + 1.7vw, 2.4rem); font-weight: 300; line-height: 1.25;
  letter-spacing: -.01em; margin: -.1em 0 1.1rem; max-width: 26ch;
}
.hero-sub strong { font-weight: 600; background: linear-gradient(var(--red), var(--red)) 0 92% / 100% .12em no-repeat; }

.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-center .section-intro { margin-inline: auto; }
.section-intro strong { color: var(--white); font-weight: 500; }

.concept { background: var(--ink-2); position: relative; overflow: hidden; }
.concept-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.concept-ring { width: clamp(260px, 32vw, 430px); align-self: center; }
.concept-ring svg { width: 100%; height: auto; overflow: visible; }
.ring-track { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 34; }
.arc { fill: none; stroke-width: 34; stroke-dasharray: 436; stroke-dashoffset: 436; transition: stroke-dashoffset 1.6s var(--ease), opacity .4s var(--ease); }
.arc-crear { stroke: var(--white); }
.arc-cuidar { stroke: var(--red); transition-delay: .5s, 0s; }
.concept-ring.is-visible .arc, html:not(.js) .arc { stroke-dashoffset: 0; }
.ring-axis { stroke: rgba(255,255,255,.18); stroke-width: 1.5; stroke-dasharray: 4 6; }
.ring-word { font: 600 25px var(--font); fill: var(--white); text-anchor: middle; letter-spacing: -.5px; transition: opacity .4s var(--ease); }
.ring-word-red { fill: #ff5a5f; }
.ring-sub { font: 500 10.5px var(--font); fill: var(--muted); text-anchor: middle; letter-spacing: 2px; text-transform: uppercase; }

.half {
  padding: 2rem 0 0; border-top: 2px solid var(--white); outline-offset: 8px;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.half-cuidar { border-top-color: var(--red); }
.half-k { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.half h3 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); margin-bottom: .35em; }
.half-cuidar h3 { color: #ff5a5f; }
.half p { color: #cfcfd4; }
.half ul { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.half li { font-size: .85rem; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: #e2e2e6; }
.half-cuidar li { border-color: rgba(227,20,27,.5); }

.concept-grid[data-active="crear"] .half-cuidar,
.concept-grid[data-active="cuidar"] .half-crear { opacity: .35; }
.concept-grid[data-active="crear"] .half-crear,
.concept-grid[data-active="cuidar"] .half-cuidar { transform: translateY(-4px); }
.concept-grid[data-active="crear"] .arc-cuidar,
.concept-grid[data-active="cuidar"] .arc-crear { opacity: .15; }

.concept-quote {
  margin: clamp(3.5rem, 7vw, 6rem) auto 0; max-width: 34ch; text-align: center;
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.3rem); font-weight: 300; line-height: 1.3; color: var(--muted);
}
.concept-quote span { color: var(--white); font-weight: 500; }

@media (max-width: 960px) {
  .concept-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "ring ring" "a b"; }
  .concept-ring { grid-area: ring; justify-self: center; }
  .half-crear { grid-area: a; }
  .half-cuidar { grid-area: b; }
}
@media (max-width: 620px) {
  .concept-grid { grid-template-columns: 1fr; grid-template-areas: "ring" "a" "b"; }
}

/* Servicio de mantenimiento destacado */
.service-num { color: #ff8a8d; }
.service-care { outline: 2px solid var(--red); outline-offset: -2px; }
.service-care .service-body::before { width: 3rem; }
.service-link { display: inline-block; margin-top: 1rem; font-weight: 500; color: var(--white); text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.service-link span { display: inline-block; transition: transform .3s var(--ease); }
.service-link:hover span { transform: translateX(4px); }

/* Ciclo */
.steps li::before { background: var(--white); }
.steps li.step-care { border-top-color: rgba(227,20,27,.6); }
.steps li.step-care::before { background: var(--red); }
.step-tag { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.step-care .step-tag { color: #ff5a5f; }
.step-care .step-num { -webkit-text-stroke-color: rgba(255,90,95,.8); }
.cycle-loop { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 2.5rem 0 0; color: #ff5a5f; font-weight: 500; letter-spacing: .04em; }
.cycle-loop svg { width: 26px; height: 26px; animation: spin 6s linear infinite; }

/* CTA dos caminos */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 900px; margin: 2.5rem auto 0; text-align: left; }
.path {
  position: relative; display: grid; gap: .4rem; padding: 2rem 4rem 2rem 2rem; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.35); border-radius: var(--radius); background: rgba(24,24,26,.5);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.path:hover { transform: translateY(-4px); border-color: var(--white); background: var(--white); color: var(--ink); }
.path-care { border-color: var(--red); }
.path-care:hover { background: var(--red-strong); border-color: var(--red-strong); color: var(--white); }
.path-k { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.path:hover .path-k { color: inherit; opacity: .75; }
.path-t { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 500; line-height: 1.25; }
.path-a { position: absolute; right: 1.75rem; top: 50%; translate: 0 -50%; font-size: 1.75rem; transition: transform .3s var(--ease); }
.path:hover .path-a { transform: translateX(6px); }
@media (max-width: 680px) { .paths { grid-template-columns: 1fr; } }

.footer-claim { margin: 1.25rem 0 0; font-size: 1.25rem; font-weight: 300; color: #d0d0d5; }
.footer-claim span { color: #ff5a5f; font-weight: 500; }

@media (prefers-reduced-motion: reduce) { .arc { stroke-dashoffset: 0; } }

/* ==========================================================
   Portada: énfasis en mantenimiento
   ========================================================== */
.hero-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.eyebrow-hl { color: var(--white); font-weight: 600; border-bottom: 2px solid var(--red); padding-bottom: 2px; }

/* "mantenimient◯": la última o es el anillo de la marca */
.word-ring { white-space: nowrap; font-weight: 600; color: var(--white); }
.word-ring > span[aria-hidden] { display: inline-flex; align-items: baseline; }
.word-ring-o { width: .66em; height: .66em; color: var(--red); margin-left: .04em; transform: translateY(.02em); align-self: center; }
.hero-sub .word-ring-o { animation: spin 14s linear infinite; }

.hero-card {
  position: relative; padding: 1.75rem 1.75rem 1.5rem; margin-bottom: .25rem;
  background: rgba(24,24,26,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14); border-left: 4px solid var(--red); border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.hero-card-k { display: flex; align-items: center; gap: .6rem; margin: 0 0 .9rem; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #ff8a8d; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(227,20,27,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(227,20,27,0); } 100% { box-shadow: 0 0 0 0 rgba(227,20,27,0); } }
.hero-card-t { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); font-weight: 500; line-height: 1.2; margin: 0 0 1rem; }
.hero-card-t .word-ring { display: inline; }
.hero-card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.hero-card-tags li { font-size: .78rem; font-weight: 500; letter-spacing: .06em; padding: .3rem .7rem; border: 1px solid rgba(227,20,27,.55); border-radius: 999px; color: #f0f0f2; }
.hero-card-p { font-size: .95rem; color: #cfcfd4; margin-bottom: 1rem; }
.hero-card-link { font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.hero-card-link span { display: inline-block; transition: transform .3s var(--ease); }
.hero-card-link:hover span { transform: translateX(4px); }

@media (max-width: 1000px) {
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card { max-width: 460px; }
  .hero { align-items: center; }
}
.hero .eyebrow { display: block; line-height: 2; }
.hero .eyebrow::before { display: inline-block; vertical-align: middle; margin-right: .75rem; }
