/* ================================================
   TITAN SHIELD ROOFING INC — style.css
   Modern, elegant roofing landing page styles
   ================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #c8922a;
  --primary-dark: #a07218;
  --primary-light: #e8b84b;
  --secondary: #111111;
  --accent: #c8922a;
  --accent-light: #e8b84b;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --light-gray: #edf2f7;
  --mid-gray: #a0aec0;
  --dark-gray: #4a5568;
  --text: #1a202c;
  --text-light: #718096;
  --border: rgba(0,0,0,0.08);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08);
  --shadow-xl: 0 25px 60px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --navbar-h: 136px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;   /* prevent any element from causing horizontal scroll */
  width: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
svg   { flex-shrink: 0; }

/* ── FLUID LAYOUT GLOBALS ──────────────────────────────────────────
   Ensures every element stays within the viewport width.
   ─────────────────────────────────────────────────────────────────── */

/* All sections fill the viewport width */
section, header, footer {
  width: 100%;
  max-width: 100%;
  overflow-x: clip; /* clip instead of hidden so position:sticky still works */
}

/* Grid blowout fix: grid children must not overflow their column track */
.services-grid > *,
.reviews-grid  > *,
.why-us-banner > *,
.footer-container > *,
.form-row > *,
.contact-container > *,
.hero-stats > * {
  min-width: 0;
  max-width: 100%;
}

/* Long words / URLs don't burst containers */
p, h1, h2, h3, h4, h5, h6, li, span, label, a {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Inputs / selects / textareas never wider than their parent */
input, select, textarea, button {
  max-width: 100%;
  box-sizing: border-box;
}

/* Flex children shrink gracefully */
.hero-ctas > *,
.nav-links  > *,
.contact-social > *,
.slider-dots > * {
  min-width: 0;
}

/* Inline-flex badges don't overflow on tiny screens */
.hero-badge, .section-tag, .service-badge, .slide-tag {
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== ANIMATION KEYFRAMES ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,146,42,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(200,146,42,0); }
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.001% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Utility classes */
.animate-fade-up { animation: fadeUp 0.7s both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.7s; }

/* ===== REVEAL ON SCROLL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.1s; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  z-index: 1000;
  overflow: visible; /* needed for desktop dropdown if any */
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.navbar.scrolled {
  background-color: var(--secondary);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 30px rgba(0,0,0,0.4);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link { display: flex; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 4px 12px rgba(200,146,42,0.3));
  transition: transform var(--transition);
}
.logo-link:hover .logo-icon { transform: scale(1.05) rotate(-3deg); }
.logo-img {
  height: 120px;
  width: 120px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  transition: transform var(--transition);
}
.logo-link:hover .logo-img { transform: scale(1.06); }
.logo-text { display: flex; flex-direction: column; line-height: 1; text-align: center; }
.logo-main {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.02em;
  transition: color var(--transition);
}
.navbar.scrolled .logo-main { color: white; }
.navbar:not(.scrolled) .logo-main { color: white; }
.logo-sub {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary);
  transition: color var(--transition);
}
.navbar:not(.scrolled) .logo-sub { color: rgba(255,255,255,0.7); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  color: var(--secondary);
  position: relative;
}
.navbar:not(.scrolled) .nav-link { color: rgba(255,255,255,0.9); }
.navbar.scrolled .nav-link { color: rgba(255,255,255,0.9); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:hover { color: var(--primary); }
.navbar:not(.scrolled) .nav-link:hover { color: white; background: rgba(255,255,255,0.12); }
.navbar:not(.scrolled) .nav-link:hover::after { background: white; }

.nav-btn {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 15px rgba(200,146,42,0.35);
  margin-left: 8px;
}
.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200,146,42,0.45);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.navbar.scrolled .hamburger span { background: white; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1);
  animation: heroZoom 15s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17,17,17,0.88) 0%,
    rgba(17,17,17,0.65) 50%,
    rgba(0,0,0,0.4) 100%
  );
  z-index: 1;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  padding-top: var(--navbar-h);
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  border-radius: 50px;
  margin-top: 50px;
  margin-bottom: 24px;
  width: fit-content;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: dotBlink 2s infinite;
  flex-shrink: 0;
}
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 780px;
}
.hero-title-accent {
  background: linear-gradient(135deg, #c8922a, #e8b84b, #f5d07a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200%;
  animation: shimmer 4s linear infinite;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
  font-weight: 400;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(200,146,42,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(200,146,42,0.5);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: white;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-3px);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  margin-top: 3px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: uppercase;
  z-index: 3;
}
.scroll-line {
  width: 1.5px;
  height: 48px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  animation: scrollLine 2s ease-in-out infinite;
}

/* ===== SECTION COMMONS ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(200,146,42,0.1);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== SLIDER ===== */
.slider-section {
  padding: 100px 0 80px;
  background: var(--off-white);
  overflow: hidden;
}
.slider-section .section-header { padding: 0 32px; }

.slider-wrapper {
  position: relative;
  max-width: 1024px;   /* 1024 - 64px padding = 960px track — óptimo para imágenes de 1200px en pantallas 125% DPI */
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  box-sizing: border-box;
}
.slider-track {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
}
.slide {
  display: none;
  position: relative;
}
.slide.active { display: block; }
.slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  animation: scaleIn 0.7s both;
}
.slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 40px 36px;
  background: linear-gradient(to top, rgba(17,17,17,0.92) 0%, transparent 100%);
  color: white;
  animation: fadeUp 0.6s 0.15s both;
}
.slide-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--primary);
  color: white;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.slide-caption h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
}
.slide-caption p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
}
.slider-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  color: var(--secondary);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  z-index: 10;
}
.slider-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(200,146,42,0.35);
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--light-gray);
  transition: background var(--transition), transform var(--transition), width var(--transition);
  border: none;
}
.dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}
.dot:hover { background: var(--primary-light); }

/* ===== SERVICES ===== */
.services-section {
  padding: 100px 32px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}
.services-bg-shape {
  position: absolute;
  top: -100px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,146,42,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(200,146,42,0.2);
}
.service-card--featured {
  background: linear-gradient(145deg, var(--secondary) 0%, #1e1e1e 100%);
  border-color: transparent;
  color: white;
}
.service-card--featured::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
.service-card--featured:hover {
  border-color: rgba(200,146,42,0.3);
  box-shadow: 0 25px 60px rgba(17,17,17,0.4);
}
.service-badge {
  position: absolute;
  top: 24px; right: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
}
.service-icon-wrap { margin-bottom: 20px; }
.service-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 68px; height: 68px;
  background: rgba(200,146,42,0.1);
  border-radius: 18px;
  color: var(--primary);
  transition: transform var(--transition), background var(--transition);
}
.service-card--featured .service-icon {
  background: rgba(255,255,255,0.1);
  color: var(--accent-light);
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(200,146,42,0.15);
}
.service-card--featured:hover .service-icon {
  background: rgba(255,255,255,0.15);
}
.service-number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--mid-gray);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.service-card--featured .service-number { color: rgba(255,255,255,0.45); }
.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.service-card--featured .service-title { color: white; }
.service-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 22px;
}
.service-card--featured .service-desc { color: rgba(255,255,255,0.72); }
.service-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 28px;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--dark-gray);
  font-weight: 500;
}
.service-card--featured .service-features li { color: rgba(255,255,255,0.8); }
.service-features li svg { color: var(--primary); flex-shrink: 0; }
.service-card--featured .service-features li svg { color: var(--accent-light); }
.service-cta {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap var(--transition), color var(--transition);
  letter-spacing: 0.01em;
}
.service-card--featured .service-cta { color: var(--accent-light); }
.service-cta:hover { opacity: 0.75; }

/* Why Us Banner */
.why-us-banner {
  background: linear-gradient(135deg, var(--secondary), #1e1e1e);
  border-radius: var(--radius-lg);
  padding: 40px 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why-us-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
}
.why-us-item svg {
  flex-shrink: 0;
  color: var(--accent-light);
}
.why-us-item > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.why-us-item strong {
  font-size: 0.95rem;
  font-weight: 700;
}
.why-us-item span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* ===== REVIEWS ===== */
.reviews-section {
  padding: 100px 32px;
  background: var(--off-white);
  width: 100%;
  box-sizing: border-box;
}
.reviews-section .section-header {
  margin-bottom: 20px;
}
.google-rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 48px;
}
.google-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-gray);
}
.overall-stars {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.stars-display {
  font-size: 1.4rem;
  color: #FBBC05;
  letter-spacing: -0.04em;
}
.rating-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
}
.rating-count {
  font-size: 0.88rem;
  color: var(--mid-gray);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}
.review-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.review-card::after {
  content: '\201C';
  position: absolute;
  bottom: -16px; right: 20px;
  font-size: 8rem;
  font-family: Georgia, serif;
  color: rgba(200,146,42,0.05);
  line-height: 1;
  pointer-events: none;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.reviewer-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.reviewer-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.reviewer-info strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
}
.reviewer-info span {
  font-size: 0.78rem;
  color: var(--mid-gray);
}
.review-google-icon {
  flex-shrink: 0;
}
.review-stars {
  color: #FBBC05;
  font-size: 1rem;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.review-text {
  font-size: 0.9rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}
.review-date {
  font-size: 0.76rem;
  color: var(--mid-gray);
  font-weight: 500;
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 100px 32px;
  background: white;
  width: 100%;
  box-sizing: border-box;
}
.contact-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info { position: sticky; top: 100px; }
.contact-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--secondary);
  margin: 16px 0 20px;
  letter-spacing: -0.02em;
}
.contact-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(200,146,42,0.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.contact-detail-item:hover .contact-detail-icon {
  background: rgba(200,146,42,0.15);
  transform: scale(1.05);
}
.contact-detail-item > div:last-child {
  display: flex; flex-direction: column; gap: 3px;
  padding-top: 4px;
}
.contact-detail-item strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-detail-item a,
.contact-detail-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--secondary);
  transition: color var(--transition);
}
.contact-detail-item a:hover { color: var(--primary); }
.contact-social {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--light-gray);
  display: flex; align-items: center; justify-content: center;
  color: var(--dark-gray);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Form */
.contact-form-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-xl);
  border: 1.5px solid var(--border);
}
.contact-form { display: flex; flex-direction: column; gap: 22px; width: 100%; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}
.form-group { display: flex; flex-direction: column; gap: 8px; position: relative; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.03em;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap > svg {
  position: absolute;
  left: 16px;
  color: var(--mid-gray);
  pointer-events: none;
  z-index: 1;
  flex-shrink: 0;
  transition: color var(--transition);
}
.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--text);
  background: var(--off-white);
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  appearance: none;
}
.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(200,146,42,0.1);
}
.input-wrap:focus-within > svg { color: var(--primary); }
.input-wrap textarea { resize: vertical; min-height: 120px; padding-top: 14px; align-self: stretch; }
.textarea-wrap { align-items: flex-start; }
.textarea-wrap > svg { top: 15px; margin: 0; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--mid-gray);
  border-bottom: 2px solid var(--mid-gray);
  transform: rotate(45deg) translateY(-3px);
  pointer-events: none;
}
.form-error {
  font-size: 0.78rem;
  color: #e53e3e;
  display: none;
  font-weight: 500;
}
.form-group.error .form-error { display: block; }
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.1);
}

.form-submit {
  padding: 17px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.97rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 24px rgba(200,146,42,0.3);
  position: relative;
  overflow: hidden;
}
.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.form-submit:hover::before { opacity: 1; }
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(200,146,42,0.4);
}
.form-submit:active { transform: translateY(0); }
.submit-loader {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}
.form-submit.loading .submit-text { display: none; }
.form-submit.loading .submit-loader { display: block; }

.form-success {
  display: none;
  align-items: center;
  gap: 14px;
  background: rgba(72,199,142,0.1);
  border: 1.5px solid rgba(72,199,142,0.3);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  animation: fadeUp 0.4s both;
}
.form-success.visible { display: flex; }
.form-success svg { color: #38a169; flex-shrink: 0; }
.form-success div { display: flex; flex-direction: column; gap: 2px; }
.form-success strong { font-size: 0.95rem; color: #276749; }
.form-success span { font-size: 0.85rem; color: #48bb78; }
.form-success.error {
  background: rgba(229,62,62,0.08);
  border-color: rgba(229,62,62,0.3);
}
.form-success.error svg { color: #e53e3e; }
.form-success.error strong { color: #c53030; }
.form-success.error span { color: #e53e3e; }

/* Honeypot field: hidden from sighted users but still present in the DOM
   (display:none is intentionally avoided so simple bots that skip hidden
   inputs still fill it in, and the field position keeps it away from
   assistive tech focus order). */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== FOOTER ===== */
.footer {
  background: #060f1c;
  color: white;
  padding: 72px 32px 0;
  width: 100%;
  box-sizing: border-box;
}
.footer-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 18px;
}
.footer-links h4,
.footer-contact-info h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  font-weight: 400;
}
.footer-links a:hover { color: var(--primary-light); }
.footer-contact-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}
.footer-contact-info a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-contact-info a:hover { color: var(--primary-light); }
.footer-bottom {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ===================================================================
   RESPONSIVE STYLES — Titan Shield Roofing Inc
   Breakpoints:
     • 1280px – Large tablet / small laptop
     • 1100px – Tablet landscape
     • 900px  – Tablet portrait
     • 768px  – Mobile landscape / large phone
     • 600px  – Small mobile
     • 480px  – Extra small phone
   =================================================================== */

/* ── 1280px: Large tablet / small laptop ─────────────────────────── */
@media (max-width: 1280px) {
  .nav-container { padding: 0 24px; }
  .hero-content  { padding: 0 24px; padding-top: var(--navbar-h); }
  .services-section { padding: 80px 24px; }
  .slider-wrapper { padding: 0 24px; }
  .reviews-section { padding: 80px 24px; }
  .contact-section { padding: 80px 24px; }
  .footer { padding: 64px 24px 0; }
  .footer-container { gap: 40px; }
  .why-us-banner { padding: 36px 40px; }
}

/* ── 1100px: Tablet landscape ─────────────────────────────────────── */
@media (max-width: 1100px) {
  /* Services */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .service-card--featured { order: -1; grid-column: span 2; }
  .why-us-banner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 32px 36px;
  }

  /* Slider — botones dentro del track, no necesitan override */

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand { grid-column: span 2; }
}

/* ── 900px: Tablet portrait ───────────────────────────────────────── */
@media (max-width: 900px) {
  /* ─ Section headings (centered) ─ */
  .section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .section-title { font-size: clamp(1.8rem, 4vw, 2.4rem); text-align: center; }
  .section-tag   { display: block; text-align: center; }
  .section-desc  { font-size: 0.97rem; text-align: center; }

  /* ─ Hero (centered) ─ */
  .hero { min-height: 640px; }
  .hero-content  { text-align: center; }
  .hero-title    { font-size: clamp(2.4rem, 6vw, 3.4rem); max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-subtitle { font-size: 1rem; max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-badge    { font-size: 0.75rem; margin-left: auto; margin-right: auto; }
  .hero-ctas     { justify-content: center; }
  .hero-stats    { justify-content: center; gap: 20px; flex-wrap: wrap; }
  .stat-num      { font-size: 1.55rem; }

  /* ─ Slider ─ */
  .slide img { height: 400px; }
  .slide-caption { padding: 36px 28px 28px; text-align: left; } /* keep left inside slide */
  .slide-caption h3 { font-size: 1.3rem; }
  .slider-dots { justify-content: center; }

  /* ─ Services (centered) ─ */
  .services-section { padding: 72px 20px; }
  .service-card { padding: 32px 28px; text-align: center; }
  .service-card--featured { grid-column: span 2; text-align: center; }
  .service-icon-wrap { display: flex; justify-content: center; }
  .service-features {
    align-items: center;
    text-align: left;  /* keep feature list left-aligned for readability */
  }
  .service-cta { display: block; text-align: center; }

  /* ─ Why Us (centered) ─ */
  .why-us-item { flex-direction: column; text-align: center; align-items: center; }

  /* ─ Reviews (centered) ─ */
  .reviews-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .review-card  { text-align: center; }
  .review-header { justify-content: center; }
  .review-stars  { text-align: center; }

  /* ─ Contact (centered) ─ */
  .contact-container { grid-template-columns: 1fr; gap: 40px; }
  .contact-info {
    position: static;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact-title   { font-size: clamp(1.8rem, 4vw, 2.4rem); text-align: center; }
  .contact-subtitle { text-align: center; }
  .contact-details { gap: 18px; width: 100%; }
  .contact-detail-item { justify-content: center; }
  .contact-social { justify-content: center; }

  /* ─ Footer (centered) ─ */
  .footer-container { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand {
    grid-column: span 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-tagline { text-align: center; }
}

/* ── 768px: Mobile landscape / large phone ────────────────────────── */
@media (max-width: 768px) {
  :root { --navbar-h: 90px; }

  /* ─ Navbar ─ */
  .nav-container { padding: 0 20px; }
  .logo-img { height: 72px; width: 72px; }
  .nav-links {
    position: fixed;
    top: var(--navbar-h); left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    /* ── HIDE: collapse height + fade out ── */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    padding: 0 24px;        /* vertical padding = 0 when hidden */
    gap: 4px;
    box-shadow: none;
    z-index: 999;
    border-bottom: 1px solid var(--border);
    transition:
      max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity    0.3s ease,
      visibility 0s   linear 0.4s,
      padding    0.3s ease,
      box-shadow 0.3s ease;
  }
  /* ── OPEN: expand smoothly ── */
  .nav-links.open {
    max-height: 600px;          /* larger than any real menu height */
    opacity: 1;
    visibility: visible;
    padding: 20px 24px 28px;
    box-shadow: var(--shadow-xl);
    transition:
      max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity    0.2s ease,
      visibility 0s   linear 0s,
      padding    0.3s ease,
      box-shadow 0.3s ease;
  }
  .nav-link {
    color: var(--secondary) !important;
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    text-align: center;
  }
  .nav-link:hover { background: var(--light-gray) !important; }
  .nav-link::after { display: none; }
  .nav-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-left: 0;
    margin-top: 8px;
    padding: 13px 22px;
  }
  .hamburger { display: flex; }
  .logo-main { font-size: 1.05rem; }

  /* ─ Hero (centered) ─ */
  .hero { min-height: 580px; }
  .hero-content {
    padding: 0 20px;
    padding-top: calc(var(--navbar-h) + 20px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 16px;
    text-align: center;
  }
  .hero-title br { display: none; }
  .hero-subtitle {
    font-size: 0.97rem;
    margin-bottom: 28px;
    text-align: center;
  }
  .hero-subtitle br { display: none; }
  .hero-badge {
    font-size: 0.72rem;
    padding: 7px 14px;
    margin-bottom: 18px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
    width: 100%;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.92rem;
  }
  .hero-stats {
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .stat      { align-items: center; text-align: center; }
  .stat-num  { font-size: 1.35rem; }
  .stat-label { font-size: 0.72rem; }
  .stat-divider { height: 32px; }
  .hero-scroll-indicator { display: none; }

  /* ─ Slider (centered) ─ */
  .slider-section { padding: 64px 0 56px; }
  .slider-section .section-header {
    padding: 0 20px;
    margin-bottom: 36px;
    text-align: center;
  }
  .slider-wrapper { padding: 0 16px; }
  .slide img { height: 280px; }
  .slide-caption { padding: 28px 20px 22px; }
  .slide-caption h3 { font-size: 1.15rem; }
  .slide-caption p  { font-size: 0.85rem; }
  .slider-btn { display: none; }
  .slider-dots { margin-top: 20px; justify-content: center; }

  /* ─ Services (centered) ─ */
  .services-section { padding: 64px 16px; }
  .section-header   { margin-bottom: 40px; text-align: center; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card {
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .service-card--featured { order: unset; grid-column: span 1; }
  .service-icon-wrap { display: flex; justify-content: center; }
  .service-icon { width: 58px; height: 58px; border-radius: 14px; }
  .service-title { font-size: 1.25rem; text-align: center; }
  .service-desc  { text-align: center; }
  .service-features {
    align-items: flex-start;   /* lista alineada a la izquierda */
    align-self: stretch;
    text-align: left;
  }
  .service-cta { text-align: center; }
  .why-us-banner {
    grid-template-columns: 1fr 1fr;
    padding: 28px 24px;
    gap: 20px;
    border-radius: var(--radius);
  }
  .why-us-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .why-us-item svg { width: 22px; height: 22px; }
  .why-us-item > div { align-items: center; }
  .why-us-item strong { font-size: 0.88rem; }
  .why-us-item span   { font-size: 0.75rem; }

  /* ─ Reviews (centered) ─ */
  .reviews-section { padding: 64px 16px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 14px; }
  .review-card {
    padding: 22px 20px 18px;
    text-align: center;
  }
  .review-header { justify-content: center; }
  .review-stars  { text-align: center; }
  .review-date   { display: block; text-align: center; }
  .google-rating-summary {
    gap: 12px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .overall-stars { gap: 6px; justify-content: center; }
  .google-logo   { justify-content: center; }
  .rating-num    { font-size: 1.5rem; }
  .stars-display { font-size: 1.2rem; }

  /* ─ Contact (centered) ─ */
  .contact-section { padding: 64px 16px; }
  .contact-container { gap: 32px; }
  .contact-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact-title    { font-size: clamp(1.7rem, 5vw, 2.2rem); text-align: center; }
  .contact-subtitle { text-align: center; }
  .contact-detail-item { justify-content: center; }
  .contact-form-wrap { padding: 28px 20px; border-radius: var(--radius); }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .contact-social { gap: 10px; justify-content: center; }

  /* ─ Footer (centered) ─ */
  .footer { padding: 52px 16px 0; }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
    text-align: center;
  }
  .footer-brand {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-brand .logo { justify-content: center; }
  .footer-tagline { text-align: center; }
  .footer-links ul  { align-items: center; }
  .footer-links h4,
  .footer-contact-info h4 { text-align: center; }
  .footer-contact-info p  { text-align: center; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 20px 0;
    font-size: 0.75rem;
  }
}

/* ── 600px: Small mobile ──────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Hero */
  .hero { min-height: 520px; }
  .hero-title { font-size: clamp(1.8rem, 9vw, 2.4rem); }
  .hero-stats  { gap: 10px; }
  .stat-num    { font-size: 1.2rem; }
  .stat-label  { font-size: 0.68rem; }
  .stat-divider { height: 28px; }

  /* Slider */
  .slide img { height: 230px; }
  .slide-caption { padding: 20px 16px 16px; }
  .slide-caption h3 { font-size: 1rem; margin-bottom: 4px; }
  .slide-caption p { display: none; }
  .slide-tag { font-size: 0.65rem; padding: 3px 10px; }

  /* Services */
  .service-card { padding: 24px 18px; }
  .service-icon { width: 52px; height: 52px; border-radius: 12px; }
  .service-icon svg { width: 28px; height: 28px; }
  .service-title { font-size: 1.15rem; }
  .service-desc  { font-size: 0.87rem; }
  .service-features li { font-size: 0.82rem; }
  .why-us-banner {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 16px;
  }

  /* Reviews */
  .review-card { padding: 18px 16px 14px; }
  .reviewer-avatar { width: 40px; height: 40px; font-size: 0.78rem; }
  .reviewer-info strong { font-size: 0.88rem; }
  .review-text { font-size: 0.85rem; }

  /* Contact form */
  .contact-form-wrap { padding: 22px 16px; }
  .input-wrap input,
  .input-wrap select,
  .input-wrap textarea { font-size: 0.88rem; padding: 12px 14px 12px 40px; }
  .form-submit { padding: 15px 24px; font-size: 0.9rem; }
  .contact-detail-item { gap: 12px; }
  .contact-detail-icon { width: 38px; height: 38px; border-radius: 10px; }

  /* Footer */
  .logo-main { font-size: 0.97rem; }
  .logo-sub  { font-size: 0.52rem; }
  .footer-links h4,
  .footer-contact-info h4 { font-size: 0.76rem; margin-bottom: 14px; }
  .footer-links a,
  .footer-contact-info p { font-size: 0.84rem; }
}

/* ── 480px: Extra small phone ─────────────────────────────────────── */
@media (max-width: 480px) {
  /* Navbar */
  :root { --navbar-h: 80px; }
  .logo-img { height: 60px; width: 60px; }
  .logo-icon svg { width: 30px; height: 30px; }

  /* Hero */
  .hero-content { padding: 0 16px; padding-top: calc(var(--navbar-h) + 12px); }
  .hero-badge { padding: 6px 12px; font-size: 0.68rem; }
  .hero-title { font-size: clamp(1.65rem, 10vw, 2.2rem); line-height: 1.15; }
  .hero-subtitle { font-size: 0.9rem; margin-bottom: 22px; }
  .btn-primary,
  .btn-secondary { font-size: 0.87rem; padding: 13px 20px; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 8px; }
  .stat-divider { display: none; }
  .stat { align-items: center; text-align: center; background: rgba(255,255,255,0.08); border-radius: 10px; padding: 10px 8px; }
  .stat-num { font-size: 1.15rem; }
  .stat-label { font-size: 0.65rem; }

  /* Slider */
  .slider-wrapper { padding: 0 12px; }
  .slide img { height: 200px; }

  /* Services */
  .services-section { padding: 52px 12px; }
  .service-card { padding: 20px 16px; border-radius: var(--radius); }
  .service-number { display: none; }
  .service-features { gap: 7px; }

  /* Reviews */
  .reviews-section { padding: 52px 12px; }
  .review-card::after { display: none; }

  /* Contact */
  .contact-section { padding: 52px 12px; }
  .contact-social .social-link { width: 38px; height: 38px; border-radius: 10px; }
  .google-rating-summary { margin-bottom: 32px; }

  /* Footer */
  .footer { padding: 44px 12px 0; }
  .footer-container { gap: 24px; padding-bottom: 32px; }
}

