/* ============================================
   SAANICH DRYWALL - Phase 2 Premium Redesign
   saanichdrywall.com
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #8B1A1A;
  --color-primary-light: #A52A2A;
  --color-primary-dark: #5C0E0E;
  --color-secondary: #2D2D2D;
  --color-secondary-light: #404040;
  --color-secondary-dark: #1a1a1a;
  --color-accent: #C41E3A;
  --color-accent-light: #E8364F;
  --color-accent-dark: #9B1830;
  --color-white: #ffffff;
  --color-off-white: #f7f7f7;
  --color-light-gray: #e8e8e8;
  --color-mid-gray: #6c757d;
  --color-dark-gray: #343a40;
  --color-text: #2d2d2d;
  --color-text-light: #555555;
  --color-success: #27ae60;
  --color-error: #e74c3c;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.18);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --transition: all 0.3s ease;
  --max-width: 1200px;
  --header-height: 80px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7;
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-secondary-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.section-header p {
  max-width: 620px;
  margin: 1.2rem auto 0;
  font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 26, 26, 0.3);
}

.btn--secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}

.btn--secondary:hover {
  background-color: var(--color-secondary-light);
  border-color: var(--color-secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

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

.btn--outline-dark {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline-dark:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  --header-height: 68px;
}

.site-header.scrolled .header-inner {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  min-height: 68px;
}

.site-header.scrolled .logo-icon {
  width: 38px;
  height: 38px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1.5rem;
  min-height: var(--header-height);
  transition: var(--transition);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-white);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-secondary-dark);
  line-height: 1.2;
  white-space: nowrap;
}

.logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-mid-gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  position: relative;
  white-space: nowrap;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a.active {
  color: var(--color-primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-phone {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-secondary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-phone:hover {
  color: var(--color-primary);
}

.header-phone-icon {
  display: flex;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-phone-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--color-white);
}

.header-phone-text {
  display: inline;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.menu-toggle:hover {
  background-color: var(--color-off-white);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--color-secondary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 3rem 0;
  background: var(--color-secondary-dark);
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(139, 26, 26, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(139, 26, 26, 0.08) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 26, 26, 0.2);
  border: 1px solid rgba(139, 26, 26, 0.4);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  margin-bottom: 1.2rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
}

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-buttons .btn--primary {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.hero-buttons .btn--outline {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-trust-item svg {
  width: 18px;
  height: 18px;
  fill: var(--color-primary-light);
  flex-shrink: 0;
}

/* --- Cards --- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--color-light-gray);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--color-white);
}

.card h3 {
  margin-bottom: 0.8rem;
}

.card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* --- About Section --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.2rem;
}

.about-text h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}

.about-text ul {
  margin: 1.2rem 0;
}

.about-text ul li {
  padding: 0.5rem 0;
  padding-left: 1.8rem;
  position: relative;
  color: var(--color-text-light);
}

.about-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.about-image {
  background: var(--color-secondary-dark);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(139, 26, 26, 0.2) 0%, transparent 70%);
}

.about-image-placeholder {
  text-align: center;
  color: var(--color-white);
  position: relative;
  z-index: 1;
}

.about-image-placeholder svg {
  width: 100px;
  height: 100px;
  fill: var(--color-primary-light);
  margin-bottom: 1rem;
}

.about-image-placeholder p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Stats */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-mid-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--color-primary);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Forms --- */
.form-section {
  max-width: 780px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.4rem;
}

.form-group label .required {
  color: var(--color-error);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Honeypot - hidden from humans */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* --- Page Hero (Inner Pages) --- */
.page-hero {
  background: var(--color-secondary-dark);
  padding: 7rem 0 3.5rem;
  margin-top: var(--header-height);
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 100%, rgba(139, 26, 26, 0.15) 0%, transparent 60%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 0.8rem;
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
  color: var(--color-white);
}

.breadcrumb span {
  color: rgba(255,255,255,0.4);
}

/* --- Service Detail Cards --- */
.service-detail-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-light-gray);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-md);
}

.service-detail-card h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--color-light-gray);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem;
}

.service-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-light);
  font-size: 0.92rem;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* --- Contact Info Cards --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-light-gray);
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-white);
}

.contact-card h4 {
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-card a:hover {
  color: var(--color-primary-dark);
}

.contact-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- Thank You Page --- */
.thank-you-section {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  margin-top: var(--header-height);
}

.thank-you-content {
  max-width: 560px;
}

.thank-you-icon {
  width: 90px;
  height: 90px;
  background: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.thank-you-icon svg {
  width: 45px;
  height: 45px;
  fill: var(--color-white);
}

.thank-you-content h1 {
  margin-bottom: 1rem;
  color: var(--color-secondary-dark);
}

.thank-you-content p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.thank-you-content .response-time {
  background: var(--color-off-white);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-weight: 600;
  color: var(--color-secondary);
}

.thank-you-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-secondary-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text {
  color: var(--color-white);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.footer-brand .logo-text span {
  color: rgba(255,255,255,0.5);
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--color-white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-primary-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.55);
}

.footer-contact-item a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* --- Animations --- */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-loaded .fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.js-loaded .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Design --- */

/* Tablet / Small Desktop */
@media (max-width: 1024px) {
  .header-inner {
    padding: 0.9rem 1.5rem;
  }

  .nav-links {
    gap: 1.2rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .header-cta .btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.82rem;
  }

  .header-phone {
    font-size: 0.92rem;
  }

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Tablet Portrait - hide nav, show hamburger */
@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .header-inner {
    padding: 0.8rem 1.25rem;
    min-height: 68px;
    gap: 0.75rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.8rem;
    box-shadow: var(--shadow-xl);
    transition: right 0.4s ease;
    z-index: 999;
    margin: 0;
    padding: 2rem;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 0.5rem 0;
  }

  .menu-toggle {
    display: flex !important;
    flex-shrink: 0;
  }

  .header-phone-text {
    display: none;
  }

  .header-phone {
    font-size: 0;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .header-inner {
    padding: 0.75rem 1rem;
    min-height: 64px;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
  }

  .logo-icon svg {
    width: 20px;
    height: 20px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .logo-text span {
    font-size: 0.58rem;
    letter-spacing: 1px;
  }

  .header-cta .btn {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0 2.5rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 5.5rem 0 2.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root {
    --header-height: 60px;
  }

  .header-inner {
    padding: 0.6rem 0.75rem;
    min-height: 60px;
    gap: 0.4rem;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
  }

  .logo-icon svg {
    width: 18px;
    height: 18px;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .logo-text span {
    display: none;
  }

  .header-cta .btn {
    padding: 0.55rem 0.8rem;
    font-size: 0.7rem;
  }

  .header-phone-icon {
    width: 34px;
    height: 34px;
  }

  .header-phone-icon svg {
    width: 16px;
    height: 16px;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .page-hero {
    padding: 5rem 0 2rem;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .card {
    padding: 1.5rem 1.2rem;
  }

  .service-detail-card {
    padding: 1.8rem 1.2rem;
  }
}

/* --- Mobile Nav Overlay --- */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --- Focus States for Accessibility --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.menu-toggle:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}