:root {
  --navy: #0f1d32;
  --navy-2: #162844;
  --blue: #204d7e;
  --accent: #f2a93b;
  --accent-2: #ffc661;
  --cream: #f7f5f0;
  --paper: #ffffff;
  --ink: #1a2230;
  --muted: #697385;
  --line: #e4e7eb;
  --shadow: 0 18px 55px rgba(18, 36, 61, .12);
  --radius: 24px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: var(--container); margin-inline: auto; }
.section-padding { padding: 100px 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; background: white; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 29, 50, .93);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: white; min-width: 0; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg, var(--accent), var(--accent-2)); box-shadow: 0 9px 24px rgba(242,169,59,.22); flex: 0 0 auto; }
.brand-mark svg { width: 28px; fill: none; stroke: var(--navy); stroke-width: 3; stroke-linejoin: round; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 1rem; letter-spacing: .01em; }
.brand-copy span { font-size: .78rem; color: #c9d4e2; margin-top: 4px; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; color: #dbe3ed; font-size: .94rem; }
.main-nav > a:not(.btn) { position: relative; }
.main-nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px; background: var(--accent); transition: width .25s ease; }
.main-nav > a:not(.btn):hover::after, .main-nav > a:not(.btn):focus-visible::after { width: 100%; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: white; margin: 5px 0; transition: .25s ease; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; font-weight: 800; border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 16px; }
.btn-large { padding: 15px 20px; min-height: 54px; }
.btn svg { width: 20px; fill: currentColor; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--navy); box-shadow: 0 12px 28px rgba(242,169,59,.2); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(242,169,59,.28); }
.btn-ghost { color: white; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-light { background: white; color: var(--navy); box-shadow: 0 14px 30px rgba(0,0,0,.12); }

.hero {
  position: relative; overflow: hidden;
  min-height: 700px;
  background:
    radial-gradient(circle at 77% 14%, rgba(72,118,164,.28), transparent 34%),
    linear-gradient(120deg, #0c1728 0%, #13243e 57%, #1a3557 100%);
  color: white;
}
.hero::before { content: ""; position: absolute; inset: auto 0 0; height: 130px; background: linear-gradient(to top, rgba(255,255,255,.03), transparent); }
.hero-grid { position: relative; z-index: 2; min-height: 700px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 72px; padding-block: 76px; }
.hero-copy h1 { margin: 12px 0 18px; font-size: clamp(3rem, 6vw, 6.3rem); line-height: .93; letter-spacing: -.055em; max-width: 720px; }
.hero-copy h1 span { color: var(--accent-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; font-size: .76rem; color: #ffd890; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow.dark { color: var(--blue); }
.hero-lead { max-width: 620px; margin: 0 0 10px; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 750; }
.hero-description { max-width: 690px; margin: 0; color: #c8d4e2; font-size: 1.02rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hero-areas span { border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.04); padding: 7px 11px; border-radius: 999px; color: #cbd7e5; font-size: .82rem; }
.hero-visual { position: relative; min-height: 470px; display: grid; place-items: center; }
.visual-card { position: relative; width: min(460px, 92%); aspect-ratio: 1 / .96; border-radius: 36px; background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 34px 70px rgba(0,0,0,.26); backdrop-filter: blur(6px); overflow: hidden; }
.visual-main::before { content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%; right: -75px; top: -80px; background: rgba(242,169,59,.18); }
.visual-house { position: absolute; inset: 50px 32px 84px; display: grid; place-items: center; }
.visual-house svg { width: 100%; height: 100%; }
.house-roof, .tool-line { fill: none; stroke: var(--accent-2); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.house-body { fill: rgba(255,255,255,.065); stroke: rgba(255,255,255,.8); stroke-width: 5; stroke-linejoin: round; }
.house-door, .house-window { fill: rgba(242,169,59,.13); stroke: rgba(255,255,255,.7); stroke-width: 4; }
.visual-caption { position: absolute; left: 26px; right: 26px; bottom: 25px; display: flex; justify-content: space-between; gap: 12px; }
.visual-caption span { padding: 8px 12px; background: rgba(5,15,28,.5); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; font-size: .82rem; }
.floating-service { position: absolute; display: flex; align-items: center; gap: 8px; padding: 11px 15px; border-radius: 14px; background: white; color: var(--navy); box-shadow: var(--shadow); font-size: .82rem; font-weight: 800; }
.mini-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: #fff0d7; color: #b87000; }
.fs-one { top: 28px; left: 0; }
.fs-two { top: 42%; right: -18px; }
.fs-three { left: 10px; bottom: 22px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; }
.hero-glow-one { width: 320px; height: 320px; background: rgba(242,169,59,.11); right: -90px; top: 100px; }
.hero-glow-two { width: 180px; height: 180px; background: rgba(67,122,180,.2); left: 42%; bottom: -40px; }

.intro { background: var(--cream); }
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: end; }
.section-heading h2 { margin: 10px 0 0; font-size: clamp(2.3rem, 4.2vw, 4.4rem); line-height: 1.02; letter-spacing: -.045em; }
.section-heading.centered { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.centered p { color: var(--muted); margin: 14px auto 0; max-width: 650px; }
.intro-copy p { margin: 0 0 20px; color: #4e596a; font-size: 1.13rem; }
.intro-badges { display: flex; flex-wrap: wrap; gap: 9px; }
.intro-badges span { padding: 8px 13px; border: 1px solid #d9dde3; border-radius: 999px; background: white; font-weight: 700; font-size: .84rem; }

.services { background: white; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 226px; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, white 0%, #fafbfc 100%); box-shadow: 0 8px 28px rgba(18,36,61,.055); overflow: hidden; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: #d7dce3; }
.service-card::after { content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%; right: -62px; bottom: -70px; background: rgba(32,77,126,.055); }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; background: #edf3f9; color: var(--blue); }
.service-icon svg { width: 31px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 38px 0 0; max-width: 220px; font-size: 1.18rem; line-height: 1.2; }
.card-number { position: absolute; top: 24px; right: 24px; color: #bcc4ce; font-size: .76rem; font-weight: 900; letter-spacing: .12em; }

.showcase { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: white; overflow: hidden; }
.showcase-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.showcase-copy h2 { margin: 12px 0 18px; font-size: clamp(2.7rem, 4.5vw, 4.8rem); line-height: 1; letter-spacing: -.045em; }
.showcase-copy p { color: #c5d0de; max-width: 520px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 12px; color: #ffd58a; font-weight: 800; }
.service-cloud { display: flex; flex-wrap: wrap; align-content: center; gap: 10px; }
.service-cloud span { flex: 1 1 140px; min-height: 58px; display: grid; place-items: center; text-align: center; padding: 12px 15px; border-radius: 16px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.13); color: #e5ecf4; font-weight: 750; }
.service-cloud .cloud-lg { background: rgba(242,169,59,.15); border-color: rgba(242,169,59,.35); color: #ffe1a6; }
.service-cloud .cloud-wide { flex-basis: 220px; }

.areas { background: var(--cream); }
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area-card { min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; padding: 25px; border-radius: 22px; background: white; border: 1px solid #e1e4e8; box-shadow: 0 12px 30px rgba(18,36,61,.055); }
.area-card h3 { margin: 0; font-size: 1.25rem; }
.pin { position: relative; width: 44px; height: 44px; border: 2px solid var(--accent); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.pin::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); left: 15px; top: 15px; }

.contact-strip { padding: 86px 0; background: linear-gradient(135deg, #d68b1e, var(--accent) 52%, #f9bf5c); color: var(--navy); }
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 60px; }
.contact-copy .eyebrow { color: var(--navy); }
.contact-copy h2 { margin: 10px 0 12px; font-size: clamp(2.5rem, 4.5vw, 4.5rem); line-height: 1; letter-spacing: -.045em; max-width: 720px; }
.contact-copy p { margin: 0; font-weight: 650; }
.contact-action { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border: 1px solid rgba(15,29,50,.15); border-radius: 22px; background: rgba(255,255,255,.18); }
.contact-label { text-transform: uppercase; letter-spacing: .13em; font-size: .75rem; font-weight: 900; }
.phone-link { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1; margin: 7px 0 20px; letter-spacing: -.04em; }

.final-cta { background: white; }
.final-box { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; padding: 38px; border-radius: 28px; background: linear-gradient(145deg, #f7f9fb, #eef2f5); border: 1px solid #e0e5ea; }
.final-box h2 { margin: 8px 0 12px; font-size: clamp(2rem, 3.5vw, 3.7rem); line-height: 1; letter-spacing: -.04em; }
.final-box p { max-width: 760px; color: var(--muted); margin: 0; }

.site-footer { padding: 52px 0; background: #091321; color: #c2ccd8; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .8fr .6fr; gap: 40px; }
.footer-brand { color: white; font-size: 1.2rem; font-weight: 900; margin-bottom: 12px; }
.site-footer p { margin: 0; font-size: .9rem; }
.site-footer h3 { color: white; margin: 0 0 10px; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #ffd58a; font-weight: 800; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 60px; height: 60px; z-index: 120; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: white; box-shadow: 0 14px 34px rgba(37,211,102,.35); transition: transform .25s ease, box-shadow .25s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 18px 40px rgba(37,211,102,.45); }
.whatsapp-float svg { width: 31px; fill: currentColor; }

/* El contenido es visible por defecto para que el sitio nunca dependa de JavaScript. */
.reveal { opacity: 1; transform: none; transition: transform .7s ease, box-shadow .28s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .section-padding { padding: 78px 0; }
  .main-nav { position: fixed; inset: 78px 16px auto; display: none; flex-direction: column; align-items: stretch; padding: 20px; background: #111f35; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.38); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px 4px; }
  .main-nav .btn { margin-top: 6px; }
  .menu-toggle { display: block; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 34px; padding-block: 70px 82px; }
  .hero-visual { min-height: 420px; }
  .visual-card { max-width: 470px; }
  .intro-grid, .showcase-wrap, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-action { width: min(100%, 470px); }
  .final-box { grid-template-columns: 1fr; }
  .final-box .btn { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 28px, 1180px); }
  .section-padding { padding: 64px 0; }
  .nav-wrap { min-height: 70px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: .92rem; }
  .brand-copy span { font-size: .69rem; }
  .main-nav { top: 70px; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 56px 68px; }
  .hero-copy h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .hero-description { font-size: .97rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 330px; }
  .visual-card { width: 100%; border-radius: 25px; }
  .visual-house { inset: 36px 20px 70px; }
  .floating-service { font-size: .72rem; padding: 8px 11px; }
  .fs-one { left: -2px; top: 8px; }
  .fs-two { right: -3px; }
  .fs-three { left: 4px; bottom: 2px; }
  .intro-grid { gap: 26px; }
  .section-heading h2 { font-size: clamp(2.2rem, 12vw, 3.6rem); }
  .services-grid, .areas-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 190px; padding: 23px; }
  .service-card h3 { margin-top: 30px; }
  .showcase-copy h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .service-cloud span, .service-cloud .cloud-wide { flex-basis: 100%; }
  .area-card { min-height: 145px; }
  .contact-strip { padding: 68px 0; }
  .contact-copy h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .contact-action { padding: 20px; }
  .phone-link { font-size: clamp(2rem, 10vw, 2.8rem); }
  .final-box { padding: 26px 22px; }
  .final-box .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

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