/* Rupp Electrical - site styles */
:root {
  /* Palette taken from the Rupp logo: orange #F6870F and the grey gradient #5F5D5E to #A3A2A3 */
  --ink: #2e2d2e;        /* deep logo graphite */
  --ink-2: #3a3839;
  --dark: #464445;       /* dark grey for large dark sections (hero, page header) */
  --dark-2: #3c3a3b;     /* slightly deeper grey for the footer */
  --ink-3: #4a4849;
  --paper: #ffffff;
  --stone: #f3f3f3;      /* light silver */
  --line: #e2e1e1;
  --line-dark: #5a5859;
  --text: #3a3839;
  --muted: #5f5d5e;      /* logo grey */
  --muted-dark: #c9c8c9;
  --silver: #a3a2a3;     /* logo silver */
  --silver-grad: linear-gradient(90deg, #5f5d5e 0%, #a3a2a3 50%, #5f5d5e 100%);
  --silver-text: linear-gradient(180deg, #ffffff 0%, #d4d3d4 100%);
  --orange: #f6870f;
  --orange-deep: #b45d00; /* orange for text on white, AA contrast */
  --radius: 4px;
  --max: 1200px;
  --font-head: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.on-dark .eyebrow { color: var(--orange); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 600; font-size: 16px; letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #ff9a2e; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.brand img { height: 50px; width: auto; margin-left: -6px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange-deep); }
.header-call {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  padding: 10px 18px; border-radius: var(--radius); background: var(--ink); color: #fff;
  font-family: var(--font-head); font-weight: 600;
}
.header-call small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); font-weight: 600; line-height: 1.2; }
.header-call span { display: block; line-height: 1.25; }
.header-call svg { width: 18px; height: 18px; color: var(--orange); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; }

/* Hero */
.hero { background: var(--dark); color: #d6d8db; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(246,135,15,.12), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(163,162,163,.14), transparent 60%);
}
.hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--silver-grad); z-index: 2; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; padding: 104px 28px 112px; }
.hero h1 { color: #fff; background: var(--silver-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: clamp(40px, 5.2vw, 66px); font-weight: 700; margin: 22px 0 24px; }
.hero h1 em { font-style: normal; color: var(--orange); -webkit-text-fill-color: var(--orange); }
.hero .lead { font-size: 19px; color: #d4d3d4; max-width: 33em; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 28px; font-size: 14px; color: var(--muted-dark); display: flex; align-items: center; gap: 10px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3ccf6e; box-shadow: 0 0 0 0 rgba(60,207,110,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(60,207,110,.55); } 70% { box-shadow: 0 0 0 10px rgba(60,207,110,0); } 100% { box-shadow: 0 0 0 0 rgba(60,207,110,0); } }

/* Photo slots: swap for <img> when client photos arrive */
.photo-slot {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #5f5d5e, #3a3839);
  border: 1px solid var(--line-dark);
  display: flex; align-items: flex-end;
}
.photo-slot.light {
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,.035) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #ecebe7, #e1dfd9);
  border-color: var(--line);
}
.photo-slot .slot-label {
  margin: 18px; padding: 8px 12px; border-radius: 3px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  background: rgba(46,45,46,.8); color: #fff; display: inline-flex; align-items: center; gap: 8px;
}
.photo-slot .slot-label svg { width: 15px; height: 15px; color: var(--orange); }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Small label on stock example photos - delete the span when real photos go in */
.example-tag { position: absolute; right: 12px; top: 12px; z-index: 1; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 3px; background: rgba(46,45,46,.75); color: #fff; }
.hero-photo { aspect-ratio: 4 / 5; align-items: flex-start; }
.hero-photo-wrap { position: relative; }
.hero-badge {
  position: absolute; left: -28px; bottom: 36px; z-index: 2;
  background: #fff; color: var(--ink); padding: 18px 22px; border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.35); display: flex; align-items: center; gap: 14px;
}
.hero-badge strong { font-family: var(--font-head); font-size: 30px; line-height: 1; display: block; }
.hero-badge span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; }
.hero-badge .bolt { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; color: var(--ink); }
.hero-badge .bolt svg { width: 22px; height: 22px; }

/* Trust bar */
.trust { background: var(--orange); color: var(--ink); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 24px; border-left: 1px solid rgba(46,45,46,.22); font-size: 15px; font-weight: 600; }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item svg { width: 22px; height: 22px; color: var(--ink); flex: none; }

/* Sections */
.section { padding: 112px 0; }
.section.stone { background: var(--stone); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(32px, 3.6vw, 46px); margin-top: 18px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service {
  position: relative; padding: 40px 36px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #fff; transition: background .25s;
}
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--orange); transition: width .35s ease; }
.services { position: relative; }
.services::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--silver-grad); z-index: 1; }
.service:hover::before { width: 100%; }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 36px; }
.service .service-icon { margin-bottom: 26px; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #fff3e6; color: var(--orange-deep); }
.service-icon svg { width: 22px; height: 22px; }
.service-num { font-family: var(--font-head); font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: .06em; }
.service h3 { font-size: 21px; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 16px; margin: 0; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text); border: 1px solid var(--line); padding: 4px 10px; border-radius: 99px; }

/* Feature (SS4 / coffee) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--dark); color: #c9ccd0; border-radius: var(--radius); overflow: hidden; }
.feature-body { padding: 72px 64px; }
.feature h2 { color: #fff; font-size: clamp(30px, 3.2vw, 42px); margin: 18px 0 22px; }
.feature .photo-slot { border: 0; border-radius: 0; min-height: 100%; }
.checks { list-style: none; padding: 0; margin: 30px 0 36px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; color: var(--orange); flex: none; margin-top: 4px; }
.checks.on-light li { color: var(--text); }

.coffee { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.coffee h2 { font-size: clamp(30px, 3.2vw, 42px); margin: 18px 0 22px; }
.coffee .photo-slot { aspect-ratio: 5 / 4; }
.brands { display: flex; gap: 12px; margin: 8px 0 30px; flex-wrap: wrap; }
.brands span { font-family: var(--font-head); font-weight: 600; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.about .photo-slot { aspect-ratio: 16 / 10; }
.about h2 { font-size: clamp(32px, 3.6vw, 46px); margin: 18px 0 26px; }
.about p { color: var(--text); }
.signoff { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; gap: 40px; flex-wrap: wrap; }
.signoff div { font-size: 14px; color: var(--muted); }
.signoff strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--ink); }

/* Accreditations row (about) */
.accred-row { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.accred-row img { height: 42px; width: auto; }
.accred-row .text-badge { font-size: 17px; }
.accred-row .text-badge .medal { width: 40px; height: 40px; }

/* Accreditations */
.accred { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.accred-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.accred-logo { height: 64px; display: flex; align-items: center; }
.accred-logo img { height: 46px; width: auto; }
.accred-card h3 { font-size: 19px; margin-bottom: 6px; }
.accred-card p { color: var(--muted); font-size: 15px; margin: 0; }
.text-badge { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 20px; letter-spacing: -.01em; }
.text-badge .medal { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #e9c65b, #b98a1e); color: #fff; }
.text-badge .medal.iqp { background: var(--ink); color: var(--orange); }
.text-badge .medal svg { width: 22px; height: 22px; }

/* CTA band */
.cta-band { background: var(--orange); color: var(--ink); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 64px 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(28px, 3.2vw, 40px); }
.cta-band p { margin: 10px 0 0; font-size: 18px; color: var(--ink); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-outline-dark { border-color: rgba(17,19,22,.35); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--ink); }

/* Footer */
.site-footer { border-top: 3px solid transparent; border-image: var(--silver-grad) 1; background: var(--dark-2); color: var(--muted-dark); padding: 80px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 22px; }
.site-footer h4 { color: #fff; font-family: var(--font-head); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #d6d8db; }
.site-footer a:hover { color: var(--orange); }
.footer-base { margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* Page hero (contact) */
.page-hero { background: var(--dark); padding: 88px 0 80px; }
.page-hero h1 { color: #fff; font-size: clamp(38px, 4.6vw, 58px); margin: 20px 0 18px; }
.page-hero p { color: #b9bcc1; font-size: 19px; max-width: 36em; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 56px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 48px; }
.form-card h2 { font-size: 28px; margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--stone);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; width: 100%;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--ink); outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.segmented { display: flex; gap: 10px; flex-wrap: wrap; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: inline-block; padding: 11px 20px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; font-weight: 500; background: var(--stone); }
.segmented input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.segmented input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; font-size: 15px; padding: 14px 16px; border-radius: var(--radius); display: none; }
.form-status.ok { display: block; background: #eaf7ee; color: #1c5a32; }
.form-status.err { display: block; background: #fdeeee; color: #8a1f1f; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 13px; }

.contact-aside { display: grid; gap: 20px; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; }
.info-card.dark { background: var(--dark); border-color: var(--dark); color: #c9ccd0; }
.info-card.dark h3 { color: #fff; }
.info-card h3 { font-size: 20px; margin-bottom: 14px; }
.info-line { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.info-line:first-of-type { border-top: 0; padding-top: 4px; }
.info-line svg { width: 20px; height: 20px; color: var(--orange-deep); flex: none; margin-top: 3px; }
.info-line small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-line a, .info-line strong { font-family: var(--font-head); font-weight: 600; color: var(--ink); text-decoration: none; font-size: 17px; }
.info-line a:hover { color: var(--orange-deep); }
.big-phone { display: block; font-family: var(--font-head); font-size: 34px; font-weight: 700; color: #fff; text-decoration: none; margin: 6px 0 18px; letter-spacing: -.01em; }
.big-phone:hover { color: var(--orange); }

/* Mobile call bar */
.call-bar { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1060px) {
  .nav { gap: 22px; }
  .header-call small { display: none; }
  .hero-inner { gap: 48px; }
  .feature-body { padding: 56px 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .menu-toggle { display: block; }
  .header-call { display: none; }
  .nav {
    position: absolute; top: 80px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 28px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .hero-inner { grid-template-columns: 1fr; padding: 72px 28px 80px; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-badge { left: 16px; bottom: 16px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { border-left: 0; padding: 20px 0; border-top: 1px solid var(--line-dark); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
  .section { padding: 80px 0; }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .services { grid-template-columns: 1fr 1fr; }
  .feature, .coffee, .about, .contact-grid { grid-template-columns: 1fr; }
  .feature .photo-slot { min-height: 280px; order: -1; }
  .coffee, .about { gap: 44px; }
  .accred { grid-template-columns: 1fr; }
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(60,58,59,.97); border-top: 1px solid var(--line-dark);
  }
  .call-bar .btn { padding: 13px 10px; font-size: 15px; }
  body { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero-inner { padding: 56px 20px 64px; }
  .services { grid-template-columns: 1fr; }
  .service { padding: 30px 24px 32px; }
  .feature-body { padding: 44px 26px; }
  .form-card { padding: 30px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-inner { padding: 52px 20px; }
  .brand img { height: 36px; }
}


/* Three service groups on the home page, each linking to its own page */
.services-3 { grid-template-columns: repeat(3, 1fr); }
.service-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.service-link:hover { background: #fcfcfc; }
.service-link .service-icon { margin-bottom: 26px; }
.service-link h3 { font-size: 24px; }
.sublist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.sublist li { position: relative; padding-left: 18px; font-size: 15px; color: var(--text); }
.sublist li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.service-link .more { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--orange-deep); }
.service-link .more svg { width: 18px; height: 18px; transition: transform .2s; }
.service-link:hover .more svg { transform: translateX(4px); }
.hero-note .note-icon { width: 16px; height: 16px; color: var(--orange); }

/* Service pages */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: 48px 1fr; gap: 0 20px; align-items: start; }
.svc .service-icon { grid-row: span 2; }
.svc h2 { font-size: 22px; margin: 4px 0 8px; }
.svc p { color: var(--muted); margin: 0; }
.svc-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; margin-bottom: 56px; }
.svc-intro .photo-slot { aspect-ratio: 16 / 10; }
.svc-copy p { font-size: 18px; }
.svc-intro h2 { font-size: clamp(28px, 3vw, 38px); margin: 16px 0 18px; }
.ev-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ev-steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.ev-steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-weight: 700; color: var(--orange-deep); margin-bottom: 12px; }
.ev-steps h3 { font-size: 18px; margin-bottom: 8px; }
.ev-steps p { color: var(--muted); font-size: 15px; margin: 0; }
.page-hero .hero-actions { margin-top: 28px; }
@media (max-width: 900px) {
  .services-3 { grid-template-columns: 1fr; }
  .svc-intro { grid-template-columns: 1fr; gap: 28px; }
  .ev-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .services-3 .service-link { display: flex; padding: 26px 4px 28px; }
  .services-3 .service-link .service-icon { margin-bottom: 16px; }
  .service-link h3 { font-size: 21px; }
  .svc-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc { padding: 22px 18px; grid-template-columns: 40px 1fr; gap: 0 14px; }
  .svc .service-icon { width: 40px; height: 40px; }
  .svc h2 { font-size: 18px; }
  .ev-steps { grid-template-columns: 1fr; }
  .page-hero .hero-actions { flex-direction: column; }
  .page-hero .hero-actions .btn { width: 100%; }
}

/* ===== Phone layout ===== */
@media (max-width: 900px) {
  .header-inner { height: 68px; }
  .nav { top: 68px; box-shadow: 0 18px 30px rgba(0,0,0,.08); }
  .brand img { height: 40px; margin-left: -4px; }
  .hero-inner { gap: 36px; }
  .hero-badge { display: none; }
  .hero-photo { aspect-ratio: 16 / 10; align-items: flex-end; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { flex-direction: column; text-align: center; gap: 8px; padding: 18px 10px; font-size: 14px; line-height: 1.3; border-left: 0; border-top: 0; }
  .trust-item:first-child { padding-left: 10px; }
  .trust-item:nth-child(odd) { border-right: 1px solid rgba(46,45,46,.22); }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(46,45,46,.22); }
  .about-photo { order: -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; line-height: 1.6; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; gap: 14px; }
  .section-head h2, .about h2 { font-size: 30px; margin-top: 14px; }
  .section-head p { font-size: 16px; }
  .eyebrow { font-size: 12px; }

  .hero-inner { padding: 44px 20px 48px; gap: 32px; }
  .hero h1 { font-size: 38px; margin: 16px 0 18px; }
  .hero .lead { font-size: 17px; margin-bottom: 26px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-note { margin-top: 20px; }

  .services::before { display: none; }
  .services { border-left: 0; border-right: 0; }
  .service { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: start; padding: 20px 4px; border-right: 0; }
  .service::before { display: none; }
  .service .service-icon { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .service-icon svg { width: 20px; height: 20px; }
  .service h3 { font-size: 18px; margin: 2px 0 4px; }
  .service p { font-size: 15px; line-height: 1.5; }

  .about { gap: 32px; }
  .accred-row { gap: 18px 24px; margin-top: 24px; padding-top: 22px; }
  .accred-row img { height: 34px; }
  .accred-row .text-badge { font-size: 15px; gap: 8px; }
  .accred-row .text-badge .medal { width: 32px; height: 32px; }
  .accred-row .text-badge .medal svg { width: 16px; height: 16px; }

  .cta-inner { padding: 44px 20px; flex-direction: column; align-items: stretch; gap: 24px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  .site-footer { padding: 52px 0 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-base { margin-top: 36px; flex-direction: column; gap: 6px; }

  .page-hero { padding: 48px 0 44px; }
  .page-hero h1 { font-size: 36px; margin: 14px 0 12px; }
  .page-hero p { font-size: 16px; }
  .contact-grid { gap: 24px; }
  .info-card { padding: 24px 22px; }
  .big-phone { font-size: 30px; }
  .segmented label { flex: 1; }
  .segmented span { display: block; text-align: center; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .form-foot small { text-align: center; }
}
