/* ==========================================================================
   Aurum Electronics — Public Site Styles
   White-background storefront design. Vanilla CSS, no build step.
   ========================================================================== */

:root {
  --site-bg: #ffffff;
  --site-surface: #ffffff;
  --site-surface-alt: #f5f8f8;
  --site-border: #e3e9ea;
  --site-text: #16232a;
  --site-text-muted: #62767c;
  --site-primary: #2f6f77;
  --site-primary-dark: #234f55;
  --site-primary-light: #e7f2f2;
  --site-radius: 14px;
  --site-shadow: 0 8px 24px rgba(22, 35, 42, 0.06), 0 2px 6px rgba(22, 35, 42, 0.05);
  --site-shadow-lift: 0 18px 36px rgba(22, 35, 42, 0.10);
  --site-max: 1160px;
}

* { box-sizing: border-box; }

body.site {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--site-bg);
  color: var(--site-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 12px; }
p { margin: 0 0 14px; }

.site-container { max-width: var(--site-max); margin: 0 auto; padding: 0 24px; }

/* ---- Header / nav ---- */
.site-header {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--site-border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(6px);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(22, 35, 42, 0.07); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 20px; }
.site-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; color: var(--site-text); letter-spacing: -0.01em; }
.site-brand img { max-height: 42px; }
.site-brand__dot { color: var(--site-primary); }
.site-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 14.5px; }
.site-nav a:not(.btn) { color: var(--site-text); opacity: 0.85; }
.site-nav a:not(.btn):hover { opacity: 1; color: var(--site-primary); }
.site-nav-toggle {
  display: none; background: none; border: 1px solid var(--site-border); border-radius: 8px;
  width: 40px; height: 40px; font-size: 18px; cursor: pointer;
}

/* ---- Nav "Brands" dropdown ---- */
.nav-dropdown { position: relative; }
.nav-dropdown__trigger { display: flex; align-items: center; gap: 4px; }
.nav-dropdown__caret { font-size: 10px; opacity: 0.7; transition: transform .15s ease; }
.nav-dropdown__menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-6px);
  background: #fff; border: 1px solid var(--site-border); border-radius: 12px; box-shadow: var(--site-shadow-lift);
  padding: 10px; min-width: 200px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transition: all .15s ease; z-index: 60;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown:hover .nav-dropdown__caret { transform: rotate(180deg); }
.nav-dropdown__menu a { padding: 9px 12px; border-radius: 8px; font-weight: 600; font-size: 14px; opacity: 1 !important; }
.nav-dropdown__menu a:hover { background: var(--site-primary-light); color: var(--site-primary); }
.nav-dropdown__all { border-top: 1px solid var(--site-border); margin-top: 6px; padding-top: 12px !important; color: var(--site-primary) !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: 14.5px; font-weight: 700;
  border: 2px solid transparent; cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.btn--primary { background: var(--site-primary); color: #fff; }
.btn--primary:hover { background: var(--site-primary-dark); }
.btn--outline { background: transparent; border-color: var(--site-text); color: var(--site-text); }
.btn--outline:hover { border-color: var(--site-primary); color: var(--site-primary); }
.btn--sm { padding: 9px 18px; font-size: 13px; }

/* ---- Hero ---- */
.hero { padding: 72px 0 84px; background: linear-gradient(180deg, var(--site-surface-alt) 0%, #fff 100%); }
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero__eyebrow { color: var(--site-primary); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 12.5px; margin-bottom: 14px; }
.hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.01em; }
.hero p.lead { font-size: 17px; color: var(--site-text-muted); max-width: 46ch; }
.hero__ctas { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero__image { border-radius: var(--site-radius); overflow: hidden; box-shadow: var(--site-shadow); }
.hero__image img { width: 100%; height: 340px; object-fit: cover; }
.hero__image--placeholder {
  width: 100%; height: 340px; border-radius: var(--site-radius); background: var(--site-primary-light);
  display: flex; align-items: center; justify-content: center; color: var(--site-primary); font-size: 48px; font-weight: 800;
}

/* ---- Section shell ---- */
.section { padding: 64px 0; }
.section--alt { background: var(--site-surface-alt); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section__eyebrow { color: var(--site-primary); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; margin-bottom: 10px; }
.section__head h2 { font-size: 30px; font-weight: 800; }
.section__head p { color: var(--site-text-muted); }

/* ---- Service cards ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  background: var(--site-surface); border: 1px solid var(--site-border); border-radius: var(--site-radius);
  padding: 28px; box-shadow: var(--site-shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(28,34,48,0.09); }
.service-card__icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--site-primary-light); color: var(--site-primary);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; font-weight: 800;
}
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { color: var(--site-text-muted); font-size: 14.5px; margin-bottom: 16px; }
.service-card__meta { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--site-text-muted); margin-bottom: 16px; }
.service-card__price { color: var(--site-primary); font-weight: 800; }

/* ---- Brand strip (homepage) ---- */
.brand-strip { padding: 44px 0; border-top: 1px solid var(--site-border); border-bottom: 1px solid var(--site-border); background: var(--site-surface-alt); }
.brand-strip__label { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--site-text-muted); margin-bottom: 22px; }
.brand-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brand-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border: 1px solid var(--site-border);
  border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--site-text); background: #fff; transition: all .18s ease;
}
.brand-chip:hover { border-color: var(--site-primary); color: var(--site-primary); background: var(--site-primary-light); }
.brand-strip__link { font-weight: 700; font-size: 14px; color: var(--site-primary); }

/* ---- Brand grid (brands index) ---- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.brand-card {
  background: var(--site-surface); border: 1px solid var(--site-border); border-radius: var(--site-radius);
  padding: 28px; box-shadow: var(--site-shadow); transition: transform .18s ease, box-shadow .18s ease; text-align: center;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--site-shadow-lift); }
.brand-card__mark {
  width: 56px; height: 56px; border-radius: 14px; background: var(--site-primary-light); color: var(--site-primary);
  display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; margin: 0 auto 16px;
}
.brand-card__mark--lg { width: 64px; height: 64px; border-radius: 16px; font-size: 28px; margin: 0 0 18px; }
.brand-card h3 { font-size: 17px; margin-bottom: 8px; }
.brand-card p { color: var(--site-text-muted); font-size: 14px; margin-bottom: 14px; }
.brand-card__cta { color: var(--site-primary); font-weight: 700; font-size: 13.5px; }

/* ---- Chip list (devices serviced) ---- */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.chip { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--site-primary-light); color: var(--site-primary-dark); font-weight: 700; font-size: 13.5px; }

/* ---- Why choose us ---- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.feature-item { text-align: center; }
.feature-item__icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--site-primary-light); color: var(--site-primary);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 22px; font-weight: 800;
}
.feature-item h3 { font-size: 16.5px; }
.feature-item p { color: var(--site-text-muted); font-size: 14px; }

/* ---- Process steps ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 22px 22px; background: var(--site-surface); border: 1px solid var(--site-border); border-radius: var(--site-radius); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--site-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px;
}
.step h3 { font-size: 15.5px; margin-top: 10px; }
.step p { color: var(--site-text-muted); font-size: 13.5px; margin: 0; }

/* ---- Stats ---- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
.stat-item__value { font-size: 34px; font-weight: 800; color: var(--site-primary); }
.stat-item__label { color: var(--site-text-muted); font-size: 13.5px; margin-top: 4px; }

/* ---- Testimonials ---- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--site-surface); border: 1px solid var(--site-border); border-radius: var(--site-radius); padding: 26px; box-shadow: var(--site-shadow); }
.testimonial-card .stars { color: var(--site-primary); letter-spacing: 2px; margin-bottom: 10px; display: inline-block; }
.testimonial-card__name { font-weight: 700; margin-top: 12px; }
.testimonial-card__meta { color: var(--site-text-muted); font-size: 13px; }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--site-border); }
.faq-item summary { cursor: pointer; padding: 18px 4px; font-weight: 700; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--site-primary); font-size: 20px; font-weight: 800; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 4px 18px; color: var(--site-text-muted); }

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(135deg, #16323a 0%, #2f6f77 100%); color: #fff; border-radius: var(--site-radius);
  padding: 48px; text-align: center;
}
.cta-banner h2 { font-size: 26px; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 50ch; margin: 0 auto 22px; }

/* ---- Breadcrumb ---- */
.breadcrumb { font-size: 13px; color: var(--site-text-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--site-primary); }

/* ---- Service detail ---- */
.service-hero { padding: 40px 0; border-bottom: 1px solid var(--site-border); }
.service-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.service-hero img { border-radius: var(--site-radius); width: 100%; height: 300px; object-fit: cover; box-shadow: var(--site-shadow); }
.service-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.problem-list { list-style: none; padding: 0; margin: 0; }
.problem-list li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid var(--site-border); }
.problem-list li::before { content: '\2713'; position: absolute; left: 0; color: var(--site-primary); font-weight: 800; }
.sidebar-card { background: var(--site-surface-alt); border-radius: var(--site-radius); padding: 24px; margin-bottom: 20px; }
.sidebar-card h3 { font-size: 15px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-top: 20px; }
.gallery-grid img { width: 100%; height: 100px; object-fit: cover; border-radius: 10px; }

/* ---- Footer ---- */
.site-footer { background: var(--site-surface-alt); border-top: 1px solid var(--site-border); margin-top: 40px; padding-top: 48px; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 32px; padding-bottom: 32px; }
.site-footer__grid > div > a { display: block; color: var(--site-text-muted); font-size: 14px; margin: 8px 0; }
.site-footer__grid > div > a:hover { color: var(--site-primary); }
.site-footer__brand { font-weight: 800; font-size: 18px; margin-bottom: 8px; }
.site-footer__muted { color: var(--site-text-muted); font-size: 14px; }
.site-footer__heading { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; color: var(--site-text-muted); }
.site-footer__socials { display: flex; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.site-footer__socials a { font-size: 13.5px; font-weight: 600; color: var(--site-primary); }
.site-footer__bottom { border-top: 1px solid var(--site-border); padding: 18px 24px; font-size: 13px; color: var(--site-text-muted); text-align: center; }

/* ---- Error page ---- */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.error-page__code { font-size: 90px; font-weight: 800; color: var(--site-primary-light); margin: 0; line-height: 1; }

/* ---- Responsive ---- */
/* ---- Repair request form ---- */
.form-hint { font-weight: 400; color: var(--site-text-muted); font-size: 12.5px; }
.form-alert { border-radius: var(--site-radius); padding: 16px 20px; margin-bottom: 20px; }
.form-alert--error { background: #fdecec; border: 1px solid #f3c8c8; color: #a4302f; }
.form-alert--error ul { margin: 0; padding-left: 18px; }
.repair-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; font-size: 14px; }
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  font: inherit; padding: 11px 14px; border: 1px solid var(--site-border); border-radius: 10px;
  background: #fff; color: var(--site-text); width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--site-primary); box-shadow: 0 0 0 3px var(--site-primary-light);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px;
  border: 1px solid var(--site-border); border-radius: 999px; padding: 9px 16px; cursor: pointer;
}
.radio-pill:has(input:checked) { border-color: var(--site-primary); background: var(--site-primary-light); color: var(--site-primary-dark); }
.btn--block { width: 100%; text-align: center; border: none; cursor: pointer; font-size: 16px; padding: 14px 24px; }

.confirmation-card {
  background: var(--site-surface-alt); border-radius: var(--site-radius); padding: 32px; text-align: center;
}
.confirmation-card__code-label { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--site-text-muted); font-weight: 700; }
.confirmation-card__code { font-size: 32px; font-weight: 800; color: var(--site-primary-dark); letter-spacing: 0.03em; margin-top: 4px; }
.confirmation-card__summary { text-align: left; background: #fff; border-radius: 10px; padding: 18px 22px; margin-top: 20px; }
.confirmation-card__summary p { margin: 0 0 8px; }
.confirmation-card__summary p:last-child { margin-bottom: 0; }
.confirmation-card .hero__ctas { justify-content: center; }

@media (max-width: 640px) {
  .form-row, .form-row--3 { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__image, .hero__image--placeholder { height: 260px; }
  .service-hero__grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-nav {
    position: fixed; top: 73px; left: 0; right: 0; bottom: 0; height: calc(100vh - 73px); background: #fff;
    flex-direction: column; align-items: flex-start; align-self: normal; padding: 24px; gap: 18px;
    transform: translateX(100%); transition: transform .25s ease; overflow-y: auto;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 32px; }
  .cta-banner { padding: 32px 22px; }

  /* The dropdown's hover/absolute-position behavior doesn't apply on the
     fixed full-screen mobile nav — show it as a plain nested list instead. */
  .nav-dropdown { width: 100%; }
  .nav-dropdown__menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: none; box-shadow: none; padding: 6px 0 0 14px; margin-top: 4px;
    border-left: 2px solid var(--site-border);
  }
  .nav-dropdown__menu a { padding: 8px 0; }
}
