/*
Theme Name: HVAC Repair Dallas
Theme URI: https://hvacrepairdallas.com
Author: Web Builder Agent
Author URI: https://hvacrepairdallas.com
Description: Custom brochure theme for HVAC Repair Dallas, a local HVAC repair, replacement, and maintenance company serving Dallas, TX and surrounding communities. Converted from a static HTML/CSS build.
Version: 1.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: hvac-repair-dallas
*/

/* ==========================================================================
   HVAC Repair Dallas - Stylesheet
   Mobile-first. Custom properties for design tokens. No `inset` shorthand.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Fonts */
  --font-heading: "Plus Jakarta Sans", -apple-system, "system-ui", "Segoe UI", Roboto, sans-serif;
  --font-body: -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Colors: navy/charcoal + teal accent (B2B professional palette) */
  --color-navy-950: #0A1E30;
  --color-navy-900: #0F2A43;
  --color-navy-800: #17395A;
  --color-navy-700: #234A6E;

  --color-teal-700: #0B7C77;
  --color-teal-600: #0F978F;
  --color-teal-500: #14ADA3;
  --color-teal-100: #E1F5F2;

  --color-off-white: #F6F8FA;
  --color-white: #FFFFFF;

  --color-text: #24303C;
  --color-text-muted: #5B6B7A;
  --color-text-on-dark: #FFFFFF;
  --color-text-on-dark-muted: rgba(255, 255, 255, 0.78);

  --color-border: #E1E7EC;
  --color-border-dark: rgba(255, 255, 255, 0.16);

  --shadow-card: 0 4px 24px rgba(15, 42, 67, 0.08);
  --shadow-card-hover: 0 10px 32px rgba(15, 42, 67, 0.14);
  --shadow-header: 0 2px 16px rgba(10, 30, 48, 0.08);

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 760px;
  --header-height: 76px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-off-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-navy-950);
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-text-on-dark);
}

h2 {
  font-size: 1.75rem;
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin-top: 0;
}

a {
  color: var(--color-teal-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  padding-left: 0;
  margin-top: 0;
}

button {
  font-family: inherit;
}

/* Focus visibility for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-teal-500);
  outline-offset: 2px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-teal-600);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: var(--space-4);
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.narrow {
  max-width: var(--max-width-narrow);
}

.center-block {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

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

.section {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.section-alt {
  background: var(--color-white);
}

.section-dark {
  background: var(--color-navy-900);
  color: var(--color-text-on-dark-muted);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-text-on-dark);
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: var(--space-3);
}

.section-sub {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 640px;
}

.section-dark .section-sub {
  color: var(--color-text-on-dark-muted);
}

.lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.lead-light {
  color: var(--color-text-on-dark-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--color-teal-600);
  color: #fff;
}

.btn-accent:hover {
  background: var(--color-teal-700);
  box-shadow: var(--shadow-card-hover);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.btn-row.center {
  justify-content: center;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-4);
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-navy-950);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-phone {
  display: none;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-navy-900);
  font-weight: 600;
  font-size: 0.9rem;
}

.header-cta {
  /* Hidden below 480px: logo + CTA + hamburger don't fit together at
     narrow phone widths. Re-enabled at the 480px breakpoint below. The
     hero section repeats this CTA, so nothing is lost on small phones. */
  display: none;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
}

@media (min-width: 480px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Mobile nav: hidden until toggled (base rule, outside media queries) */
.main-nav {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-navy-900);
  display: none;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.main-nav.open {
  display: block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: var(--space-4);
}

.nav-item {
  border-bottom: 1px solid var(--color-border-dark);
  position: relative;
}

.nav-link {
  display: block;
  padding: var(--space-4) var(--space-2);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--color-teal-500);
  text-decoration: none;
}

.nav-item.has-dropdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.nav-item.has-dropdown .nav-link {
  flex: 1 1 auto;
}

.dropdown-toggle {
  background: transparent;
  border: none;
  color: #fff;
  padding: var(--space-3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-toggle svg {
  transition: transform 0.15s ease;
}

.dropdown-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 var(--space-2) var(--space-4);
  width: 100%;
  display: none;
}

.dropdown-menu.open {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: var(--space-2);
  color: var(--color-text-on-dark-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.dropdown-menu li a:hover {
  color: var(--color-teal-500);
}

/* Hamburger toggle: visible by default (mobile), hidden at desktop breakpoint */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy-950);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(150deg, var(--color-navy-950) 0%, var(--color-navy-900) 55%, var(--color-navy-800) 100%);
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.hero-inner {
  max-width: 760px;
}

.hero .hero-sub {
  font-size: 1.05rem;
  color: var(--color-text-on-dark-muted);
  margin-top: var(--space-4);
  line-height: 1.7;
}

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-6) 0 0;
  padding: 0;
}

.hero-badges li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Hero with photo (homepage) ---------- */
.hero-split .hero-inner {
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .hero-split .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-12);
  }
}

/* ---------- Media split (text + photo, used on about/service pages) ---------- */
.media-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

.media-split-figure {
  margin: 0;
}

.media-split-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 900px) {
  .media-split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-12);
  }

  .media-split-reverse .media-split-figure {
    order: -1;
  }
}

/* ---------- Contact page photo ---------- */
.contact-media {
  margin: var(--space-8) 0 0;
}

.contact-media img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: var(--space-3) 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: var(--space-2);
  color: var(--color-border);
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb li[aria-current="page"] {
  color: var(--color-navy-900);
  font-weight: 600;
}

/* ---------- Service cards ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.svc-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.svc-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.svc-icon {
  color: var(--color-teal-600);
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-4);
}

.svc-card h3 {
  margin-bottom: var(--space-2);
}

.svc-card p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.svc-card-lg {
  padding: var(--space-8);
}

.svc-card-lg h2 {
  margin-bottom: var(--space-3);
}

.svc-card-lg p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.link-arrow {
  font-weight: 700;
  color: var(--color-teal-700);
}

/* ---------- Why-choose grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.why-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
}

.section-dark .why-item {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-border-dark);
}

.why-item h3 {
  margin-bottom: var(--space-2);
  color: var(--color-navy-950);
}

.why-item p {
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- Town chips ---------- */
.town-chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin: var(--space-6) 0;
  padding: 0;
}

.town-chip-list a {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.town-chip-list a:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

/* ---------- Process steps ---------- */
.process-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding: 0;
  margin: 0;
}

.process-step {
  position: relative;
  padding-left: 3.5rem;
}

.step-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-teal-600);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
}

.process-step h3 {
  margin-bottom: var(--space-2);
}

.process-step p {
  color: var(--color-text-muted);
  margin: 0;
}

.section-dark .process-step p {
  color: var(--color-text-on-dark-muted);
}

/* ---------- FAQ accordion (native details/summary) ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-6);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-4) 0;
  font-weight: 700;
  color: var(--color-navy-950);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--color-teal-600);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding-bottom: var(--space-4);
}

.faq-answer p {
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- Check list ---------- */
.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--color-text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--color-teal-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F978F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.7rem;
}

.check-list-center {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* ---------- Related links ---------- */
.related-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  padding: 0;
  margin: var(--space-4) 0 0;
}

.related-links a {
  display: inline-block;
  padding: var(--space-2) var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--color-navy-900);
}

.related-links a:hover {
  border-color: var(--color-teal-600);
  color: var(--color-teal-700);
  text-decoration: none;
}

/* ---------- Area cards (service-areas index) ---------- */
.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.area-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}

.area-card h2 {
  font-size: 1.3rem;
  margin-bottom: var(--space-2);
}

.area-card p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

/* ---------- CTA band ---------- */
.cta-band {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

.contact-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--color-text-muted);
}

.contact-list svg {
  color: var(--color-teal-600);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.emergency-note {
  background: var(--color-teal-100);
  color: var(--color-teal-700);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 600;
}

.contact-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
}

.form-field {
  margin-bottom: var(--space-4);
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-navy-950);
  font-size: 0.9rem;
}

.req {
  color: var(--color-teal-700);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-off-white);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-teal-600);
  outline: none;
  background: var(--color-white);
}

.form-field textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: var(--space-2);
  border: none;
}

.form-success {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: var(--color-teal-100);
  color: var(--color-teal-700);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy-950);
  color: var(--color-text-on-dark-muted);
  padding-top: var(--space-16);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-border-dark);
}

.footer-logo {
  color: #fff;
  margin-bottom: var(--space-3);
}

.footer-about {
  max-width: 380px;
  margin-bottom: var(--space-4);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.footer-contact a {
  color: var(--color-text-on-dark-muted);
}

.footer-contact a:hover {
  color: var(--color-teal-500);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer-social a:hover {
  background: var(--color-teal-600);
}

.footer-col h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col a {
  color: var(--color-text-on-dark-muted);
}

.footer-col a:hover {
  color: var(--color-teal-500);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  font-size: 0.82rem;
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
}

/* ==========================================================================
   Breakpoints (mobile-first, min-width only)
   ========================================================================== */

@media (min-width: 640px) {
  h1 {
    font-size: 2.75rem;
  }

  .svc-grid,
  .why-grid,
  .area-grid,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  h1 {
    font-size: 3.375rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .section {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
  }

  .header-phone {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    background: transparent;
    display: block !important;
    max-height: none;
    overflow: visible;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding: 0;
  }

  .nav-item {
    border-bottom: none;
  }

  .nav-link {
    padding: var(--space-2) 0;
    color: var(--color-navy-900);
    font-size: 0.95rem;
  }

  .nav-link:hover {
    color: var(--color-teal-700);
  }

  .nav-item.has-dropdown {
    display: block;
  }

  .dropdown-toggle {
    display: none;
  }

  .nav-item.has-dropdown {
    position: relative;
  }

  .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-md);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  }

  .nav-item.has-dropdown:hover .dropdown-menu,
  .nav-item.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown-menu li a {
    color: var(--color-text);
    border-radius: var(--radius-sm);
  }

  .dropdown-menu li a:hover {
    background: var(--color-teal-100);
    color: var(--color-teal-700);
  }

  .svc-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1200px) {
  .why-grid.svc-grid,
  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
