:root{
  --bg-page: #f3f4f7;
  --bg-header: #ffffff;
  --bg-card: #ffffff;
  --border-soft: #e5e7eb;
  --border-strong:#d1d5db;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --accent-soft-strong:#eff6ff;
  --accent-alt:#059669;
  --text-main: #111827;
  --text-muted: #6b7280;
  --text-soft: #9ca3af;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08);
  --shadow-md: 0 4px 10px rgba(15,23,42,0.08);
  --shadow-lg: 0 18px 40px rgba(15,23,42,0.16);
  --max-width: 1120px;
  --success-bg:#ecfdf3;
  --success-text:#166534;
  --error-bg:#fef2f2;
  --error-text:#b91c1c;
}

/* Reset */
*{box-sizing:border-box;}
html,body{
  margin:0;
  padding:0;
  height:100%;
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background:var(--bg-page);
  color:var(--text-main);
  -webkit-font-smoothing:antialiased;
}
body{
  font-size:15px;
  line-height:1.6;
}
img{display:block;max-width:100%;height:auto;}
a{text-decoration:none;color:inherit;}
button{font:inherit;}
html{scroll-behavior:smooth;}

/* Container */
.wrap{
  max-width:var(--max-width);
  margin:0 auto;
  padding:14px 14px 24px;
}

/* Header */
.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 14px;
  border-radius:999px;
  background:var(--bg-header);
  border:1px solid var(--border-soft);
  box-shadow:var(--shadow-sm);
  position:sticky;
  top:10px;
  z-index:100;
}
.brand{
  display:flex;
  align-items:center;
}
.brand-link{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand img{
  width:46px;
  height:46px;
  border-radius:10px;
  object-fit:cover;
  border:1px solid var(--border-soft);
}
.brand .title{
  display:flex;
  flex-direction:column;
}
.brand h1{
  margin:0;
  font-size:16px;
  font-weight:700;
  font-family:Rubik, system-ui;
  color:var(--text-main);
}
.brand p{
  margin:2px 0 0;
  font-size:12px;
  color:var(--text-muted);
}

.header-right{
  display:flex;
  align-items:center;
  gap:12px;
}

/* Nav */
.nav{
  display:none;
}
.nav-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:18px;
}
.nav-list a{
  font-size:14px;
  color:var(--text-muted);
  font-weight:500;
  padding:6px 0;
  border-bottom:2px solid transparent;
}
.nav-list a.active,
.nav-list a:hover{
  color:var(--text-main);
  border-bottom-color:var(--accent);
}

/* Dropdown */
.nav-item-dropdown{
  position:relative;
}
.dropdown-toggle{
  background:transparent;
  border:0;
  font-size:14px;
  color:var(--text-muted);
  font-weight:500;
  display:inline-flex;
  align-items:center;
  gap:4px;
  cursor:pointer;
  padding:6px 0;
}
.dropdown-toggle.active,
.dropdown-toggle:hover{
  color:var(--text-main);
}
.chevron{
  font-size:12px;
}
.dropdown-menu{
  position:absolute;
  top:100%;
  left:0;
  background:var(--bg-header);
  border-radius:10px;
  border:1px solid var(--border-soft);
  box-shadow:var(--shadow-lg);
  padding:6px 0;
  min-width:210px;
  display:none;
  z-index:200;
}
.dropdown-menu li{
  list-style:none;
}
.dropdown-menu a{
  display:block;
  padding:8px 12px;
  font-size:13px;
  color:var(--text-muted);
}
.dropdown-menu a:hover{
  background:#f9fafb;
  color:var(--text-main);
}

/* Header actions */
.header-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.phone-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  background:var(--accent-soft-strong);
  border-radius:999px;
  border:1px solid var(--accent-soft);
  color:var(--accent);
  font-weight:600;
  font-size:13px;
  white-space:nowrap;
}
.phone-icon{
  font-size:13px;
}
.btn{
  padding:8px 12px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  font-weight:600;
  font-size:13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  transition:background .18s ease, box-shadow .18s ease, transform .1s ease;
}
.btn-primary{
  background:var(--accent);
  color:#ffffff;
  box-shadow:var(--shadow-md);
}
.btn-primary:hover{
  box-shadow:var(--shadow-lg);
  transform:translateY(-1px);
}
.btn-ghost{
  background:transparent;
  border:1px solid var(--border-soft);
  color:var(--text-main);
}
.btn-ghost:hover{
  background:#f9fafb;
}
.hamburger{
  background:transparent;
  border:1px solid var(--border-soft);
  border-radius:999px;
  color:var(--text-main);
  font-size:18px;
  padding:6px 9px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* Drawer (mobile) */
.drawer{
  display:none;
}
.nav-open .drawer{
  display:block;
  position:fixed;
  left:16px;
  right:16px;
  top:72px;
  background:var(--bg-header);
  padding:12px;
  border-radius:16px;
  box-shadow:var(--shadow-lg);
  border:1px solid var(--border-soft);
  z-index:120;
}
.drawer nav a{
  display:block;
  padding:9px 10px;
  border-radius:8px;
  color:var(--text-main);
  font-size:14px;
  border-bottom:1px dashed #e5e7eb;
}
.drawer nav a:last-child{
  border-bottom:none;
}
.drawer nav a.active{
  background:#eff6ff;
}
.drawer-group{
  margin-top:8px;
  margin-bottom:4px;
}
.drawer-label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--text-soft);
  margin:4px 0;
}

/* Hero */
.hero{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:18px;
}
.hero-card{
  background:var(--bg-card);
  padding:18px 16px 16px;
  border-radius:16px;
  box-shadow:var(--shadow-lg);
  border:1px solid var(--border-soft);
  display:flex;
  flex-direction:column;
  gap:12px;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 8px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:11px;
  font-weight:600;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.hero h2{
  margin:2px 0 0;
  font-size:22px;
  line-height:1.15;
  color:var(--text-main);
  font-family:Rubik, system-ui;
}
.hero p{
  margin:4px 0 0;
  color:var(--text-muted);
  font-size:14px;
}
.hero-cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:6px;
}
.stats{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:6px;
}
.stat{
  background:#f9fafb;
  padding:10px 12px;
  border-radius:10px;
  min-width:100px;
  text-align:left;
  border:1px solid var(--border-soft);
}
.stat h3{
  margin:0;
  color:var(--text-main);
  font-size:18px;
  font-weight:700;
}
.stat p{
  margin:4px 0 0;
  color:var(--text-soft);
  font-size:12px;
}

.quick{
  background:var(--bg-card);
  padding:14px 14px 12px;
  border-radius:16px;
  border:1px solid var(--border-soft);
  box-shadow:var(--shadow-md);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.quick-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.quick-title{
  font-weight:700;
  font-size:14px;
  color:var(--text-main);
}
.quick-meta{
  font-size:12px;
  color:var(--text-muted);
}
.q-row{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.meta{
  font-size:12px;
  color:var(--text-soft);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:500;
}
.strong{
  font-weight:600;
  color:var(--text-main);
}

/* Sections */
.section{
  margin-top:22px;
}
.sec-head{
  display:flex;
  flex-direction:column;
  gap:2px;
  margin-bottom:10px;
}
.sec-head h3{
  margin:0;
  color:var(--text-main);
  font-size:17px;
  font-weight:700;
}
.sec-sub{
  color:var(--text-muted);
  font-size:13px;
}

/* Services Grid */
.service-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.service{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px;
  background:var(--bg-card);
  border-radius:12px;
  border:1px solid var(--border-soft);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.service:hover,
.service:focus-within{
  transform:translateY(-2px);
  box-shadow:var(--shadow-md);
  border-color:#bfdbfe;
  background:#f9fafb;
}
.s-icon{
  width:46px;
  height:46px;
  border-radius:12px;
  background:linear-gradient(135deg,#2563eb,#0ea5e9);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#ffffff;
  font-weight:700;
  font-size:18px;
  flex-shrink:0;
}
.s-body h4{
  margin:0;
  font-size:14px;
  font-weight:600;
  color:var(--text-main);
}
.s-body p{
  margin:4px 0 6px;
  color:var(--text-muted);
  font-size:13px;
}
.service a.service-link{
  font-size:13px;
  color:var(--accent);
  font-weight:500;
}

/* Testimonials */
.testimonials{
  display:flex;
  gap:10px;
  overflow:auto;
  padding:8px 2px 4px;
  border-radius:12px;
  scroll-behavior:smooth;
}
.testimonials.dragging{
  cursor:grabbing;
  user-select:none;
}
.testimonial{
  min-width:230px;
  background:var(--bg-card);
  padding:12px;
  border-radius:12px;
  border:1px solid var(--border-soft);
  box-shadow:var(--shadow-sm);
  flex:0 0 auto;
}
.testimonial p{
  margin:0;
  color:var(--text-muted);
  font-size:13px;
}
.testimonial strong{
  display:block;
  margin-top:8px;
  color:var(--accent-alt);
  font-size:12px;
}

/* Map */
.map{
  margin-top:10px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--border-soft);
  box-shadow:var(--shadow-md);
}

/* Contact & Forms */
.contact-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.card{
  background:var(--bg-card);
  padding:14px;
  border-radius:14px;
  border:1px solid var(--border-soft);
  box-shadow:var(--shadow-md);
}
.form-row{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}
input,textarea{
  width:100%;
  padding:10px 11px;
  border-radius:10px;
  border:1px solid var(--border-soft);
  background:#ffffff;
  color:var(--text-main);
  font-size:14px;
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
input::placeholder,
textarea::placeholder{
  color:var(--text-soft);
}
input:focus,
textarea:focus{
  outline:none;
  border-color:#93c5fd;
  box-shadow:0 0 0 1px #bfdbfe;
  background:#ffffff;
}
textarea{
  min-height:120px;
  resize:vertical;
}
.submit-row{
  display:flex;
  justify-content:flex-end;
  margin-top:8px;
}
.message{
  padding:9px 11px;
  border-radius:10px;
  margin-bottom:10px;
  font-size:13px;
}
.success{
  background:var(--success-bg);
  color:var(--success-text);
  border:1px solid #bbf7d0;
}
.error{
  background:var(--error-bg);
  color:var(--error-text);
  border:1px solid #fecaca;
}

/* Generic content blocks */
.page-hero{
  background:var(--bg-card);
  padding:18px 16px;
  border-radius:16px;
  border:1px solid var(--border-soft);
  box-shadow:var(--shadow-md);
  margin-top:18px;
}
.page-hero h2{
  margin:0;
  font-size:22px;
  font-family:Rubik, system-ui;
}
.page-hero p{
  margin:6px 0 0;
  color:var(--text-muted);
  font-size:14px;
}
.page-content{
  margin-top:18px;
  display:grid;
  gap:16px;
}
.page-section{
  background:var(--bg-card);
  padding:14px;
  border-radius:14px;
  border:1px solid var(--border-soft);
  box-shadow:var(--shadow-sm);
}
.page-section h3{
  margin:0 0 6px;
  font-size:16px;
}
.page-section p{
  margin:4px 0;
  color:var(--text-muted);
}
.page-section ul{
  margin:6px 0 0 18px;
  color:var(--text-muted);
  font-size:14px;
}
.badge{
  display:inline-block;
  padding:3px 8px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.04em;
}

/* Footer */
.footer{
  margin-top:24px;
  padding:14px;
  border-radius:14px;
  text-align:left;
  background:var(--bg-card);
  color:var(--text-muted);
  font-size:13px;
  border:1px solid var(--border-soft);
  box-shadow:var(--shadow-sm);
}
.footer-top{
  display:flex;
  flex-direction:column;
  gap:12px;
  border-bottom:1px solid var(--border-soft);
  padding-bottom:10px;
  margin-bottom:10px;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:8px;
}
.footer-brand img{
  border-radius:10px;
}
.footer-title{
  font-weight:600;
  color:var(--text-main);
}
.footer-subtitle{
  font-size:12px;
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.footer-links a{
  font-size:13px;
  color:var(--text-muted);
}
.footer-links a:hover{
  color:var(--text-main);
}
.footer-contact{
  font-size:13px;
}
.footer-contact a{
  color:var(--accent);
}
.footer-bottom{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:12px;
}

/* Focus */
a:focus, button:focus, input:focus, textarea:focus {
  outline:2px solid #bfdbfe;
  outline-offset:2px;
}

/* Responsive: Tablet & Desktop */
@media (min-width:640px){
  .wrap{
    padding:18px 18px 30px;
  }
  .header{
    border-radius:16px;
    padding:11px 18px;
  }
  .brand h1{font-size:18px;}
  .brand p{font-size:12px;}

  .nav{
    display:block;
  }
  .hamburger{
    display:none;
  }

  .hero{
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items:flex-start;
    gap:18px;
  }
  .service-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .contact-grid{
    grid-template-columns:minmax(0, 1.3fr) minmax(0, 0.9fr);
  }
  .footer-top{
    flex-direction:row;
    align-items:flex-start;
    justify-content:space-between;
  }
  .footer-bottom{
    flex-direction:row;
    justify-content:space-between;
  }

  /* Desktop dropdown on hover */
  .nav-item-dropdown:hover .dropdown-menu{
    display:block;
  }
}

@media (min-width:980px){
  .service-grid{
    grid-template-columns:repeat(3,1fr);
  }
  .hero-card{
    padding:22px 20px 18px;
  }
  .hero h2{
    font-size:26px;
  }
  .phone-pill{
    padding:8px 12px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{transition:none!important;scroll-behavior:auto;}
}

.drawer-contact {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-phone {
  padding: 10px 12px;
  background: var(--accent-soft-strong);
  color: var(--accent);
  font-weight: 600;
  border-radius: 8px;
  display: block;
  text-align: center;
  border: 1px solid var(--accent-soft);
  font-size: 14px;
}

.drawer-quote {
  padding: 10px 12px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  border-radius: 8px;
  display: block;
  text-align: center;
  font-size: 14px;
}

/* Clients Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #bfdbfe;
}

/* 1:1 Square Logo Fix */
.client-logo {
  width: 40px;     /* Perfect square */
  height: 40px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: #fff;
  overflow: hidden;
}

.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* no crop, perfect fit */
}

.client-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}
