/*
Theme Name: QFM Floors
Theme URI: https://qualityfloorsmaidenhead.co.uk
Description: Custom theme for Quality Floors Maidenhead
Author: Claude Code
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: qfm-floors
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --qfm-dark: #1a1a2e;
  --qfm-navy: #16213e;
  --qfm-accent: #c9a96e;
  --qfm-accent-light: #d4b87a;
  --qfm-accent-glow: rgba(201, 169, 110, 0.3);
  --qfm-white: #ffffff;
  --qfm-off-white: #f8f6f3;
  --qfm-gray: #6b7280;
  --qfm-light-gray: #e5e7eb;
  --qfm-text: #374151;
  --qfm-heading: #1a1a2e;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--qfm-text);
  background: var(--qfm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--qfm-accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--qfm-accent-light); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--qfm-heading); line-height: 1.2; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.5s; }

/* ===== HEADER ===== */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  height: 90px;
}

.site-logo img {
  height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}

.site-logo:hover img {
  transform: scale(1.03);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
}

.main-nav a {
  color: var(--qfm-text);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.3s;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--qfm-accent);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--qfm-dark);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  color: var(--qfm-dark);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.3s;
}

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

.header-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #25D366;
  border-radius: 50%;
  transition: all 0.3s;
}

.header-whatsapp svg {
  fill: #ffffff;
}

.header-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* WhatsApp CTA button */
.btn-whatsapp {
  background: #25D366;
  color: #ffffff !important;
  padding: 16px 38px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  display: inline-block;
  margin-left: 12px;
}

.btn-whatsapp:hover {
  background: #1da851;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.cta-banner .btn-primary,
.cta-banner .btn-whatsapp {
  font-size: 17px;
  padding: 18px 48px;
  vertical-align: middle;
}

/* Inline WhatsApp icon next to phone numbers */
.wa-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #25D366;
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 6px;
  transition: all 0.3s;
}

.wa-inline svg {
  fill: #ffffff;
}

.wa-inline:hover {
  background: #1da851;
  transform: scale(1.15);
}

/* Floating WhatsApp button (mobile) */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s;
}

.whatsapp-float svg {
  fill: #ffffff;
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.btn-quote {
  background: var(--qfm-accent);
  color: var(--qfm-dark) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-quote::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.btn-quote:hover::before {
  width: 200px;
  height: 200px;
}

.btn-quote:hover {
  background: var(--qfm-accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--qfm-accent-glow);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  width: 40px;
  height: 40px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--qfm-dark);
  position: absolute;
  left: 8px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.menu-toggle span:nth-child(1) { top: 12px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 26px; }

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 19px;
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 19px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--qfm-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.92) 0%,
    rgba(22, 33, 62, 0.75) 50%,
    rgba(26, 26, 46, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 24px;
}

.hero-content .tagline {
  display: inline-block;
  color: var(--qfm-accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 50px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-content h1 {
  color: var(--qfm-white);
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Decorative element on hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--qfm-navy), transparent);
  z-index: 1;
  pointer-events: none;
}

.btn-primary {
  background: var(--qfm-accent);
  color: var(--qfm-dark) !important;
  padding: 16px 38px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  display: inline-block;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  background: var(--qfm-accent-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--qfm-accent-glow);
}

.btn-secondary {
  border: 2px solid rgba(255,255,255,0.25);
  color: var(--qfm-white) !important;
  padding: 14px 38px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--qfm-accent);
  color: var(--qfm-accent) !important;
  background: rgba(201, 169, 110, 0.08);
  transform: translateY(-3px);
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--qfm-navy);
  padding: 28px 0;
  border-bottom: 3px solid var(--qfm-accent);
  position: relative;
  z-index: 2;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: transform 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-2px);
}

.trust-item svg {
  width: 22px;
  height: 22px;
  fill: var(--qfm-accent);
  flex-shrink: 0;
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--qfm-off-white); }
.section-dark { background: var(--qfm-dark); color: var(--qfm-white); }
.section-dark h2, .section-dark h3 { color: var(--qfm-white); }

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 64px;
}

.section-header .label,
.label {
  color: var(--qfm-accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.section-header h2 {
  font-size: 42px;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--qfm-gray);
  font-size: 17px;
  line-height: 1.7;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--qfm-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.3), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover .service-card-img::after {
  opacity: 1;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-body {
  padding: 28px;
}

.service-card-body h3 {
  font-size: 22px;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.service-card:hover .service-card-body h3 {
  color: var(--qfm-accent);
}

.service-card-body p {
  color: var(--qfm-gray);
  font-size: 15px;
  line-height: 1.65;
}

/* ===== WHY CHOOSE US ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 110, 0.15);
  pointer-events: none;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--qfm-light-gray);
  transition: transform 0.3s ease;
}

.feature-list li:hover {
  transform: translateX(6px);
}

.feature-list li:last-child { border-bottom: none; }

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(201,169,110,0.05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-list li:hover .feature-icon {
  background: linear-gradient(135deg, var(--qfm-accent), var(--qfm-accent-light));
}

.feature-list li:hover .feature-icon svg {
  fill: var(--qfm-dark);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--qfm-accent);
  transition: fill 0.3s;
}

.feature-text h4 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-text p {
  color: var(--qfm-gray);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== TESTIMONIAL / SOCIAL PROOF ===== */
.testimonial-section {
  background: var(--qfm-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 300px;
  font-family: var(--font-heading);
  color: rgba(201, 169, 110, 0.06);
  pointer-events: none;
  line-height: 1;
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}

.testimonial-stars svg {
  width: 22px;
  height: 22px;
  fill: var(--qfm-accent);
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 28px;
}

.testimonial-author {
  color: var(--qfm-accent);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
}

.testimonial-author span {
  color: rgba(255,255,255,0.4);
  font-weight: 400;
  margin-left: 8px;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: linear-gradient(135deg, var(--qfm-accent), var(--qfm-accent-light));
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 16px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--qfm-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(26, 26, 46, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--qfm-dark) 0%, var(--qfm-navy) 100%);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--qfm-accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--qfm-white);
  font-size: 40px;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 18px;
  margin-bottom: 36px;
  position: relative;
}

.cta-banner .btn-primary {
  font-size: 17px;
  padding: 18px 48px;
  position: relative;
}

/* ===== ABOUT SPLIT ===== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 38px;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.about-content p {
  margin-bottom: 16px;
  color: var(--qfm-gray);
  line-height: 1.8;
}

.about-content .highlight {
  background: linear-gradient(135deg, rgba(201,169,110,0.08), rgba(201,169,110,0.04));
  border-left: 4px solid var(--qfm-accent);
  padding: 24px 28px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--qfm-heading);
  line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  transition: transform 0.3s ease;
}

.contact-info-item:hover {
  transform: translateX(6px);
}

.contact-info-item .icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(201,169,110,0.05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.contact-info-item:hover .icon {
  background: linear-gradient(135deg, var(--qfm-accent), var(--qfm-accent-light));
}

.contact-info-item:hover .icon svg {
  fill: var(--qfm-dark);
}

.contact-info-item .icon svg {
  width: 24px;
  height: 24px;
  fill: var(--qfm-accent);
  transition: fill 0.3s;
}

.contact-info-item h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--qfm-gray);
  font-size: 15px;
}

.contact-form-wrapper {
  background: var(--qfm-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}

.contact-form-wrapper h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--qfm-light-gray);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-body);
  margin-bottom: 16px;
  transition: all 0.3s;
  background: var(--qfm-off-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--qfm-accent);
  outline: none;
  box-shadow: 0 0 0 4px var(--qfm-accent-glow);
  background: var(--qfm-white);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ca3af;
}

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

.contact-form .btn-primary {
  width: 100%;
  text-align: center;
  font-family: var(--font-body);
  font-size: 16px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--qfm-dark);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--qfm-accent), transparent);
}

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

.footer-logo {
  display: inline-block;
  background: rgba(255,255,255,0.93);
  padding: 6px 14px;
  border-radius: 8px;
}

.footer-logo img {
  height: 45px;
  width: auto;
}

.footer-brand p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--qfm-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.footer-links ul { list-style: none; }
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  display: block;
  padding: 7px 0;
  transition: all 0.3s;
}
.footer-links a:hover {
  color: var(--qfm-accent);
  transform: translateX(4px);
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.5);
}

.footer-contact a {
  color: var(--qfm-accent);
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: var(--qfm-accent-light);
}

.footer-bottom {
  text-align: center;
  padding: 28px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--qfm-dark) 0%, var(--qfm-navy) 100%);
  padding: 100px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,169,110,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-header h1 {
  color: var(--qfm-white);
  font-size: 48px;
  letter-spacing: -0.5px;
  animation: fadeInUp 0.6s ease forwards;
}

.page-header .breadcrumb {
  color: var(--qfm-accent);
  font-size: 14px;
  margin-top: 16px;
  animation: fadeInUp 0.6s ease 0.15s both;
}

.page-header .breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

.page-header .breadcrumb a:hover {
  color: var(--qfm-accent);
}

/* ===== PAGE CONTENT ===== */
.page-content {
  padding: 80px 0;
}

.page-content h2 {
  font-size: 32px;
  margin: 40px 0 16px;
}

.page-content h2:first-child { margin-top: 0; }

.page-content p {
  margin-bottom: 16px;
  color: var(--qfm-text);
  line-height: 1.8;
}

.page-content ul {
  list-style: none;
  margin: 24px 0;
}

.page-content ul li {
  padding: 14px 0 14px 36px;
  position: relative;
  border-bottom: 1px solid var(--qfm-light-gray);
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 16px;
  height: 16px;
  background: rgba(201,169,110,0.2);
  border-radius: 50%;
}

.page-content ul li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 24px;
  width: 8px;
  height: 8px;
  background: var(--qfm-accent);
  border-radius: 50%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 44px; }
  .section-header h2 { font-size: 34px; }
  .stat-number { font-size: 40px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  .main-nav.open ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .main-nav.open a {
    padding: 14px 16px;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 14px;
    color: var(--qfm-dark);
  }
  .main-nav.open a::after { display: none; }

  .menu-toggle { display: block; }
  .header-cta .header-phone { display: none; }
  .header-cta .header-whatsapp { display: none; }
  .header-cta .btn-quote { padding: 8px 18px; font-size: 12px; }

  .services-grid { grid-template-columns: 1fr !important; gap: 20px; }

  .hero {
    height: auto;
    min-height: 480px;
    max-height: none;
    padding: 110px 0 60px;
  }
  .hero-content h1 { font-size: 36px; letter-spacing: -0.5px; }
  .hero-content p { font-size: 16px; }
  .hero-content .tagline { font-size: 11px; letter-spacing: 3px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary { width: 100%; text-align: center; }
  .hero::after { height: 60px; }

  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 30px; }
  .cta-banner { padding: 60px 0; }
  .cta-banner h2 { font-size: 28px; }
  .cta-banner .btn-primary { padding: 16px 36px; font-size: 15px; }
  .cta-banner .btn-whatsapp { margin-left: 0; margin-top: 12px; padding: 16px 36px; font-size: 15px; display: block; text-align: center; }

  .page-header { padding: 80px 0 50px; }
  .page-header h1 { font-size: 32px; }

  .trust-items { gap: 20px; }
  .trust-item { font-size: 13px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 36px; }
  .stat-label { font-size: 12px; }

  .about-content h2 { font-size: 30px; }
  .testimonial-text { font-size: 20px; }

  .feature-list li { gap: 14px; padding: 16px 0; }
  .feature-icon { width: 44px; height: 44px; border-radius: 12px; }

  .contact-form-wrapper { padding: 28px; }

  .footer-grid { text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-links a { padding: 10px 0; }
  .contact-info-item a { display: inline-block; min-height: 44px; padding: 8px 0; }
  .menu-toggle { width: 48px; height: 48px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 30px; }
  .section-header h2 { font-size: 26px; }
  .page-header h1 { font-size: 28px; }
  .container { padding: 0 16px; }
  .trust-items { flex-direction: column; align-items: center; gap: 12px; }
}

/* ===== WP CLASSES ===== */
.wp-block-image { margin: 24px 0; }
.aligncenter { text-align: center; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
