/* ==========================================================================
   POINTER AUTOPEÇAS - RESTRUCTURED STYLE SHEET & DESIGN SYSTEM
   Base Color: #151D5C (Logo Navy Blue)
   Accent Color: #E77E23 (Automotive Orange)
   ========================================================================== */

/* 1. Design Tokens & CSS Variables */
:root {
    /* Color Palette */
    --primary: hsl(233, 63%, 22%);       /* #151D5C */
    --primary-light: hsl(233, 50%, 35%);
    --primary-dark: hsl(233, 70%, 12%);
    --primary-rgb: 21, 29, 92;
    
    --accent: #E77E23;                    /* HSL: 28, 80%, 52% */
    --accent-hover: #d36c12;
    --accent-rgb: 231, 126, 35;
    
    --bg-light: hsl(210, 20%, 97%);
    --bg-card: hsl(0, 0%, 100%);
    --bg-dark: hsl(233, 60%, 10%);
    
    --text-dark: hsl(210, 24%, 15%);
    --text-light: hsl(210, 14%, 42%);
    --text-white: #ffffff;
    
    --border: hsl(210, 14%, 88%);
    --border-focus: hsl(233, 63%, 45%);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(21, 29, 92, 0.08), 0 4px 6px -2px rgba(21, 29, 92, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(21, 29, 92, 0.12), 0 10px 10px -5px rgba(21, 29, 92, 0.06);
    --shadow-hover: 0 25px 40px -10px rgba(21, 29, 92, 0.22);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Borders & Radius */
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Custom Reset & Base Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.25;
}

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

ul {
    list-style: none;
}

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

.text-danger {
    color: #e74c3c !important;
}


/* 3. Utility Components (Buttons, Headers) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
}

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

.btn-accent {
    background-color: var(--accent);
    color: var(--text-white);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(231, 126, 35, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 30px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Section Header Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-header {
    margin-bottom: 50px;
    max-width: 650px;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

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

/* ==========================================================================
   4. TOP BAR
   ========================================================================== */
.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-item i {
    color: var(--accent);
    font-size: 0.7rem;
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.65rem;
}

.top-bar-link {
    color: rgba(255, 255, 255, 0.8);
}

.top-bar-link:hover {
    color: var(--accent);
}

.top-bar-social {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: var(--transition);
}

.top-bar-social:hover {
    color: var(--accent);
    transform: scale(1.15);
}

/* ==========================================================================
   5. HEADER / NAVIGATION
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(21, 29, 92, 0.08);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-wrapper {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-light);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.header-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary);
    line-height: 1;
}

.brand-sub {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.68rem;
    color: var(--accent);
    letter-spacing: 3.5px;
    line-height: 1.2;
}

/* Rede Âncora Badge in Header */
.header-separator {
    width: 1px;
    height: 32px;
    background-color: var(--border);
}

.ancora-badge {
    display: flex;
    align-items: center;
    opacity: 0.75;
    transition: var(--transition);
}

.ancora-badge:hover {
    opacity: 1;
}

.ancora-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-dark);
    opacity: 0.85;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
    opacity: 1;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Toggle (Hidden on desktop) */
.mobile-menu-toggle {
    display: none;
}

/* ==========================================================================
   6. HERO SECTION (60/40 Split)
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    min-height: 80vh;
    background-color: var(--primary-dark);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 30%, rgba(231, 126, 35, 0.12) 0%, transparent 50%),
                linear-gradient(135deg, var(--primary-dark) 40%, rgba(21, 29, 92, 0.8) 100%);
    z-index: 1;
}

/* Carbon Mesh Grid background effect */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

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

.hero-title {
    font-size: 3.2rem;
    color: var(--text-white);
    margin-bottom: 24px;
    line-height: 1.12;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.15rem;
    margin-bottom: 40px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}


/* Hero Visual Card (Right Side) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-visual-glow {
    position: absolute;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(231, 126, 35, 0.15) 0%, transparent 70%);
    z-index: 1;
    filter: blur(30px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-visual-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 360px;
    color: var(--text-white);
}

.hero-card-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 18px;
}

.hero-visual-card h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.hero-visual-card > p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.hero-card-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, var(--accent), transparent);
    margin: 20px 0;
}

.hero-card-features {
    list-style: none;
}

.hero-card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-card-features li i {
    color: var(--accent);
    font-size: 0.8rem;
}

/* ==========================================================================
   7. STATS BAR (Numbers / Impact)
   ========================================================================== */
.stats-bar {
    background-color: var(--bg-card);
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 35px 40px;
}

.stat-item {
    text-align: center;
    padding: 10px 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: var(--border);
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, rgba(21, 29, 92, 0.08) 0%, rgba(231, 126, 35, 0.08) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--primary);
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-number::before {
    content: '+';
    font-size: 1.4rem;
    color: var(--accent);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   8. CATEGORIES SECTION
   ========================================================================== */
.categories-section {
    background-color: var(--bg-card);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    padding: 24px 18px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-card);
}

.category-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--text-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background-color: var(--accent);
    transform: rotate(5deg) scale(1.05);
}

.category-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.category-card p {
    color: var(--text-light);
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 16px;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.category-card:hover .category-link {
    color: var(--accent);
}

.category-link i {
    transition: var(--transition);
}

.category-card:hover .category-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   9. LOCATION HIGHLIGHT SECTION (Replaces Vitrine)
   ========================================================================== */
.location-highlight-section {
    background-color: var(--bg-light);
}

.location-highlight-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: stretch;
}

.location-map-large {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    min-height: 420px;
}

.location-map-large iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
}

.location-info-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.location-info-item {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.location-info-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(21, 29, 92, 0.12);
}

.location-info-item > i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.location-info-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.location-info-item p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.5;
}

.location-info-item a {
    color: var(--primary);
    font-weight: 500;
}

.location-info-item a:hover {
    color: var(--accent);
}

.location-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
}

.location-specialist-btn {
    width: 100%;
}

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

.btn-outline-dark:hover {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
    color: var(--text-light);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.3;
}

/* ==========================================================================
   10. ABOUT SECTION
   ========================================================================== */
.about-section {
    background-color: var(--bg-light);
}

.about-content-only {
    max-width: 800px;
    margin: 0 auto;
}

.about-para {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight-item {
    display: flex;
    gap: 16px;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(231, 126, 35, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.highlight-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

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


/* ==========================================================================
   11. BRANDS CAROUSEL
   ========================================================================== */
.brands-section {
    background-color: var(--bg-card);
    overflow: hidden;
}

.brands-section .section-container {
    padding-bottom: 60px;
}

.brands-carousel {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.brands-track {
    display: flex;
    gap: 50px;
    align-items: center;
    animation: scroll-brands 30s linear infinite;
    width: max-content;
}

.brand-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

.brand-item img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: var(--transition);
}

.brand-item img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

@keyframes scroll-brands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   12. UNIFIED CONTACT + LOCATION SECTION
   ========================================================================== */
.contact-section {
    background-color: var(--bg-light);
}

.contact-unified-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.contact-form-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    padding: 40px 35px;
}

.contact-form-card h4 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-card h4 i {
    color: var(--accent);
}

.contact-info-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    padding: 30px;
}

.contact-info-card h4 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-card h4 i {
    color: var(--accent);
}

.contact-direct-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.direct-link-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.direct-link-item i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.direct-link-item span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.direct-link-item strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.direct-link-item.whatsapp i {
    color: #2ecc71;
}

.direct-link-item.whatsapp:hover {
    background-color: #2ecc71;
    border-color: #2ecc71;
    box-shadow: 0 8px 20px -5px rgba(46, 204, 113, 0.3);
}

.direct-link-item.whatsapp:hover i,
.direct-link-item.whatsapp:hover span,
.direct-link-item.whatsapp:hover strong {
    color: var(--text-white);
}

.direct-link-item.phone i {
    color: var(--accent);
}

.direct-link-item.phone:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 20px -5px rgba(231, 126, 35, 0.3);
}

.direct-link-item.phone:hover i,
.direct-link-item.phone:hover span,
.direct-link-item.phone:hover strong {
    color: var(--text-white);
}

.direct-link-item.email-link i {
    color: var(--primary);
}

.direct-link-item.email-link:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.direct-link-item.email-link:hover i,
.direct-link-item.email-link:hover span,
.direct-link-item.email-link:hover strong {
    color: var(--text-white);
}

/* Location Mini Card */
.location-mini-card {
    background: linear-gradient(135deg, rgba(21, 29, 92, 0.03) 0%, rgba(231, 126, 35, 0.03) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
}

.location-mini-card h5 {
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-mini-card h5 i {
    color: var(--accent);
}

.location-address {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.location-hours {
    margin-bottom: 14px;
}

.location-hours p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.location-hours p i {
    color: var(--accent);
    font-size: 0.7rem;
}

.location-route-btn {
    width: 100%;
    border-radius: var(--radius-md);
}

/* Map Card */
.contact-map-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    min-height: 250px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 250px;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   13. FORM STYLES
   ========================================================================== */
.form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-row.split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-dark);
}

.form-input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.92rem;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background-color: var(--bg-light);
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--border-focus);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(21, 29, 92, 0.08);
}

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

.form-help-text {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
}

.field-error {
    color: #e74c3c;
    font-size: 0.75rem;
    margin-top: 4px;
}

/* AJAX Submission States */
.hide {
    display: none !important;
}

.form-message-box {
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 10px;
    animation: slideIn 0.3s ease-out;
}

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

.form-message-box.success {
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.form-message-box.error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.submit-btn {
    border-radius: var(--radius-md);
    width: 100%;
}

.submit-btn:disabled {
    background-color: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==========================================================================
   14. CTA FINAL SECTION
   ========================================================================== */
.cta-final-section {
    position: relative;
    background-color: var(--primary-dark);
    padding: 70px 24px;
    text-align: center;
    overflow: hidden;
}

.cta-final-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(231, 126, 35, 0.1) 0%, transparent 60%);
}

.cta-final-container {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-final-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: rgba(231, 126, 35, 0.15);
    border: 1px solid rgba(231, 126, 35, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}

.cta-final-section h2 {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-final-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 35px;
    line-height: 1.6;
}

.cta-final-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   15. SUCCESS PAGE
   ========================================================================== */
.success-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 24px 80px;
}

.success-container {
    max-width: 500px;
    width: 100%;
}

.success-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 50px 40px;
    text-align: center;
}

.success-icon-wrapper {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 24px;
}

.success-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.success-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.success-details-box {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 35px;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.success-actions .btn {
    width: 100%;
}

/* ==========================================================================
   16. FLOATING WHATSAPP WIDGET
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: var(--text-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #2ecc71;
    opacity: 0.7;
    animation: pulse 1.8s infinite;
    z-index: -1;
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 12px 30px rgba(39, 174, 96, 0.55);
}

.whatsapp-badge {
    position: absolute;
    right: 70px;
    background-color: var(--primary-dark);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.whatsapp-float:hover .whatsapp-badge {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

/* ==========================================================================
   17. FOOTER LAYOUT
   ========================================================================== */
.main-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    border-top: 2px solid var(--accent);
}

.footer-top {
    padding: 80px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-info {
    grid-column: span 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--primary-light);
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-white);
    display: block;
    line-height: 1.2;
}

.footer-ancora-logo {
    height: 16px;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    margin-top: 4px;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 0.95rem;
}

.social-icon:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--text-white);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--text-white);
    font-size: 1.15rem;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.opening-hours li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.88rem;
}

.opening-hours i {
    color: var(--accent);
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.contact-info-list i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-info-list a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 24px 0;
    font-size: 0.8rem;
    text-align: center;
}

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

/* ==========================================================================
   18. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
    .stats-bar {
        max-width: 90%;
    }
    
    .stats-container {
        padding: 24px 20px;
    }
    
    .contact-unified-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        grid-row: auto;
    }

    .location-highlight-grid {
        grid-template-columns: 1fr;
    }

    .location-map-large {
        min-height: 300px;
    }

    .location-map-large iframe {
        min-height: 300px;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual-card {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    /* Base typography */
    html {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 1.85rem;
    }

    /* Top Bar hide left on mobile */
    .top-bar-left {
        display: none;
    }

    .top-bar-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-divider {
        display: none;
    }
    
    /* Sticky Header menu toggle */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    
    .mobile-menu-toggle .bar {
        width: 100%;
        height: 2px;
        background-color: var(--primary-dark);
        border-radius: 2px;
        transition: var(--transition);
    }
    
    /* Toggle active animation */
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-card);
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 30px 40px;
        gap: 40px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }

    /* Âncora logo hide on small mobile */
    .header-separator {
        display: none;
    }

    .ancora-badge {
        display: none;
    }

    /* Hero section */
    .hero-section {
        padding-top: 60px;
        padding-bottom: 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hero-visual {
        display: none;
    }
    
    /* Stats Bar */
    .stats-bar {
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
        max-width: 100%;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px;
        gap: 24px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-number {
        font-size: 1.8rem;
    }
    
    /* Category layout adjustments */
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Contact section */
    .contact-unified-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 30px 24px;
    }
    
    .form-row.split {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* CTA Final */
    .cta-final-section h2 {
        font-size: 1.6rem;
    }

    .cta-final-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .whatsapp-badge {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

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

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
