:root{
  --bg:#FFFFFF;
  --bg-soft:#FAFAF8;
  --panel:#FFFFFF;
  --panel-2:#F4F3EF;
  --line: rgba(20,22,26,0.10);
  --text:#16181D;
  --muted:#6C7078;
  --accent:#D97706;
  --accent-soft: rgba(217,119,6,0.12);
  --whatsapp:#25D366;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter', sans-serif;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4, .display{
  font-family:'Space Grotesk', sans-serif;
  letter-spacing:-0.02em;
}
.mono{ font-family:'JetBrains Mono', monospace; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; }

.wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }

/* ============ HEADER ============ */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{ display:flex; align-items:center; justify-content:space-between; height:76px; min-width:0; }
.logo{ display:flex; align-items:center; gap:10px; font-size:19px; font-weight:700; min-width:0; }
.logo img{ max-width:160px; }
.logo span.show{ color:var(--accent); }
.nav-links{ display:flex; gap:32px; align-items:center; font-size:14.5px; color:var(--muted); font-weight:500; }
.nav-links a:hover{ color:var(--text); }
.nav-cta{ display:flex; gap:12px; align-items:center; }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:11px 20px; border-radius:8px;
  font-weight:600; font-size:14.5px;
  border:1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space:nowrap;
}
.btn:active{ transform: scale(0.97); }
.btn-whats{ background:var(--whatsapp); color:#0B1A10; }
.btn-whats:hover{ box-shadow:0 6px 20px rgba(37,211,102,0.35); }
.btn-ghost{ border:1px solid var(--line); color:var(--text); background:transparent; }
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent); }
.btn-outline-ig{ border:1px solid var(--line); color:var(--text); }
.btn-outline-ig:hover{ border-color:#E1306C; color:#E1306C; }

@media (max-width: 860px){ .nav-links{ display:none; } }

/* ============ HERO ============ */
.hero{
  position:relative; z-index:1;
  padding:96px 0 80px;
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap:56px;
  align-items:center;
}
.hero > div{ min-width:0; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'JetBrains Mono', monospace;
  font-size:12.5px; letter-spacing:0.08em;
  color:var(--accent);
  background:var(--accent-soft);
  border:1px solid rgba(217,119,6,0.3);
  padding:6px 12px; border-radius:6px;
  margin-bottom:22px;
}
.eyebrow::before{
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--accent); box-shadow:0 0 8px var(--accent);
}
.hero h1{ font-size:clamp(34px, 4.6vw, 54px); font-weight:700; line-height:1.08; margin-bottom:22px; }
.hero h1 .hl{ color:var(--accent); }
.hero p.lead{ font-size:17px; color:var(--muted); max-width:480px; margin-bottom:34px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.btn-lg{ padding:15px 26px; font-size:15.5px; border-radius:10px; }

.hero-meta{ display:flex; gap:28px; margin-top:44px; flex-wrap:wrap; }
.hero-meta .num{ font-family:'JetBrains Mono', monospace; font-size:22px; font-weight:700; color:var(--accent); display:block; }
.hero-meta .label{ font-size:12.5px; color:var(--muted); text-transform:uppercase; letter-spacing:0.05em; }

/* hero image */
.hero-visual{ position:relative; min-width:0; max-width:100%; }
.hero-image{
  border-radius:20px; overflow:hidden;
  border:1px solid var(--line);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.28);
  aspect-ratio: 4 / 3.1;
  width:100%; max-width:100%;
}
.hero-image img{ width:100%; height:100%; object-fit:cover; }
.hero-badge{
  position:absolute; left:24px; bottom:-22px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px 20px;
  display:flex; align-items:center; gap:12px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.25);
}
.hero-badge .ico{
  width:36px; height:36px; border-radius:10px;
  background:var(--accent-soft);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.hero-badge .ico svg{ width:18px; height:18px; stroke:var(--accent); }
.hero-badge .txt b{ display:block; font-size:14px; }
.hero-badge .txt span{ font-size:12.5px; color:var(--muted); }

/* ============ SECTION HEADERS ============ */
.section{ position:relative; z-index:1; padding:88px 0; }
.section-head{ max-width:640px; margin-bottom:52px; }
.section-tag{ font-family:'JetBrains Mono', monospace; font-size:12.5px; color:var(--accent); letter-spacing:0.08em; display:block; margin-bottom:14px; }
.section-head h2{ font-size:clamp(26px,3.4vw,38px); font-weight:700; }
.section-head p{ color:var(--muted); margin-top:14px; font-size:16px; max-width:560px; }

/* ============ SERVICES ============ */
.services-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:22px; min-width:0; }
@media (max-width: 980px){ .services-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width: 640px){ .services-grid{ grid-template-columns:1fr;} }

.svc-ticket{
  min-width:0;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  cursor:pointer;
  text-align:left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  display:flex; flex-direction:column;
}
.svc-ticket:hover{
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px -18px rgba(217,119,6,0.28);
}
.svc-ticket:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }

.svc-media{ position:relative; width:100%; aspect-ratio: 16/10; overflow:hidden; background:var(--panel-2); }
.svc-media img{ width:100%; height:100%; object-fit:cover; }
.svc-ico{
  position:absolute; left:16px; bottom:-18px;
  width:42px; height:42px; border-radius:10px;
  background:var(--panel);
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line);
  box-shadow:0 8px 18px -8px rgba(0,0,0,0.25);
}
.svc-ico svg{ width:20px; height:20px; stroke:var(--accent); }

.svc-body{ padding:30px 22px 22px; display:flex; flex-direction:column; gap:14px; flex:1; }
.svc-ticket h3{ font-size:19px; font-weight:600; }
.svc-ticket p{ color:var(--muted); font-size:14px; }
.svc-cta{
  margin-top:auto; display:flex; align-items:center; gap:6px;
  font-size:13.5px; font-weight:600; color:var(--accent);
  padding-top:14px; border-top:1px dashed var(--line);
}
.svc-cta svg{ width:14px; height:14px; transition: transform .15s ease; }
.svc-ticket:hover .svc-cta svg{ transform: translateX(3px); }

/* placeholder / "add new" tiles for services and products */
.svc-placeholder, .product-placeholder{
  background:var(--panel-2);
  border:1.5px dashed var(--line);
  border-radius:16px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  padding:40px 24px;
  gap:12px;
  color:var(--muted);
  min-height:100%;
}
.svc-placeholder .plus, .product-placeholder .plus{
  width:44px; height:44px; border-radius:50%;
  border:1.5px dashed var(--muted);
  display:flex; align-items:center; justify-content:center;
  font-size:22px; color:var(--muted);
}
.svc-placeholder h4, .product-placeholder h4{ font-size:15.5px; font-weight:600; color:var(--text); }
.svc-placeholder p, .product-placeholder p{ font-size:13px; max-width:220px; }

/* ============ PRODUCTS ============ */
.products-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; }
@media (max-width: 980px){ .products-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width: 560px){ .products-grid{ grid-template-columns:1fr;} }
.product-placeholder{ aspect-ratio: 3/4; }

.product-card{
  min-width:0;
  background:var(--panel); border:1px solid var(--line); border-radius:14px;
  overflow:hidden;
  cursor:pointer; text-align:left; width:100%; padding:0; display:block;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.product-card:hover{ transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 16px 32px -16px rgba(217,119,6,0.25); }
.product-card:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }
.product-media{ width:100%; aspect-ratio: 3/4; overflow:hidden; background:var(--panel-2); }
.product-media img{ width:100%; height:100%; object-fit:cover; }
.product-body{ padding:16px 16px 18px; }
.product-body h4{ font-size:15.5px; font-weight:600; margin-bottom:4px; }
.product-body p{ font-size:13px; color:var(--muted); }
.product-cta{
  display:flex; align-items:center; gap:6px;
  font-size:12.5px; font-weight:600; color:var(--accent);
  margin-top:8px; padding-top:10px; border-top:1px dashed var(--line);
}

/* ============ WHY US ============ */
.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:860px){ .why-grid{ grid-template-columns:1fr; } }
.why-card{ background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:26px; min-width:0; }
.why-card .ico{
  width:42px; height:42px; border-radius:10px;
  background:var(--accent-soft); border:1px solid rgba(217,119,6,0.3);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.why-card .ico svg{ width:20px; height:20px; stroke:var(--accent); }
.why-card h4{ font-size:17px; margin-bottom:8px; font-weight:600; }
.why-card p{ color:var(--muted); font-size:14.5px; }

/* ============ LOCATION ============ */
.loc-wrap{
  display:grid; grid-template-columns: 0.9fr 1.1fr; gap:40px;
  background:var(--panel); border:1px solid var(--line); border-radius:18px;
  overflow:hidden;
}
@media (max-width:860px){ .loc-wrap{ grid-template-columns:1fr; } }
.loc-info{ padding:40px; min-width:0; }
.loc-info h3{ font-size:24px; margin-bottom:16px; }
.loc-line{ display:flex; gap:12px; margin-bottom:16px; align-items:flex-start; }
.loc-line svg{ width:19px; height:19px; stroke:var(--accent); flex-shrink:0; margin-top:2px; }
.loc-line span{ color:var(--muted); font-size:14.5px; }
.loc-line b{ color:var(--text); display:block; font-size:15.5px; margin-bottom:2px; }
.map-frame{ min-height:340px; position:relative; min-width:0; }
.map-frame iframe{ width:100%; height:100%; min-height:340px; border:0; filter:grayscale(0.15) contrast(1.05); }

/* ============ FOOTER ============ */
footer{ border-top:1px solid var(--line); padding:48px 0 32px; position:relative; z-index:1; }
.foot-grid{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px;
  padding-bottom:28px; margin-bottom:24px; border-bottom:1px solid var(--line);
}
.foot-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-size:13px; color:var(--muted); }
.foot-social{ display:flex; gap:14px; }
.foot-social a{ width:36px; height:36px; border-radius:9px; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; }
.foot-social a:hover{ border-color:var(--accent); color:var(--accent); }
.foot-social svg{ width:17px; height:17px; }

/* ============ FLOATING WHATSAPP ============ */
.floating-whats{
  position:fixed; bottom:24px; right:24px; z-index:80;
  width:60px; height:60px; border-radius:50%;
  background:var(--whatsapp);
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  animation: pulse 2.6s infinite;
}
.floating-whats svg{ width:28px; height:28px; fill:#0B1A10; }
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(37,211,102,0.55), 0 10px 30px rgba(37,211,102,0.45); }
  70%{ box-shadow:0 0 0 14px rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,0.45); }
  100%{ box-shadow:0 0 0 0 rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,0.45); }
}

/* ============ MODAL ============ */
.modal-overlay{
  position:fixed; inset:0; z-index:100;
  background:rgba(8,10,15,0.55);
  backdrop-filter: blur(4px);
  display:flex; align-items:center; justify-content:center;
  padding:20px; opacity:0; pointer-events:none;
  transition:opacity .2s ease;
}
.modal-overlay.active{ opacity:1; pointer-events:auto; }
.modal-card{
  background:var(--panel); border:1px solid var(--line); border-radius:18px;
  width:100%; max-width:420px; padding:30px 28px 26px; position:relative;
  transform: translateY(14px) scale(0.98);
  transition: transform .25s cubic-bezier(.2,.9,.3,1.2);
  box-shadow:0 40px 80px -20px rgba(0,0,0,0.3);
}
.modal-overlay.active .modal-card{ transform:translateY(0) scale(1); }
.modal-close{
  position:absolute; top:18px; right:18px;
  width:32px; height:32px; border-radius:8px;
  background:var(--panel-2); border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; color:var(--muted);
}
.modal-close:hover{ color:var(--text); border-color:var(--accent); }
.modal-card h3{ font-size:21px; margin-bottom:6px; }
.modal-card > p.sub{ color:var(--muted); font-size:14px; margin-bottom:22px; }
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:13px; color:var(--muted); margin-bottom:7px; font-weight:500; }
.field input, .field select{
  width:100%; padding:12px 14px; border-radius:9px;
  background:var(--panel-2); border:1px solid var(--line);
  color:var(--text); font-size:14.5px; font-family:inherit;
}
.field input:focus, .field select:focus{ outline:none; border-color:var(--accent); }
.field input::placeholder{ color:#9A9FA8; }
.modal-submit{ width:100%; justify-content:center; margin-top:6px; }
.modal-note{ font-size:12px; color:var(--muted); margin-top:14px; text-align:center; }

::selection{ background:var(--accent); color:#fff; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; transition-duration:0.01ms !important; }
}

@media (max-width: 900px){
  .hero{ grid-template-columns:1fr; padding-top:56px; }
  .hero-badge{ position:static; margin-top:16px; }
}

@media (max-width: 480px){
  .wrap{ padding:0 20px; }
  .modal-card{ padding:26px 20px 22px; }
}
