*{
  box-sizing:border-box;
}

:root{
  --bg:#f5f7ff;
  --white:#ffffff;
  --text:#1b2559;
  --muted:#67718f;
  --primary:#28378d;
  --primary-dark:#18235f;
  --accent:#f2b427;
  --line:#e6eaf8;
  --card:#ffffff;
  --shadow:0 20px 48px rgba(31,45,106,.10);
  --radius:24px;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Poppins",system-ui,-apple-system,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at left top, rgba(242,180,39,.12), transparent 18%),
    linear-gradient(180deg, #f8f9ff 0%, #eef2ff 100%);
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

button{
  font:inherit;
}

.container{
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
}

.topbar{
  background:var(--primary-dark);
  color:rgba(255,255,255,.88);
  font-size:.9rem;
}

.topbar-wrap{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:10px 0;
  flex-wrap:wrap;
}

.topbar p{
  margin:0;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.78);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(40,55,141,.08);
}

.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 0;
}

.brand{
  font-weight:800;
  font-size:2rem;
  color:var(--primary);
}

.brand span{
  color:var(--accent);
}

.nav{
  display:flex;
  align-items:center;
  gap:28px;
  font-weight:600;
  color:#4d587f;
}

.nav a:hover{
  color:var(--primary);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:15px 24px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--primary) 0%, #4257c5 100%);
  color:#fff;
  font-weight:700;
  box-shadow:var(--shadow);
  border:none;
  transition:transform .18s ease, box-shadow .18s ease;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-outline{
  background:transparent;
  color:var(--primary);
  border:2px solid rgba(40,55,141,.14);
  box-shadow:none;
}

.btn-small{
  padding:12px 20px;
}

.menu-toggle{
  display:none;
  border:none;
  background:transparent;
  padding:0;
  cursor:pointer;
}

.menu-toggle span{
  display:block;
  width:24px;
  height:2px;
  background:var(--primary);
  margin:5px 0;
  border-radius:2px;
}

.hero{
  padding:64px 0 34px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:42px;
  align-items:center;
}

.eyebrow{
  margin:0 0 14px;
  color:var(--primary);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
  font-size:1.25rem;
}

.hero h1,
.section-head h2,
.infra-copy h2,
.contact-copy h2{
  margin:0;
  line-height:1.05;
}

.hero h1{
  font-size:clamp(2.6rem, 5vw, 5.1rem);
  max-width:10ch;
}

.hero-text{
  margin:20px 0 24px;
  color:var(--muted);
  font-size:1.06rem;
  max-width:58ch;
}

.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:22px;
}

.hero-chips{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.hero-chips span{
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.8);
  color:#4c577f;
  font-weight:500;
}

.hero-slider{
  position:relative;
  background:#fff;
  border:1px solid rgba(40,55,141,.08);
  border-radius:32px;
  box-shadow:var(--shadow);
  padding:14px 14px 22px;
}

.slides{
  position:relative;
  min-height:590px;
  overflow:hidden;
  border-radius:24px;
  background:#dbe3ff;
}

.slide{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  transition:opacity .45s ease, visibility .45s ease;
}

.slide.active{
  opacity:1;
  visibility:visible;
}

.slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.slide-overlay{
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
  color: #fff;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10,18,51,.12) 0%, rgba(10,18,51,.72) 100%);
}

.slide-kicker{
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(255,255,255,.96);
}

@media (max-width: 760px){
  .slide-overlay{
    left: 18px;
    right: 18px;
    bottom: 18px;
    min-height: 92px;
    padding: 20px 22px;
    border-radius: 18px;
  }

  .slide-kicker{
    font-size: 1rem;
    line-height: 1.3;
  }
}

.slide-overlay h3{
  margin:0 0 8px;
  font-size:2rem;
  line-height:1.15;
  max-width:16ch;
}

.slide-overlay p:last-of-type{
  margin:0 0 16px;
  color:rgba(255,255,255,.9);
  max-width:50ch;
}

.slide-link{
  display:inline-flex;
  padding:12px 18px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.16);
  font-weight:700;
}

.slider-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:54px;
  height:54px;
  border:none;
  border-radius:999px;
  background:#fff;
  color:var(--primary);
  font-size:2rem;
  box-shadow:0 12px 30px rgba(36,48,102,.14);
  cursor:pointer;
  z-index:3;
}

.slider-arrow.left{
  left:-18px;
}

.slider-arrow.right{
  right:-18px;
}

.slider-dots{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:16px;
}

.dot{
  width:10px;
  height:10px;
  border:none;
  border-radius:999px;
  background:#c4ccea;
  cursor:pointer;
}

.dot.active{
  width:32px;
  background:var(--primary);
}

/* ===== OUR PRODUCTS / REFINED OPTION 2 ===== */

.quick-links{
  padding: 30px 0 40px;
}

.quick-links-head{
  max-width: 820px;
  margin: 0 auto 26px;
}

.quick-links-head h2{
  margin-bottom: 12px;
}

.quick-links-head p:last-child{
  color: var(--muted);
}

.products-pills{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}

.products-pills a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  min-height: 54px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(40,55,141,.10);
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 22px rgba(31,45,106,.06);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.products-pills a:hover{
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 14px 28px rgba(31,45,106,.10);
}

@media (max-width: 760px){
  .products-pills{
    gap: 12px;
  }

  .products-pills a{
    width: calc(50% - 6px);
    padding: 14px 16px;
    font-size: .95rem;
  }
}

@media (max-width: 520px){
  .products-pills a{
    width: 100%;
  }
}

/* ===== STATS ===== */

.stats{
  padding:6px 0 12px;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
}

.stat-card{
  background:rgba(255,255,255,.84);
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
}

.stat-card strong{
  display:block;
  margin-bottom:6px;
  font-size:1.05rem;
}

.stat-card span{
  color:var(--muted);
}

/* ===== GENERIC SECTIONS ===== */

.section{
  padding:82px 0;
}

.alt-section{
  background:linear-gradient(180deg, rgba(255,255,255,.52) 0%, rgba(239,242,255,.78) 100%);
  border-top:1px solid rgba(40,55,141,.05);
  border-bottom:1px solid rgba(40,55,141,.05);
}

.section-head{
  max-width:760px;
  margin:0 auto 34px;
  text-align:center;
}

.section-head h2{
  font-size:clamp(2rem, 4vw, 3rem);
  margin-bottom:14px;
}

.section-head p:last-child{
  margin:0;
  color:var(--muted);
}

.services-grid,
.products-grid,
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}

.service-card,
.product-card,
.testimonial-card,
.contact-card,
.panel-card,
.mini-card{
  background:rgba(255,255,255,.88);
  border:1px solid var(--line);
  box-shadow:0 12px 36px rgba(31,45,106,.08);
}

.service-card,
.product-card,
.testimonial-card{
  border-radius:26px;
  padding:28px;
}

.service-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-size:1.6rem;
  margin-bottom:18px;
  background:linear-gradient(135deg, rgba(40,55,141,.12), rgba(242,180,39,.18));
}

.service-card h3,
.product-card h3,
.testimonial-card strong{
  margin:0 0 10px;
}

.service-card p,
.product-card p,
.testimonial-card p{
  margin:0;
  color:var(--muted);
}

.product-card{
  position:relative;
  min-height:190px;
}

.product-card.featured{
  background:linear-gradient(135deg, var(--primary) 0%, #3f56c8 100%);
  color:#fff;
}

.product-card.featured p{
  color:rgba(255,255,255,.88);
}

.product-badge{
  position:absolute;
  top:18px;
  right:18px;
  padding:8px 12px;
  border-radius:999px;
  font-size:.8rem;
  font-weight:700;
  color:var(--primary);
  background:#fff2cb;
}


/* ===== PRICING ===== */
.pricing-section{
  padding: 82px 0;
}

.pricing-slider-shell{
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}

.pricing-slider-window{
  overflow: hidden;
  width: 100%;
}

.pricing-cards-track{
  display: flex;
  gap: 24px;
  transition: transform .35s ease;
  will-change: transform;
}

.pricing-card{
  display:block;
  box-sizing:border-box;
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  min-height: 292px;
  text-align:left;
  cursor:pointer;
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:28px;
  padding:28px;
  box-shadow:0 12px 36px rgba(31,45,106,.08);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pricing-card:hover,
.pricing-card:focus-visible{
  transform:translateY(-4px);
  box-shadow:0 18px 42px rgba(31,45,106,.12);
  border-color:rgba(40,55,141,.16);
  outline:none;
}

.pricing-card:focus-visible{
  box-shadow:0 0 0 4px rgba(46,72,205,.18), 0 18px 42px rgba(31,45,106,.12);
}

.pricing-card.wide{
  background:linear-gradient(135deg, var(--primary) 0%, #3f56c8 100%);
  color:#fff;
}

.pricing-card.wide p,
.pricing-card.wide .pricing-card-link,
.pricing-card.wide .pricing-card-label{
  color:rgba(255,255,255,.9);
}

.pricing-card-label{
  display:inline-block;
  margin-bottom:12px;
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--primary);
}

.pricing-card h3{
  margin:0 0 12px;
  font-size:1.45rem;
  color:inherit;
}

.pricing-card p{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.65;
}

.pricing-card-link{
  font-weight:700;
  color:var(--primary);
}

.pricing-nav-arrow{
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 2rem;
  box-shadow: 0 12px 30px rgba(36,48,102,.14);
  cursor: pointer;
}

.pricing-nav-arrow:disabled{
  opacity: .45;
  cursor: not-allowed;
}

.pricing-slider-dots{
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.pricing-slider-dot{
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: #c4ccea;
  cursor: pointer;
}

.pricing-slider-dot.active{
  width: 32px;
  background: var(--primary);
}

.pricing-modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 16px;
}

.pricing-modal.open{
  display: flex;
}

.pricing-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(10,18,51,.62);
  backdrop-filter: blur(4px);
}

.pricing-modal-dialog{
  position: relative;
  z-index: 1;
  width: auto;
  max-width: min(92vw, 820px);
  height: auto;
  max-height: 92vh;
  background: #fff;
  border-radius: 26px;
  padding: 18px 18px 16px;
  box-shadow: 0 24px 60px rgba(12,22,60,.28);
  display: inline-flex;
  flex-direction: column;
  overflow: hidden;
}

.pricing-modal-dialog h3{
  margin: 0 52px 14px 0;
  color: var(--primary);
  font-size: 1.6rem;
  flex: 0 0 auto;
}

.pricing-modal-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(40,55,141,.08);
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.pricing-modal-image-wrap{
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f8f9ff;
}

.pricing-modal-image-wrap img{
  display: block;
  width: auto;
  max-width: min(88vw, 760px);
  max-height: calc(92vh - 110px);
  height: auto;
  object-fit: contain;
}

@media (max-width: 760px){
  .pricing-modal{
    padding: 10px;
  }

  .pricing-modal-dialog{
    max-width: 96vw;
    border-radius: 20px;
    padding: 14px 14px 12px;
  }

  .pricing-modal-dialog h3{
    font-size: 1.2rem;
    margin-right: 44px;
  }

  .pricing-modal-close{
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .pricing-modal-image-wrap img{
    max-width: 100%;
    max-height: calc(92vh - 90px);
  }
}


@media (max-width: 1024px){
  .pricing-card{
    flex-basis: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 700px){
  .pricing-slider-shell{
    gap: 10px;
  }

  .pricing-card{
    flex-basis: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 24px;
  }

  .pricing-nav-arrow{
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
  }
}

/* ===== TESTIMONIALS / REVIEWS ===== */

.stars{
  color:#ffb800;
  margin-bottom:16px;
  letter-spacing:.16em;
}

.reviews-summary-card{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
  margin:0 auto 28px;
}

.review-metric{
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
  text-align:center;
  box-shadow:0 12px 36px rgba(31,45,106,.08);
}

.review-metric strong{
  display:block;
  font-size:1.8rem;
  color:var(--primary);
  line-height:1.1;
  margin-bottom:8px;
}

.review-metric span{
  color:var(--muted);
  font-weight:600;
}

.reviews-grid .review-card p{
  min-height:90px;
}

.featured-review{
  background:linear-gradient(135deg, var(--primary) 0%, #3f56c8 100%);
}

/* ===== CONTACT ===== */

.contact-section{
  padding-bottom:96px;
}

.contact-grid{
  display:grid;
  grid-template-columns:1fr .95fr;
  gap:28px;
  align-items:start;
}

.contact-copy p:last-child{
  color:var(--muted);
}

.contact-card{
  border-radius:28px;
  padding:30px;
}

.contact-item + .contact-item{
  border-top:1px solid var(--line);
  margin-top:16px;
  padding-top:16px;
}

.contact-item h3{
  margin:0 0 6px;
}

.contact-item p{
  margin:0;
  color:var(--muted);
}

/* ===== FLOAT / FOOTER ===== */

.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:30;
  padding:14px 18px;
  border-radius:999px;
  background:#25d366;
  color:#fff;
  font-weight:800;
  box-shadow:0 14px 36px rgba(37,211,102,.28);
}

.site-footer{
  background:#10183a;
  color:rgba(255,255,255,.82);
  padding:30px 0;
}

.footer-wrap{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  flex-wrap:wrap;
}

.footer-brand{
  color:#fff;
}

.footer-links{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

.footer-wrap p{
  margin:10px 0 0;
  color:rgba(255,255,255,.68);
}

/* ===== RESPONSIVE ===== */

@media (max-width:1100px){
  .hero-grid,
  .infra-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .hero h1{
    max-width:12ch;
  }
}

@media (max-width:980px){
  .services-grid,
  .products-grid,
  .testimonial-grid,
  .stats-grid{
    grid-template-columns:1fr 1fr;
  }

  .reviews-summary-card{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:900px){
  .refined-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width:760px){
  .desktop-cta{
    display:none;
  }

  .menu-toggle{
    display:block;
  }

  .nav{
    position:absolute;
    top:100%;
    left:16px;
    right:16px;
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
    padding:18px;
    border-radius:18px;
    background:#fff;
    border:1px solid var(--line);
    box-shadow:var(--shadow);
  }

  .nav.open{
    display:flex;
  }

  .slides{
    min-height:480px;
  }

  .slide-overlay h3{
    font-size:1.35rem;
  }

  .slider-arrow{
    width:46px;
    height:46px;
  }

  .slider-arrow.left{
    left:8px;
  }

  .slider-arrow.right{
    right:8px;
  }

  .refined-grid,
  .services-grid,
  .products-grid,
  .testimonial-grid,
  .stats-grid,
  .panel-mini-grid,
  .reviews-summary-card{
    grid-template-columns:1fr;
  }

  .topbar-wrap{
    justify-content:center;
  }
}


/* Testimonials review carousel */
.reviews-summary-real {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reviews-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
  will-change: transform;
}

.real-review-card {
  min-width: calc((100% - 3rem) / 3);
  background: #ffffff;
  border: 1px solid rgba(34, 56, 140, 0.08);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(28, 44, 117, 0.08);
  padding: 1.6rem;
}

.real-review-card h3 {
  margin: 0 0 0.8rem;
  color: #1d2f7a;
  font-size: 1.25rem;
  line-height: 1.25;
}

.real-review-card p {
  color: #4e5b78;
  margin: 0;
  min-height: 5.5rem;
}

.review-stars {
  color: #f1b434;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.review-meta {
  margin-top: 1rem;
  color: #67728d;
  font-size: 0.95rem;
  font-weight: 600;
}

.reviews-arrow {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 56, 140, 0.15);
  background: #ffffff;
  color: #24377f;
  font-size: 2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(28, 44, 117, 0.08);
  cursor: pointer;
}

.reviews-arrow:disabled {
  opacity: 0.45;
  cursor: default;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.reviews-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  border: none;
  background: rgba(36, 55, 127, 0.22);
  cursor: pointer;
}

.reviews-dot.active {
  background: #3247bd;
}

@media (max-width: 1024px) {
  .reviews-summary-real {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .real-review-card {
    min-width: calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 700px) {
  .reviews-carousel {
    grid-template-columns: 1fr;
  }

  .reviews-arrow {
    display: none;
  }

  .reviews-summary-real {
    grid-template-columns: 1fr;
  }

  .real-review-card {
    min-width: 100%;
  }

  .real-review-card p {
    min-height: auto;
  }
}
