/* ============================================
   RAH APPLIANCE REPAIR — Stylesheet
   Palette: deep graphite + vivid orange + clean white + warm grey
   Type: Outfit (display) / Plus Jakarta Sans (body) / Fira Code (labels)
   ============================================ */

:root {
  --graphite:   #1A1C20;
  --graphite-2: #23262C;
  --graphite-3: #2E3239;
  --orange:     #F26419;
  --orange-lt:  #FEE8D6;
  --white:      #FFFFFF;
  --off-white:  #F7F7F5;
  --warm-grey:  #ECEAE6;
  --slate:      #6B7280;
  --line:       rgba(26, 28, 32, 0.10);
  --line-inv:   rgba(255, 255, 255, 0.10);

  --font-disp:  "Outfit", sans-serif;
  --font-body:  "Plus Jakarta Sans", sans-serif;
  --font-mono:  "Fira Code", monospace;

  --mw:   1200px;
  --r:    12px;
  --r-lg: 22px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--graphite);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  background: var(--graphite);
  padding: 8px 0;
}

.tb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.tb-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.04em;
}

.tb-ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
  animation: ping 2.2s ease-in-out infinite;
}

@keyframes ping {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 100, 25, 0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(242, 100, 25, 0); }
}

.tb-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tb-right a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.04em;
  transition: color 0.18s;
}

.tb-right a:hover { color: var(--orange); }

.tb-right svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}

.logo-box {
  width: 40px;
  height: 40px;
  flex: none;
}

.logo-box svg {
  width: 100%;
  height: 100%;
}

.logo-box svg rect {
  fill: var(--graphite);
}

.logo-box svg path {
  fill: none;
  stroke: var(--orange);
}

.logo-box-light svg rect { fill: var(--graphite-3); }

.logo-light .lw-main { color: var(--white); }
.logo-light .lw-sub  { color: rgba(255,255,255,0.55); }

.logo-words {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.lw-main {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--graphite);
  letter-spacing: 0.04em;
}

.lw-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--slate);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  gap: 30px;
  font-size: 0.95rem;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.18s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--orange);
  border-radius: 2px;
  transition: width 0.2s;
}

.main-nav a:hover::after { width: 100%; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.18s, box-shadow 0.18s;
}

.ba-arrow {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.btn:hover .ba-arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 28px -14px rgba(242, 100, 25, 0.65);
}

.btn-primary:hover {
  background: var(--graphite);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(26, 28, 32, 0.5);
}

.btn-ring {
  background: transparent;
  border-color: var(--graphite);
  color: var(--graphite);
}

.btn-ring svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-ring:hover {
  background: var(--graphite);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--orange);
  color: var(--white);
  padding: 11px 22px;
  font-size: 0.9rem;
}

.btn-nav:hover {
  background: var(--graphite);
  transform: translateY(-1px);
}

.btn-block { width: 100%; justify-content: center; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ============================================
   TYPE HELPERS
   ============================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.eyebrow.center { display: flex; justify-content: center; }

.ey-pip {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

.section-title {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.14;
  color: var(--graphite);
  letter-spacing: -0.01em;
}

.section-title.center { text-align: center; }

.section-sub {
  margin-top: 14px;
  color: var(--slate);
  font-size: 1.01rem;
}

.section-sub.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
}

.section { padding: 96px 0; }

/* ============================================
   IMAGES
   ============================================ */
.hero-img,
.why-img,
.gl-img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: var(--r);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--graphite);
  padding-top: 72px;
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}

/* decorative arcs */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 600px;
  height: 600px;
  border: 1px solid rgba(242, 100, 25, 0.12);
  top: -200px;
  right: -100px;
}
.hero::after {
  width: 380px;
  height: 380px;
  border: 1px solid rgba(242, 100, 25, 0.08);
  bottom: -120px;
  left: 10%;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(242, 100, 25, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 20px;
}

.hl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
  animation: ping 2.2s ease-in-out infinite;
}

.hero-copy h1 {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: clamp(2.8rem, 5.8vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 22px;
}

.h1-accent { color: var(--orange); }

.hero-sub {
  max-width: 460px;
  color: rgba(255,255,255,0.68);
  font-size: 1.04rem;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* appliance chips */
.appliance-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  color: rgba(255,255,255,0.7);
}

.chip-note {
  border-color: rgba(242, 100, 25, 0.35);
  color: rgba(242, 100, 25, 0.85);
}

/* hero visual */
.hero-visual { position: relative; }

.hero-img {
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-badge {
  position: absolute;
  left: -32px;
  bottom: 40px;
  background: var(--orange);
  border-radius: var(--r);
  padding: 16px 18px;
  max-width: 230px;
  box-shadow: 0 16px 36px -18px rgba(242, 100, 25, 0.7);
}

.hb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.hb-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.hb-row strong {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--white);
}

.hero-badge p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}

.hero-vert-label {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--graphite-2);
  border-bottom: 1px solid var(--line-inv);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 18px 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  font-family: var(--font-disp);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
}

.trust-item svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.trust-sep {
  width: 1px;
  height: 28px;
  background: var(--line-inv);
  flex: none;
}

/* ============================================
   REPAIRS
   ============================================ */
.repairs { background: var(--off-white); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 56px;
}

.sh-desc {
  color: var(--slate);
  font-size: 1.02rem;
  max-width: 440px;
  padding-bottom: 4px;
}

.repair-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.repair-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.repair-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -20px rgba(26, 28, 32, 0.22);
  border-color: var(--orange);
}

.rc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.rc-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--graphite);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rc-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.1em;
}

.repair-card h3 {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--graphite);
  margin-bottom: 8px;
  line-height: 1.28;
}

.repair-card p {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 14px;
}

.rc-brands {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: rgba(26, 28, 32, 0.4);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: auto;
}

/* scope note */
.scope-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 36px;
  background: var(--orange-lt);
  border: 1px solid rgba(242, 100, 25, 0.2);
  border-radius: var(--r);
  padding: 16px 20px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.scope-note svg {
  width: 18px;
  height: 18px;
  fill: var(--orange);
  flex: none;
  margin-top: 2px;
}

.scope-note span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--graphite);
  line-height: 1.65;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how { background: var(--graphite); }
.how .section-title { color: var(--white); }
.how .eyebrow { color: var(--orange); }

.how-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.how-step {
  background: var(--graphite-2);
  border: 1px solid var(--line-inv);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
}

.how-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.hs-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 18px;
}

.hs-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--graphite-3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.hs-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-step h3 {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 10px;
}

.how-step p {
  color: rgba(255,255,255,0.62);
  font-size: 0.96rem;
}

/* ============================================
   WHY RAH
   ============================================ */
.why { background: var(--white); }

.why-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 64px;
  align-items: center;
}

.why-media { position: relative; }

.why-img {
  aspect-ratio: 4 / 5;
}

.why-tag {
  position: absolute;
  right: -28px;
  bottom: 44px;
  background: var(--graphite);
  border-radius: var(--r);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 18px 40px -22px rgba(26, 28, 32, 0.55);
}

.wt-num {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--orange);
  line-height: 1;
}

.wt-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  text-align: center;
  line-height: 1.55;
}

.why-items {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wi {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.wi:last-child { border-bottom: none; padding-bottom: 0; }

.wi-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.wi-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wi h3 {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--graphite);
  margin-bottom: 5px;
}

.wi p {
  color: var(--slate);
  font-size: 0.95rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery { background: var(--off-white); }

.gallery-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}

.gl-img { height: 100%; width: 100%; }
.gl-wide { grid-column: span 2; }

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--white); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
}

.detail-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.dl-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 2px;
}

.dl-val {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--graphite);
  line-height: 1.6;
}

.dl-val a:hover { color: var(--orange); }

.contact-form {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-title {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--graphite);
  margin-bottom: 4px;
}

.form-row { display: flex; flex-direction: column; gap: 7px; }

.form-row label {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  font-weight: 500;
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 13px 16px;
  border-radius: var(--r);
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--graphite);
  resize: vertical;
  transition: border-color 0.18s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--graphite); color: var(--white); }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 32px 48px;
}

.ft-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  max-width: 260px;
  line-height: 1.7;
}

.ft-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

.ft-col p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 10px;
  line-height: 1.6;
}

.ft-col a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid var(--line-inv);
  padding: 22px 32px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-badge  { left: 0; }
  .why-tag     { right: 0; }
}

@media (max-width: 980px) {
  .main-nav      { display: none; }
  .hero-layout   { grid-template-columns: 1fr; }
  .hero-visual   { order: -1; }
  .hero-badge    { display: none; }
  .hero-vert-label { display: none; }
  .trust-inner   { gap: 0; flex-wrap: wrap; }
  .trust-item    { padding: 10px 18px; }
  .section-head  { grid-template-columns: 1fr; gap: 18px; }
  .repair-grid   { grid-template-columns: repeat(2, 1fr); }
  .how-grid      { grid-template-columns: 1fr; }
  .why-layout    { grid-template-columns: 1fr; }
  .why-tag       { display: none; }
  .gallery-grid  { grid-template-columns: 1fr 1fr; }
  .gl-wide       { grid-column: span 2; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-top    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container   { padding: 0 20px; }
  .section     { padding: 64px 0; }
  .repair-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gl-wide     { grid-column: span 1; }
  .trust-sep   { display: none; }
  .tb-right    { display: none; }
  .detail-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer-top  { grid-template-columns: 1fr; gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .tb-ping, .hl-dot { animation: none; }
  * { transition: none !important; }
}
