/* Smart Enterprises - premium, conversion-focused theme */
:root{
  --primary:#2FA4D7;        /* logo blue */
  --primary-2:#1E8FC6;      /* deeper logo blue */
  --accent:#EE1D2B;         /* logo red */
  --bg:#F6F8FC;             /* soft background */
  --text:#0F172A;          /* slate-900 */
  --muted:#475569;         /* slate-600 */
  --card:#ffffff;
  --border:rgba(15,23,42,.12);
  --shadow: 0 10px 30px rgba(2, 6, 23, .08);
  --shadow-2: 0 8px 24px rgba(2, 6, 23, .12);
  --radius:18px;
  --radius-sm:12px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: radial-gradient(1100px 450px at 10% -10%, rgba(238,29,43,.10), transparent 60%),
              radial-gradient(900px 500px at 95% 0%, rgba(11,90,91,.10), transparent 55%),
              var(--bg);
  line-height:1.6;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }

.container{
  width: min(1150px, calc(100% - 2rem));
  margin-inline:auto;
}

/* Navbar */
.navbar{
  position:sticky;
  top:0;
  z-index:50;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  border-bottom: 1px solid rgba(238,29,43,.35);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: .85rem 0;
}
.brand{
  display:flex; align-items:center; gap:.7rem;
}
.brand img{
  width:42px; height:42px;
  border-radius:12px;
  box-shadow: 0 10px 20px rgba(11,90,91,.18);
  border:1px solid rgba(238,29,43,.25);
}
.brand strong{
  font-size:1.03rem;
  letter-spacing:-.02em;
  color: rgba(255,255,255,.98);
}
.brand small{
  display:block;
  margin-top:2px;
  font-size:.8rem;
  color: rgba(255,255,255,.78);
}
.nav-links{
  display:flex;
  gap:1.2rem;
  align-items:center;
}
.nav-links a{
  font-weight:600;
  font-size:.95rem;
  color:rgba(255,255,255,.92);
  position:relative;
  padding:.35rem 0;
}
.nav-links a:after{
  content:"";
  position:absolute; left:0; bottom:-6px;
  width:0; height:2px;
  background: linear-gradient(90deg, var(--accent), rgba(255,255,255,.18));
  transition: width .25s ease;
}
.nav-links a:hover:after{ width:100%; }

.nav-cta{
  display:flex; gap:.6rem; align-items:center;
}

.hamburger{
  display:none;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.22);
  border-radius:14px;
  width:46px; height:46px;
  align-items:center; justify-content:center;
  cursor:pointer;
}
.hamburger .lines{
  width:18px; height:14px;
  display:grid;
  gap:3px;
}
.hamburger .lines span{
  display:block;
  height:2px;
  border-radius:99px;
  background: rgba(255,255,255,.92);
}

.mobile-drawer{
  display:none;
  padding: 0 0 1rem 0;
}
.mobile-drawer .drawer{
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.72);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: .75rem;
}
.mobile-drawer a{
  display:block;
  padding:.65rem .6rem;
  font-weight:700;
  color: rgba(15,23,42,.88);
  border-radius: 12px;
}
.mobile-drawer a:hover{
  background: rgba(11,90,91,.08);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  padding:.72rem 1.1rem;
  border-radius: 14px;
  font-weight:800;
  font-size:.95rem;
  border:1px solid transparent;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  user-select:none;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color:white;
  box-shadow: 0 16px 28px rgba(11,90,91,.20);
}
.btn-primary:hover{
  box-shadow: 0 22px 36px rgba(11,90,91,.26);
  transform: translateY(-1px);
}
.btn-ghost{
  background: rgba(255,255,255,.7);
  border-color: rgba(15,23,42,.12);
  color: rgba(15,23,42,.9);
}
.btn-ghost:hover{
  border-color: rgba(11,90,91,.28);
  box-shadow: 0 14px 26px rgba(2,6,23,.08);
  transform: translateY(-1px);
}
.btn-accent{
  background: rgba(238,29,43,.16);
  border-color: rgba(238,29,43,.38);
  color: rgba(15,23,42,.95);
}
.btn-accent:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(238,29,43,.18);
}

/* Header-specific button contrast */
.nav-cta .btn-ghost{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.96);
}
.nav-cta .btn-ghost:hover{
  border-color: rgba(255,255,255,.38);
  box-shadow: 0 14px 26px rgba(0,0,0,.08);
}
.nav-cta .btn-accent{
  background: rgba(238,29,43,.96);
  border-color: rgba(255,255,255,.14);
  color: white;
}

/* WhatsApp (header + mobile menu) */
.btn-wa,
.nav-cta .btn-wa,
.mobile-drawer .btn-wa{
  background: #1ED760;
  border-color: rgba(255,255,255,.18);
  color: white;
}
.btn-wa:hover,
.nav-cta .btn-wa:hover,
.mobile-drawer .btn-wa:hover{
  background: #19c957;
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 16px 30px rgba(30, 215, 96, .28);
  transform: translateY(-1px);
}

/* Sections */
.section{
  padding: 4.6rem 0;
}
.section-sm{
  padding: 2.6rem 0;
}
.section-title{
  font-size: clamp(1.3rem, 2.6vw, 2.0rem);
  letter-spacing:-.03em;
  margin:0 0 .75rem 0;
}
.section-lead{
  color: var(--muted);
  margin:0;
  max-width: 70ch;
}
.divider{
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(15,23,42,.14), transparent);
  margin: 1.8rem 0 0;
}

/* Hero */
.hero{
  padding: 1.3rem 0 3.2rem 0;
}
.hero-slider{
  position:relative;
  /* Hero must be full-width and edge-to-edge */
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  box-shadow: var(--shadow-2);
  background: #0c2a36;
  width:100%;
}
.hero-slides{
  /* Responsive hero height */
  min-height: clamp(460px, 68vh, 640px);
  display:flex;
}
.hero-slide{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transform: scale(1.02);
  transition: opacity .55s ease, transform .75s ease;
  background-size: cover;
  background-position:center;
}
.hero-slide.is-active{
  opacity:1;
  transform: scale(1.0);
}
.hero-slide:before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(700px 380px at 20% 10%, rgba(238,29,43,.20), transparent 55%),
    linear-gradient(90deg, rgba(2,6,23,.72) 0%, rgba(2,6,23,.48) 45%, rgba(2,6,23,.15) 100%);
}
.hero-slide:after{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(800px 420px at 75% 10%, rgba(11,90,91,.35), transparent 55%);
  pointer-events:none;
  opacity:.6;
}
.hero-content{
  position:relative;
  z-index:2;
  padding: clamp(2.2rem, 5vw, 3.6rem) clamp(1rem, 3vw, 2.2rem);
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding: .42rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  font-weight:800;
  font-size:.88rem;
}
.hero-content h1{
  margin:.9rem 0 .8rem 0;
  color:white;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing:-.04em;
}
.hero-content p{
  color: rgba(255,255,255,.88);
  margin:0 0 1.3rem 0;
  max-width: 58ch;
  text-align:center;
}
.hero-bullets{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:.65rem .9rem;
  margin: 0 0 1.6rem;
  justify-items:center;
}
.hero-bullets li{
  list-style:none;
  display:flex; align-items:center; gap:.55rem;
  color: rgba(255,255,255,.92);
  font-weight:700;
  justify-content:center;
}
.hero-bullets .check{
  width:18px; height:18px;
  border-radius: 6px;
  background: rgba(238,29,43,.22);
  border:1px solid rgba(238,29,43,.5);
  display:inline-flex;
  align-items:center; justify-content:center;
}
.hero-bullets svg{ width:12px; height:12px; fill: var(--accent); }

.hero-actions{
  display:flex;
  gap:.8rem;
  flex-wrap:wrap;
  align-items:center;
}

/* Per request: no visible buttons inside hero (auto slide only) */
.hero-actions{ display:none; }
.hero-nav{ display:none; }

.hero-nav{
  position:absolute;
  inset:auto 0 0 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: .9rem 1rem;
  z-index:3;
  pointer-events:none;
}
.hero-nav .left, .hero-nav .right{
  display:flex; gap:.55rem; align-items:center;
  pointer-events:auto;
}
.icon-btn{
  width:44px; height:44px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color:white;
  cursor:pointer;
  display:inline-flex;
  align-items:center; justify-content:center;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.icon-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(238,29,43,.45);
  background: rgba(238,29,43,.14);
}
.hero-dots{
  pointer-events:auto;
  display:flex; gap:.45rem;
}
.dot{
  width:12px; height:12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.10);
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, width .18s ease;
}
.dot.is-active{
  width:28px;
  background: rgba(238,29,43,.34);
  border-color: rgba(238,29,43,.65);
}

.hero-sparkle{
  position:absolute; inset:0;
  width:100%; height:100%;
  z-index:1;
  pointer-events:none;
}

/* Cards / grids */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid-4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.card{
  background: rgba(255,255,255,.78);
  border:1px solid rgba(15,23,42,.10);
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(2,6,23,.06);
  overflow:hidden;
}
.card > img{
  width:100%;
  height: 190px;
  object-fit: cover;
}
.card-pad{
  padding: 1.15rem 1.15rem;
}
.card h3{
  margin:.35rem 0 .55rem 0;
  letter-spacing:-.02em;
}
.muted{ color: var(--muted); }

.thumb{
  height:160px;
  background-size:cover;
  background-position:center;
  border-bottom:1px solid rgba(15,23,42,.08);
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.4rem .7rem;
  border-radius: 999px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.7);
  font-weight:800;
  font-size:.86rem;
}
.list{
  padding-left: 1.1rem;
  margin: .6rem 0 0;
}
.list li{ margin:.35rem 0; color: rgba(15,23,42,.85); font-weight:650; }
.feature-row{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  align-items:center;
}
.feature-row .pill{
  background: rgba(238,29,43,.14);
  border-color: rgba(238,29,43,.30);
}

/* Reveal animations */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

/* Floating buttons */
.floating-stack{
  position:fixed;
  z-index:999;
  right: 16px;
  bottom: 16px;
  display:flex;
  flex-direction:column;
  gap: .55rem;
}
.floating-btn{
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.25);
  box-shadow: 0 16px 34px rgba(2,6,23,.22);
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.floating-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(2,6,23,.28);
}
.floating-wa{ background: #1ED760; }
.floating-call{ background: var(--primary); }
.floating-instagram{ background: #E1306C; }
.floating-linkedin{ background: #0A66C2; }
.floating-btn svg{ width:26px; height:26px; fill:white; }

/* Footer */
.footer{
  padding: 2.2rem 0 2.6rem 0;
  border-top: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.55);
}
.footer-inner{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:1rem;
  align-items:start;
}
.footer h4{ margin:0 0 .6rem 0; }
.footer p{ margin:0; color: rgba(15,23,42,.82); }
.footer a{
  color: var(--primary);
  font-weight:800;
}

/* Page hero banner (non-slider) */
.banner{
  border-radius: calc(var(--radius) + 6px);
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  box-shadow: var(--shadow-2);
  position:relative;
  min-height: 240px;
}
.banner .bg{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
}
.banner .bg:before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(600px 260px at 15% 10%, rgba(238,29,43,.18), transparent 55%),
    linear-gradient(90deg, rgba(2,6,23,.70) 0%, rgba(2,6,23,.44) 55%, rgba(2,6,23,.10) 100%);
}
.banner .content{
  position:relative;
  padding: 2.1rem 1.9rem;
  z-index:1;
}
.banner .content h2{
  margin:.3rem 0 .55rem 0;
  color:white;
  letter-spacing:-.03em;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}
.banner .content p{
  margin:0;
  color: rgba(255,255,255,.86);
  max-width: 72ch;
}

/* Forms (none) - but keep spacing */
.contact-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1rem;
}
.info-box{
  padding: 1.2rem;
}
.info-box .row{
  display:flex;
  gap:.75rem;
  align-items:flex-start;
  padding: .7rem .75rem;
  border:1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.7);
  margin-top:.75rem;
}
.info-box .row:first-child{ margin-top:0; }
.info-box .ico{
  width:38px; height:38px;
  border-radius: 14px;
  background: rgba(11,90,91,.12);
  border:1px solid rgba(11,90,91,.22);
  display:flex; align-items:center; justify-content:center;
  flex: 0 0 auto;
}
.info-box .ico svg{ width:18px; height:18px; fill: var(--primary); }
.info-box .row strong{ display:block; margin-bottom:4px; }
.map-frame{
  width:100%;
  border-radius: var(--radius);
  border:1px solid rgba(15,23,42,.10);
  overflow:hidden;
  height: 280px;
  background:#fff;
}

/* Gallery */
.gallery-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  margin-top:1.4rem;
}
.gallery-tab{
  border:1px solid rgba(15,23,42,.14);
  background: var(--card);
  color: var(--text);
  font-weight:700;
  font-size:.95rem;
  padding:.65rem 1.1rem;
  border-radius: 999px;
  cursor:pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.gallery-tab:hover{
  border-color: rgba(47,164,215,.45);
  box-shadow: var(--shadow);
}
.gallery-tab.is-active{
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  border-color: rgba(238,29,43,.35);
  color: white;
}
.gallery-categories{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
  margin-top:1rem;
}
.gallery-cat-btn{
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.85);
  color: var(--text);
  font-weight:600;
  font-size:.86rem;
  padding:.5rem .85rem;
  border-radius: 12px;
  cursor:pointer;
  max-width: 100%;
  text-align:left;
  line-height:1.35;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.gallery-cat-btn:hover{
  border-color: rgba(47,164,215,.45);
  transform: translateY(-1px);
}
.gallery-cat-btn.is-active{
  background: rgba(47,164,215,.12);
  border-color: rgba(47,164,215,.45);
  color: var(--primary-2);
}
.gallery-panel{
  margin-top:1.4rem;
  padding-top:1.2rem;
  border-top: 1px solid rgba(15,23,42,.10);
}
.gallery-panel-head{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:.5rem 1rem;
  margin-bottom:1rem;
}
.gallery-panel-title{
  margin:0;
  font-size:1.15rem;
  letter-spacing:-.02em;
}
.gallery-panel-count{
  margin:0;
  font-size:.9rem;
}
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap:.75rem;
}
.gallery-item{
  border:0;
  padding:0;
  background:transparent;
  cursor:pointer;
  border-radius: var(--radius-sm);
  overflow:hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.gallery-item:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.gallery-item img{
  width:100%;
  height:150px;
  object-fit:cover;
}
.gallery-empty{
  margin-top:1.2rem;
  text-align:center;
}
.gallery-lightbox{
  position:fixed;
  inset:0;
  z-index:200;
  background: rgba(2,6,23,.88);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1rem;
}
.gallery-lightbox[hidden]{ display:none; }
.gallery-lightbox-figure{
  margin:0;
  max-width: min(1100px, 96vw);
  max-height: 90vh;
  text-align:center;
}
.gallery-lightbox-figure img{
  max-width:100%;
  max-height: calc(90vh - 2.5rem);
  width:auto;
  height:auto;
  margin-inline:auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.gallery-lightbox-figure figcaption{
  margin-top:.65rem;
  color: rgba(255,255,255,.82);
}
.gallery-lightbox-close{
  position:absolute;
  top:1rem;
  right:1rem;
  width:44px;
  height:44px;
  border:0;
  border-radius:12px;
  background: rgba(255,255,255,.14);
  color:white;
  font-size:1.8rem;
  line-height:1;
  cursor:pointer;
}
.gallery-lightbox-nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:48px;
  height:48px;
  border:0;
  border-radius:999px;
  background: rgba(255,255,255,.14);
  color:white;
  font-size:2rem;
  line-height:1;
  cursor:pointer;
}
.gallery-lightbox-prev{ left:1rem; }
.gallery-lightbox-next{ right:1rem; }

/* Responsive */
@media (max-width: 980px){
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
  .grid-2{ grid-template-columns: 1fr; }
  .hero-bullets{ grid-template-columns: 1fr; }
  .hero-slides{ min-height: clamp(520px, 68vh, 640px); }
  .hero-content{ padding: 3.0rem 1.4rem; }
  .footer-inner{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .card > img{ height: 170px; }
}
@media (max-width: 820px){
  .nav-links, .nav-cta{ display:none; }
  .hamburger{ display:inline-flex; }
}
@media (max-width: 560px){
  .grid-4{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .card > img{ height: 150px; }
}
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; }
  .reveal{ transition:none; }
}

