:root {
  --blue-950: #032b5c;
  --blue-900: #073f84;
  --blue-700: #0867b5;
  --blue-100: #eaf4ff;
  --gold: #f5b900;
  --gold-soft: #fff3c7;
  --red: #cf202f;
  --ink: #10233f;
  --muted: #5d6b7e;
  --paper: #f7f9fc;
  --white: #fff;
  --line: #dce6f2;
  --shadow: 0 20px 60px rgba(3, 43, 92, .12);
  --radius: 26px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Plus Jakarta Sans", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -60px; padding: 12px 18px; color: white; background: var(--blue-950); border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.topbar { background: var(--blue-950); color: #dceaff; font-size: .78rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar p { margin: 0; }
.topbar-links { display: flex; align-items: center; gap: 10px; }
.topbar a:hover { color: var(--gold); }
.navbar { position: relative; z-index: 90; background: rgba(255,255,255,.97); box-shadow: 0 4px 24px rgba(3,43,92,.08); }
.navbar.is-fixed { position: fixed; top: 0; left: 0; right: 0; animation: slideDown .35s ease both; }
@keyframes slideDown { from { transform: translateY(-100%); } }
.nav-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 250px; }
.brand img { width: 58px; height: 58px; object-fit: contain; border-radius: 12px; }
.brand span { display: grid; line-height: 1.12; }
.brand strong { font-family: var(--display); color: var(--blue-900); font-size: 1.35rem; letter-spacing: .04em; }
.brand small { color: var(--red); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.nav-links { display: flex; align-items: center; gap: 25px; font-weight: 700; font-size: .9rem; }
.nav-links > a:not(.nav-login) { position: relative; padding: 28px 0; }
.nav-links > a:not(.nav-login)::after { content: ""; position: absolute; bottom: 19px; left: 0; width: 0; height: 3px; background: var(--gold); border-radius: 3px; transition: width .25s; }
.nav-links > a:hover::after, .nav-links > a.active::after { width: 100%; }
.nav-login { padding: 11px 17px; border: 1px solid var(--blue-900); border-radius: 10px; color: var(--blue-900); transition: .2s; }
.nav-login:hover { background: var(--blue-900); color: white; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: var(--blue-100); border-radius: 10px; cursor: pointer; }
.menu-toggle i { display: block; width: 23px; height: 2px; margin: 5px 0; background: var(--blue-950); transition: .25s; }

.hero { position: relative; min-height: 690px; display: grid; align-items: center; overflow: hidden; background: var(--blue-950); color: white; }
.hero-media { position: absolute; inset: 0; background: url("../images/hero-ems.png") center/cover no-repeat; background-image: image-set(url("../images/hero-ems.webp") type("image/webp"), url("../images/hero-ems.png") type("image/png")); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,31,70,.46) 0%, rgba(2,31,70,.12) 45%, rgba(2,31,70,0) 75%); }
.hero-inner { position: relative; z-index: 2; padding-block: 90px 120px; }
.hero-copy { max-width: 650px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--gold); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .17em; }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; }
.eyebrow.dark { color: var(--blue-700); }
.hero h1 { margin: 0 0 24px; font: 800 clamp(2.5rem, 5vw, 4.8rem)/1.06 var(--display); letter-spacing: -.045em; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-copy > p { max-width: 600px; margin: 0 0 32px; color: #e2edfb; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 22px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; line-height: 1.2; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: var(--blue-950); background: var(--gold); box-shadow: 0 12px 28px rgba(245,185,0,.26); }
.btn-gold:hover { background: #ffca1d; }
.btn-ghost { color: white; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.btn-blue { color: white; background: linear-gradient(120deg, var(--blue-900), var(--blue-700)); box-shadow: 0 12px 28px rgba(8,103,181,.2); }
.hero-points { display: flex; flex-wrap: wrap; gap: 22px; padding: 0; margin: 32px 0 0; list-style: none; color: #e5effb; font-size: .84rem; font-weight: 700; }
.hero-points li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 7px; color: var(--blue-950); background: var(--gold); border-radius: 50%; font-size: .7rem; }
.hero-edge { position: absolute; z-index: 3; right: 0; bottom: 0; display: flex; width: 42%; height: 9px; }
.hero-edge span:nth-child(1) { width: 55%; background: var(--blue-700); }.hero-edge span:nth-child(2) { width: 25%; background: var(--gold); }.hero-edge span:nth-child(3) { flex: 1; background: var(--red); }

.trust-strip { position: relative; z-index: 5; margin-top: -52px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 18px; background: white; border: 1px solid rgba(255,255,255,.5); border-radius: 22px; box-shadow: var(--shadow); }
.trust-grid article { display: flex; align-items: center; gap: 17px; padding: 17px 27px; }
.trust-grid article + article { border-left: 1px solid var(--line); }
.trust-grid article > span { color: var(--gold); font: 800 1.85rem var(--display); }
.trust-grid div { display: grid; }.trust-grid strong { color: var(--blue-950); }.trust-grid small { color: var(--muted); }
.trust-grid .visitor-card { background: linear-gradient(135deg, var(--blue-950), var(--blue-700)); border-radius: 15px; }
.trust-grid .visitor-card > span { min-width: 54px; color: var(--gold); font-size: 1.55rem; overflow-wrap: anywhere; }
.trust-grid .visitor-card strong { color: white; }.trust-grid .visitor-card small { color: #d6e7f8; }.trust-grid .visitor-card small b { color: var(--gold); }

.section { position: relative; padding: 110px 0; }
.section-heading { max-width: 790px; margin-bottom: 54px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2, .showcase-copy h2, .contact-copy h2, .audience h2 { margin: 0 0 18px; color: var(--blue-950); font: 800 clamp(2rem, 4vw, 3.1rem)/1.14 var(--display); letter-spacing: -.035em; }
.section-heading p, .showcase-copy > p, .contact-copy > p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.watermark-section { overflow: hidden; }
.watermark-section::before { content: "EMS"; position: absolute; right: -2vw; top: 55px; color: rgba(8,103,181,.035); font: 800 18rem/1 var(--display); letter-spacing: -.08em; pointer-events: none; }

.services { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 330px; padding: 34px 30px 30px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 35px rgba(3,43,92,.06); transition: transform .3s, box-shadow .3s, border-color .3s; }
.service-card::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, var(--blue-700) 0 65%, var(--gold) 65% 85%, var(--red) 85%); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service-card:hover { transform: translateY(-7px); border-color: #bfd8f3; box-shadow: var(--shadow); }
.service-card:hover::after { transform: scaleX(1); }
.service-number { position: absolute; right: 24px; top: 22px; color: #e7eef7; font: 800 2.8rem var(--display); }
.service-card .icon { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 24px; color: white; background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); border-radius: 14px; font-size: 1.55rem; box-shadow: 0 10px 24px rgba(8,103,181,.2); }
.service-card h3 { margin: 0 0 12px; color: var(--blue-950); font: 800 1.23rem var(--display); }
.service-card p { margin: 0 0 23px; color: var(--muted); font-size: .92rem; }
.service-card a, .text-link { color: var(--blue-700); font-weight: 800; font-size: .9rem; }
.service-card a span, .text-link span { color: var(--red); transition: margin .2s; }.service-card a:hover span, .text-link:hover span { margin-left: 5px; }

.showcase { background: white; }
.showcase-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.showcase-image { position: relative; padding: 18px 18px 0 0; }
.showcase-image::before { content: ""; position: absolute; inset: 0 0 35px 55px; border: 2px solid var(--gold); border-radius: var(--radius); }
.showcase-image picture { position: relative; z-index: 1; display: block; }
.showcase-image img { min-height: 500px; width: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-badge { position: relative; z-index: 2; width: 290px; margin: -55px 0 0 28px; padding: 20px 22px; color: white; background: var(--blue-950); border-left: 5px solid var(--gold); border-radius: 12px; box-shadow: var(--shadow); }
.image-badge { display: grid; }.image-badge span { color: #cfe2f7; font-size: .82rem; }
.showcase-copy > p + p { margin-top: 16px; }
.value-list { display: grid; gap: 14px; margin: 28px 0; }
.value-list > div { display: flex; gap: 13px; align-items: flex-start; }
.value-list > div > span { display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; color: var(--blue-950); background: var(--gold); border-radius: 50%; font-weight: 900; }
.value-list p { display: grid; margin: 0; }.value-list small { color: var(--muted); }

.process { color: white; background: radial-gradient(circle at 20% 20%, #0a65a8 0, transparent 32%), linear-gradient(125deg, var(--blue-950), #042450); overflow: hidden; }
.process::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 430px; height: 430px; border: 80px solid rgba(255,255,255,.025); border-radius: 50%; }
.process .section-heading h2 { color: white; }.process .section-heading p { color: #c8daee; }
.process-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-grid article { position: relative; padding: 30px 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; backdrop-filter: blur(8px); }
.process-grid article:not(:last-child)::after { content: "→"; position: absolute; z-index: 3; right: -19px; top: 40px; display: grid; place-items: center; width: 38px; height: 38px; color: var(--blue-950); background: var(--gold); border-radius: 50%; font-weight: 900; }
.process-grid span { display: inline-block; margin-bottom: 26px; color: var(--gold); font: 800 2.8rem var(--display); }
.process-grid h3 { margin: 0 0 10px; font: 800 1.18rem var(--display); }.process-grid p { margin: 0; color: #c8daee; font-size: .9rem; }

.audience { padding-block: 85px; background: var(--gold-soft); }
.audience-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: center; }
.audience h2 { margin: 0; }
.audience-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.audience-tags span { padding: 13px 17px; color: var(--blue-950); background: white; border: 1px solid rgba(3,43,92,.12); border-radius: 999px; font-weight: 800; box-shadow: 0 6px 20px rgba(3,43,92,.07); }

.contact-section { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-top: 30px; }
.contact-cards > * { display: grid; padding: 17px 18px; background: white; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 11px; }
.contact-cards span { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }.contact-cards strong { color: var(--blue-950); overflow-wrap: anywhere; }
.quote-form { position: relative; z-index: 2; display: grid; gap: 18px; padding: 34px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-title { display: flex; align-items: end; justify-content: space-between; gap: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form-title strong { color: var(--blue-950); font: 800 1.5rem var(--display); }.form-title span { color: var(--blue-700); font-size: .8rem; font-weight: 800; }
.quote-form label { display: grid; gap: 7px; color: var(--blue-950); font-size: .84rem; font-weight: 800; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; border: 1px solid #cbd8e7; border-radius: 10px; background: #fbfdff; color: var(--ink); padding: 13px 14px; outline: none; transition: border .2s, box-shadow .2s; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--blue-700); box-shadow: 0 0 0 4px rgba(8,103,181,.1); }
.quote-form textarea { resize: vertical; }
.form-note { margin: -6px 0 0; color: var(--muted); font-size: .75rem; text-align: center; }

.final-cta { padding: 48px 0; color: white; background: linear-gradient(110deg, var(--blue-900), var(--blue-950)); border-top: 6px solid var(--gold); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.final-cta span { color: #cfe2f7; font-weight: 700; }.final-cta h2 { margin: 3px 0 0; font: 800 clamp(1.5rem, 3vw, 2.2rem) var(--display); }

.site-footer { padding: 68px 0 24px; color: #c9daec; background: #021e40; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 70px; padding-bottom: 46px; }
.footer-brand { display: flex; align-items: center; gap: 18px; }.footer-brand img { width: 80px; height: 80px; object-fit: contain; background: white; border-radius: 15px; }
.footer-brand strong { display: block; color: white; font: 800 1.15rem var(--display); }.footer-brand p { max-width: 390px; margin: 7px 0 0; }
.footer-brand address { max-width: 520px; margin-top: 10px; color: #9fb7d1; font-size: .78rem; font-style: normal; line-height: 1.55; }
.footer-grid h3 { margin: 0 0 17px; color: white; font: 800 1rem var(--display); }.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }.footer-grid a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .75rem; }
.floating-whatsapp { position: fixed; z-index: 80; right: 22px; bottom: 22px; display: grid; place-items: center; width: 58px; height: 58px; color: white; background: #1da851; border: 4px solid white; border-radius: 50%; box-shadow: 0 12px 30px rgba(0,0,0,.2); font-weight: 900; font-size: .85rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .topbar p { display: none; }.topbar-inner { justify-content: center; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; left: 20px; right: 20px; top: calc(100% + 10px); display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 15px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }.nav-links > a:not(.nav-login) { padding: 13px 10px; }.nav-links > a:not(.nav-login)::after { display: none; }.nav-login { margin-top: 8px; text-align: center; }
  .hero { min-height: 720px; }.hero-media { background-position: 58% center; }.hero-media::after { background: linear-gradient(90deg, rgba(2,31,70,.88), rgba(2,31,70,.52) 68%, rgba(2,31,70,.25)); }
  .hero-copy { max-width: 620px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .showcase-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .showcase-image img { min-height: 420px; }.showcase-copy { max-width: 760px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }.process-grid article:nth-child(2)::after { display: none; }
  .audience-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 35px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .topbar-links span, .topbar-links a:first-child { display: none; }
  .nav-inner { min-height: 72px; }.brand { min-width: auto; }.brand img { width: 49px; height: 49px; }.brand small { font-size: .6rem; }
  .hero { min-height: 690px; }.hero-media { background-position: 66% center; }.hero-media::after { background: linear-gradient(90deg, rgba(2,31,70,.94), rgba(2,31,70,.72)); }
  .hero-inner { padding-block: 72px 100px; }.hero h1 { font-size: clamp(2.3rem, 12vw, 3.4rem); }.hero-copy > p { font-size: .96rem; }.hero-actions { flex-direction: column; align-items: stretch; }.hero-actions .btn { width: 100%; }.hero-points { display: grid; gap: 10px; }
  .trust-strip { margin-top: -35px; }.trust-grid { grid-template-columns: 1fr; }.trust-grid article { padding: 12px 14px; }.trust-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 82px 0; }.section-heading { margin-bottom: 38px; }.watermark-section::before { font-size: 9rem; }
  .services-grid, .process-grid { grid-template-columns: 1fr; }.service-card { min-height: 0; }.process-grid article::after { display: none !important; }
  .showcase-grid { gap: 38px; }.showcase-image { padding: 10px 10px 0 0; }.showcase-image::before { left: 25px; bottom: 25px; }.showcase-image img { min-height: 350px; }.image-badge { width: calc(100% - 42px); margin-left: 20px; }
  .form-row { grid-template-columns: 1fr; }.quote-form { padding: 25px 20px; }.form-title { align-items: start; flex-direction: column; }
  .final-cta-inner { align-items: stretch; flex-direction: column; }.final-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }.footer-bottom { flex-direction: column; }.floating-whatsapp { width: 52px; height: 52px; right: 15px; bottom: 15px; }
}

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