/* H&M Malaga Smash Repairs — shared styles
   Brand: dark #0f1620 / panel #141d28 / accent blue #1f6fd4 / page #f6f5f2
   Fonts: Barlow (body) + Barlow Condensed (display) */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f6f5f2; }
img { max-width: 100%; }

/* Image slots — replace the design's drop-zones with real photos */
.img-slot { display: block; object-fit: cover; background: #0b1118; }

/* ---------- Buttons / link hovers (design used style-hover) ---------- */
a { transition: background .15s ease, color .15s ease, box-shadow .15s ease, border-color .15s ease; }
.btn-blue:hover  { background: #1857ad !important; }
.btn-soft:hover  { background: rgba(255,255,255,0.16) !important; }
.btn-ghost:hover { background: rgba(255,255,255,0.08) !important; }
.svc-card:hover  { box-shadow: 0 14px 32px rgba(15,22,32,0.16) !important; }
.svc-card-sm:hover { box-shadow: 0 12px 26px rgba(15,22,32,0.14) !important; }

/* ---------- Top navigation ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: #0f1620; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: 'Barlow', sans-serif;
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 28px; height: 74px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.brand-badge {
  background: #1f6fd4; color: #fff; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 23px; width: 44px; height: 44px; display: flex;
  align-items: center; justify-content: center; border-radius: 4px; letter-spacing: .5px;
}
.brand-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 19px; color: #fff; letter-spacing: 1.2px; }
.brand-sub  { font-weight: 600; font-size: 10px; color: #8a96a3; letter-spacing: 3.5px; margin-top: 3px; }

.desktop-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  text-decoration: none; color: #c7cfd8; font-weight: 500; font-size: 15px;
  padding: 10px 14px; border-radius: 4px; display: inline-flex; align-items: center;
  gap: 5px; white-space: nowrap;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; background: rgba(255,255,255,0.06); }

.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0; background: #141d28;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; padding: 8px;
  min-width: 210px; box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  flex-direction: column; gap: 2px; display: none;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu { display: flex; }
.dropdown-menu a {
  display: block; text-decoration: none; color: #c7cfd8; font-weight: 500;
  font-size: 14px; padding: 11px 18px; white-space: nowrap; border-radius: 3px;
}
.dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,0.06); }

.desktop-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.cta-call-label { font-size: 10px; color: #8a96a3; letter-spacing: 2px; font-weight: 600; }
.cta-call-num { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 20px; color: #fff; letter-spacing: .5px; }

.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 26px; height: 2.5px; background: #fff; border-radius: 2px; }

.mobile-panel { background: #0f1620; border-top: 1px solid rgba(255,255,255,0.08); overflow: hidden; flex-direction: column; display: none; }
.mobile-panel.open { display: flex; }
.m-item { display: block; padding: 15px 28px; color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 19px; letter-spacing: .6px; text-decoration: none; border-top: 1px solid rgba(255,255,255,0.06); }
.m-sub  { display: block; padding: 11px 28px 11px 40px; color: #9aa6b2; font-weight: 500; font-size: 14px; text-decoration: none; }

@media (max-width: 980px) {
  .desktop-nav, .desktop-cta { display: none !important; }
  .burger { display: flex !important; }
}

/* ---------- Footer ---------- */
.site-footer { background: #0b1118; color: #c7cfd8; font-family: 'Barlow', sans-serif; }
.footer-cta { background: #1f6fd4; }
.footer-cta-inner { max-width: 1240px; margin: 0 auto; padding: 54px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.footer-grid { max-width: 1240px; margin: 0 auto; padding: 60px 28px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-col-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 15px; color: #fff; letter-spacing: 2px; margin-bottom: 16px; }
.footer-link { color: #9aa6b2; text-decoration: none; font-size: 14.5px; }
.footer-link:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); }
.footer-bottom-inner { max-width: 1240px; margin: 0 auto; padding: 22px 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; color: #6b7682; font-size: 13px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr !important; } }

/* ---------- Contact form focus (design used style-focus) ---------- */
.field input, .field textarea {
  border: 1px solid #d8d4cc; border-radius: 6px; padding: 13px 14px; font-size: 15px;
  font-family: inherit; background: #faf9f6; outline: none; width: 100%;
}
.field input:focus, .field textarea:focus { border-color: #1f6fd4; background: #fff; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-size: 13px; font-weight: 600; color: #3a4654; letter-spacing: .5px; }
