/* =========================================
   PROSSEG DESIGN SYSTEM - Custom CSS
   ========================================= */

:root {
    /* Brand Colors based on Logo */
    --primary-color: #b52222; /* Red from the "P" logo */
    --primary-hover: #9c1b1b;
    --secondary-color: #2b2b2b; /* Dark Grey from "PROSSEG" text */
    --secondary-hover: #1a1a1a;
    
    /* Neutral Colors */
    --bg-light: #ffffff;
    --bg-gray: #f7f9fc;
    --text-dark: #222222;
    --text-muted: #666666;
    --border-color: #e2e8f0;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    
    /* Spacing & Utilities */
    --container-width: 1200px;
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 30px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--secondary-color);
}

h2 span, h1 span {
    color: var(--primary-color);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff4d4d);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(181, 34, 34, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(181, 34, 34, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0,0,0,0.02);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 60px;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu a:not(.btn) {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

/* Modern Animated Underline */
.nav-menu a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), #ff4d4d);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:not(.btn):hover {
    color: var(--primary-color);
}

.nav-menu a:not(.btn):hover::after {
    width: 100%;
}

.nav-menu a.btn {
    color: #fff;
    padding: 0.6rem 1.8rem; /* Smaller padding for header */
    margin-left: 0.5rem;
    display: inline-block;
    position: relative;
    top: -6px; /* Nudge button up manually to fix clipping */
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #111 100%);
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('assets/images/home4.png'); /* Use local image */
    background-size: cover;
    background-position: center;
    opacity: 0.6; /* Reveal the city image */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.9); /* Strong shadow for readability */
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 800;
}

.hero-years {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero-years span {
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.5;
}

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

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    text-transform: uppercase;
}

/* =========================================
   EXPERIENCE BANNER
   ========================================= */
.experience-banner {
    background: linear-gradient(to bottom, #ffffff, #f0f2f5);
    padding: 4rem 0;
    text-align: center;
}

.exp-title {
    font-size: 2.5rem;
    color: #1a2a3a; /* Dark navy/grey from the original image */
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.exp-years {
    font-size: 6rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.exp-subtitle {
    font-size: 1.5rem;
    color: #667080;
    font-weight: 300;
}

/* =========================================
   HIGHLIGHTS (Features bar)
   ========================================= */
.highlights {
    background: linear-gradient(145deg, #2b2b2b 0%, #1a1a1a 100%);
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
    margin-top: -60px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.highlight-item {
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-item i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ff4d4d, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 8px 15px rgba(181, 34, 34, 0.3));
}

.highlight-item h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.highlight-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* =========================================
   PROCESS & FEATURED CARDS
   ========================================= */
.process-featured {
    padding: 6rem 0 8rem 0;
    background-color: var(--bg-gray);
    background-image: radial-gradient(#d1d5db 1px, transparent 1px);
    background-size: 24px 24px; /* Subtle dot pattern for a tech feel */
}

.pf-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: stretch; /* Center them vertically if they have different heights */
}

.pf-card {
    padding: 4rem 3.5rem;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.pf-card:hover {
    transform: translateY(-10px);
}

.pf-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.pf-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Card 1: White Premium */
.pf-white {
    background-color: #ffffff;
    color: var(--text-muted);
    box-shadow: 0 25px 50px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.pf-white .pf-icon {
    background: linear-gradient(135deg, var(--primary-color), #ff4d4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 8px 15px rgba(181, 34, 34, 0.25));
}

.pf-white .pf-title {
    color: var(--secondary-color);
}

.pf-white p {
    margin-bottom: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Card 2: Dark Modern */
.pf-primary {
    background: linear-gradient(145deg, #22252a 0%, #15171a 100%);
    color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pf-primary::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(181,34,34,0.15) 0%, rgba(181,34,34,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.pf-primary > * {
    position: relative;
    z-index: 1;
}

.pf-primary .pf-icon {
    color: #ff4d4d;
    text-shadow: 0 0 25px rgba(255, 77, 77, 0.4);
}

.pf-primary .pf-title {
    color: #ffffff;
}

.pf-primary p {
    font-weight: 300;
    font-size: 1.15rem;
    line-height: 1.7;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
    padding: 8rem 0;
    background-color: var(--bg-gray);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.service-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color), #ff4d4d);
    color: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(181, 34, 34, 0.25);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 25px rgba(181, 34, 34, 0.4);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-weight: 800;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-card a.btn {
    align-self: flex-start;
    margin-top: auto !important;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
    padding: 6rem 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(181,34,34,0.03) 0%, rgba(181,34,34,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    position: relative;
}

/* Decorative border behind the image */
.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(181, 34, 34, 0.2);
    border-radius: 24px;
    z-index: 0;
    transition: all 0.5s ease;
}

.about-image:hover::before {
    transform: translate(-10px, 10px);
    border-color: rgba(181, 34, 34, 0.4);
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    z-index: 1;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: #1a1c20;
    color: #fff;
    padding: 6rem 0 2rem 0;
    border-top: 4px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr; /* Better distribution */
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    max-height: 70px;
    width: auto;
    margin-bottom: 1.5rem;
    background-color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: block;
}

.footer-info p {
    color: #a0aab5;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 0.95rem;
    max-width: 90%;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    transition: all var(--transition-speed) ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(181, 34, 34, 0.4);
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #fff;
    position: relative;
    padding-bottom: 0.8rem;
    font-weight: 800;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #a0aab5;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start; /* Fixes alignment for wrapping text */
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    color: #a0aab5;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.3rem;
    width: 20px;
    text-align: center;
    margin-top: 3px; /* Aligns icon with first line of text */
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #6c757d;
    font-size: 0.9rem;
}

/* =========================================
   SERVICE DETAILS PAGE
   ========================================= */
.service-page-layout {
    padding: 10rem 0 6rem;
    background-color: #ffffff;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.service-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-page-title {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.service-page-subtitle {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 4rem;
    line-height: 1.5;
}

.service-page-text {
    font-size: 1.6rem;
    color: #3b4252;
    font-weight: 600;
    line-height: 1.4;
}

.service-page-image img {
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: contain;
}

/* =========================================
   TIMELINE SECTION
   ========================================= */
.cftv-timeline-section {
    padding: 6rem 0;
    background-color: #f8fafc;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-center-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    z-index: 2;
    box-shadow: 0 0 0 10px rgba(220, 38, 38, 0.08);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 4rem;
    box-sizing: border-box;
    z-index: 2;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 70px;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border: 4px solid #fff;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-item.left .timeline-dot {
    right: -10px;
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

.timeline-connector {
    position: absolute;
    top: 79px;
    width: 30px;
    height: 2px;
    border-top: 2px dotted var(--primary-color);
    z-index: 1;
}

.timeline-item.left .timeline-connector {
    right: 15px;
}

.timeline-item.right .timeline-connector {
    left: 15px;
}

.timeline-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    padding: 0;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    max-width: 450px;
    text-align: left;
    border: 1px solid #f1f5f9;
}

.timeline-content img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.timeline-content h2 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin: 1.5rem 1.5rem 1rem;
}

.timeline-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    margin: 0 1.5rem 1.5rem;
}

.cftv-benefits {
    margin: 0 1.5rem 1.5rem;
    padding: 0;
    list-style: none;
}

.cftv-benefits li {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    color: #475569;
}

.cftv-benefits li i {
    color: var(--primary-color);
    margin-top: 4px;
    margin-right: 0.8rem;
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* =========================================
   QUOTE / CONTACT SECTION
   ========================================= */
.quote-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.quote-header {
    margin-bottom: 4rem;
}

.quote-header h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.quote-header p {
    font-size: 1rem;
    color: #666;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.quote-form-container {
    display: flex;
    flex-direction: column;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
    color: white;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: none;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #1da851 0%, #15823e 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.block-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.form-divider {
    text-align: center;
    margin: 1.5rem 0;
    color: #64748b;
    font-size: 0.95rem;
}

.quote-form .form-group {
    margin-bottom: 1.5rem;
}

.quote-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
}

.quote-form .required {
    color: var(--primary-color);
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #f8fafc;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #0f172a;
    transition: all 0.3s ease;
}

.quote-form input:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.quote-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    .highlights-grid {
        grid-template-columns: 1fr;
        padding: 0 2rem;
    }
    .highlights {
        margin-top: 0;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .pf-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .service-page-title {
        font-size: 3rem;
    }

    .cftv-detail-block {
        padding: 2rem;
    }

    .timeline-line {
        left: 30px;
    }
    
    .timeline-center-icon {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 20px;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left {
        text-align: left;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 20px;
    }

    .timeline-item.left .timeline-connector,
    .timeline-item.right .timeline-connector {
        left: 45px;
    }

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

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-light);
        box-shadow: var(--shadow-sm);
        padding: 2rem;
        transform: translateY(-150%);
        transition: transform var(--transition-speed) ease;
        opacity: 0;
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero {
        margin-top: 70px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-cta {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials {
    padding: 8rem 0;
    background-color: #f9fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.quote-icon {
    font-size: 1.5rem;
    color: #cbd5e1;
    margin-right: 8px;
    vertical-align: text-top;
}

.testimonial-text {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.8;
    flex-grow: 1;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.testimonial-author-name {
    color: #94a3b8;
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #22c55e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stars {
    color: #fbbf24;
    font-size: 1.1rem;
    display: flex;
    gap: 0.2rem;
}

/* =========================================
   FLOATING WHATSAPP BUTTON
   ========================================= */
.floating-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: #FFF;
}

/* =========================================
   GOOGLE REVIEW BUTTON
   ========================================= */
.btn-google-review {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: rgba(255,255,255,0.05);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-google-review i {
    font-size: 1.2rem;
}

.btn-google-review:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(181, 34, 34, 0.4);
    color: #fff;
}

/* =========================================
   SIMULADOR / ORÇAMENTO ONLINE
   ========================================= */

.page-header {
    padding: 12rem 0 4rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #111 100%);
    color: #fff;
}

.page-header h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.page-header h1 span {
    color: var(--primary-color);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.quote-section {
    padding: 4rem 0 8rem;
    background-color: var(--bg-gray);
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    padding: 3rem;
    border: 1px solid rgba(0,0,0,0.04);
}

/* Wizard Progress */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    padding: 0 2rem;
}

.wizard-progress .step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
    transition: all 0.3s ease;
}

.wizard-progress .step.active {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(181,34,34,0.2);
}

.wizard-progress .step.completed {
    background-color: var(--secondary-color);
    color: #fff;
}

.wizard-progress .step-line {
    flex-grow: 1;
    height: 4px;
    background-color: #e2e8f0;
    margin: 0 10px;
    z-index: 1;
}

/* Wizard Form */
.wizard-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

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

.wizard-step h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.wizard-step h2 i {
    color: var(--primary-color);
}

.step-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Selection Cards */
.selection-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.selection-cards.multi {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card-radio input[type="radio"],
.card-checkbox input[type="checkbox"] {
    display: none;
}

.card-content {
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.card-content i {
    font-size: 2.5rem;
    color: #a0aec0;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.card-content h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

.card-radio input[type="radio"]:checked + .card-content,
.card-checkbox input[type="checkbox"]:checked + .card-content {
    border-color: var(--primary-color);
    background-color: rgba(181, 34, 34, 0.05);
    box-shadow: 0 10px 20px rgba(181, 34, 34, 0.1);
}

.card-radio input[type="radio"]:checked + .card-content i,
.card-checkbox input[type="checkbox"]:checked + .card-content i {
    color: var(--primary-color);
}

.card-content:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(181, 34, 34, 0.1);
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group.half {
    flex: 1;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Actions */
.step-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.step-actions.split {
    justify-content: space-between;
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: var(--text-dark);
}

.btn-outline-dark:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    border: none;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    .quote-container {
        padding: 2rem 1.5rem;
    }
    
    .wizard-progress {
        padding: 0;
    }
}

/* =========================================
   TRABALHE CONOSCO
   ========================================= */

.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.file-upload-wrapper:hover {
    border-color: var(--primary-color);
    background-color: rgba(181, 34, 34, 0.02);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.file-upload-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

.file-upload-visual i {
    font-size: 2.5rem;
    color: #a0aec0;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.file-upload-wrapper:hover .file-upload-visual i {
    color: var(--primary-color);
}

.file-upload-visual span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

