:root {
  --navy: #24305a;
  --navy-deep: #141d3b;
  --navy-soft: #394775;
  --ink: #121a2f;
  --muted: #667085;
  --line: #dfe3eb;
  --paper: #f5f4ef;
  --white: #ffffff;
  --accent: #c0a269;
  --success: #1d7a50;
  --shadow: 0 24px 70px rgba(17, 28, 58, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -80px; padding: 10px 16px; background: var(--white); color: var(--navy); border-radius: 6px; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(36,48,90,.1); backdrop-filter: blur(14px); }
.nav-shell { width: min(1240px, calc(100% - 40px)); height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 166px; height: 62px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; color: #303a59; }
.main-nav > a:not(.nav-cta) { position: relative; padding: 28px 0; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; inset: auto 0 20px; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-nav > a:hover::after, .main-nav > a:focus-visible::after { transform: scaleX(1); }
.nav-cta { background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 4px; transition: background .2s, transform .2s; }
.nav-cta:hover { background: var(--navy-deep); transform: translateY(-1px); }
.menu-toggle { display: none; width: 46px; height: 44px; padding: 11px; background: none; border: 1px solid var(--line); border-radius: 4px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); transition: .25s; }

.hero { position: relative; min-height: 790px; display: flex; align-items: flex-end; padding: 180px 0 72px; overflow: hidden; color: var(--white); background: var(--navy-deep); }
.hero-media { position: absolute; inset: 0; background: url("assets/hero.jpg") center 38% / cover no-repeat; transform: scale(1.02); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,19,42,.95) 0%, rgba(19,29,63,.78) 46%, rgba(19,29,63,.18) 78%), linear-gradient(0deg, rgba(15,23,52,.76), transparent 50%); }
.hero-content { position: relative; display: grid; grid-template-columns: 1.55fr .75fr; align-items: end; gap: 84px; }
.hero-copy { max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--navy); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; }
.eyebrow span { width: 28px; height: 2px; background: var(--accent); }
.eyebrow.light { color: rgba(255,255,255,.82); }
.hero h1 { max-width: 760px; margin: 0 0 22px; font: 800 clamp(48px, 6.2vw, 82px)/1.02 "Manrope", sans-serif; letter-spacing: -.055em; }
.hero-lead { max-width: 670px; margin: 0 0 14px; font-size: 21px; line-height: 1.45; color: rgba(255,255,255,.92); }
.hero-note { max-width: 650px; margin: 0; color: rgba(255,255,255,.66); font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 4px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--navy-deep); }
.button-primary:hover { background: #d1b679; }
.button-ghost { border-color: rgba(255,255,255,.36); color: var(--white); }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.hero-proof { padding: 26px 28px; border: 1px solid rgba(255,255,255,.22); background: rgba(13,21,48,.58); backdrop-filter: blur(12px); }
.proof-kicker { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.16); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: rgba(255,255,255,.62); }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.proof-grid div { display: grid; }
.proof-grid strong { font: 700 32px/1 "Manrope", sans-serif; color: var(--white); }
.proof-grid span { margin-top: 7px; font-size: 12px; line-height: 1.3; color: rgba(255,255,255,.63); }

.trust-strip { padding: 24px 0; background: var(--paper); border-bottom: 1px solid #e7e4dc; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.trust-inner > p { margin: 0; color: #656b78; font-size: 13px; }
.standards { display: flex; align-items: center; gap: 18px; font: 800 14px "Manrope", sans-serif; color: var(--navy); letter-spacing: .07em; }
.standards i { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 48px; }
.section-heading h2, .subsection-head h2, .locations-head h2 { margin: 0; font: 700 clamp(36px, 4.2vw, 56px)/1.08 "Manrope", sans-serif; letter-spacing: -.045em; }
.section-heading > p { max-width: 470px; margin: 0 0 5px; color: var(--muted); font-size: 16px; }
.service-feature { display: grid; grid-template-columns: 1.12fr .88fr; min-height: 480px; background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.feature-image { position: relative; min-height: 420px; background: center / cover no-repeat; }
.image-evaluacion { background-image: linear-gradient(rgba(23,32,68,.06),rgba(23,32,68,.2)), url("assets/evaluacion.jpg"); }
.image-tag { position: absolute; left: 24px; bottom: 24px; padding: 8px 12px; background: rgba(255,255,255,.92); color: var(--navy); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 56px; }
.service-number { margin: 0 0 24px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.feature-copy h3 { margin: 0 0 18px; font: 700 40px/1.1 "Manrope", sans-serif; }
.feature-copy > p:not(.service-number) { margin: 0; color: rgba(255,255,255,.72); }
.text-link { display: inline-flex; gap: 18px; align-items: center; width: fit-content; margin-top: 26px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.35); font-weight: 700; }
.text-link span { color: var(--accent); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; }
.service-card { display: grid; grid-template-columns: 45% 55%; min-height: 360px; border: 1px solid var(--line); background: var(--white); }
.card-image { position: relative; min-height: 250px; background: center / cover no-repeat; }
.card-image::after, .other-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,26,53,.26), transparent 60%); }
.card-image > span { position: absolute; z-index: 1; left: 18px; bottom: 16px; color: white; font: 700 34px "Manrope"; }
.image-transporte { background-image: url("assets/transporte.jpg"); }
.image-eye { background-image: url("assets/eyedetect.jpg"); }
.card-body { padding: 34px 30px; }
.card-label { margin: 0 0 12px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card-body h3, .other-card h3 { margin: 0 0 14px; font: 700 23px/1.2 "Manrope", sans-serif; letter-spacing: -.02em; }
.card-body p:last-child, .other-card p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.subsection-head { max-width: 700px; margin: 100px 0 40px; }
.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.other-card { border: 1px solid var(--line); background: var(--white); transition: transform .25s, box-shadow .25s; }
.other-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(22,31,62,.11); }
.other-photo { position: relative; height: 220px; background: center / cover no-repeat; }
.other-card > div:last-child { padding: 28px; }
.image-consultoria { background-image: url("assets/consultoria.jpg"); }
.image-proveedores { background-image: url("assets/proveedores.jpg"); }
.image-condominos { background-image: linear-gradient(rgba(24,33,68,.14),rgba(24,33,68,.14)), url("assets/hero.jpg"); background-position: center 30%; }

.about { background: var(--navy-deep); color: var(--white); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 86px; align-items: center; }
.about-visual { position: relative; min-height: 650px; }
.about-image { position: absolute; inset: 0 38px 48px 0; background: url("assets/proveedores.jpg") 56% center / cover no-repeat; filter: saturate(.75); }
.about-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,22,48,.35), transparent 45%); }
.experience-seal { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 16px; width: 250px; padding: 24px; color: var(--navy); background: var(--accent); }
.experience-seal strong { font: 800 58px/1 "Manrope"; }
.experience-seal span { font-size: 13px; font-weight: 700; line-height: 1.25; }
.about-copy h2, .contact-copy h2 { margin: 0 0 26px; font: 700 clamp(40px, 4.5vw, 58px)/1.08 "Manrope", sans-serif; letter-spacing: -.045em; }
.about-copy > p:not(.eyebrow) { color: rgba(255,255,255,.69); }
.proposal-box { margin-top: 38px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); }
.proposal-box h3 { margin: 0 0 16px; font: 700 18px "Manrope"; }
.proposal-box ul { list-style: none; display: grid; gap: 11px; margin: 0; padding: 0; }
.proposal-box li { position: relative; padding-left: 25px; color: rgba(255,255,255,.75); font-size: 14px; }
.proposal-box li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.profiles { background: var(--paper); }
.profiles-intro { max-width: 920px; margin: -12px 0 42px; padding-left: 24px; border-left: 3px solid var(--accent); color: var(--muted); }
.accordion { border-top: 1px solid #ced3df; }
details { border-bottom: 1px solid #ced3df; }
summary { list-style: none; display: grid; grid-template-columns: 60px 1fr auto; align-items: center; min-height: 86px; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary span { color: #9198a8; font-size: 12px; }
summary strong { font: 700 22px "Manrope"; }
summary em { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #bfc5d2; border-radius: 50%; color: var(--navy); font-style: normal; font-size: 21px; transition: transform .25s; }
details[open] summary em { transform: rotate(45deg); }
.detail-content { max-width: 850px; padding: 0 0 30px 60px; color: var(--muted); }
.detail-content p { margin: 0 0 10px; }

.contact { padding: 120px 0; background: var(--navy); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.contact-copy > p:not(.eyebrow) { max-width: 530px; color: rgba(255,255,255,.7); }
.whatsapp-link { display: flex; align-items: center; gap: 16px; max-width: 390px; margin-top: 34px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.whatsapp-link > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #1fa76c; font-weight: 800; }
.whatsapp-link div { display: grid; flex: 1; }
.whatsapp-link small { color: rgba(255,255,255,.55); }
.whatsapp-link b { color: var(--accent); font-size: 22px; }
.contact-form { padding: 40px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.form-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.form-head p { margin: 0; font: 700 24px "Manrope"; }
.form-head span { color: var(--muted); font-size: 12px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 18px; color: #333a4e; font-size: 13px; font-weight: 700; }
.contact-form label > span { color: #9c2f31; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #d4d9e3; border-radius: 3px; color: var(--ink); background: #fbfbfc; outline: none; font-weight: 400; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(36,48,90,.09); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-button { width: 100%; border: 0; background: var(--navy); color: var(--white); }
.form-button:hover { background: var(--navy-deep); }
.form-status { min-height: 22px; margin: 12px 0 0; color: var(--success); font-size: 13px; text-align: center; }

.locations { padding: 100px 0; background: var(--white); }
.locations-head { margin-bottom: 36px; }
.location-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.location-grid article { min-height: 260px; padding: 30px 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.location-grid article > span { color: var(--accent); font-size: 12px; font-weight: 800; }
.location-grid h3 { margin: 38px 0 12px; font: 700 21px "Manrope"; }
.location-grid p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.location-grid a { display: block; color: var(--navy); font-size: 13px; font-weight: 700; }

footer { padding: 66px 0 24px; background: #0f172e; color: rgba(255,255,255,.67); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 70px; padding-bottom: 45px; }
.footer-brand img { width: 165px; margin-bottom: 18px; background: white; }
.footer-brand p { max-width: 320px; }
.footer-main > div:not(.footer-brand) { display: grid; align-content: start; gap: 8px; font-size: 14px; }
.footer-title { margin: 0 0 10px; color: white; font: 700 14px "Manrope"; text-transform: uppercase; letter-spacing: .1em; }
.footer-main a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.footer-bottom p { margin: 0; }
.floating-wa { position: fixed; z-index: 50; right: 22px; bottom: 22px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #1fa76c; color: white; font-weight: 800; box-shadow: 0 10px 28px rgba(8,73,45,.3); transition: transform .2s; }
.floating-wa:hover { transform: translateY(-3px); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .main-nav { position: absolute; inset: 82px 0 auto; display: none; align-items: stretch; padding: 18px 24px 26px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(20,29,59,.1); }
  .main-nav.open { display: grid; }
  .main-nav > a:not(.nav-cta) { padding: 10px 0; }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; }
  .menu-toggle { display: block; }
  .hero { min-height: 760px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-proof { max-width: 540px; }
  .service-feature, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 55px; }
  .about-visual { min-height: 500px; }
  .contact-grid { gap: 55px; }
  .service-card { grid-template-columns: 1fr; }
  .other-grid { grid-template-columns: 1fr 1fr; }
  .location-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 32px, 1160px); }
  .section { padding: 82px 0; }
  .nav-shell { width: calc(100% - 28px); height: 72px; }
  .main-nav { top: 72px; }
  .brand img { width: 145px; height: 54px; }
  .hero { min-height: auto; padding: 142px 0 45px; }
  .hero-media { background-position: 61% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(12,19,42,.94), rgba(18,28,60,.66)); }
  .hero h1 { font-size: clamp(43px, 13vw, 61px); }
  .hero-lead { font-size: 18px; }
  .hero-note { font-size: 14px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-proof { padding: 22px; }
  .trust-inner, .section-heading { display: grid; gap: 20px; }
  .standards { flex-wrap: wrap; gap: 12px; }
  .section-heading { align-items: start; }
  .service-feature { min-height: 0; }
  .feature-image { min-height: 320px; }
  .feature-copy { padding: 34px 26px 40px; }
  .services-grid, .other-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .card-image { min-height: 290px; }
  .subsection-head { margin-top: 76px; }
  .about-visual { min-height: 430px; }
  .about-image { inset-right: 24px; }
  .experience-seal { width: 218px; padding: 20px; }
  .experience-seal strong { font-size: 48px; }
  .detail-content { padding-left: 0; }
  summary { grid-template-columns: 42px 1fr auto; }
  .contact { padding: 82px 0; }
  .contact-form { padding: 28px 22px; }
  .form-head { display: grid; gap: 4px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .location-grid { grid-template-columns: 1fr; }
  .location-grid article { min-height: 215px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { display: grid; gap: 8px; }
  .floating-wa { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

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