:root {
  --primary: #315efb;
  --primary-dark: #1839b8;
  --primary-deep: #0d235f;
  --primary-soft: #edf2ff;
  --accent: #00a884;
  --accent-soft: #e8faf5;
  --ink: #101828;
  --text: #344054;
  --muted: #667085;
  --line: #e4e9f2;
  --surface: #ffffff;
  --surface-alt: #f6f8fc;
  --shadow-sm: 0 8px 24px rgba(16, 34, 78, .08);
  --shadow: 0 20px 60px rgba(16, 34, 78, .14);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --max: 1180px;
}

* { 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(--surface);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 34px), var(--max)); margin-inline: auto; }

.topbar { background: linear-gradient(90deg, #0c1f58, #173b8d); color: #fff; font-size: .89rem; }
.topbar-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a { opacity: .94; }
.topbar a:hover { opacity: 1; text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(228, 233, 242, .9);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 306px; max-height: 62px; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: 5px; }
.nav a { padding: 10px 14px; border-radius: 11px; color: var(--text); font-weight: 750; font-size: .95rem; transition: .2s ease; }
.nav a:hover, .nav a.active { background: var(--primary-soft); color: var(--primary-dark); }
.nav .nav-cta { margin-left: 7px; background: linear-gradient(135deg, var(--primary), #5c7cff); color: #fff; box-shadow: 0 10px 25px rgba(49, 94, 251, .24); }
.nav .nav-cta:hover, .nav .nav-cta.active { color: #fff; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); transform: translateY(-1px); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-size: 1.25rem; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 80px;
  background:
    radial-gradient(circle at 12% 10%, rgba(49,94,251,.14), transparent 28%),
    radial-gradient(circle at 82% 4%, rgba(0,168,132,.10), transparent 26%),
    linear-gradient(140deg, #fbfdff 0%, #f1f5ff 56%, #ffffff 100%);
}
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; border: 60px solid rgba(49,94,251,.055); border-radius: 50%; right: -180px; bottom: -220px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.03fr .97fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-size: .79rem; font-weight: 850; letter-spacing: .065em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px rgba(49,94,251,.11); }
.hero h1 { margin: 20px 0 20px; font-size: clamp(2.7rem, 5.7vw, 5rem); line-height: 1.02; letter-spacing: -.055em; }
.hero h1 span { color: var(--primary); }
.hero p { margin: 0; max-width: 660px; color: #4c5a75; font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 13px; font-weight: 800; cursor: pointer; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), #6785ff); box-shadow: 0 12px 28px rgba(49,94,251,.25); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.btn-secondary { color: var(--ink); background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { color: var(--primary-dark); border-color: #aebeff; }
.btn-success { color: #fff; background: linear-gradient(135deg, #13a97a, #00bb91); box-shadow: 0 12px 28px rgba(0,168,132,.22); }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 25px; color: var(--text); font-size: .92rem; font-weight: 720; }
.hero-points span::before { content: "✓"; display: inline-grid; place-items: center; width: 19px; height: 19px; margin-right: 7px; border-radius: 50%; color: #fff; background: var(--accent); font-size: .72rem; }

.hero-visual { position: relative; min-height: 515px; }
.hero-photo { position: absolute; inset: 0 24px 28px 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(8,25,66,.42)); }
.float-card { position: absolute; right: 0; bottom: 0; width: min(310px, 80%); padding: 19px; border: 1px solid rgba(255,255,255,.9); border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.float-card strong { display: block; font-size: 1.05rem; }
.float-card p { margin-top: 4px; font-size: .89rem; color: var(--muted); }
.float-card-row { display: flex; align-items: center; gap: 12px; }
.float-icon { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; color: var(--primary); background: var(--primary-soft); font-size: 1.3rem; }
.corner-badge { position: absolute; left: -22px; top: 52px; padding: 12px 16px; border-radius: 14px; color: #fff; background: rgba(13,35,95,.93); box-shadow: var(--shadow-sm); font-weight: 800; }
.corner-badge small { display: block; opacity: .72; font-weight: 600; }

.trust-strip { position: relative; z-index: 5; margin-top: -35px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--line); box-shadow: var(--shadow-sm); }
.trust-item { display: flex; align-items: center; gap: 13px; min-height: 88px; padding: 18px; background: #fff; }
.trust-item .mini-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: var(--primary-soft); font-size: 1.15rem; }
.trust-item strong { display: block; font-size: .95rem; }
.trust-item small { color: var(--muted); }

section { padding: 82px 0; }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 730px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 12px 0 12px; font-size: clamp(2rem, 4.3vw, 3.25rem); line-height: 1.1; letter-spacing: -.04em; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.service-image-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.image-card { position: relative; min-height: 385px; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-sm); background: #0d235f; }
.image-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,17,49,.02) 25%, rgba(7,17,49,.88) 100%); }
.image-card:hover img { transform: scale(1.045); }
.image-card-content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 25px; color: #fff; }
.image-card-content h3 { margin: 6px 0 6px; font-size: 1.35rem; }
.image-card-content p { margin: 0; color: rgba(255,255,255,.8); font-size: .94rem; }
.image-card-content .card-link { color: #fff; }
.number-chip { display: inline-grid; place-items: center; min-width: 36px; height: 29px; padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,.17); border: 1px solid rgba(255,255,255,.23); font-size: .78rem; font-weight: 850; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; transition: .22s ease; }
.card:hover { transform: translateY(-5px); border-color: #cbd6ff; box-shadow: var(--shadow-sm); }
.card h3 { margin: 12px 0 8px; font-size: 1.18rem; }
.card p { margin: 0; color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 15px; color: var(--primary-dark); font-weight: 800; }
.icon-box { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 13px; color: var(--primary); background: linear-gradient(135deg, #edf2ff, #f7f9ff); font-weight: 900; font-size: .9rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.media-panel { position: relative; min-height: 500px; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); }
.media-panel img { width: 100%; height: 100%; object-fit: cover; }
.media-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,21,56,.65)); }
.media-caption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; padding: 20px; border-radius: 17px; color: #fff; background: rgba(13,35,95,.78); backdrop-filter: blur(10px); }
.media-caption strong { font-size: 1.08rem; }
.media-caption p { margin: 3px 0 0; color: rgba(255,255,255,.79); font-size: .9rem; }
.feature-panel { position: relative; overflow: hidden; min-height: 430px; padding: 36px; border-radius: 28px; color: #fff; background: linear-gradient(145deg, #112a70, #315efb); box-shadow: var(--shadow); }
.feature-panel::after { content: "CC"; position: absolute; right: -15px; bottom: -65px; color: rgba(255,255,255,.07); font: 12rem/1 Georgia, serif; }
.feature-panel h3 { position: relative; z-index: 2; margin: 0 0 12px; font-size: 2rem; }
.feature-panel p, .feature-panel ul { position: relative; z-index: 2; }
.feature-panel p { color: rgba(255,255,255,.82); }
.check-list, .plain-list { list-style: none; padding: 0; }
.check-list { margin: 24px 0 0; }
.check-list li { position: relative; padding-left: 31px; margin: 14px 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); font-size: .75rem; font-weight: 900; }
.plain-list { margin: 24px 0; }
.plain-list li { position: relative; padding: 12px 0 12px 29px; border-bottom: 1px solid var(--line); }
.plain-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: steps; }
.process-card { position: relative; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.process-card::before { counter-increment: steps; content: "0" counter(steps); display: inline-flex; margin-bottom: 17px; color: var(--primary); font-size: .83rem; font-weight: 900; letter-spacing: .08em; }
.process-card h3 { margin: 0 0 7px; }
.process-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 46px; border-radius: 28px; color: #fff; background: linear-gradient(125deg, #0d235f, #315efb 72%, #5e7dff); box-shadow: var(--shadow); }
.cta::after { content: ""; position: absolute; width: 230px; height: 230px; right: -75px; top: -120px; border: 42px solid rgba(255,255,255,.09); border-radius: 50%; }
.cta > * { position: relative; z-index: 2; }
.cta h2 { margin: 0 0 7px; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.12; }
.cta p { margin: 0; color: rgba(255,255,255,.8); }
.cta .actions { margin: 0; flex-shrink: 0; }
.cta .btn-secondary { border: 0; }

.page-hero { position: relative; overflow: hidden; padding: 68px 0; color: #fff; background: #0d235f; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,22,60,.95) 0%, rgba(8,22,60,.82) 48%, rgba(8,22,60,.28) 100%); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: #fff; background: rgba(255,255,255,.14); }
.page-hero .eyebrow::before { background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.12); }
.page-hero h1 { max-width: 760px; margin: 14px 0 12px; font-size: clamp(2.5rem, 5.3vw, 4.5rem); line-height: 1.05; letter-spacing: -.045em; }
.page-hero p { max-width: 700px; margin: 0; color: rgba(255,255,255,.8); font-size: 1.08rem; }

.service-detail { display: grid; grid-template-columns: 68px 1fr; gap: 17px; align-items: start; }
.service-detail .icon-box { width: 62px; height: 62px; margin: 0; border-radius: 17px; font-size: 1rem; }
.service-detail h3 { margin-top: 2px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tag { padding: 6px 10px; border-radius: 999px; color: var(--primary-dark); background: var(--primary-soft); font-size: .79rem; font-weight: 800; }

.product-card { overflow: hidden; padding: 0; }
.product-card .product-image { height: 205px; overflow: hidden; background: #edf2ff; }
.product-card .product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-card-body { padding: 24px; }
.badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: #087457; background: var(--accent-soft); font-size: .78rem; font-weight: 850; }
.product-card h3 { font-size: 1.35rem; }
.product-card ul { padding-left: 20px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 38px; align-items: start; }
.contact-photo { position: relative; min-height: 260px; margin-bottom: 23px; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-sm); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8,24,62,.55)); }
.contact-cards { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 15px; align-items: flex-start; padding: 20px; }
.contact-item .icon-box { margin: 0; flex: 0 0 auto; }
.contact-item h3 { margin: 0 0 2px; font-size: 1rem; }
.contact-item p { margin: 0; overflow-wrap: anywhere; color: var(--muted); }
.form-card { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.form-card h2 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .91rem; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 13px; border: 1px solid #ccd5e5; border-radius: 11px; color: var(--ink); background: #fff; outline: 0; }
.field textarea { min-height: 136px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(49,94,251,.10); }
.form-note { margin: -3px 0 18px; color: var(--muted); font-size: .88rem; }

.site-footer { padding-top: 58px; color: #fff; background: #0b152d; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .75fr .9fr; gap: 44px; padding-bottom: 40px; }
.footer-logo { width: 280px; padding: 6px; border-radius: 11px; background: #fff; }
.footer-copy { max-width: 470px; color: #aeb8cc; }
.footer-title { margin: 0 0 13px; font-size: 1rem; }
.footer-links { display: grid; gap: 9px; color: #c9d1e0; }
.footer-links a:hover { color: #fff; }
.footer-bottom { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.1); color: #94a0b7; font-size: .88rem; }
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #0fab78, #24c995); box-shadow: 0 12px 34px rgba(15,171,120,.36); font-weight: 900; transition: .2s ease; }
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.02); }

@media (max-width: 980px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-inner > span { display: none; }
  .header-inner { min-height: 76px; }
  .brand img { width: 245px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 14px 16px 18px; border-bottom: 1px solid var(--line); background: #fff; flex-direction: column; align-items: stretch; box-shadow: var(--shadow-sm); }
  .nav.open { display: flex; }
  .nav a { text-align: center; }
  .nav .nav-cta { margin-left: 0; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 500px; max-width: 720px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .service-image-grid, .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4, .process-grid { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 22px), var(--max)); }
  .topbar { display: none; }
  .brand img { width: 205px; }
  .hero { padding: 50px 0 68px; }
  .hero h1 { font-size: 2.78rem; }
  .hero-visual { min-height: 390px; }
  .hero-photo { inset: 0 0 28px 0; }
  .corner-badge { left: 12px; top: 18px; }
  .float-card { right: 12px; }
  .trust-strip { margin-top: -28px; }
  .trust-grid, .service-image-grid, .grid-3, .grid-4, .process-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 76px; }
  section { padding: 62px 0; }
  .image-card { min-height: 330px; }
  .media-panel { min-height: 390px; }
  .feature-panel { min-height: auto; padding: 28px; }
  .service-detail { grid-template-columns: 1fr; }
  .cta { padding: 31px 23px; }
  .cta .actions, .cta .btn { width: 100%; }
  .field.full { grid-column: auto; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; padding: 16px 0; }
}

/* Contact form status messages */
.form-alert {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .94rem;
  line-height: 1.55;
}
.form-alert strong { display: block; margin-bottom: 3px; }
.form-alert ul { margin: 7px 0 0 18px; padding: 0; }
.form-alert-success {
  color: #075b43;
  background: #e9fbf4;
  border-color: #a6e7d3;
}
.form-alert-error {
  color: #8a2430;
  background: #fff0f2;
  border-color: #efbdc3;
}
.form-help {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .9rem;
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
