/* ============================================================
  DD Roofing & Cladding V2 - Master Stylesheet
  Industrial-premium aesthetic - blues, slate, orange accent
  ============================================================ */

/* --- Custom Properties --- */
:root {
 --navy: #0B1D3A;
 --navy-light: #132D54;
 --navy-mid: #0F2847;
 --steel-blue: #2A5C8F;
 --sky-blue: #3B82C4;
 --accent: #E8752A;
 --accent-hover: #D4651E;
 --accent-glow: rgba(232,117,42,0.25);

 --slate-900: #1A1E2A;
 --slate-800: #242838;
 --slate-700: #2D3348;
 --slate-600: #3D4460;
 --slate-500: #5A6178;
 --slate-400: #7C839A;
 --slate-300: #9CA3B8;
 --slate-200: #C5CAD8;
 --slate-100: #E2E5ED;
 --off-white: #F4F5F8;
 --white: #FFFFFF;

 --success: #2EAF65;
 --warning: #E8A32A;
 --danger: #D43B3B;

 --font-display: 'DM Serif Display', Georgia, serif;
 --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;

 --space-2xs: 0.125rem;
 --space-xs: 0.25rem;
 --space-sm: 0.5rem;
 --space-md: 1rem;
 --space-lg: 1.5rem;
 --space-xl: 2rem;
 --space-2xl: 3rem;
 --space-3xl: 4rem;
 --space-4xl: 6rem;
 --space-5xl: 8rem;

 --max-width: 1280px;
 --header-height: 80px;

 --shadow-xs: 0 1px 2px rgba(11,29,58,0.05);
 --shadow-sm: 0 1px 3px rgba(11,29,58,0.08), 0 1px 2px rgba(11,29,58,0.06);
 --shadow-md: 0 4px 16px rgba(11,29,58,0.1);
 --shadow-lg: 0 8px 32px rgba(11,29,58,0.14);
 --shadow-xl: 0 16px 48px rgba(11,29,58,0.18);
 --shadow-glow: 0 0 40px var(--accent-glow);

 --radius-sm: 6px;
 --radius-md: 10px;
 --radius-lg: 14px;
 --radius-xl: 20px;
 --radius-2xl: 28px;
 --radius-full: 9999px;

 --ease: cubic-bezier(0.4, 0, 0.2, 1);
 --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
 --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
 --transition: 0.3s var(--ease);
 --transition-slow: 0.6s var(--ease);
 --transition-spring: 0.5s var(--ease-spring);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
 font-family: var(--font-body);
 font-size: 1rem;
 line-height: 1.7;
 color: var(--slate-700);
 background: var(--white);
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
 outline: 3px solid var(--sky-blue); outline-offset: 2px;
}
ul, ol { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-body); font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5.5vw, 3.8rem); letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }
.text-lg { font-size: 1.125rem; line-height: 1.8; }
.text-sm { font-size: 0.875rem; }
.text-balance { text-wrap: balance; }

/* --- Layout --- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-xl); }
.section { padding: var(--space-5xl) 0; position: relative; }
.section--dark { background: var(--navy); color: var(--slate-200); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--grey { background: var(--off-white); }
.section--gradient {
 background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.section-label {
 display: inline-flex; align-items: center; gap: var(--space-sm);
 font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
 letter-spacing: 0.14em; color: var(--accent); margin-bottom: var(--space-lg);
}
.section-label::before { content: ''; width: 28px; height: 2px; background: var(--accent); border-radius: 1px; }

.section-header { max-width: 640px; margin-bottom: var(--space-3xl); }
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-header p { margin-top: var(--space-md); color: var(--slate-500); font-size: 1.05rem; line-height: 1.75; }
.section--dark .section-header p { color: var(--slate-300); }

.grid { display: grid; gap: var(--space-xl); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Buttons --- */
.btn {
 display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm);
 padding: 0.8rem 1.8rem; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
 border: 2px solid transparent; border-radius: var(--radius-md); cursor: pointer;
 transition: all var(--transition); text-decoration: none; white-space: nowrap;
 position: relative; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
 background: var(--accent); color: var(--white); border-color: var(--accent);
 box-shadow: 0 2px 8px rgba(232,117,42,0.2);
}
.btn-primary:hover {
 background: var(--accent-hover); border-color: var(--accent-hover); color: var(--white);
 transform: translateY(-2px); box-shadow: 0 6px 24px rgba(232,117,42,0.35);
}
.btn-primary:active { transform: translateY(0); }

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

.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--slate-200); }
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

.btn-lg { padding: 1rem 2.4rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.82rem; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; }

/* --- Scroll Progress Bar --- */
.scroll-progress {
 position: fixed; top: 0; left: 0; width: 0%; height: 3px; z-index: 10001;
 background: linear-gradient(90deg, var(--accent), var(--sky-blue));
 transition: width 0.1s linear;
}

/* --- Header --- */
.site-header {
 position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
 background: rgba(11,29,58,0.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
 border-bottom: 1px solid rgba(255,255,255,0.05);
 transition: transform 0.35s cubic-bezier(.22,1,.36,1), background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { background: rgba(11,29,58,0.98); box-shadow: var(--shadow-lg); }
.site-header.header-hidden { transform: translateY(-100%); }

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

.logo { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--white); }
.logo-img { height: 40px; width: auto; display: block; }
.logo-text { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.85); letter-spacing: 0.02em; line-height: 1; white-space: nowrap; }
.logo:hover .logo-text { color: var(--white); }
.logo--footer { align-items: center; }
.logo--footer .logo-img { height: 36px; }
.logo--footer .logo-text { color: rgba(255,255,255,0.6); }
.logo--footer:hover .logo-text { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: var(--space-2xl); }
.nav-links { display: flex; align-items: center; gap: var(--space-md); }
.nav-links a {
 color: rgba(255,255,255,0.7); font-size: 0.88rem; font-weight: 500;
 padding: 0.4rem 0.7rem; border-radius: var(--radius-sm);
 transition: all var(--transition); position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.08); }

.header-cta { display: flex; align-items: center; gap: var(--space-md); }
.header-phone {
 color: var(--white); font-weight: 600; font-size: 0.88rem;
 display: flex; align-items: center; gap: 6px;
}
.header-phone svg { width: 15px; height: 15px; color: var(--accent); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: var(--space-sm); z-index: 1002; position: relative; }
.menu-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Urgency Banner --- */
.urgency-banner {
 background: linear-gradient(90deg, var(--accent), #d4651e, var(--accent));
 background-size: 200% 100%;
 animation: shimmer 3s ease infinite;
 color: var(--white); text-align: center;
 padding: 0.6rem var(--space-md); font-size: 0.85rem; font-weight: 600;
 position: relative; z-index: 999;
}
.urgency-banner a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
@keyframes shimmer { 0%,100%{ background-position: 0% 50%; } 50%{ background-position: 100% 50%; } }

/* === HERO === */
.hero {
 position: relative; min-height: 100vh; display: flex; align-items: center;
 background: var(--navy); overflow: hidden; padding-top: var(--header-height);
}
.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-bg-image { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; filter: saturate(0.6); }
.hero-bg-overlay {
 position: absolute; inset: 0;
 background: linear-gradient(160deg, rgba(11,29,58,0.95) 0%, rgba(11,29,58,0.75) 40%, rgba(42,92,143,0.45) 100%);
}

/* Diagonal accent line */
.hero::after {
 content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px; z-index: 3;
 background: var(--white);
 clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero-content {
 position: relative; z-index: 2;
 display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-4xl); align-items: center;
 padding: var(--space-4xl) 0 calc(var(--space-4xl) + 40px);
}

.hero-text { animation: fadeInUp 0.8s var(--ease-spring); }

.hero-badge {
 display: inline-flex; align-items: center; gap: 8px;
 background: rgba(232,117,42,0.12); border: 1px solid rgba(232,117,42,0.25);
 border-radius: var(--radius-full); padding: 0.35rem 1rem;
 font-size: 0.75rem; font-weight: 700; color: var(--accent);
 text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-xl);
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }

.hero h1 { color: var(--white); margin-bottom: var(--space-lg); }
.hero h1 em { font-style: normal; color: var(--accent); position: relative; }

.hero-subtitle {
 font-size: 1.1rem; line-height: 1.8; color: var(--slate-300);
 margin-bottom: var(--space-2xl); max-width: 500px;
}

.hero-inline-img { display: none; }
.hero-inline-img img { width: 100%; height: auto; border-radius: var(--radius-xl); }

.hero-buttons { display: flex; gap: var(--space-md); flex-wrap: wrap; margin-bottom: var(--space-3xl); }

.hero-stats { display: flex; gap: var(--space-3xl); }
.hero-stat-number {
 font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
 color: var(--white); line-height: 1; margin-bottom: 4px;
}
.hero-stat-number span { color: var(--accent); }
.hero-stat-label { font-size: 0.78rem; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.1em; }

/* Hero visual - glass cards */
.hero-visual { animation: fadeInRight 1s var(--ease-spring) 0.3s both; display: flex; align-items: center; }

.hero-cards-stack {
 display: flex; flex-direction: column; gap: var(--space-md); align-items: flex-end; width: 100%;
}

.hero-card {
 background: rgba(255,255,255,0.06); backdrop-filter: blur(20px);
 -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1);
 border-radius: var(--radius-xl); color: var(--white);
}

.hero-card--van {
 background: transparent; border: none; backdrop-filter: none; -webkit-backdrop-filter: none;
 padding: 0; width: 360px; margin-right: -20px; border-radius: var(--radius-xl); overflow: hidden;
}
.van-img { width: 100%; height: auto; display: block; filter: drop-shadow(0 8px 30px rgba(0,0,0,0.4)); border-radius: var(--radius-xl); }

.hero-card--review { width: 300px; padding: var(--space-lg); }
.review-stars { color: var(--warning); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 6px; }
.hero-card--review p { font-size: 0.82rem; font-style: italic; color: rgba(255,255,255,0.8); margin-bottom: 6px; line-height: 1.5; }
.review-author { font-size: 0.78rem; font-weight: 600; color: var(--accent); }

.hero-card--cert {
 display: flex; align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-lg);
}
.cert-icon {
 width: 42px; height: 42px; background: linear-gradient(135deg, var(--success), #34c76f);
 border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
 font-size: 1rem; box-shadow: 0 2px 8px rgba(46,175,101,0.3);
}
.cert-text { font-size: 0.78rem; font-weight: 600; line-height: 1.4; }

/* --- Trust Bar --- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--slate-100); padding: var(--space-lg) 0; position: relative; z-index: 2; }
.trust-items { display: flex; align-items: center; justify-content: center; gap: var(--space-xl); flex-wrap: wrap; }
.trust-item { color: var(--slate-600); font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.trust-item span { color: var(--navy); }

/* === SERVICE CARDS === */
.service-card {
 background: var(--white); border-radius: var(--radius-xl); overflow: hidden;
 box-shadow: var(--shadow-sm); border: 1px solid var(--slate-100);
 transition: all var(--transition-spring); position: relative;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: transparent; }
.service-card:hover .service-card-image img { transform: scale(1.06); }

.service-card-image { height: 220px; overflow: hidden; position: relative; }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }

.service-card-badge {
 position: absolute; top: var(--space-md); left: var(--space-md);
 background: var(--accent); color: var(--white); font-size: 0.7rem; font-weight: 700;
 text-transform: uppercase; letter-spacing: 0.06em;
 padding: 4px 10px; border-radius: var(--radius-sm);
}

.service-card-body { padding: var(--space-xl) var(--space-xl) var(--space-2xl); }
.service-card-icon {
 width: 50px; height: 50px;
 background: linear-gradient(135deg, var(--steel-blue), var(--navy));
 border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
 margin-bottom: var(--space-md); color: var(--white); font-size: 1.3rem;
 box-shadow: 0 2px 8px rgba(42,92,143,0.25);
}
.service-card h3 { margin-bottom: var(--space-sm); }
.service-card h3 a { color: var(--navy); text-decoration: none; }
.service-card h3 a:hover { color: var(--accent); }
.service-card p { color: var(--slate-500); font-size: 0.92rem; margin-bottom: var(--space-lg); line-height: 1.65; }

.learn-more {
 display: inline-flex; align-items: center; gap: 6px;
 font-weight: 600; font-size: 0.88rem; color: var(--accent);
}
.learn-more svg { width: 16px; height: 16px; transition: transform var(--transition); }
.service-card:hover .learn-more svg { transform: translateX(4px); }

/* === PROCESS SECTION (NEW) === */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); counter-reset: step; }
.process-step {
 text-align: center; padding: var(--space-2xl) var(--space-lg);
 position: relative; counter-increment: step;
}
.process-step::before {
 content: counter(step, decimal-leading-zero);
 display: block; font-family: var(--font-display); font-size: 3rem; font-weight: 700;
 color: var(--slate-100); line-height: 1; margin-bottom: var(--space-md);
}
.process-step-icon {
 width: 64px; height: 64px;
 background: linear-gradient(135deg, var(--accent), #f09040);
 border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center;
 margin: 0 auto var(--space-lg); font-size: 1.5rem; color: var(--white);
 box-shadow: 0 4px 16px rgba(232,117,42,0.25);
 transition: transform var(--transition-spring);
}
.process-step:hover .process-step-icon { transform: scale(1.1) rotate(-5deg); }
.process-step h3 { margin-bottom: var(--space-sm); font-size: 1.1rem; }
.process-step p { color: var(--slate-500); font-size: 0.88rem; }

/* Connecting line between steps */
.process-step:not(:last-child)::after {
 content: ''; position: absolute; top: 85px; right: -10%;
 width: 20%; height: 2px; background: var(--slate-100);
}

/* === TESTIMONIALS === */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.testimonial-card {
 background: var(--white); border-radius: var(--radius-xl); padding: var(--space-2xl);
 box-shadow: var(--shadow-sm); position: relative; border: 1px solid var(--slate-100);
 transition: all var(--transition-spring);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-card::before {
 content: ''; position: absolute; top: 0; left: var(--space-2xl); right: var(--space-2xl); height: 3px;
 background: linear-gradient(90deg, var(--accent), var(--sky-blue)); border-radius: 0 0 3px 3px;
 opacity: 0; transition: opacity var(--transition);
}
.testimonial-card:hover::before { opacity: 1; }

.testimonial-quote {
 font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--accent); opacity: 0.2;
 margin-bottom: var(--space-sm);
}
.testimonial-stars { color: var(--warning); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: var(--space-md); }
.testimonial-text { font-size: 0.95rem; line-height: 1.7; color: var(--slate-600); margin-bottom: var(--space-lg); }
.testimonial-author { display: flex; align-items: center; gap: var(--space-md); }
.testimonial-avatar {
 width: 46px; height: 46px; border-radius: 50%;
 background: linear-gradient(135deg, var(--steel-blue), var(--navy));
 display: flex; align-items: center; justify-content: center;
 color: var(--white); font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}
.testimonial-author-info h4 { font-size: 0.92rem; color: var(--navy); }
.testimonial-author-info span { font-size: 0.78rem; color: var(--slate-400); }

/* Google review badge */
.google-rating-badge {
 display: inline-flex; align-items: center; gap: var(--space-md);
 background: var(--white); border: 1px solid var(--slate-100);
 border-radius: var(--radius-lg); padding: var(--space-md) var(--space-xl);
 box-shadow: var(--shadow-sm); margin-top: var(--space-2xl);
}
.google-rating-badge .g-logo { font-size: 1.6rem; }
.google-rating-score { font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); line-height: 1; }
.google-rating-stars { color: var(--warning); font-size: 0.8rem; letter-spacing: 1px; }
.google-rating-count { font-size: 0.78rem; color: var(--slate-400); }

/* === PROJECTS === */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.project-card {
 border-radius: var(--radius-xl); overflow: hidden; position: relative;
 cursor: pointer; aspect-ratio: 4/3; background: var(--slate-100);
 box-shadow: var(--shadow-sm);
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.project-card:hover img { transform: scale(1.08); }
.project-overlay {
 position: absolute; inset: 0;
 background: linear-gradient(0deg, rgba(11,29,58,0.92) 0%, rgba(11,29,58,0.3) 40%, transparent 60%);
 display: flex; flex-direction: column; justify-content: flex-end; padding: var(--space-xl);
 transition: all var(--transition);
}
.project-card:hover .project-overlay { background: linear-gradient(0deg, rgba(11,29,58,0.95) 0%, rgba(11,29,58,0.4) 50%, transparent 70%); }
.project-overlay .project-type {
 font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
 color: var(--accent); margin-bottom: 4px;
}
.project-overlay h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 4px; }
.project-overlay p { font-size: 0.82rem; color: var(--slate-300); opacity: 0; transform: translateY(8px); transition: all var(--transition); }
.project-card:hover .project-overlay p { opacity: 1; transform: translateY(0); }

/* Filter */
.filter-buttons { display: flex; gap: var(--space-sm); margin-bottom: var(--space-2xl); flex-wrap: wrap; justify-content: center; }
.filter-btn {
 background: transparent; border: 2px solid var(--slate-100); color: var(--slate-500);
 padding: 0.45rem 1.1rem; border-radius: var(--radius-full);
 font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
 cursor: pointer; transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* === QUOTE CALCULATOR === */
.calculator-wrap {
 background: var(--white); border-radius: var(--radius-2xl);
 box-shadow: var(--shadow-xl); overflow: hidden; max-width: 900px; margin: 0 auto;
 border: 1px solid var(--slate-100);
}
.calculator-header {
 background: linear-gradient(135deg, var(--navy), var(--navy-mid));
 padding: var(--space-2xl); text-align: center;
}
.calculator-header h3 { color: var(--white); margin-bottom: 4px; }
.calculator-header p { color: var(--slate-300); font-size: 0.88rem; }

.calculator-body { padding: var(--space-2xl); }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); margin-bottom: var(--space-xl); }
.calc-field label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--navy); margin-bottom: 6px; }
.calc-field select, .calc-field input {
 width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--slate-100);
 border-radius: var(--radius-md); font-family: var(--font-body); font-size: 0.92rem;
 color: var(--slate-700); transition: all var(--transition); background: var(--white);
}
.calc-field select:focus, .calc-field input:focus { border-color: var(--steel-blue); outline: none; box-shadow: 0 0 0 4px rgba(42,92,143,0.08); }

.calc-result {
 background: linear-gradient(135deg, var(--off-white), var(--white));
 border: 2px solid var(--slate-100); border-radius: var(--radius-xl);
 padding: var(--space-xl); text-align: center; margin-top: var(--space-lg);
}
.calc-result-label { font-size: 0.82rem; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; margin-bottom: 4px; }
.calc-result-amount { font-family: var(--font-display); font-size: 3rem; color: var(--navy); line-height: 1; margin-bottom: 6px; transition: all var(--transition); }
.calc-result-note { font-size: 0.78rem; color: var(--slate-400); max-width: 480px; margin: 0 auto; }

/* === CTA === */
.cta-section { position: relative; padding: var(--space-5xl) 0; overflow: hidden; }
.cta-bg {
 position: absolute; inset: 0;
 background: linear-gradient(135deg, var(--navy) 0%, var(--steel-blue) 100%);
}
.cta-bg::before {
 content: ''; position: absolute; inset: 0; opacity: 0.04;
 background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.5) 1px, transparent 0);
 background-size: 32px 32px;
}
.cta-content { position: relative; z-index: 2; text-align: center; max-width: 680px; margin: 0 auto; }
.cta-content h2 { color: var(--white); margin-bottom: var(--space-lg); }
.cta-content p { color: var(--slate-300); font-size: 1.05rem; margin-bottom: var(--space-2xl); line-height: 1.75; }
.cta-buttons { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }

/* === CONTACT FORM === */
.contact-form {
 background: var(--white); border-radius: var(--radius-2xl);
 box-shadow: var(--shadow-lg); padding: var(--space-3xl);
 border: 1px solid var(--slate-100);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); margin-bottom: var(--space-lg); }
.form-group { margin-bottom: var(--space-lg); }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--navy); margin-bottom: 6px; }
.form-group label .required { color: var(--danger); }
.form-group input, .form-group select, .form-group textarea {
 width: 100%; padding: 0.8rem 1rem; border: 2px solid var(--slate-100);
 border-radius: var(--radius-md); font-family: var(--font-body); font-size: 0.92rem;
 color: var(--slate-700); transition: all var(--transition); background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
 border-color: var(--steel-blue); outline: none; box-shadow: 0 0 0 4px rgba(42,92,143,0.08);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group .error-message { display: none; font-size: 0.78rem; color: var(--danger); margin-top: 4px; font-weight: 500; }
.form-group.error input, .form-group.error textarea, .form-group.error select { border-color: var(--danger); }
.form-group.error .error-message { display: block; }

/* Contact sidebar */
.contact-info-card {
 background: linear-gradient(135deg, var(--navy), var(--navy-mid));
 border-radius: var(--radius-2xl); padding: var(--space-2xl); color: var(--white);
}
.contact-info-item { display: flex; gap: var(--space-md); margin-bottom: var(--space-xl); align-items: flex-start; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
 width: 46px; height: 46px; background: rgba(232,117,42,0.12); border-radius: var(--radius-md);
 display: flex; align-items: center; justify-content: center; flex-shrink: 0;
 color: var(--accent); font-size: 1.1rem;
}
.contact-info-item h4 { color: var(--white); font-size: 0.88rem; margin-bottom: 2px; }
.contact-info-item p, .contact-info-item a { color: var(--slate-300); font-size: 0.88rem; }
.contact-info-item a:hover { color: var(--accent); }

.map-container { border-radius: var(--radius-xl); overflow: hidden; height: 300px; margin-top: var(--space-xl); background: var(--slate-100); }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* === ABOUT === */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); align-items: center; }
.about-image { border-radius: var(--radius-2xl); overflow: hidden; aspect-ratio: 4/3; background: var(--slate-100); position: relative; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image::after {
 content: ''; position: absolute; bottom: -8px; right: -8px; width: 120px; height: 120px;
 border: 4px solid var(--accent); border-radius: var(--radius-xl); z-index: -1;
}

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.value-card {
 text-align: center; padding: var(--space-2xl); border-radius: var(--radius-xl);
 background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid var(--slate-100);
 transition: all var(--transition-spring);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-icon {
 width: 64px; height: 64px;
 background: linear-gradient(135deg, var(--steel-blue), var(--navy));
 border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center;
 margin: 0 auto var(--space-lg); color: var(--white); font-size: 1.5rem;
 box-shadow: 0 4px 12px rgba(42,92,143,0.2);
}

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.team-card { text-align: center; }
.team-avatar {
 width: 160px; height: 160px; border-radius: 50%; margin: 0 auto var(--space-lg);
 overflow: hidden; background: var(--slate-100); border: 4px solid var(--white); box-shadow: var(--shadow-md);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-bottom: 2px; }
.team-card .team-role { color: var(--accent); font-weight: 600; font-size: 0.88rem; margin-bottom: var(--space-sm); }
.team-card p { color: var(--slate-500); font-size: 0.88rem; }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }
.cert-card { text-align: center; padding: var(--space-xl); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-xl); }
.cert-card-icon {
 width: 56px; height: 56px; background: rgba(232,117,42,0.12); border-radius: 50%;
 display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-md);
 color: var(--accent); font-size: 1.3rem;
}
.cert-card h4 { font-size: 0.92rem; margin-bottom: 4px; }
.cert-card p { font-size: 0.78rem; color: var(--slate-300); }

/* === BLOG === */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.blog-card {
 border-radius: var(--radius-xl); overflow: hidden; background: var(--white);
 box-shadow: var(--shadow-sm); border: 1px solid var(--slate-100);
 transition: all var(--transition-spring);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-image { height: 200px; overflow: hidden; background: var(--slate-100); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
.blog-card-body { padding: var(--space-xl); }
.blog-meta { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-md); font-size: 0.78rem; color: var(--slate-400); }
.blog-category { background: rgba(42,92,143,0.08); color: var(--steel-blue); padding: 3px 8px; border-radius: var(--radius-sm); font-weight: 600; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: var(--space-sm); line-height: 1.35; }
.blog-card h3 a { color: var(--navy); } .blog-card h3 a:hover { color: var(--accent); }
.blog-card p { color: var(--slate-500); font-size: 0.88rem; margin-bottom: var(--space-md); }
.blog-read-more { font-weight: 600; font-size: 0.88rem; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }

/* Blog post */
.blog-post-header { padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-3xl); background: var(--navy); color: var(--white); }
.blog-post-content { max-width: 760px; margin: 0 auto; padding: var(--space-3xl) var(--space-xl); }
.blog-post-content h2 { margin-top: var(--space-2xl); margin-bottom: var(--space-md); }
.blog-post-content h3 { margin-top: var(--space-xl); margin-bottom: var(--space-md); }
.blog-post-content p { margin-bottom: var(--space-lg); }
.blog-post-content ul, .blog-post-content ol { margin-bottom: var(--space-lg); padding-left: var(--space-xl); }
.blog-post-content li { margin-bottom: var(--space-sm); list-style: disc; color: var(--slate-700); }
.blog-post-content ol li { list-style: decimal; }

/* === PAGE HEADER === */
.page-header {
 padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-3xl);
 background: var(--navy); position: relative; overflow: hidden;
}
.page-header::after {
 content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 60px;
 background: var(--white); clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.page-header-content { position: relative; z-index: 2; }

.breadcrumb { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-lg); font-size: 0.82rem; }
.breadcrumb a { color: var(--slate-300); } .breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--slate-500); } .breadcrumb .current { color: var(--accent); }

.page-header h1 { color: var(--white); margin-bottom: var(--space-md); }
.page-header p { color: var(--slate-300); font-size: 1.05rem; max-width: 580px; }

/* === SERVICE DETAIL === */
.service-detail {
 display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); align-items: start;
 margin-bottom: var(--space-4xl); padding-bottom: var(--space-4xl); border-bottom: 1px solid var(--slate-100);
}
.service-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.service-detail-image { border-radius: var(--radius-2xl); overflow: hidden; aspect-ratio: 4/3; background: var(--slate-100); }
.service-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-content h2 { margin-bottom: var(--space-lg); }
.service-detail-content p { margin-bottom: var(--space-lg); }

.benefit-list { margin-bottom: var(--space-xl); }
.benefit-item { display: flex; align-items: flex-start; gap: var(--space-md); margin-bottom: var(--space-md); }
.benefit-check {
 width: 24px; height: 24px; background: rgba(46,175,101,0.1); border-radius: 50%;
 display: flex; align-items: center; justify-content: center; flex-shrink: 0;
 color: var(--success); font-size: 0.75rem; margin-top: 2px;
}
.benefit-item span { color: var(--slate-700); font-size: 0.92rem; }

/* === STICKY WHATSAPP / PHONE FAB === */
.floating-cta {
 position: fixed; bottom: var(--space-xl); left: var(--space-xl); z-index: 100;
 display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start;
}
.fab {
 width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
 display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
 box-shadow: var(--shadow-lg); transition: all var(--transition-spring);
 text-decoration: none;
}
.fab:hover { transform: scale(1.1); }
.fab--phone { background: var(--accent); color: var(--white); box-shadow: 0 4px 20px rgba(232,117,42,0.4); }
.fab--top { background: var(--navy); color: var(--white); width: 44px; height: 44px; font-size: 1rem; opacity: 0; visibility: hidden; }
.fab--top.visible { opacity: 1; visibility: visible; }

/* === FOOTER === */
.site-footer { background: var(--slate-900); color: var(--slate-300); padding: var(--space-4xl) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-2xl); padding-bottom: var(--space-3xl); border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-brand p { margin-top: var(--space-md); font-size: 0.88rem; line-height: 1.7; max-width: 300px; }
.footer-social { display: flex; gap: var(--space-sm); margin-top: var(--space-lg); }
.footer-social a {
 width: 40px; height: 40px; background: rgba(255,255,255,0.05); border-radius: var(--radius-md);
 display: flex; align-items: center; justify-content: center; color: var(--slate-300);
 transition: all var(--transition); font-size: 0.85rem; font-weight: 600;
}
.footer-social a:hover { background: var(--accent); color: var(--white); }

.footer-column h4 { color: var(--white); font-size: 0.95rem; margin-bottom: var(--space-lg); }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--slate-400); font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
 padding: var(--space-xl) 0; display: flex; align-items: center; justify-content: space-between;
 font-size: 0.78rem; color: var(--slate-500); flex-wrap: wrap; gap: var(--space-md);
}
.footer-bottom-links { display: flex; gap: var(--space-lg); }
.footer-bottom-links a { color: var(--slate-500); font-size: 0.78rem; } .footer-bottom-links a:hover { color: var(--accent); }

/* --- Cookie Banner --- */
.cookie-banner {
 position: fixed; bottom: var(--space-lg); left: var(--space-lg); right: var(--space-lg);
 max-width: 520px; background: var(--slate-900); color: var(--slate-300);
 padding: var(--space-lg) var(--space-xl); z-index: 10000;
 display: none; border-radius: var(--radius-xl); box-shadow: 0 8px 40px rgba(0,0,0,0.3);
 border: 1px solid rgba(255,255,255,0.06);
}
.cookie-banner.show { display: flex; align-items: center; gap: var(--space-lg); }
.cookie-banner p { font-size: 0.82rem; margin: 0; }
.cookie-banner a { color: var(--accent); }
.cookie-banner-actions { display: flex; gap: var(--space-sm); flex-shrink: 0; }

/* === ANIMATIONS === */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }


.reveal { opacity: 0; transform: translateY(24px); transition: all 0.6s var(--ease-spring); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
 .grid-4, .process-steps { grid-template-columns: repeat(2, 1fr); }
 .process-step:not(:last-child)::after { display: none; }
 .hero-content { grid-template-columns: 1fr 1fr; gap: var(--space-lg); padding: var(--space-xl) 0 var(--space-lg); }
 .hero-visual { display: flex; align-items: center; justify-content: center; }
 .hero-cards-stack { align-items: center; gap: var(--space-sm); }
 .hero-card--van { width: 100%; margin-right: 0; }
 .hero-card--review { width: 100%; padding: var(--space-md); }
 .hero-card--review p { font-size: 0.75rem; margin-bottom: 4px; }
 .review-stars { font-size: 0.8rem; margin-bottom: 4px; }
 .review-author { font-size: 0.7rem; }
 .hero-card--cert { padding: var(--space-sm) var(--space-md); }
 .cert-icon { width: 32px; height: 32px; font-size: 0.8rem; }
 .cert-text { font-size: 0.68rem; }
 .about-story { grid-template-columns: 1fr; }
 .service-detail { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .cert-grid { grid-template-columns: repeat(2, 1fr); }
 .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
 .section { padding: var(--space-2xl) 0; }
 .container { padding: 0 var(--space-lg); }
 .section-header h2 { font-size: 1.6rem; }
 .menu-toggle { display: flex; }
 .main-nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: #0B1D3A;
  flex-direction: column; 
  padding: calc(var(--header-height) + var(--space-lg)) var(--space-xl) var(--space-xl);
  transform: translateY(-100%); transition: transform 0.4s cubic-bezier(.22,1,.36,1);
  z-index: 1001; overflow-y: auto;
  justify-content: flex-start;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  border-bottom: 2px solid var(--accent);
 }
 .main-nav.open { transform: translateY(0); }
 .site-header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #0B1D3A; }
 .nav-links { flex-direction: column; align-items: center; gap: 0; }
 .nav-links a { 
  padding: 12px 0; font-size: 1.05rem; font-weight: 500;
  border-bottom: none; border-radius: 0; 
  text-align: center; width: 100%; color: rgba(255,255,255,0.65);
  background: none !important; box-shadow: none !important;
  letter-spacing: 0.02em;
 }
 .nav-links a:hover, .nav-links a.active { color: var(--accent); background: none !important; box-shadow: none !important; }
 .header-cta { flex-direction: row; align-items: center; justify-content: center; margin-top: var(--space-lg); gap: var(--space-md); padding-top: var(--space-md); border-top: 1px solid rgba(255,255,255,0.08); }
 .header-cta .btn { justify-content: center; font-size: 0.85rem; padding: 0.6rem 1.2rem; }
 .header-phone { font-size: 0.85rem; }

 /* Hero mobile */
 .hero { min-height: auto; padding-bottom: var(--space-md); }
 .hero-content { grid-template-columns: 1.2fr 1fr; gap: var(--space-md); padding: var(--space-md) 0 var(--space-md); }
 .hero h1 { font-size: 1.6rem; }
 .hero-subtitle { font-size: 0.85rem; line-height: 1.6; margin-bottom: var(--space-md); }
 .hero-text { text-align: left; }
 .hero-subtitle { margin-left: 0; margin-right: 0; }
 .hero-badge { justify-content: flex-start; font-size: 0.62rem; margin-bottom: var(--space-sm); padding: 0.25rem 0.7rem; }
 .hero-buttons { flex-direction: row; align-items: flex-start; gap: var(--space-sm); }
 .hero-buttons .btn { justify-content: center; font-size: 0.8rem; padding: 0.65rem 1.2rem; }
 .hero-stats { display: flex; flex-direction: row; justify-content: flex-start; gap: var(--space-md); margin-bottom: 0; }
 .hero-stat-number { font-size: 1.4rem; }
 .hero-stat-label { font-size: 0.6rem; }
 .hero::after, .page-header::after { height: 30px; }
 .hero-visual { display: flex; }
 .hero-cards-stack { gap: var(--space-xs, 6px); }
 .hero-card--van { width: 100%; margin-right: 0; }
 .van-img { border-radius: var(--radius-lg); }
 .hero-card--review { padding: var(--space-sm) var(--space-md); }
 .hero-card--review p { font-size: 0.7rem; line-height: 1.4; margin-bottom: 3px; }
 .review-stars { font-size: 0.72rem; letter-spacing: 1px; margin-bottom: 3px; }
 .review-author { font-size: 0.65rem; }
 .hero-card--cert { padding: var(--space-xs, 6px) var(--space-sm); gap: var(--space-sm); }
 .cert-icon { width: 28px; height: 28px; font-size: 0.7rem; }
 .cert-text { font-size: 0.62rem; }

 .grid-2, .grid-3 { grid-template-columns: 1fr; }
 .testimonials-grid { grid-template-columns: 1fr; }
 .projects-grid { grid-template-columns: 1fr; }
 .blog-grid { grid-template-columns: 1fr; }
 .form-row, .calc-row { grid-template-columns: 1fr; }
 .values-grid { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: 1fr; }
 .trust-items { gap: var(--space-sm) var(--space-md); flex-wrap: wrap; justify-content: center; }
 .trust-item { font-size: 0.75rem; }
 .cta-buttons { flex-direction: column; align-items: center; }
 .cta-buttons .btn { width: 100%; max-width: 320px; }

 /* FABs - smaller on mobile */
 .floating-cta { bottom: var(--space-md); left: var(--space-sm); right: auto; }
 .fab { width: 48px; height: 48px; font-size: 1.1rem; }
 .fab--top { width: 38px; height: 38px; font-size: 0.85rem; }
 .cookie-banner { left: var(--space-md); right: var(--space-md); flex-direction: column; text-align: center; }
 .google-rating-badge { flex-wrap: wrap; justify-content: center; }
 #chatbot { bottom: 20px; left: auto; right: 12px; }
 #chatToggle { width: 48px; height: 48px; font-size: 1.2rem; }
}

@media (max-width: 480px) {
 .projects-grid, .team-grid, .cert-grid { grid-template-columns: 1fr; }
 .hero-content { grid-template-columns: 1fr; }
 .hero-text { text-align: center; }
 .hero-badge { justify-content: center; }
 .hero-buttons { flex-direction: column; align-items: center; }
 .hero-stats { justify-content: center; }
 .hero-subtitle { margin-left: auto; margin-right: auto; }
 .hero h1 { font-size: 1.55rem; }
 .hero-stat-number { font-size: 1.3rem; }
 .hero-stats { gap: var(--space-sm); }
 .hero-visual { display: none !important; }
 .hero-inline-img {
  display: block; margin: var(--space-md) auto var(--space-md);
  max-width: 65%; border-radius: var(--radius-xl); overflow: hidden;
 }
}

/* --- Print --- */
@media print {
 .site-header, .floating-cta, .cookie-banner, .urgency-banner, .scroll-progress { display: none !important; }
 .hero { min-height: auto; padding: var(--space-2xl) 0; }
 .section { padding: var(--space-xl) 0; }
 body { color: #000; background: #fff; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
 html { scroll-behavior: auto; }
 .reveal { opacity: 1; transform: none; }
}
