:root {
  --ink: #151719;
  --ink-2: #202326;
  --muted: #676c72;
  --red: #d82027;
  --red-dark: #a70f17;
  --orange: #f47721;
  --paper: #ffffff;
  --canvas: #f3f3f1;
  --line: #d8dadb;
  --green: #25d366;
  --container: min(1180px, calc(100% - 48px));
  --shadow: 0 24px 70px rgba(21, 23, 25, .15);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
/* Sin JS, la navegación desplegada aumenta el alto sticky: #inicio debe volver al borde de la página. */
html:not(.js) #inicio { scroll-margin-top: 100vh; }
body { margin: 0; overflow-x: hidden; background: var(--canvas); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; font-size: 16px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; padding: 10px 16px; background: var(--red); color: #fff; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(21,23,25,.08); transition: box-shadow .2s; backdrop-filter: blur(14px); }
.site-header.scrolled { box-shadow: 0 10px 35px rgba(21,23,25,.08); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { width: 176px; flex: 0 0 auto; }
.brand img { width: 100%; height: 66px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .875rem; font-weight: 700; }
.main-nav > a:not(.nav-whatsapp) { position: relative; padding: 23px 0; }
.main-nav > a:not(.nav-whatsapp)::after { content: ""; position: absolute; right: 0; bottom: 16px; left: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .2s; }
.main-nav > a:not(.nav-whatsapp):hover::after, .main-nav > a:not(.nav-whatsapp):focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-whatsapp { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 19px; background: var(--ink); color: #fff; clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px); transition: background .2s; }
.nav-whatsapp:hover { background: var(--red); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 12px; border: 0; background: var(--ink); cursor: pointer; }
.menu-toggle span { width: 23px; height: 2px; display: block; margin: 5px auto; background: #fff; transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 690px; overflow: hidden; background: var(--paper); }
.hero::after { content: ""; position: absolute; right: -80px; bottom: -95px; width: 390px; height: 150px; background: repeating-linear-gradient(135deg, var(--orange) 0 11px, transparent 11px 20px); opacity: .14; transform: rotate(-4deg); }
.hero-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(21,23,25,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(21,23,25,.035) 1px, transparent 1px); background-size: 74px 74px; mask-image: linear-gradient(90deg, #000, transparent 48%); pointer-events: none; }
.hero-grid { min-height: 690px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 72px; padding-top: 62px; padding-bottom: 62px; }
.hero-copy, .hero-visual { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 9px; background: var(--red); color: #fff; letter-spacing: .1em; }
.hero .eyebrow { font-size: .68rem; letter-spacing: .09em; }
.eyebrow b { min-width: 0; font: inherit; }
h1, h2, h3 { margin: 0; font-family: "Manrope", Arial, sans-serif; letter-spacing: -.05em; }
h1 { max-width: 660px; font-size: clamp(3.7rem, 6vw, 5.5rem); font-weight: 800; line-height: .98; }
h1 em { color: var(--red); font-style: normal; }
.hero h1 { font-size: clamp(3rem, 4.4vw, 4.25rem); line-height: 1.06; }
.hero h1 em { display: block; }
.hero-text { max-width: 590px; margin: 28px 0 32px; color: var(--muted); font-size: 1.15rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 23px; border: 0; font-size: .94rem; font-weight: 800; clip-path: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px); transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(21,23,25,.18); }
.button:focus-visible, .nav-whatsapp:focus-visible { outline: none; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 6px var(--ink); }
.button svg { width: 20px; height: 20px; fill: currentColor; }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: var(--red); }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0 7px; border-bottom: 2px solid var(--ink); font-size: .92rem; font-weight: 800; }
.text-link span { color: var(--red); transition: transform .2s; }
.text-link:hover span { transform: translateY(3px); }
.hero-details { display: grid; grid-template-columns: 1fr 1fr; max-width: 570px; margin: 42px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.hero-details div { min-width: 0; padding-right: 20px; }
.hero-details div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-details dt { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-details dd { margin: 4px 0 0; font-size: .9rem; font-weight: 700; }

.hero-visual { position: relative; height: 520px; }
.hero-photo-wrap { position: absolute; inset: 0 24px 0 0; overflow: hidden; background: var(--ink-2); clip-path: polygon(60px 0,100% 0,100% calc(100% - 60px),calc(100% - 60px) 100%,0 100%,0 60px); box-shadow: var(--shadow); }
.hero-photo-wrap::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.22); clip-path: inherit; pointer-events: none; }
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.8) contrast(1.08); }
.photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 46%, rgba(21,23,25,.68)); }
.hero-badge { position: absolute; right: 0; bottom: 42px; width: 186px; min-height: 120px; display: flex; align-items: center; justify-content: center; padding: 22px; background: var(--red); color: #fff; clip-path: polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px); box-shadow: 0 18px 34px rgba(216,32,39,.25); }
.hero-badge strong { font: 800 .95rem/1.25 "Manrope", sans-serif; text-align: center; }
.vertical-label { position: absolute; top: 4px; right: 6px; margin: 0; color: var(--muted); font-size: .6rem; line-height: 1.2; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; writing-mode: vertical-rl; }

.quick-contact { position: relative; z-index: 2; background: var(--ink); color: #fff; }
.quick-contact-grid { min-height: 116px; display: grid; grid-template-columns: 1.35fr 1fr; }
.quick-contact a { min-width: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 24px 36px; border-right: 1px solid rgba(255,255,255,.12); transition: background .2s; }
.quick-contact a:first-child { padding-left: 0; }
.quick-contact a:last-child { border-right: 0; padding-right: 64px; }
.quick-contact a:hover { background: rgba(255,255,255,.04); }
.quick-contact small, .quick-contact strong { display: block; }
.quick-contact small { margin-bottom: 3px; color: rgba(255,255,255,.52); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.quick-contact strong { font-size: .9rem; line-height: 1.35; }
.quick-contact b { color: var(--red); font-size: 1.35rem; }

.section { padding: 112px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 54px; }
.section-heading h2, .about-title h2, .contact-main h2, .work-copy h2 { font-size: clamp(2.7rem, 5vw, 4.25rem); line-height: 1.05; }
.section-heading > p { max-width: 400px; margin: 0 0 7px; color: var(--muted); font-size: 1rem; }
.section-kicker { position: relative; display: flex; align-items: center; gap: 12px; margin: 0 0 17px; color: var(--red); font-size: .73rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-kicker::before { content: ""; width: 30px; height: 3px; background: currentColor; transform: skewX(-28deg); }
.section-kicker-light { color: #ff7479; }
.services { background: var(--canvas); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { min-width: 0; display: flex; flex-direction: column; padding: 0; background: var(--paper); border: 1px solid var(--line); clip-path: polygon(24px 0,100% 0,100% calc(100% - 24px),calc(100% - 24px) 100%,0 100%,0 24px); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card-dark { background: var(--ink); border-color: var(--ink); color: #fff; border-top: 3px solid var(--red); }
.service-top { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 22px 26px; }
.service-top span { font-size: .65rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.service-top i { position: relative; flex: 0 0 36px; width: 36px; height: 22px; overflow: hidden; }
.service-top i::before, .service-top i::after { content: ""; position: absolute; top: 3px; width: 8px; height: 18px; background: var(--red); transform: skewX(-26deg); }
.service-top i::before { right: 17px; }
.service-top i::after { right: 3px; }
.service-photo { aspect-ratio: 16 / 9; margin: 0 18px; overflow: hidden; background: var(--ink-2); border-bottom: 3px solid var(--red); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.85) contrast(1.04); }
.service-card-dark .service-photo img { object-fit: contain; filter: none; }
.service-body { padding: 28px 26px 32px; }
.service-card h3 { min-height: 2.2em; font-size: clamp(1.55rem, 2.2vw, 1.95rem); line-height: 1.1; letter-spacing: -.04em; }
.service-list { display: grid; gap: 11px; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: .91rem; line-height: 1.5; }
.service-list li { position: relative; padding-left: 17px; }
.service-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 3px; background: var(--red); transform: skewX(-26deg); }
.service-card-dark .service-list { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.8); }
.service-card-dark .service-list li::before { background: var(--orange); }

.work { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.work::before { content: "AGS"; position: absolute; top: 50%; left: -30px; color: rgba(255,255,255,.025); font: 800 22vw/1 "Manrope", sans-serif; letter-spacing: -.08em; transform: translateY(-50%); }
.work-grid { position: relative; min-height: 680px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 76px; padding-top: 86px; padding-bottom: 86px; }
.work-copy h2 { max-width: 540px; }
.work-copy > p:not(.section-kicker) { max-width: 500px; margin: 26px 0 32px; color: rgba(255,255,255,.64); font-size: 1.05rem; }
.button-light { background: #fff; color: var(--ink); }
.button-light span { color: var(--red); font-size: 1.2rem; }
.button-light:hover { background: var(--red); color: #fff; }
.button-light:hover span { color: #fff; }
.work-services { position: relative; min-height: 510px; display: grid; align-content: center; padding: 48px 54px; overflow: hidden; background: var(--ink-2); border: 1px solid rgba(255,255,255,.13); clip-path: polygon(42px 0,100% 0,100% calc(100% - 42px),calc(100% - 42px) 100%,0 100%,0 42px); }
.work-services::before { content: "AGS"; position: absolute; right: -18px; bottom: -34px; color: rgba(255,255,255,.035); font: 800 10rem/1 "Manrope", sans-serif; letter-spacing: -.08em; }
.work-services::after { content: ""; position: absolute; top: 0; right: 0; width: 135px; height: 135px; border-top: 3px solid var(--red); border-right: 3px solid var(--red); }
.work-services > div { position: relative; z-index: 1; display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 22px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.work-services > div:last-child { border-bottom: 0; }
.work-services span { color: #ff7479; font-size: .72rem; font-weight: 800; }
.work-services strong { font: 700 clamp(1.35rem, 2.5vw, 2rem)/1.2 "Manrope", sans-serif; letter-spacing: -.035em; }

.about { background: var(--paper); }
.about-trust { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: .67rem; font-weight: 800; letter-spacing: .08em; }
.about-trust li { border-left: 3px solid var(--red); padding-left: 12px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.about-title h2 { max-width: 520px; }
.about-copy { padding-top: 36px; }
.about-copy > p { max-width: 560px; margin: 0 0 22px; color: var(--muted); font-size: 1.08rem; }
.about-copy > p:first-child { color: var(--ink); font-size: 1.42rem; font-weight: 600; line-height: 1.5; }
.inline-contact { max-width: 560px; display: flex; align-items: center; justify-content: space-between; margin-top: 38px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 800 1.25rem "Manrope", sans-serif; }
.inline-contact b { width: 42px; height: 42px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 1.2rem; transition: transform .2s; }
.inline-contact:hover b { transform: rotate(8deg); }

.contact { background: #e6e6e3; }
.contact-shell { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; background: var(--ink); color: #fff; clip-path: polygon(34px 0,100% 0,100% calc(100% - 34px),calc(100% - 34px) 100%,0 100%,0 34px); }
.contact-shell::before { content: ""; position: absolute; bottom: -10px; left: -10px; width: 270px; height: 105px; background: repeating-linear-gradient(135deg, var(--red) 0 10px, transparent 10px 19px); opacity: .13; }
.contact-main { position: relative; padding: 72px 68px; border-right: 1px solid rgba(255,255,255,.1); }
.contact-main h2 { max-width: 650px; }
.contact-main > p:not(.section-kicker) { margin: 25px 0 32px; color: rgba(255,255,255,.62); }
.button-red { background: var(--red); color: #fff; }
.button-red:hover { background: var(--red-dark); }
.contact-details { padding: 58px 52px; }
.contact-details > div { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-details > div > span { color: #ff7479; font-size: .67rem; font-weight: 800; }
.contact-details p, .contact-details small, .contact-details strong { display: block; margin: 0; }
.contact-details small { margin-bottom: 5px; color: rgba(255,255,255,.48); font-size: .64rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-details strong { font-size: .92rem; line-height: 1.55; }
.map-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 28px; padding-bottom: 9px; border-bottom: 2px solid var(--red); font-size: .85rem; font-weight: 800; }
.map-link span { color: var(--red); font-size: 1.2rem; }

.floating-whatsapp { position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 80; min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; background: var(--green); color: #0d321b; border: 3px solid #fff; border-radius: 999px; box-shadow: 0 14px 32px rgba(21,23,25,.24); font-size: .82rem; font-weight: 800; transition: transform .2s; }
.floating-whatsapp:hover { transform: translateY(-3px); }
.floating-whatsapp svg { width: 24px; height: 24px; fill: currentColor; }

.site-footer { padding: 58px 0 24px; background: #0c0d0e; color: #fff; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 42px; }
.footer-brand { width: 190px; padding: 0; }
.footer-brand img { width: 100%; height: 84px; object-fit: contain; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 28px; color: rgba(255,255,255,.64); font-size: .84rem; font-weight: 700; }
.footer-top nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 20px; padding-right: 90px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.72); font-size: .72rem; }
.footer-bottom p { margin: 0; }
.footer-credit { margin-top: 10px; margin-bottom: 0; padding-right: 90px; color: rgba(255,255,255,.72); font-size: .7rem; }
.footer-credit a { text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: #fff; }

.reveal { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.reveal-ready .reveal { opacity: 0; transform: translateY(20px); }
.reveal-ready .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1380px) {
  .floating-whatsapp { width: 56px; height: 56px; min-height: 0; justify-content: center; padding: 0; }
  .floating-whatsapp svg { width: 26px; height: 26px; }
  .floating-whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
}

@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; row-gap: 0; }
  .main-nav { width: 100%; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 14px; }
  .main-nav > a:not(.nav-whatsapp) { padding: 7px 0; }
  .js .header-inner { flex-wrap: nowrap; }
  .js .menu-toggle { display: block; z-index: 2; }
  .js .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .js .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .js .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .js .main-nav { position: fixed; inset: 76px 0 auto; width: auto; max-height: calc(100dvh - 76px); display: grid; gap: 0; padding: 10px 24px 22px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 35px rgba(21,23,25,.14); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-12px); transition: visibility 0s linear .2s, opacity .2s, transform .2s; }
  .js .main-nav.open { visibility: visible; opacity: 1; pointer-events: auto; transform: none; transition-delay: 0s; }
  .js .main-nav > a:not(.nav-whatsapp) { display: block; padding: 13px 10px; border-bottom: 1px solid var(--line); }
  .main-nav > a:not(.nav-whatsapp)::after { display: none; }
  .js .nav-whatsapp { width: 100%; margin-top: 12px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  h1 { font-size: clamp(3.4rem, 7vw, 4.7rem); }
  .hero-visual { height: 470px; }
  .hero-photo-wrap { right: 20px; }
  .vertical-label { right: 4px; }
  .service-top { padding-inline: 18px; }
  .service-body { padding-inline: 20px; }
  .work-grid { grid-template-columns: .85fr 1.15fr; gap: 45px; }
  .work-services { min-height: 470px; }
  .about-grid { gap: 60px; }
  .contact-main { padding: 58px 45px; }
  .contact-details { padding: 48px 36px; }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 32px, 1180px); }
  html { scroll-padding-top: 76px; }
  .header-inner { min-height: 72px; }
  .brand { width: 160px; }
  .brand img { height: 62px; }
  .js .main-nav { inset: 72px 0 auto; max-height: calc(100dvh - 72px); padding-inline: 16px; }

  .hero { min-height: auto; }
  .hero::after { width: 220px; height: 85px; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 42px; padding-top: 48px; padding-bottom: 58px; }
  h1 { font-size: clamp(3rem, 13vw, 4.15rem); }
  .hero h1 { font-size: clamp(2.65rem, 8vw, 3.7rem); }
  .hero-text { margin: 22px 0 26px; font-size: 1rem; }
  .hero-actions { align-items: stretch; gap: 15px; }
  .hero-actions .button { width: 100%; }
  .text-link { margin-inline: auto; }
  .hero-details { margin-top: 32px; }
  .hero-details dd { font-size: .8rem; }
  .hero-details div + div { padding-left: 16px; }
  .hero-visual { height: 390px; }
  .hero-photo-wrap { right: 24px; }
  .hero-badge { bottom: 26px; width: 170px; min-height: 105px; padding: 18px; }
  .vertical-label { display: none; }

  .quick-contact-grid { grid-template-columns: 1fr; padding: 8px 0; }
  .quick-contact a, .quick-contact a:first-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .quick-contact a:last-child { border-bottom: 0; padding-right: 0; }
  .quick-contact strong { font-size: .82rem; }

  .section { padding: 80px 0; }
  .section-heading { display: block; margin-bottom: 34px; }
  .section-heading > p { margin-top: 18px; }
  .section-heading h2, .about-title h2, .contact-main h2, .work-copy h2 { font-size: clamp(2.45rem, 11vw, 3.25rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-top { padding-inline: 26px; }
  .service-photo { margin-inline: 18px; }
  .service-body { padding: 26px 26px 32px; }
  .service-card h3 { min-height: 0; max-width: 430px; font-size: 1.9rem; }
  .service-list { gap: 10px; margin-top: 20px; }

  .work-grid { min-height: auto; grid-template-columns: 1fr; gap: 52px; padding-top: 76px; padding-bottom: 76px; }
  .work-services { min-height: 400px; padding: 36px 30px; }
  .about-grid { grid-template-columns: 1fr; gap: 35px; }
  .about-copy { padding-top: 0; }
  .about-copy > p:first-child { font-size: 1.2rem; }

  .contact-shell { grid-template-columns: 1fr; }
  .contact-main { padding: 50px 26px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .contact-details { padding: 38px 26px 50px; }
  .button-red { width: 100%; }

  .floating-whatsapp { right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; min-height: 0; justify-content: center; padding: 0; }
  .floating-whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-top { padding-bottom: 34px; }
  .footer-top nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 16px 24px; }
  .footer-bottom { gap: 8px; padding-right: 0; }
  .footer-credit { padding-right: 74px; }
}

@media (max-width: 390px) {
  :root { --container: min(100% - 24px, 1180px); }
  h1 { font-size: 2.8rem; }
  .hero h1 { font-size: 2.6rem; }
  .hero-details { grid-template-columns: 1fr; gap: 14px; }
  .hero-details div + div { padding: 14px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .hero-visual { height: 330px; }
  .hero-photo-wrap { right: 12px; }
  .quick-contact a { grid-template-columns: 1fr; gap: 14px; }
  .quick-contact b { display: none; }
  .work-services { min-height: 340px; padding-inline: 24px; }
  .footer-top nav { grid-template-columns: 1fr; }
}
/* Reseñas: desplazamiento nativo disponible también sin JavaScript. */
.reviews { border-top: 1px solid var(--line); background: var(--canvas); }
.reviews .section-heading h2 { max-width: 720px; font-size: clamp(2.5rem, 4.4vw, 3.65rem); }
.reviews .section-heading > p { max-width: 300px; }
.review-hint { margin: 0 0 14px; color: var(--muted); font-size: .8rem; }
.review-track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; margin: 0; padding: 6px 0 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--red) var(--line); list-style: none; }
.review-track:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.review-track.has-continuous-loop { scroll-snap-type: none; scroll-behavior: auto; overflow-anchor: none; }
.review-item { min-width: 0; display: flex; scroll-snap-align: start; }
.review-card { width: 100%; min-height: 350px; display: flex; flex-direction: column; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--red); }
.review-rating { margin-bottom: 14px; color: var(--red-dark); font-size: 1.15rem; line-height: 1; letter-spacing: .12em; }
.review-card h3 { margin-bottom: 20px; font-size: 1rem; letter-spacing: -.02em; line-height: 1.4; overflow-wrap: anywhere; }
.review-card blockquote { margin: 0 0 24px; font-size: .95rem; line-height: 1.65; }
.review-card blockquote p { margin: 0; }
.review-source { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
.reviews-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding-right: 96px; }
.review-controls { display: flex; align-items: center; gap: 10px; }
.review-controls[hidden] { display: none; }
.review-controls button { min-height: 48px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 700 .8rem "DM Sans", Arial, sans-serif; cursor: pointer; }
.review-controls button:hover { border-color: var(--red); color: var(--red-dark); }
.review-arrow { width: 48px; font-size: 1.4rem !important; }
.review-play { min-width: 84px; padding: 10px 12px; }
.review-controls button:disabled { cursor: default; color: var(--muted); }
.review-google { font-size: .85rem; }
@media (max-width: 980px) {
  .review-track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 760px) {
  .reviews .section-heading h2 { font-size: clamp(2.45rem, 11vw, 3.25rem); }
  .review-track { grid-auto-columns: 100%; gap: 16px; }
  .review-card { padding: 26px; }
  .reviews-footer { align-items: flex-start; flex-direction: column; padding-right: 74px; }
}
@media (prefers-reduced-motion: reduce) {
  .review-track { scroll-behavior: auto; }
}
