:root{
  --brand-900:#0b1b3a;
  --brand-800:#0e2450;
  --brand-700:#12306a;
  --brand-600:#1a3f8f;
  --brand-500:#2256c2;
  --brand-400:#2f72ff;

  --ink:#0e1726;
  --muted:#5b667a;
  --surface:#ffffff;
  --surface-2:#f6f9ff;
  --border:rgba(15, 35, 70, .10);

  --glass:rgba(255,255,255,.62);
  --glass-strong:rgba(255,255,255,.74);
  --shadow-lg:0 24px 55px rgba(15,35,70,.14);
  --shadow-md:0 12px 28px rgba(15,35,70,.12);
  --shadow-sm:0 8px 18px rgba(15,35,70,.10);

  --radius-xl:22px;
  --radius-lg:16px;
  --radius-md:12px;
  --radius-sm:10px;

  --section-pad:86px;
}

@media (max-width: 991.98px){
  :root{ --section-pad:72px; }
}
@media (max-width: 575.98px){
  :root{ --section-pad:64px; }
}

html{ scroll-behavior:smooth; }
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 500px at 70% -10%, rgba(47,114,255,.16), transparent 60%),
              radial-gradient(900px 500px at 10% 0%, rgba(34,86,194,.12), transparent 55%),
              linear-gradient(180deg, #fff, #f8fbff 55%, #fff);
}
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.88) 42%, rgba(255,255,255,.20) 100%),
    url("/images/header.png");
  background-repeat: no-repeat;
  background-position: right 40%;
  background-size: min(1200px, 92vw) auto;
  opacity: .35;
  filter: saturate(1.05);
  z-index: -3;
}
@media (max-width: 991.98px){
  body::before{
    background-position: right 18%;
    opacity: .26;
  }
}

.font-display{ font-family: "Playfair Display", Georgia, serif; }
.text-muted-2{ color: var(--muted) !important; }

.page-loader{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  transition: opacity .35s ease, visibility .35s ease;
}
.page-loader.is-hidden{ opacity:0; visibility:hidden; }
.loader-card{
  text-align:center;
  padding: 22px 22px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.78);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.loader-text{ margin-top: 10px; color: var(--muted); font-size: .95rem; }

.navbar-glass{
  background:
    radial-gradient(900px 240px at 15% 0%, rgba(34,86,194,.10), transparent 62%),
    radial-gradient(700px 220px at 85% 20%, rgba(47,114,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.72));
  border-bottom: 1px solid rgba(15,35,70,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding .22s ease, box-shadow .22s ease, background .22s ease;
  padding: 10px 0;
}
.navbar-glass.navbar-compact{
  padding: 6px 0;
  background:
    radial-gradient(900px 240px at 15% 0%, rgba(34,86,194,.08), transparent 62%),
    radial-gradient(700px 220px at 85% 20%, rgba(47,114,255,.08), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.82));
  box-shadow: 0 10px 30px rgba(15,35,70,.10);
}

.navbar-brand{ padding: 0; }
.brand-mark{
  width: 42px; height: 42px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(47,114,255,.18), rgba(34,86,194,.10));
  border: 1px solid rgba(34,86,194,.14);
  color: var(--brand-700);
}
.brand-logo-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  line-height: 0;
}
.brand-logo{
  height: 144px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Navbar shrinks on scroll; keep logo proportional */
.navbar-glass.navbar-compact .brand-logo{
  height: 96px;
}

@media (max-width: 575.98px){
  .brand-logo{ height: 120px; }
  .navbar-glass.navbar-compact .brand-logo{ height: 84px; }
}
.nav-link{
  font-weight: 600;
  color: rgba(14,23,38,.78);
  padding: .7rem .85rem;
  border-radius: 12px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav-link:hover, .nav-link:focus{
  background: rgba(47,114,255,.10);
  color: var(--brand-800);
}
.nav-cta{
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(34,86,194,.22);
}

.btn{
  border-radius: 14px;
  padding: .85rem 1.05rem;
  font-weight: 700;
}
.btn-primary{
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  border: none;
}
.btn-primary:hover{
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 16px 36px rgba(47,114,255,.22);
}
.btn-outline-primary{
  border: 1px solid rgba(34,86,194,.28);
  color: var(--brand-700);
}
.btn-outline-primary:hover{
  background: rgba(47,114,255,.10);
  border-color: rgba(34,86,194,.35);
  color: var(--brand-800);
  transform: translateY(-1px);
}

.hero{
  position: relative;
  padding-top: 200px;
  padding-bottom: 56px;
  overflow: hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(0deg, rgba(255,255,255,.88), rgba(255,255,255,.66)),
    radial-gradient(1200px 600px at 70% 10%, rgba(47,114,255,.18), transparent 60%),
    url("/images/header.png");
  background-size: cover;
  background-position: right center;
  filter: saturate(1.05) contrast(1.02);
  z-index: -2;
}
.hero::after{
  content:"";
  position:absolute;
  inset: 0;
  background: radial-gradient(700px 380px at 35% 25%, rgba(47,114,255,.16), transparent 62%);
  z-index: -1;
}
.hero-card{
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15,35,70,.10);
  background: rgba(255,255,255,.64);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  padding: 34px;
}
.hero-card-right{
  margin-left: auto;
}
.hero-image{
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15,35,70,.10);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-image img{
  width: 100%;
  height: auto;
  display: block;
}
.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34,86,194,.18);
  background: rgba(255,255,255,.65);
  color: var(--brand-800);
  font-weight: 700;
  font-size: .9rem;
}
.hero-title{
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  margin-top: 14px;
  margin-bottom: 12px;
  letter-spacing: -.3px;
  color: var(--brand-900);
}
.hero-subtitle{
  font-size: 1.1rem;
  color: rgba(14,23,38,.72);
  max-width: 52ch;
}
.hero-actions{ margin-top: 18px; display:flex; gap:12px; flex-wrap: wrap; }
.hero-metrics{
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 575.98px){
  .hero-card{ padding: 26px; }
  .hero-metrics{ grid-template-columns: 1fr; }
}
.metric{
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,35,70,.10);
  background: rgba(255,255,255,.70);
}
.metric strong{ display:block; font-size: 1rem; color: var(--brand-900); }
.metric span{ display:block; margin-top: 2px; color: var(--muted); font-size: .92rem; }

.section{
  padding: var(--section-pad) 0;
}
.section-title{
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  letter-spacing: -.2px;
  color: var(--brand-900);
}
.section-lead{
  color: rgba(14,23,38,.70);
  max-width: 72ch;
}
.section-card{
  border: 1px solid rgba(15,35,70,.10);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.service-card{
  height: 100%;
  padding: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15,35,70,.10);
  background: rgba(255,255,255,.74);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15,35,70,.14);
  border-color: rgba(34,86,194,.22);
}
.service-icon{
  width: 52px; height: 52px;
  border-radius: 18px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(47,114,255,.18), rgba(34,86,194,.10));
  border: 1px solid rgba(34,86,194,.14);
  color: var(--brand-700);
  font-size: 1.2rem;
}
.service-title{ margin-top: 14px; font-weight: 800; color: var(--brand-900); }
.service-list{ margin: 10px 0 0; padding-left: 18px; color: rgba(14,23,38,.72); }
.service-list li{ margin: 6px 0; }
.service-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(47,114,255,.10);
  color: var(--brand-800);
  border: 1px solid rgba(34,86,194,.18);
  font-weight: 800;
  font-size: .9rem;
}

.feature-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 991.98px){ .feature-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 575.98px){ .feature-grid{ grid-template-columns: 1fr; } }
.feature{
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(15,35,70,.10);
  background: rgba(255,255,255,.75);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover{ transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feature i{ color: var(--brand-700); }
.feature .t{ font-weight: 800; margin-top: 8px; color: var(--brand-900); }
.feature .d{ margin-top: 4px; color: rgba(14,23,38,.70); font-size: .95rem; }

.timeline{
  position: relative;
  padding-left: 18px;
}
.timeline::before{
  content:"";
  position:absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(34,86,194,.0), rgba(34,86,194,.28), rgba(34,86,194,.0));
}
.step{
  position: relative;
  padding: 16px 18px 16px 26px;
  border-radius: 18px;
  border: 1px solid rgba(15,35,70,.10);
  background: rgba(255,255,255,.72);
  margin-bottom: 12px;
}
.step::before{
  content:"";
  position:absolute;
  left: -2px;
  top: 18px;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  box-shadow: 0 12px 26px rgba(47,114,255,.22);
}
.step h3{
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--brand-900);
}
.step p{ margin: 6px 0 0; color: rgba(14,23,38,.72); }

.contact-form{
  padding: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15,35,70,.10);
  background: rgba(255,255,255,.75);
  box-shadow: var(--shadow-md);
}
.form-control, .form-select{
  border-radius: 14px;
  border: 1px solid rgba(15,35,70,.14);
  padding: .8rem .9rem;
}
.form-control:focus{
  border-color: rgba(47,114,255,.38);
  box-shadow: 0 0 0 .25rem rgba(47,114,255,.12);
}
.helper-note{
  color: var(--muted);
  font-size: .92rem;
}

.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display:grid;
  place-items: center;
  background: linear-gradient(135deg, #19c37d, #0ea968);
  color: #fff;
  box-shadow: 0 22px 44px rgba(14, 23, 38, .18);
  z-index: 1200;
  transition: transform .2s ease, filter .2s ease;
  text-decoration: none;
}
.whatsapp-float:hover{ transform: translateY(-2px); filter: brightness(1.02); color:#fff; }
.whatsapp-float i{ font-size: 1.45rem; }

.site-footer{
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(246,249,255,.95));
  border-top: 1px solid rgba(15,35,70,.10);
}
.footer-mark{
  width: 44px; height: 44px;
  border-radius: 16px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(47,114,255,.18), rgba(34,86,194,.10));
  border: 1px solid rgba(34,86,194,.14);
  color: var(--brand-700);
}
.footer-title{ font-weight: 900; color: var(--brand-900); }
.footer-text{ color: rgba(14,23,38,.72); margin-top: 6px; }
.footer-heading{ font-weight: 900; margin-bottom: 10px; color: var(--brand-900); }
.footer-links{ list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.footer-links a{ color: rgba(14,23,38,.72); text-decoration:none; }
.footer-links a:hover{ color: var(--brand-800); text-decoration: underline; }
.social-btn{
  width: 44px; height: 44px;
  border-radius: 14px;
  display:grid; place-items:center;
  border: 1px solid rgba(15,35,70,.12);
  background: rgba(255,255,255,.76);
  color: var(--brand-800);
  text-decoration:none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.social-btn:hover{ transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--brand-900); }
.footer-divider{ border-color: rgba(15,35,70,.10); }
.footer-meta{ color: rgba(14,23,38,.66); font-size: .95rem; }
.badge-soft{ font-weight: 800; color: rgba(14,23,38,.75); background: rgba(255,255,255,.78)!important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .page-loader, .navbar-glass, .service-card, .feature, .btn, .whatsapp-float, .social-btn{ transition: none !important; }
}

