:root {
  --blue: #0b4dcc;
  --blue-dark: #07358e;
  --blue-soft: #eaf2ff;
  --green: #16a34a;
  --green-dark: #0f7d38;
  --teal: #0d9488;
  --ink: #101828;
  --muted: #5d6878;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-soft: #f6f9fd;
  --footer: #091321;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(7, 53, 142, .16);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
svg { width: 1.25em; height: 1.25em; fill: currentColor; }
.container { width: min(calc(100% - 40px), var(--container)); 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; top: 10px; left: 10px; z-index: 9999; transform: translateY(-150%);
  background: #fff; color: var(--blue); padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow-sm);
}
.skip-link:focus { transform: translateY(0); }

.topbar { background: var(--blue-dark); color: #fff; font-size: .9rem; }
.topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__links { display: flex; gap: 22px; }
.topbar a { opacity: .95; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(226,232,240,.9); backdrop-filter: blur(16px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(15,23,42,.09); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; width: 126px; height: 76px; overflow: hidden; }
.brand img { width: 110px; height: auto; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 34px; font-weight: 700; font-size: .96rem; }
.main-nav > a:not(.nav-call) { position: relative; padding: 30px 0; }
.main-nav > a:not(.nav-call)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 23px; height: 3px;
  border-radius: 99px; background: var(--blue); transition: right .22s ease;
}
.main-nav > a:hover::after, .main-nav > a.active::after { right: 0; }
.nav-call { padding: 11px 20px; border-radius: 999px; color: #fff; background: var(--blue); box-shadow: 0 8px 20px rgba(11,77,204,.22); }
.nav-call:hover { background: var(--blue-dark); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 27px; height: 2px; margin: 6px 0; background: var(--ink); transition: .25s ease; }

.hero {
  position: relative; overflow: hidden; padding: 82px 0 92px;
  background: linear-gradient(135deg, #f7fbff 0%, #eaf3ff 53%, #eefaf7 100%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before { width: 620px; height: 620px; right: -260px; top: -250px; background: rgba(11,77,204,.11); }
.hero::after { width: 420px; height: 420px; left: -210px; bottom: -250px; background: rgba(22,163,74,.10); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  color: var(--blue); font-size: .8rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 32px; height: 3px; border-radius: 99px; background: var(--green); }
.hero h1 { margin: 0; font-size: clamp(2.7rem, 5.4vw, 4.6rem); line-height: 1.03; letter-spacing: -.045em; }
.hero h1 span { color: var(--blue); }
.hero__content > p { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 1.12rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 13px 22px; border: 0; border-radius: 12px; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: #fff; background: var(--blue); box-shadow: 0 12px 24px rgba(11,77,204,.25); }
.btn--primary:hover { background: var(--blue-dark); box-shadow: 0 16px 28px rgba(11,77,204,.31); }
.btn--accent { color: #fff; background: var(--green); box-shadow: 0 12px 24px rgba(22,163,74,.23); }
.btn--accent:hover { background: var(--green-dark); }
.hero__contacts { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 26px; font-weight: 750; color: #24314a; }
.hero__contacts a { display: inline-flex; align-items: center; gap: 9px; }
.hero__contacts svg { color: var(--blue); }
.hero__contacts a:hover { color: var(--blue); }
.hero__visual { position: relative; }
.hero__visual > img { width: 100%; min-height: 470px; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow-lg); }
.hero__visual::after {
  content: ""; position: absolute; inset: 0; border-radius: 30px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); pointer-events: none;
}
.hero__badge {
  position: absolute; z-index: 2; display: flex; flex-direction: column; min-width: 160px;
  padding: 13px 16px; border: 1px solid rgba(255,255,255,.6); border-radius: 14px;
  background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px);
}
.hero__badge strong { color: var(--blue-dark); font-size: .96rem; }
.hero__badge span { color: var(--muted); font-size: .8rem; }
.hero__badge--top { top: 26px; left: -34px; }
.hero__badge--bottom { right: -24px; bottom: 28px; }

.trust-strip { position: relative; z-index: 5; margin-top: -36px; }
.trust-strip__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm);
}
.trust-strip__grid > div { display: flex; align-items: center; gap: 15px; padding: 22px 26px; }
.trust-strip__grid > div + div { border-left: 1px solid var(--line); }
.trust-strip p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.trust-strip strong { color: var(--ink); font-size: .98rem; }
.trust-icon {
  flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  color: var(--blue); background: var(--blue-soft); font-weight: 900;
}

.section { padding: 104px 0; }
.section-heading { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-heading--left { margin-left: 0; text-align: left; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; letter-spacing: -.035em; }
.section-heading p { margin: 16px auto 0; color: var(--muted); font-size: 1.04rem; }
.section-heading--left p { margin-left: 0; }
.services { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.service-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; box-shadow: 0 10px 32px rgba(15,23,42,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-7px); border-color: #c7d7f4; box-shadow: 0 20px 50px rgba(15,23,42,.11); }
.service-card--wide { grid-column: span 2; }
.service-card__media { position: relative; height: 220px; overflow: hidden; background: #eef4fb; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card__media img { transform: scale(1.035); }
.service-card__media--logo { display: grid; place-items: center; background: #fff; }
.service-card__media--logo img { width: 72%; height: 72%; object-fit: contain; }
.service-card__number {
  position: absolute; top: 16px; right: 16px; display: grid; place-items: center; min-width: 42px; height: 34px;
  padding: 0 10px; border-radius: 999px; color: #fff; background: rgba(9,19,33,.72); font-size: .78rem; font-weight: 900; backdrop-filter: blur(10px);
}
.service-card__body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 27px 24px 24px; }
.service-card__icon {
  position: absolute; top: -28px; left: 24px; width: 56px; height: 56px; display: grid; place-items: center;
  color: var(--blue); background: #fff; border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 8px 20px rgba(15,23,42,.1);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { margin: 14px 0 9px; font-size: 1.16rem; line-height: 1.3; letter-spacing: -.015em; }
.service-card p { margin: 0 0 18px; color: var(--muted); font-size: .93rem; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: 0; border: 0;
  color: var(--blue); background: transparent; font-weight: 850; text-align: left;
}
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.graphic { display: grid; place-items: center; }
.graphic svg { width: 72%; height: 72%; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.graphic--iron { color: #dce7ff; background: linear-gradient(135deg, #112d5c, #0b4dcc); }
.graphic--shutter { color: #e7f4ec; background: linear-gradient(135deg, #1a5034, #16a34a); }
.graphic--beach { color: #fff7d7; background: linear-gradient(135deg, #087fc0, #0d9488 55%, #d3a229); }

.security-feature { background: var(--surface-soft); }
.security-feature__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: stretch; }
.security-feature__visual {
  position: relative;
  min-height: 560px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.security-feature__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,15,31,.05) 0%, rgba(8,15,31,.58) 100%);
}
.security-feature__visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.security-feature__badge {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}
.security-feature__badge img {
  width: 112px;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}
.security-feature__badge-copy { display: grid; gap: 4px; }
.security-feature__badge-copy span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(220,38,38,.1);
  color: #b91c1c;
  font-size: .84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.security-feature__badge-copy strong {
  font-size: 1.42rem;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
}
.security-feature__badge-copy small {
  font-size: .98rem;
  line-height: 1.45;
  color: var(--muted);
}
.security-feature__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.security-feature__content h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.08; letter-spacing: -.04em; }
.security-feature__content > p { margin: 20px 0; color: var(--muted); font-size: 1.03rem; }
.check-list { display: grid; gap: 13px; margin: 24px 0 30px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; color: #334155; font-weight: 650; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 23px; height: 23px; display: grid; place-items: center;
  border-radius: 50%; color: #fff; background: var(--green); font-size: .78rem; font-weight: 900;
}

.cta { padding: 36px 0; color: #fff; background: linear-gradient(110deg, var(--blue-dark), var(--blue) 65%, #0d9488); }
.cta__grid { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.cta__copy { display: flex; align-items: center; gap: 22px; }
.cta__phone-icon { flex: 0 0 74px; height: 74px; display: grid; place-items: center; border-radius: 50%; background: var(--green); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.cta__phone-icon svg { width: 36px; height: 36px; }
.cta h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.3rem); text-transform: uppercase; letter-spacing: -.025em; }
.cta p { margin: 5px 0 0; color: rgba(255,255,255,.86); }
.cta__number { white-space: nowrap; font-size: clamp(1.8rem, 4vw, 3.05rem); font-weight: 950; letter-spacing: -.03em; }
.cta__number:hover { color: #dfffea; }

.contact { background: #fff; }
.contact__grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: 32px; align-items: start; }
.contact-form, .contact-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.contact-form { padding: 32px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 19px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field > label { color: #273246; font-size: .89rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #cfd8e6; border-radius: 10px; background: #fbfdff; color: var(--ink);
  outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input, .field select { height: 51px; padding: 0 14px; }
.field textarea { min-height: 144px; padding: 13px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(11,77,204,.10); }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: #c62828; }
.field-error { min-height: 1em; color: #b42318; font-size: .78rem; }
.field--honeypot { position: absolute; left: -9999px; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .86rem; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.btn--submit { width: 100%; margin-top: 24px; }
.form-status { min-height: 26px; margin: 13px 0 0; font-weight: 700; font-size: .9rem; }
.form-status.is-success { color: var(--green-dark); }
.form-status.is-error { color: #b42318; }
.contact-card { position: sticky; top: 116px; padding: 31px; }
.contact-card__item { display: grid; grid-template-columns: 52px 1fr; gap: 15px; align-items: center; padding: 16px 0; }
.contact-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); }
.contact-card__icon--green { background: var(--green); }
.contact-card__icon svg { width: 25px; height: 25px; }
.contact-card__item div { display: flex; flex-direction: column; }
.contact-card__item strong { font-size: .9rem; }
.contact-card__item a, .contact-card__item span { color: var(--blue); font-size: 1.05rem; font-weight: 800; word-break: break-word; }
.contact-card__item span { color: var(--green-dark); }
.contact-card hr { border: 0; border-top: 1px solid var(--line); margin: 15px 0 24px; }
.contact-card h3 { margin: 0; font-size: 1.35rem; }
.contact-card > p { color: var(--muted); }
.btn--whatsapp { width: 100%; color: #fff; background: #16a34a; }
.btn--whatsapp:hover { background: #12823c; }

.site-footer { color: #dce6f3; background: var(--footer); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1fr; gap: 54px; padding: 70px 0 45px; }
.footer-logo-wrap { width: 145px; padding: 10px; border-radius: 14px; background: #fff; }
.footer-logo-wrap img { width: 125px; height: auto; }
.footer-brand p { max-width: 360px; color: #9dafc5; }
.site-footer h2 { margin: 6px 0 18px; color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #c7d3e2; }
.site-footer a:hover { color: #fff; }
.footer-contacts li { color: #c7d3e2; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0 26px; border-top: 1px solid rgba(255,255,255,.12); color: #8fa1b7; font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-credit {
  padding: 0 0 24px;
  color: #7f92aa;
  font-size: .82rem;
  text-align: center;
}
.footer-credit p { margin: 0; }
.footer-credit a { color: #b9c8da; font-weight: 750; }
.footer-credit a:hover { color: #fff; }

.floating-actions { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: grid; gap: 10px; }
.floating-action { width: 53px; height: 53px; display: grid; place-items: center; border-radius: 50%; color: #fff; box-shadow: 0 12px 26px rgba(0,0,0,.2); transition: transform .2s ease; }
.floating-action:hover { transform: translateY(-3px) scale(1.03); }
.floating-action svg { width: 25px; height: 25px; }
.floating-action--call { background: var(--blue); }
.floating-action--whatsapp { background: var(--green); }

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

@media (max-width: 1050px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .service-card--wide { grid-column: span 1; }
  .hero__grid { gap: 36px; }
  .hero__badge--top { left: 16px; }
  .hero__badge--bottom { right: 16px; }
  .security-feature__grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 820px) {
  .topbar__inner > span { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links { width: 100%; justify-content: center; font-size: .8rem; gap: 14px; }
  .nav-wrap { min-height: 75px; }
  .brand { width: 100px; height: 66px; }
  .brand img { width: 86px; }
  .menu-toggle { display: block; position: relative; z-index: 1002; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 75px 0 auto; display: grid; gap: 0; padding: 16px 20px 24px;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(15,23,42,.13);
    transform: translateY(-140%); visibility: hidden; transition: transform .27s ease, visibility .27s ease;
  }
  .main-nav.is-open { transform: translateY(0); visibility: visible; }
  .main-nav > a:not(.nav-call) { padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .main-nav > a:not(.nav-call)::after { display: none; }
  .nav-call { margin-top: 15px; text-align: center; }
  .hero { padding: 55px 0 76px; }
  .hero__grid, .security-feature__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__visual > img { min-height: 330px; }
  .hero__badge { display: none; }
  .trust-strip__grid { grid-template-columns: 1fr; }
  .trust-strip__grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 82px 0; }
  .security-feature__visual { margin-bottom: 32px; min-height: 420px; }
  .contact-card { position: static; }
  .cta__grid { flex-direction: column; align-items: flex-start; }
  .cta__number { align-self: flex-end; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .topbar__links a:nth-child(2) { display: none; }
  .hero h1 { font-size: 2.55rem; }
  .hero__actions, .hero__actions .btn { width: 100%; }
  .hero__contacts { display: grid; gap: 10px; }
  .hero__visual > img { min-height: 250px; border-radius: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card__media { height: 215px; }
  .section-heading { margin-bottom: 36px; }
  .security-feature__badge { left: 14px; right: 14px; bottom: 14px; gap: 14px; padding: 14px; }
  .security-feature__badge img { width: 84px; }
  .security-feature__badge-copy strong { font-size: 1.1rem; }
  .security-feature__badge-copy small { font-size: .9rem; }
  .cta { padding: 31px 0; }
  .cta__copy { align-items: flex-start; gap: 14px; }
  .cta__phone-icon { flex-basis: 54px; height: 54px; }
  .cta__phone-icon svg { width: 27px; height: 27px; }
  .cta__number { align-self: flex-start; font-size: 1.72rem; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .contact-form, .contact-card { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .floating-actions { right: 14px; bottom: 14px; }
  .floating-action { width: 49px; height: 49px; }
}

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