/* ============================================================
   Solana Repairs — Launch package
   Palette: navy, white, light gray, warm yellow accent
   ============================================================ */

:root {
  --navy: #102a43;
  --navy-700: #1c3d5a;
  --navy-600: #27496b;
  --ink: #1f2d3d;
  --slate: #5a6b7b;
  --muted: #7b8a99;
  --line: #e4e9ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-softer: #eef2f6;
  --yellow: #f5b301;
  --yellow-dark: #e0a200;
  --yellow-soft: #fff5d6;
  --wa: #25d366;
  --wa-dark: #1da851;

  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(16, 42, 67, 0.05);
  --shadow: 0 6px 20px rgba(16, 42, 67, 0.07);
  --shadow-lg: 0 16px 40px rgba(16, 42, 67, 0.12);
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.muted { color: var(--muted); font-weight: 500; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  background: var(--yellow-soft);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.eyebrow-light {
  color: #ffe08a;
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(245, 179, 1, 0.32);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(245, 179, 1, 0.4);
}

.btn-whatsapp {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: var(--wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--bg-soft);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 18px; font-size: 0.94rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.brand-name strong { font-weight: 800; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--navy);
  color: var(--yellow);
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  color: var(--slate);
  font-weight: 500;
  font-size: 0.96rem;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.main-nav a:hover { color: var(--navy); background: var(--bg-soft); }

.header-cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  padding: 0 11px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px 22px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.mobile-nav a {
  padding: 12px 8px;
  color: var(--slate);
  font-weight: 500;
  border-radius: 10px;
}
.mobile-nav a:hover { background: var(--bg-soft); color: var(--navy); }
.mobile-nav .btn { margin-top: 8px; color: var(--navy); }
.mobile-nav.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 360px at 88% -10%, rgba(245, 179, 1, 0.13), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  font-weight: 800;
  margin-bottom: 18px;
}
.hero-copy .lead {
  font-size: 1.12rem;
  color: var(--slate);
  max-width: 33em;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 26px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
}
.hero-trust svg { color: var(--wa-dark); }

/* Hero card */
.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
}
.hero-card .stars {
  display: block;
  color: var(--yellow);
  letter-spacing: 2px;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.hero-card blockquote {
  margin: 0 0 18px;
  font-size: 1.06rem;
  color: var(--ink);
  line-height: 1.55;
}
.hero-card-by {
  display: flex;
  align-items: center;
  gap: 11px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.hero-card-by strong { display: block; font-size: 0.95rem; color: var(--navy); }
.hero-card-by .muted { font-size: 0.85rem; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-soft); }

.section-head {
  max-width: 620px;
  margin: 0 auto 46px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
}
.section-head p {
  color: var(--slate);
  font-size: 1.06rem;
  margin: 0;
}

.grid { display: grid; gap: 20px; }

/* ---------- Cards (shared) ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---------- Services ---------- */
.services-grid {
  grid-template-columns: repeat(4, 1fr);
}
.service-card {
  padding: 26px 22px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #d4dce4;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--yellow-soft);
  color: var(--yellow-dark);
  margin-bottom: 16px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.service-card:hover .service-icon {
  background: var(--navy);
  color: var(--yellow);
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 7px; }
.service-card p { color: var(--slate); font-size: 0.95rem; margin: 0; }

.services-note {
  text-align: center;
  margin: 38px 0 0;
  color: var(--slate);
}
.services-note a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 1px;
}

/* ---------- Why choose us ---------- */
.why-grid { grid-template-columns: repeat(4, 1fr); }
.why-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--yellow);
  margin-bottom: 18px;
}
.why-item h3 { font-size: 1.14rem; margin-bottom: 8px; }
.why-item p { color: var(--slate); font-size: 0.96rem; margin: 0; }

/* ---------- Areas ---------- */
.areas-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.areas-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.areas-copy p { color: var(--slate); font-size: 1.06rem; max-width: 30em; }
.areas-base {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.98rem;
  color: var(--ink);
}
.areas-base svg { color: var(--yellow-dark); flex-shrink: 0; }
.areas-base strong { color: var(--navy); }
.areas-cta { margin-top: 24px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  transition: transform 0.15s var(--ease), border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.chips li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}
.chips li:hover {
  transform: translateY(-2px);
  border-color: #d4dce4;
  background: #fff;
}

/* ---------- Opening hours ---------- */
.hours-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hours-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.hours-copy p { color: var(--slate); font-size: 1.06rem; max-width: 30em; }
.hours-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.hours-phone svg { color: var(--yellow-dark); }

.hours-card { padding: 12px 26px 22px; }
.hours-table {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hours-table li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.hours-table li:last-child { border-bottom: none; }
.hours-table li span:first-child { color: var(--slate); font-weight: 500; }
.hours-table li span:last-child { color: var(--navy); font-weight: 600; }
.hours-table li em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--yellow-soft);
  color: var(--yellow-dark);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
}
.hours-table .is-today { background: linear-gradient(90deg, rgba(245,179,1,0.06), transparent); }
.hours-table .is-closed span:last-child { color: var(--muted); font-weight: 500; }
.hours-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 16px 0 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
}
.hours-foot .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18);
  flex-shrink: 0;
}

/* ---------- Gallery ---------- */
.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  cursor: pointer;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-photo {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, var(--navy-700), var(--navy));
}
.gallery-item[data-theme="furniture"] .gallery-photo { background: linear-gradient(135deg, #1c3d5a, #0e2236); }
.gallery-item[data-theme="door"] .gallery-photo { background: linear-gradient(135deg, #27496b, #14304a); }
.gallery-item[data-theme="lighting"] .gallery-photo { background: linear-gradient(135deg, #1a3a57, #102a43); }
.gallery-item[data-theme="mount"] .gallery-photo { background: linear-gradient(135deg, #234566, #122c46); }
.gallery-item[data-theme="shop"] .gallery-photo { background: linear-gradient(135deg, #1e405f, #0d2034); }
.gallery-item figcaption {
  padding: 15px 18px;
}
.gallery-item figcaption strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}
.gallery-item figcaption span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.section-contact {
  background:
    radial-gradient(800px 360px at 12% 0%, rgba(245, 179, 1, 0.1), transparent 60%),
    var(--navy);
  color: #fff;
}
.section-contact .section-head h2 { color: #fff; }
.section-contact .section-head p { color: #c4d2e0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 840px;
  margin: 0 auto;
}
.contact-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px 18px;
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease), border-color 0.18s var(--ease);
}
.contact-method:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
}
.cm-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--yellow);
  color: var(--navy);
  flex-shrink: 0;
}
.cm-icon-wa { background: var(--wa); color: #fff; }
.cm-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.3; }
.cm-text .muted { color: #9fb2c4; font-size: 0.82rem; }
.cm-text strong { color: #fff; font-size: 1.04rem; word-break: break-word; }

.contact-cta {
  margin-top: 30px;
  text-align: center;
}
.contact-cta-note {
  margin: 16px 0 0;
  font-size: 0.92rem;
  color: #9fb2c4;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0c2236;
  color: #aebfcf;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 22px 40px;
}
.brand-light { color: #fff; }
.brand-light .brand-mark { background: rgba(255, 255, 255, 0.1); }
.footer-brand p {
  margin-top: 14px;
  font-size: 0.94rem;
  max-width: 28em;
  color: #93a6b8;
}
.footer-brand .footer-address {
  margin-top: 10px;
  font-weight: 500;
  color: #aebfcf;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #cdd9e5;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease);
}
.footer-social a:hover {
  background: var(--yellow);
  color: var(--navy);
  transform: translateY(-2px);
}
.footer-col h4 {
  color: #fff;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: #aebfcf;
  font-size: 0.95rem;
  transition: color 0.15s var(--ease);
}
.footer-col a:hover { color: var(--yellow); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 22px;
  font-size: 0.86rem;
  color: #7e93a6;
}
.footer-legal a:hover { color: var(--yellow); }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.float-wa:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 44px 0 56px; }
  .hero-card { max-width: 460px; }

  .areas-inner,
  .hours-inner { grid-template-columns: 1fr; gap: 30px; }

  .section { padding: 56px 0; }
}

@media (max-width: 540px) {
  .services-grid,
  .why-grid,
  .gallery-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .hero-actions .btn,
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; }

  .hero-card-foot { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }

  .float-wa { width: 52px; height: 52px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.05ms !important; }
}
