/* =========================================================
   Piano Repair Singapore — styles.css
   Design: Dark navy + electric blue, industrial precision
   ========================================================= */

/* --- Reset & Root Variables --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #0F172A;
  --surface:       #1E293B;
  --accent:        #2563EB;
  --accent-hover:  #1D4ED8;
  --accent-light:  #DBEAFE;
  --gold:          #F59E0B;
  --success:       #10B981;
  --text:          #F8FAFC;
  --text-muted:    #94A3B8;
  --text-dark:     #0F172A;
  --border:        #334155;
  --bg-light:      #F1F5F9;
  --bg-section:    #0F172A;
  --white:         #FFFFFF;
  --whatsapp:      #25D366;
  --radius:        6px;
  --radius-lg:     12px;
  --shadow:        0 2px 8px rgba(0,0,0,.4);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.5);
  --transition:    .2s ease;
  --max-width:     1100px;
  --font-sans:     'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:     'JetBrains Mono', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Sections --- */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-dark {
  background: var(--primary);
  color: var(--text);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--text);
}
.section-dark p, .section-dark li { color: var(--text-muted); }
.section-dark strong { color: var(--text); }
.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}
.section-surface {
  background: var(--surface);
  color: var(--text);
}
.section-surface h2, .section-surface h3 { color: var(--text); }
.section-surface p, .section-surface li { color: var(--text-muted); }

/* --- Section Header --- */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.section-dark .section-header .label {
  background: rgba(37,99,235,.2);
  color: var(--accent-light);
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 640px; margin: 0 auto; color: var(--text-muted); }
.section-dark .section-header p { color: var(--text-muted); }
.section-light .section-header p { color: #475569; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 64px;
}

/* Logo */
.site-logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--text);
  text-decoration: none;
}
.site-logo span { color: var(--accent); }

/* Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.primary-nav > li { position: relative; }
.primary-nav > li > a {
  display: block;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.primary-nav > li > a:hover,
.primary-nav > li > a[aria-current="page"] {
  color: var(--text);
  background: rgba(255,255,255,.07);
}

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 200;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.dropdown li a:hover {
  background: rgba(37,99,235,.15);
  color: var(--accent-light);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent-light); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 999;
  overflow-y: auto;
  padding: 80px 24px 40px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav ul a {
  display: block;
  padding: 14px 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius);
  border-bottom: 1px solid var(--border);
}
.mobile-nav ul a:hover { color: var(--text); background: var(--surface); }
.mobile-nav-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}
.mobile-nav-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37,99,235,.4);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37,211,102,.3);
}
.btn-whatsapp:hover {
  background: #20bc5a;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: rgba(255,255,255,.08);
  color: var(--text);
}
.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--white);
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--primary);
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.3);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--text);
  margin-bottom: 20px;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
  padding: 40px;
  text-align: center;
}
.hero-image-placeholder .icon { font-size: 3rem; }

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  display: block;
}
.trust-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================================================
   CARDS
   ========================================================= */
/* 3-col grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Repair card — dark with blue left border */
.repair-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.repair-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.repair-card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.repair-card h3 {
  color: var(--text);
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.repair-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.repair-card a.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}
.repair-card a.card-link:hover { color: var(--accent-light); }

/* Light card for bg-light sections */
.light-card {
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.light-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
}
.light-card-icon { font-size: 2rem; margin-bottom: 14px; }
.light-card h3 { margin-bottom: 8px; color: var(--text-dark); }
.light-card p { color: #475569; font-size: 0.9rem; }

/* =========================================================
   WHY US / USP
   ========================================================= */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.usp-card {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.usp-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(37,99,235,.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.usp-body h3 { color: var(--text); font-size: 1rem; margin-bottom: 6px; }
.usp-body p { color: var(--text-muted); font-size: 0.875rem; }

/* =========================================================
   PROCESS / STEPS
   ========================================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--border) 100%);
  z-index: 0;
}
.step-block { position: relative; z-index: 1; text-align: center; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--primary);
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
}
.step-block h3 { color: var(--text); margin-bottom: 8px; font-size: 1rem; }
.step-block p { color: var(--text-muted); font-size: 0.875rem; }

/* =========================================================
   COST TABLE
   ========================================================= */
.cost-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.cost-table th {
  background: var(--accent);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cost-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.cost-table tr:nth-child(even) td { background: rgba(255,255,255,.03); }
.cost-table tr:nth-child(odd) td { background: var(--surface); }
.cost-table tr:hover td { background: rgba(37,99,235,.08); }
.cost-table td:first-child { font-weight: 600; color: var(--text); }
.cost-table td:last-child {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}
.table-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Light section cost table */
.section-light .cost-table tr:nth-child(even) td { background: #E2E8F0; }
.section-light .cost-table tr:nth-child(odd) td { background: var(--white); }
.section-light .cost-table td:first-child { color: var(--text-dark); }
.section-light .cost-table td { border-bottom: 1px solid #CBD5E1; }
.section-light .cost-table tr:hover td { background: var(--accent-light); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  flex-shrink: 0;
}
.author-info strong { display: block; font-size: 0.9rem; color: var(--text); }
.author-info span { font-size: 0.8rem; color: var(--text-muted); }

/* =========================================================
   LOCAL AREAS STRIP
   ========================================================= */
.areas-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.areas-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: center;
}
.areas-inner span { font-size: 0.85rem; color: var(--text-muted); }
.areas-inner a {
  font-size: 0.85rem;
  color: var(--accent-light);
  font-weight: 500;
}
.areas-inner a:hover { color: var(--text); }
.areas-dot { color: var(--border) !important; }

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 16px;
  font-family: var(--font-sans);
  transition: color var(--transition);
}
.section-light .faq-question { color: var(--text-dark); }
.faq-question:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.section-light .faq-answer { color: #475569; }
.faq-item.open .faq-answer { display: block; }

/* =========================================================
   BRANDS GRID
   ========================================================= */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.brand-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  text-decoration: none;
  display: block;
}
.brand-chip:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(37,99,235,.08);
}

/* =========================================================
   ALERT STRIP
   ========================================================= */
.alert-strip {
  background: var(--accent);
  color: var(--white);
  padding: 14px 0;
  text-align: center;
}
.alert-strip p {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  color: var(--white);
}
.alert-strip a { color: var(--accent-light); font-weight: 700; }
.alert-strip a:hover { color: var(--white); }

/* =========================================================
   PROBLEM → SOLUTION CARDS
   ========================================================= */
.problem-solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.ps-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.ps-problem {
  background: var(--surface);
  padding: 20px;
}
.ps-solution {
  background: rgba(37,99,235,.12);
  padding: 20px;
  border-left: 1px solid var(--border);
}
.ps-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ps-problem .ps-label { color: var(--gold); }
.ps-solution .ps-label { color: var(--accent-light); }
.ps-problem p, .ps-solution p { font-size: 0.9rem; color: var(--text-muted); }

/* =========================================================
   BREADCRUMBS
   ========================================================= */
.breadcrumb {
  background: var(--surface);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  font-size: 0.85rem;
}
.breadcrumb-list li { display: flex; align-items: center; gap: 4px; }
.breadcrumb-list li::after { content: '/'; color: var(--border); }
.breadcrumb-list li:last-child::after { content: ''; }
.breadcrumb-list a { color: var(--text-muted); }
.breadcrumb-list a:hover { color: var(--accent); }
.breadcrumb-list li:last-child span { color: var(--text); font-weight: 600; }

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  background: var(--primary);
  padding: 56px 0;
}
.page-hero h1 { color: var(--text); margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); max-width: 640px; font-size: 1.05rem; }

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,.85); margin-bottom: 32px; font-size: 1.05rem; }
.cta-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cta-badge {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: var(--white);
  color: var(--accent);
  font-weight: 700;
}
.btn-white:hover { background: var(--accent-light); color: var(--accent-hover); }

/* =========================================================
   INLINE CTA BLOCK (mid-page)
   ========================================================= */
.inline-cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--whatsapp);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 40px 0;
}
.inline-cta-text h3 { color: var(--text); margin-bottom: 4px; font-size: 1.1rem; }
.inline-cta-text p { color: var(--text-muted); font-size: 0.9rem; }
.inline-cta-text .diag-badge {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =========================================================
   MAP PLACEHOLDER
   ========================================================= */
.map-section { padding: 0; }
.map-container {
  width: 100%;
  height: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* =========================================================
   CONTACT CARDS
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(37,99,235,.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card-body h3 { color: var(--text); margin-bottom: 6px; font-size: 1rem; }
.contact-card-body p, .contact-card-body a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.contact-card-body a:hover { color: var(--accent-light); }

/* =========================================================
   BLOG
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.blog-card-img {
  aspect-ratio: 16/9;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.blog-card-body h3 { color: var(--text-dark); margin-bottom: 10px; font-size: 1rem; line-height: 1.4; }
.blog-card-body p { color: #475569; font-size: 0.875rem; margin-bottom: 16px; }
.blog-card-meta { font-size: 0.8rem; color: #94A3B8; }
.blog-card a.read-more { font-size: 0.875rem; font-weight: 600; color: var(--accent); }
.blog-card a.read-more:hover { color: var(--accent-hover); }

/* Article layout */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.article-content h2 { margin: 2rem 0 1rem; color: var(--text-dark); }
.article-content h3 { margin: 1.5rem 0 0.75rem; color: var(--text-dark); }
.article-content p { color: #334155; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { color: #334155; margin-bottom: 6px; }
.article-sidebar { position: sticky; top: 80px; }
.sidebar-box {
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-box h4 { color: var(--text); margin-bottom: 16px; font-size: 0.95rem; }
.sidebar-box ul li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.sidebar-box ul li:last-child { border-bottom: none; }
.sidebar-box ul li a { color: var(--text-muted); font-size: 0.875rem; }
.sidebar-box ul li a:hover { color: var(--accent-light); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--primary);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .site-logo { font-size: 1.25rem; display: inline-block; margin-bottom: 12px; }
.footer-tagline { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 20px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-contact-item a { color: var(--text-muted); }
.footer-contact-item a:hover { color: var(--accent-light); }
.footer-contact-item .icon { flex-shrink: 0; font-size: 1rem; margin-top: 2px; }

.footer-col h4 {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent-light); }

/* =========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================= */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 20px;
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(37,211,102,.4);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(37,211,102,.5);
  color: var(--white);
}
.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 24px;
  z-index: 500;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: background var(--transition), color var(--transition);
  box-shadow: var(--shadow);
}
.back-to-top:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.back-to-top.visible { display: flex; }

/* =========================================================
   SERVICES LIST (services.html)
   ========================================================= */
.services-group { margin-bottom: 56px; }
.services-group-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* =========================================================
   404 PAGE
   ========================================================= */
.error-page {
  text-align: center;
  padding: 100px 20px;
}
.error-code {
  font-size: 8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.5;
}
.error-page h1 { color: var(--text); margin-bottom: 16px; }
.error-page p { color: var(--text-muted); max-width: 480px; margin: 0 auto 32px; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-image {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* =========================================================
   STATS / NUMBERS
   ========================================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { padding: 32px 16px; }
.stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.875rem; color: var(--text-muted); }

/* =========================================================
   CHECKLIST / FEATURES LIST
   ========================================================= */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; }
.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.7rem;
  margin-top: 2px;
}
.check-text { font-size: 0.95rem; color: var(--text-muted); }
.section-light .check-text { color: #334155; }

/* =========================================================
   SITEMAP PAGE
   ========================================================= */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.sitemap-section h3 { color: var(--text-dark); margin-bottom: 16px; font-size: 1rem; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.sitemap-section ul { list-style: none; }
.sitemap-section ul li { margin-bottom: 8px; }
.sitemap-section ul li a { color: #475569; font-size: 0.9rem; }
.sitemap-section ul li a:hover { color: var(--accent); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { display: none; }
  .trust-bar-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .primary-nav { display: none; }
  .header-cta .header-phone { display: none; }
  .hamburger { display: flex; }
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0; }
  .page-hero { padding: 40px 0; }
  .cta-section { padding: 48px 0; }
  .inline-cta { flex-direction: column; }
  .steps-grid { grid-template-columns: 1fr; }
  .problem-solution-grid { grid-template-columns: 1fr; }
  .ps-card { grid-template-columns: 1fr; }
  .ps-solution { border-left: none; border-top: 1px solid var(--border); }
  .blog-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .wa-float .wa-label { display: none; }
}

@media (max-width: 640px) {
  .trust-bar-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 1.75rem; }
  .hero-ctas { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
}
