/* ========================================
   C & A Home Improvement - Global Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary-blue: #1e3a5f;
    --primary-orange: #c97e2c;
    --primary-orange-hover: #b06f25;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Header Styles
   ======================================== */

header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo-icon {
    font-size: 1.8rem;
}

.desktop-nav {
    display: none;
}

.desktop-nav a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 20px;
    transition: var(--transition);
}

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

.cta-button {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background-color: var(--white);
    padding: 20px;
    border-top: 1px solid var(--medium-gray);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 15px 0;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid var(--medium-gray);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-cta {
    background-color: var(--primary-orange);
    color: var(--white) !important;
    text-align: center;
    border-radius: 5px;
    margin-top: 15px;
    padding: 12px !important;
}

/* ========================================
   Footer Styles
   ======================================== */

footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding-top: 60px 0 0;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 20px 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-orange);
}

.contact-info li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
}

.social-links a:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-cta {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
}

.footer-cta:hover {
    background-color: var(--primary-orange-hover);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ========================================
   Button Styles
   ======================================== */

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    padding: 15px 30px;
    border: 2px solid var(--primary-blue);
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d5a8a 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.trust-line {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.trust-item span {
    font-size: 1.5rem;
}

/* ========================================
   Section Styles
   ======================================== */

.section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 50px;
}

.bg-light {
    background-color: var(--light-gray);
}

/* ========================================
   Services Grid
   ======================================== */

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-orange);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    text-decoration: underline;
}

/* ========================================
   About Section
   ======================================== */

.about-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-image {
    background-color: var(--medium-gray);
    border-radius: 10px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
}

/* ========================================
   Features/Diferenciais
   ======================================== */

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
}

/* ========================================
   Benefits Section
   ======================================== */

.benefits-list {
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.benefit-icon {
    font-size: 1.5rem;
    color: var(--primary-orange);
    flex-shrink: 0;
}

.benefit-content h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.benefit-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================
   Gallery (Before/After)
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.gallery-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.gallery-before,
.gallery-after {
    aspect-ratio: 1;
    background-color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.gallery-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 3px;
}

.gallery-info {
    padding: 20px;
}

.gallery-info h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.gallery-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* ========================================
   Testimonials
   ======================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.testimonial-info h4 {
    color: var(--primary-blue);
    font-size: 1rem;
}

.testimonial-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.reviews-widget-frame {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.reviews-widget-frame iframe {
    width: 100%;
    height: min(1000px, 86vh);
    min-height: 640px;
    border: 0;
    display: block;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #d98f3a 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background:
        linear-gradient(135deg, #ff9f3f 0%, #f07f22 48%, #c45f1f 100%);
    color: #ffffff !important;
}

.cta-section .btn-primary:hover {
    background:
        linear-gradient(135deg, #ffb15e 0%, #ff8c2c 46%, #d96b24 100%);
    color: #ffffff !important;
}

/* ========================================
   Form Styles
   ======================================== */

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(201, 126, 44, 0.1);
}

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

.form-submit {
    width: 100%;
    padding: 15px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

.form-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
}

.form-group.error .form-error {
    display: block;
}

/* ========================================
   Process Steps
   ======================================== */

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-light);
}

/* ========================================
   WhatsApp Floating Button
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 60px;
    min-width: 60px;
    height: 60px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background:
        linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 900;
    box-shadow: 0 18px 42px rgba(18, 140, 126, 0.34);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
    flex: 0 0 auto;
}

.whatsapp-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 52px rgba(18, 140, 126, 0.42);
}

/* ========================================
   Page Header (Title Sections)
   ======================================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d5a8a 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Service Detail Page
   ======================================== */

.service-detail {
    padding: 80px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-detail-header {
    text-align: center;
    margin-bottom: 50px;
}

.service-detail-header h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-detail-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.service-benefits {
    margin: 50px 0;
}

.service-benefits h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

/* ========================================
   Team & Equipment
   ======================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.team-photo {
    width: 150px;
    height: 150px;
    background-color: var(--medium-gray);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.team-member h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.team-member p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   Map Section
   ======================================== */

.map-container {
    max-width: var(--max-width);
    margin: 0 auto;
    background-color: var(--medium-gray);
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    color: var(--text-light);
}

.service-area-map {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: stretch;
    min-height: 520px;
    background:
        linear-gradient(90deg, rgba(184, 102, 45, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(24, 22, 20, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 32% 35%, rgba(242, 138, 46, 0.14), transparent 30%),
        #f5eee4;
    background-size: 32px 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(24, 22, 20, 0.08);
}

.service-area-map-visual {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background-color: #dce8e8;
}

.service-area-map-panel {
    margin: 24px;
    padding: 30px;
    align-self: center;
    background-color: rgba(255, 250, 242, 0.94);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.map-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--primary-orange);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-area-map-panel h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.08;
}

.service-area-map-panel p,
.service-area-note {
    color: var(--text-light);
}

.map-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 0;
}

.map-stats div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background-color: rgba(245, 238, 228, 0.72);
}

.map-stats strong,
.map-stats span {
    display: block;
}

.map-stats strong {
    color: var(--text-dark);
    font-size: 1.45rem;
    line-height: 1;
}

.map-stats span {
    margin-top: 6px;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.map-service-list {
    display: grid;
    gap: 10px;
    margin: 22px 0;
}

.map-service-list li {
    position: relative;
    padding-left: 22px;
    color: var(--text-dark);
    font-weight: 700;
}

.map-service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-orange);
}

.service-area-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 18px;
    border-radius: 4px;
    background-color: var(--black);
    color: var(--white);
    font-weight: 800;
    transition: var(--transition);
}

.service-area-link:hover {
    background-color: var(--primary-orange);
    transform: translateY(-2px);
}

.thumbtack-leaflet-map {
    position: absolute;
    inset: 0;
    min-height: 100%;
}

.satellite-map-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.thumbtack-leaflet-map .leaflet-control-attribution {
    font-size: 0.68rem;
}

.thumbtack-leaflet-map .leaflet-control-zoom a {
    color: var(--text-dark);
    font-weight: 800;
}

.thumbtack-map-marker {
    background: none;
    border: 0;
}

.thumbtack-map-marker span {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    border: 3px solid var(--white);
    border-radius: 50% 50% 50% 0;
    background-color: var(--primary-orange);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
    transform: rotate(-45deg);
}

.thumbtack-map-marker span::before {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background-color: var(--white);
}

.thumbtack-map-marker span::after {
    content: "";
    position: absolute;
    inset: -12px;
    border: 2px solid rgba(242, 138, 46, 0.42);
    border-radius: 50%;
}

.thumbtack-leaflet-map .leaflet-popup-content-wrapper {
    border-radius: 6px;
    background-color: rgba(255, 250, 242, 0.98);
    color: var(--text-dark);
    box-shadow: 0 18px 45px rgba(24, 22, 20, 0.22);
}

.thumbtack-leaflet-map .leaflet-popup-content {
    margin: 14px 16px;
    font-family: var(--font-family);
    line-height: 1.45;
}

.thumbtack-leaflet-map .leaflet-popup-content strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.thumbtack-leaflet-map .leaflet-popup-content span {
    color: var(--text-light);
}

.map-fallback-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: var(--text-dark);
    font-weight: 800;
}

/* ========================================
   Responsive Styles
   ======================================== */

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: 10px;
    }
    
    .hamburger {
        display: none;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .benefits-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .benefits-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Utility Classes
   ======================================== */

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

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* ========================================
   C & A Home Improvement Visual Refresh
   ======================================== */

:root {
    --primary-blue: #1c1916;
    --primary-orange: #f28a2e;
    --primary-orange-hover: #c46a25;
    --white: #ffffff;
    --light-gray: #f5efe6;
    --medium-gray: #d8c8b4;
    --dark-gray: #25211d;
    --text-dark: #1d1915;
    --text-light: #70675f;
    --line: #e5d8c8;
    --black: #181614;
    --charcoal: #25211d;
    --copper: #b8662d;
    --champagne: #f6d0a6;
    --ivory: #fff8ee;
    --shadow: 0 22px 70px rgba(24, 22, 20, 0.11);
    --shadow-hover: 0 28px 80px rgba(24, 22, 20, 0.18);
    --photo-kitchen-warm: url("https://images.unsplash.com/photo-1556912172-45b7abe8b7e1?auto=format&fit=crop&w=1600&q=80");
    --photo-kitchen-bright: url("https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?auto=format&fit=crop&w=1200&q=80");
    --photo-living-wood: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1600&q=80");
    --photo-renovated-room: url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1200&q=80");
    --photo-cozy-interior: url("https://images.unsplash.com/photo-1586023492125-27b2c045efd7?auto=format&fit=crop&w=1200&q=80");
}

body {
    background:
        linear-gradient(90deg, rgba(184, 102, 45, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(24, 22, 20, 0.025) 1px, transparent 1px),
        var(--ivory);
    background-size: 36px 36px;
}

header {
    background-color: rgba(255, 248, 238, 0.92);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    backdrop-filter: blur(18px);
}

.home-page header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    border-bottom: 1px solid rgba(246, 208, 166, 0.24);
    backdrop-filter: none;
}

.header-container {
    padding: 14px 20px;
}

.logo {
    gap: 14px;
    color: var(--text-dark);
}

.brand-logo-image {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--black);
    box-shadow: 0 10px 28px rgba(24, 22, 20, 0.16);
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--black), var(--copper));
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 0;
}

.logo-text {
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.desktop-nav a {
    color: #51483f;
    border-radius: 6px;
}

.desktop-nav a:hover {
    background-color: rgba(242, 138, 46, 0.1);
    color: var(--black);
}

.home-page .logo,
.home-page .desktop-nav a {
    color: var(--white);
}

.home-page .logo-icon {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(246, 208, 166, 0.28);
    color: var(--white);
}

.home-page .brand-logo-image {
    border: 1px solid rgba(246, 208, 166, 0.34);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.home-page .desktop-nav a:hover {
    background-color: rgba(242, 138, 46, 0.16);
    color: var(--champagne);
}

.home-page .hamburger span {
    background-color: var(--white);
}

.home-page .mobile-nav {
    background-color: rgba(24, 22, 20, 0.97);
    border-top: 1px solid rgba(246, 208, 166, 0.18);
}

.home-page .mobile-nav a {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.14);
}

.cta-button,
.mobile-cta,
.footer-cta,
.btn-primary,
.form-submit {
    position: relative;
    min-height: 48px;
    border: 1px solid rgba(255, 248, 238, 0.22);
    border-radius: 6px;
    background:
        linear-gradient(135deg, #ff9f3f 0%, #f07f22 48%, #c45f1f 100%);
    color: #ffffff !important;
    box-shadow:
        0 14px 30px rgba(196, 95, 31, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    text-shadow: 0 1px 1px rgba(24, 22, 20, 0.28);
    font-weight: 900;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    letter-spacing: 0;
}

.cta-button::before,
.mobile-cta::before,
.footer-cta::before,
.btn-primary::before,
.form-submit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0 28%, rgba(255, 255, 255, 0.26) 42%, transparent 58% 100%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
    z-index: -1;
}

.cta-button:hover,
.footer-cta:hover,
.btn-primary:hover,
.form-submit:hover {
    background:
        linear-gradient(135deg, #ffb15e 0%, #ff8c2c 46%, #d96b24 100%);
    transform: translateY(-3px);
    box-shadow:
        0 20px 46px rgba(196, 95, 31, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.cta-button:hover::before,
.mobile-cta:hover::before,
.footer-cta:hover::before,
.btn-primary:hover::before,
.form-submit:hover::before {
    transform: translateX(120%);
}

.cta-button:focus-visible,
.mobile-cta:focus-visible,
.footer-cta:focus-visible,
.btn-primary:focus-visible,
.form-submit:focus-visible,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible {
    outline: 3px solid rgba(246, 208, 166, 0.78);
    outline-offset: 3px;
}

.btn-secondary {
    min-height: 48px;
    border-radius: 6px;
    border-color: var(--black);
    background-color: rgba(255, 248, 238, 0.92);
    color: var(--black);
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(24, 22, 20, 0.08);
}

.btn-secondary:hover {
    border-color: var(--primary-orange);
    background-color: var(--black);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(24, 22, 20, 0.18);
}

.btn-ghost {
    display: inline-block;
    padding: 15px 24px;
    border: 1px solid rgba(255, 248, 238, 0.5);
    border-radius: 6px;
    background-color: rgba(255, 248, 238, 0.1);
    color: var(--white);
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.btn-ghost:hover {
    background-color: rgba(255, 248, 238, 0.18);
    border-color: rgba(246, 208, 166, 0.9);
    color: var(--champagne);
    transform: translateY(-3px);
}

.gallery-info .btn-primary,
.service-card .btn-primary,
.service-detail-card .btn-primary {
    padding: 12px 18px;
    min-height: 44px;
    font-size: 0.95rem;
}

.hero {
    position: relative;
    min-height: 100vh;
    padding: 130px 20px 90px;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: left;
    background:
        linear-gradient(120deg, rgba(24, 22, 20, 0.95), rgba(68, 45, 31, 0.78)),
        linear-gradient(135deg, var(--black), #3a2419);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 28%, rgba(242, 138, 46, 0.14), transparent 28%),
        linear-gradient(90deg, rgba(24, 22, 20, 0.9), rgba(24, 22, 20, 0.35) 54%, rgba(24, 22, 20, 0.68)),
        linear-gradient(0deg, rgba(24, 22, 20, 0.68), transparent 48%);
    z-index: 1;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

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

.hero-content {
    width: min(100%, var(--max-width));
    max-width: var(--max-width);
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    color: var(--champagne);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(2.6rem, 7vw, 5.6rem);
    line-height: 0.98;
    margin-bottom: 24px;
    letter-spacing: -0.045em;
}

.hero p {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 36px;
}

.trust-line {
    justify-content: flex-start;
    gap: 12px;
    margin-top: 0;
}

.trust-item {
    min-height: 72px;
    padding: 14px 16px;
    border: 1px solid rgba(246, 208, 166, 0.22);
    border-radius: 4px;
    background-color: rgba(255, 248, 238, 0.08);
    backdrop-filter: blur(10px);
}

.trust-item strong {
    color: var(--champagne);
    font-size: 1.05rem;
}

.trust-item span {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
}

.hero-contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-contact-strip span,
.hero-contact-strip a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(246, 208, 166, 0.22);
    border-radius: 999px;
    background-color: rgba(24, 22, 20, 0.28);
    color: rgba(255, 248, 238, 0.88);
    font-size: 0.88rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.hero-contact-strip a:hover {
    border-color: rgba(246, 208, 166, 0.58);
    color: var(--champagne);
}

.section {
    padding: 84px 20px;
}

.review-proof {
    padding: 62px 20px;
    background:
        linear-gradient(90deg, rgba(184, 102, 45, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(24, 22, 20, 0.035) 1px, transparent 1px),
        var(--ivory);
    background-size: 42px 42px;
    border-bottom: 1px solid var(--line);
}

.review-proof-header {
    max-width: 760px;
    margin-bottom: 30px;
}

.review-proof-header h2 {
    color: var(--text-dark);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.06;
    margin-bottom: 16px;
}

.review-proof-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.75;
}

.certification-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin: 0 0 26px;
}

.certification-badge {
    position: relative;
    min-height: 132px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background:
        linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(247, 236, 221, 0.88)),
        var(--white);
    box-shadow: 0 16px 38px rgba(24, 22, 20, 0.07);
    overflow: hidden;
    transition: var(--transition);
}

.certification-badge::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(242, 138, 46, 0.28);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(242, 138, 46, 0.18) 0 34%, transparent 36%),
        rgba(255, 248, 238, 0.8);
}

.certification-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 52px rgba(24, 22, 20, 0.12);
}

.certification-badge-primary {
    background:
        linear-gradient(135deg, rgba(24, 22, 20, 0.96), rgba(83, 48, 29, 0.88)),
        var(--black);
    color: var(--white);
}

.certification-badge-primary::after {
    border-color: rgba(246, 208, 166, 0.4);
    background:
        radial-gradient(circle, rgba(246, 208, 166, 0.28) 0 34%, transparent 36%),
        rgba(255, 248, 238, 0.08);
}

.cert-source {
    display: block;
    margin-bottom: 12px;
    color: var(--primary-orange);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.certification-badge-primary .cert-source {
    color: var(--champagne);
}

.certification-badge strong,
.certification-badge small {
    display: block;
    max-width: calc(100% - 54px);
}

.certification-badge strong {
    color: var(--text-dark);
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1;
}

.certification-badge-primary strong {
    color: var(--white);
}

.certification-badge small {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 0.88rem;
    font-weight: 700;
}

.certification-badge-primary small {
    color: rgba(255, 248, 238, 0.74);
}

.review-proof-grid {
    display: grid;
    gap: 16px;
}

.review-stat-card {
    min-height: 178px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background-color: rgba(255, 250, 242, 0.9);
}

.review-stat-card.featured {
    background:
        linear-gradient(135deg, rgba(24, 22, 20, 0.96), rgba(78, 45, 27, 0.9)),
        var(--photo-kitchen-warm) center / cover;
    color: var(--white);
}

.review-stat-card span {
    display: block;
    color: var(--primary-orange);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.review-stat-card.featured span {
    color: var(--champagne);
}

.review-stat-card strong {
    display: block;
    color: var(--text-dark);
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1;
    margin: 18px 0 12px;
}

.review-stat-card.featured strong,
.review-stat-card.featured p {
    color: var(--white);
}

.review-stat-card p {
    color: var(--text-light);
}

.company-proof-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.company-proof-list span {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background-color: rgba(255, 250, 242, 0.86);
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 700;
}

.section-title {
    color: var(--text-dark);
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
}

.bg-light {
    background-color: var(--light-gray);
}

.service-card,
.testimonial-card,
.gallery-item,
.benefit-item,
.form-container {
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 16px 45px rgba(24, 22, 20, 0.055);
}

.service-card {
    position: relative;
    overflow: hidden;
    text-align: left;
    padding: 28px;
    background:
        linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(249, 239, 225, 0.82)),
        var(--white);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--copper), var(--black));
}

.service-card:hover,
.gallery-item:hover {
    transform: translateY(-4px);
}

.service-icon,
.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(242, 138, 46, 0.12);
    color: var(--copper);
    font-size: 0.78rem;
    font-weight: 800;
}

.service-card h3,
.feature-card h3,
.benefit-content h4,
.gallery-info h3,
.testimonial-info h4 {
    color: var(--text-dark);
}

.service-link {
    color: var(--primary-orange);
}

.home-services-section {
    padding: 76px 20px;
    background:
        linear-gradient(90deg, rgba(184, 102, 45, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(24, 22, 20, 0.035) 1px, transparent 1px),
        var(--ivory);
    background-size: 42px 42px;
}

.home-services-section .container {
    max-width: 1320px;
}

.home-services-layout {
    display: grid;
    gap: 34px;
    align-items: start;
}

.home-services-intro {
    position: sticky;
    top: 98px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background:
        linear-gradient(145deg, rgba(24, 22, 20, 0.96), rgba(83, 48, 29, 0.92)),
        var(--black);
    color: var(--white);
    box-shadow: var(--shadow);
}

.home-services-intro h2 {
    max-width: 520px;
    color: var(--white);
    font-size: clamp(2.1rem, 4vw, 3.45rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
}

.home-services-intro p {
    max-width: 520px;
    color: rgba(255, 248, 238, 0.76);
    font-size: 1.02rem;
    line-height: 1.72;
    margin-bottom: 24px;
}

.service-proof-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.service-proof-strip span {
    padding: 8px 10px;
    border: 1px solid rgba(246, 208, 166, 0.22);
    border-radius: 999px;
    color: var(--champagne);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.home-services-intro .btn-secondary {
    border-color: rgba(255, 248, 238, 0.22);
    background:
        linear-gradient(135deg, #ff9f3f 0%, #f07f22 48%, #c45f1f 100%);
    color: var(--white);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    text-shadow: 0 1px 1px rgba(24, 22, 20, 0.28);
}

.home-services-intro .btn-secondary:hover {
    background:
        linear-gradient(135deg, #ffb15e 0%, #ff8c2c 46%, #d96b24 100%);
    border-color: rgba(255, 248, 238, 0.34);
    color: var(--white);
    box-shadow:
        0 20px 46px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.home-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: none;
    margin: 0;
    min-height: 0;
    opacity: 1;
    visibility: visible;
}

.home-services-grid .service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 188px;
    padding: 24px;
    opacity: 1;
    visibility: visible;
}

.home-services-grid .service-card .service-link {
    margin-top: auto;
}

.home-services-grid .service-card:nth-child(1) {
    background:
        linear-gradient(135deg, rgba(24, 22, 20, 0.9), rgba(121, 70, 38, 0.72)),
        var(--photo-living-wood) center / cover;
    color: var(--white);
}

.home-services-grid .service-card:nth-child(1) h3,
.home-services-grid .service-card:nth-child(1) p,
.home-services-grid .service-card:nth-child(1) .service-link {
    color: var(--white);
}

.home-services-grid .service-card:nth-child(1) .service-icon {
    background-color: rgba(255, 248, 238, 0.14);
    color: var(--champagne);
}

.about-content {
    gap: 58px;
}

.about-text h2 {
    color: var(--text-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background:
        linear-gradient(135deg, rgba(24, 22, 20, 0.86), rgba(70, 42, 25, 0.28)),
        var(--photo-kitchen-warm) center / cover;
    box-shadow: var(--shadow);
}

.about-image-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 18px;
    border-radius: 4px;
    background-color: rgba(255, 248, 238, 0.94);
    text-align: left;
}

.about-image-caption span {
    display: block;
    color: var(--primary-orange);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.about-image-caption strong {
    color: var(--text-dark);
}

.about-story-section {
    background:
        linear-gradient(90deg, rgba(184, 102, 45, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(24, 22, 20, 0.035) 1px, transparent 1px),
        var(--ivory);
    background-size: 42px 42px;
}

.story-layout {
    display: grid;
    gap: 34px;
    max-width: 1120px;
    margin: 0 auto;
}

.story-kicker {
    align-self: start;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background-color: rgba(255, 250, 242, 0.9);
}

.story-kicker span {
    display: block;
    color: var(--primary-orange);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.story-kicker strong {
    display: block;
    margin-top: 8px;
    color: var(--text-dark);
    font-size: 1.35rem;
    line-height: 1.18;
}

.story-copy {
    max-width: 780px;
}

.story-copy h2 {
    color: var(--text-dark);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.02;
    margin-bottom: 28px;
}

.story-copy p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.82;
    margin-bottom: 20px;
}

.story-copy .story-closing {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--text-dark);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.35;
}

.services-intro-section {
    background:
        linear-gradient(90deg, rgba(184, 102, 45, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(24, 22, 20, 0.035) 1px, transparent 1px),
        var(--ivory);
    background-size: 42px 42px;
}

.services-intro {
    max-width: 860px;
    margin-bottom: 54px;
}

.eyebrow-dark {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--primary-orange);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.services-intro h2 {
    color: var(--text-dark);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.04;
    margin-bottom: 22px;
}

.services-intro p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.service-detail-list {
    display: grid;
    gap: 18px;
}

.service-detail-card {
    display: grid;
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background-color: rgba(255, 250, 242, 0.92);
}

.service-number {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--black), var(--copper));
    color: var(--white);
    font-size: 0.86rem;
    font-weight: 800;
}

.service-detail-copy h2 {
    color: var(--text-dark);
    font-size: clamp(1.65rem, 3vw, 2.6rem);
    line-height: 1.08;
    margin-bottom: 8px;
}

.service-detail-copy h3 {
    color: var(--primary-orange);
    font-size: 1rem;
    margin-bottom: 18px;
}

.service-detail-copy p {
    color: var(--text-light);
    line-height: 1.78;
    margin-bottom: 14px;
}

.service-detail-copy .service-note {
    margin-top: 18px;
    margin-bottom: 0;
    color: var(--text-dark);
    font-weight: 800;
}

.contact-section {
    background:
        linear-gradient(90deg, rgba(184, 102, 45, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(24, 22, 20, 0.035) 1px, transparent 1px),
        var(--ivory);
    background-size: 42px 42px;
}

.contact-layout {
    display: grid;
    gap: 38px;
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
}

.contact-intro {
    max-width: 560px;
}

.contact-intro h2 {
    color: var(--text-dark);
    font-size: clamp(2.1rem, 5vw, 3.7rem);
    line-height: 1.04;
    margin-bottom: 22px;
}

.contact-intro p {
    color: var(--text-light);
    font-size: 1.06rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.form-heading {
    margin-bottom: 28px;
}

.form-heading h2 {
    color: var(--text-dark);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.12;
    margin-bottom: 10px;
}

.form-heading p {
    color: var(--text-light);
}

.estimate-hero {
    min-height: calc(100vh - 72px);
    padding: 72px max(20px, calc((100vw - var(--max-width)) / 2));
    display: grid;
    gap: 42px;
    align-items: start;
    background:
        linear-gradient(120deg, rgba(24, 22, 20, 0.96), rgba(86, 48, 28, 0.76)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 64px),
        var(--photo-kitchen-warm) center / cover,
        var(--black);
}

.estimate-hero-copy {
    color: var(--white);
    max-width: 640px;
}

.estimate-hero-copy h1 {
    font-size: clamp(2.7rem, 6.5vw, 5.4rem);
    line-height: 0.98;
    margin-bottom: 22px;
}

.estimate-hero-copy p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
    line-height: 1.75;
}

.estimate-trust-grid {
    display: grid;
    gap: 12px;
    margin-top: 34px;
}

.estimate-trust-grid div {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.08);
}

.estimate-trust-grid strong {
    display: block;
    color: var(--champagne);
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.estimate-trust-grid span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.45;
}

.estimate-form {
    width: 100%;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.form-row {
    display: grid;
    gap: 18px;
}

.sms-consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 6px 0 22px;
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.5;
}

.sms-consent input {
    margin-top: 3px;
    accent-color: var(--primary-orange);
}

.estimate-process-section {
    background-color: var(--light-gray);
}

/* ========================================
   Estimate Wizard
   ======================================== */

.estimate-wizard-body {
    background: #ffffff;
}

.estimate-wizard-body header,
.estimate-wizard-body #footer,
.estimate-wizard-body .whatsapp-float {
    display: none;
}

.estimate-wizard-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}

.wizard-form {
    width: min(100%, 496px);
}

.wizard-progress {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(100%, 460px);
    margin: 0 auto 52px;
}

.wizard-progress-line {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 50%;
    height: 6px;
    background-color: #d9d9d9;
    transform: translateY(-50%);
}

.wizard-step-dot {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    border: 3px solid #d9d9d9;
    border-radius: 50%;
    background-color: #ffffff;
    color: #050b16;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.wizard-step-dot.active,
.wizard-step-dot.complete {
    border-color: #ead8b8;
    background-color: #ead8b8;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.wizard-step h1 {
    color: #050b16;
    font-size: clamp(1.8rem, 5vw, 2rem);
    line-height: 1.28;
    margin-bottom: 48px;
}

.wizard-grid {
    display: grid;
    gap: 16px;
}

.wizard-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wizard-form .form-group {
    margin-bottom: 20px;
}

.wizard-form .form-group label {
    color: #050b16;
    font-weight: 800;
    margin-bottom: 26px;
}

.wizard-form .form-group input,
.wizard-form .form-group select,
.wizard-form .form-group textarea {
    min-height: 56px;
    border: 0;
    border-radius: 9px;
    background-color: #eaf2ff;
    color: #071120;
    padding: 16px 20px;
}

.wizard-step[data-step="3"] .form-group input {
    background-color: #d9d9d9;
}

.wizard-form .form-group textarea {
    min-height: 132px;
}

.wizard-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 36px;
}

.wizard-btn {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.wizard-btn:hover {
    transform: translateY(-1px);
}

.wizard-btn-back {
    background-color: #333333;
    font-size: 1.5rem;
}

.wizard-btn-back:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.wizard-btn-next,
.wizard-btn-submit {
    background-color: #4a2a1f;
}

.wizard-btn-submit {
    display: none;
}

.wizard-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.wizard-image-card {
    position: relative;
    min-height: 160px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 18px 12px;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    isolation: isolate;
    background-color: #332720;
}

.wizard-image-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.wizard-image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.82));
}

.wizard-image-card:hover::before {
    transform: scale(1.04);
}

.wizard-image-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wizard-image-card strong {
    font-size: 1rem;
    line-height: 1.3;
}

.choice-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.32);
}

.wizard-image-card input:checked + .choice-check {
    background-color: #d8a74f;
}

.wizard-image-card input:checked + .choice-check::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 5px;
    border-left: 2px solid #050b16;
    border-bottom: 2px solid #050b16;
    top: 7px;
    left: 6px;
    transform: rotate(-45deg);
}

.image-install::before {
    background-image: var(--photo-kitchen-bright);
}

.image-refinish::before {
    background-image: var(--photo-cozy-interior);
}

.image-repair::before {
    background-image: var(--photo-renovated-room);
}

.wizard-choice-error {
    display: none;
    margin-top: 14px;
    color: #dc3545;
    font-size: 0.9rem;
    font-weight: 700;
}

.wizard-choice-error.active {
    display: block;
}

.wizard-option-list {
    display: grid;
    gap: 16px;
}

.wizard-option-row {
    min-height: 80px;
    padding: 20px 28px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: #fbfaf8;
    cursor: pointer;
    transition: var(--transition);
}

.wizard-option-row:hover {
    transform: translateY(-1px);
    background-color: #f7f3ec;
}

.wizard-option-row input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #333333;
    flex: 0 0 auto;
}

.wizard-option-row input:checked + .option-dot {
    background-color: #ead8b8;
    box-shadow: inset 0 0 0 5px #333333;
}

.wizard-option-row strong {
    color: #050b16;
    font-size: 1rem;
    line-height: 1.35;
}

.wizard-summary {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 26px;
}

.wizard-review-card {
    padding: 20px;
    border-radius: 10px;
    background-color: #eaf2ff;
}

.wizard-review-card strong,
.wizard-review-card span {
    display: block;
}

.wizard-review-card strong {
    color: #050b16;
    margin-bottom: 8px;
}

.wizard-review-card span {
    color: var(--text-light);
    line-height: 1.6;
}

.wizard-consent {
    margin-bottom: 22px;
}

.wizard-step[data-step="4"] .form-group textarea {
    min-height: 192px;
    background-color: #d9d9d9;
}

.wizard-final-panel.final-panel-hidden {
    display: none;
}

.wizard-consent-copy {
    color: #1f2a36;
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 36px;
}

.wizard-privacy-consent {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.wizard-privacy-consent input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.privacy-check {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ead8b8;
    flex: 0 0 auto;
}

.privacy-check::after {
    content: "";
    width: 12px;
    height: 7px;
    border-left: 2px solid #050b16;
    border-bottom: 2px solid #050b16;
    transform: rotate(-45deg);
}

.wizard-privacy-consent input:not(:checked) + .privacy-check {
    background-color: #f4f0e8;
}

.wizard-privacy-consent input:not(:checked) + .privacy-check::after {
    opacity: 0;
}

.wizard-privacy-consent strong {
    color: #050b16;
    font-size: 0.98rem;
    line-height: 1.45;
}

.thank-you-page {
    min-height: calc(100vh - 80px);
    display: grid;
    align-content: center;
    gap: 64px;
    padding: 80px max(20px, calc((100vw - var(--max-width)) / 2));
    background-color: var(--ivory);
    background-image:
        linear-gradient(90deg, rgba(255, 248, 238, 0.94), rgba(255, 248, 238, 0.72)),
        linear-gradient(90deg, rgba(184, 102, 45, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(24, 22, 20, 0.025) 1px, transparent 1px),
        var(--photo-cozy-interior);
    background-repeat: no-repeat, repeat, repeat, no-repeat;
    background-size: 100% 100%, 44px 44px, 44px 44px, cover;
    background-position: center, center, center, right center;
}

.thank-you-content {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-content h1 {
    color: var(--text-dark);
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    margin: 10px 0 20px;
}

.thank-you-content p {
    color: var(--text-light);
    font-size: 1.06rem;
    line-height: 1.7;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.thank-you-links {
    display: grid;
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.thank-you-links h3 {
    color: var(--text-dark);
    margin-bottom: 16px;
}

.thank-you-links a {
    display: block;
    color: var(--text-light);
    margin-bottom: 10px;
}

.thank-you-links a:hover {
    color: var(--primary-orange);
}

.features-grid {
    align-items: stretch;
}

.feature-card {
    border-left: 1px solid var(--line);
    text-align: left;
}

.benefits-list {
    display: grid;
    gap: 16px;
    max-width: 980px;
}

.benefit-item {
    margin-bottom: 0;
    box-shadow: none;
}

.benefit-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(242, 138, 46, 0.12);
    color: var(--copper);
    font-size: 1rem;
}

.gallery-item {
    background-color: var(--white);
}

.gallery-before,
.gallery-after {
    position: relative;
    overflow: hidden;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 14px;
    color: var(--white);
}

.gallery-before {
    background:
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5)),
        repeating-linear-gradient(45deg, #75685d 0 16px, #65594f 16px 32px);
}

.gallery-after {
    background:
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.36)),
        repeating-linear-gradient(90deg, #c49a6c 0 38px, #e0b786 38px 42px, #a9794e 42px 80px);
}

.gallery-item:nth-child(1) .gallery-after {
    background:
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4)),
        var(--photo-kitchen-bright) center / cover;
}

.gallery-item:nth-child(2) .gallery-after {
    background:
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4)),
        var(--photo-living-wood) center / cover;
}

.gallery-item:nth-child(3) .gallery-after {
    background:
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4)),
        var(--photo-renovated-room) center / cover;
}

.gallery-before span,
.gallery-after span {
    padding: 6px 10px;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.45);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.testimonial-card {
    background:
        linear-gradient(180deg, #fffaf2, #f7ecdd);
}

.testimonial-avatar {
    border-radius: 4px;
    background-color: var(--black);
}

.cta-section {
    background:
        linear-gradient(120deg, rgba(24, 22, 20, 0.96), rgba(184, 102, 45, 0.88)),
        repeating-linear-gradient(90deg, rgba(246, 208, 166, 0.16) 0 1px, transparent 1px 58px);
}

footer {
    background:
        linear-gradient(180deg, #25211d, #181614);
    padding-top: 0;
}

.social-links a {
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
}

.page-header {
    background:
        linear-gradient(120deg, rgba(24, 22, 20, 0.96), rgba(86, 48, 28, 0.76)),
        repeating-linear-gradient(90deg, rgba(246, 208, 166, 0.1) 0 1px, transparent 1px 52px);
}

@media (max-width: 767px) {
    .brand-logo-image {
        width: 46px;
        height: 46px;
    }

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

    .cta-button {
        display: none;
    }

    .hero {
        padding: 112px 20px 56px;
    }

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

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

    .hero-actions a {
        text-align: center;
    }

    .trust-line {
        display: grid;
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 58px;
        min-width: 58px;
        height: 58px;
        padding: 0;
        border-radius: 50%;
    }

    .whatsapp-float span {
        display: none;
    }

    .estimate-wizard-page {
        align-items: flex-start;
        padding-top: 34px;
    }

    .wizard-progress {
        margin-bottom: 42px;
    }

    .wizard-step-dot {
        width: 44px;
        height: 44px;
    }

    .wizard-grid.two,
    .wizard-card-grid,
    .wizard-actions {
        grid-template-columns: 1fr;
    }

    .wizard-card-grid {
        gap: 14px;
    }

    .service-area-map {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .service-area-map-visual {
        min-height: 360px;
    }

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

    .service-area-map-panel {
        margin: 12px;
        padding: 22px;
    }

    .thank-you-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
}

@media (min-width: 768px) {
    .hero {
        grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
        align-items: center;
        padding-left: max(20px, calc((100vw - var(--max-width)) / 2));
        padding-right: max(20px, calc((100vw - var(--max-width)) / 2));
    }

    .story-layout {
        grid-template-columns: 280px minmax(0, 1fr);
        align-items: start;
    }

    .service-detail-card {
        grid-template-columns: 84px minmax(0, 1fr);
        padding: 34px;
    }

    .contact-layout {
        grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1fr);
    }

    .estimate-hero {
        grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
        align-items: center;
    }

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

    .form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .review-proof-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .home-services-layout {
        grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    }

    .home-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-services-grid .service-card:nth-child(1) {
        grid-column: span 2;
    }
}
