/* ==========================================================================
   METALMAR - DESIGN SYSTEM & COMPONENT LIBRARY (TAILWIND STANDALONE)
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS & RESET
   ========================================================================== */
:root {
    --primary: #2585c0;
    --primary-hover: #1c71a6;
    --primary-light: #eef6fb;
    --primary-ring: rgba(37, 133, 192, 0.25);

    --navy-950: #0b1731;
    --navy-900: #152b5a;
    --navy-800: #1b356e;
    --navy-700: #23458b;
    --navy-600: #2b54a8;

    --blue-naval: #2585c0;
    --blue-naval-hover: #1c71a6;
    --blue-naval-light: #f0f7fc;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    color: var(--slate-800);
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

button,
input,
select,
textarea {
    font: inherit;
}

p {
    margin-bottom: 15px;
}

/* ==========================================================================
   2. LAYOUT & CONTAINERS
   ========================================================================== */
.container-custom {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 640px) {
    .container-custom {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-custom {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ==========================================================================
   3. TYPOGRAPHY & HEADINGS
   ========================================================================== */
.font-display {
    font-family: var(--font-display);
}

.font-sans {
    font-family: var(--font-sans);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--navy-950);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-badge {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(37, 133, 192, 0.25);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-950);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--slate-500);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ==========================================================================
   4. TOP BAR & NAVIGATION HEADER
   ========================================================================== */
.top-bar {
    background-color: var(--navy-950);
    color: var(--slate-300);
    font-size: 0.8125rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-contacts {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #cbd5e1;
    font-size: 0.8125rem;
    transition: color 0.2s;
}

.top-bar-link:hover {
    color: #ffffff;
}

.top-bar-link i {
    color: var(--primary);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.2rem 0.5rem;
}

.header-logo img {
    height: 5rem;
    width: auto;
    display: block;
}

.header-nav {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 1024px) {
    .header-nav {
        display: flex;
    }
}

.nav-link-item {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--slate-700);
    padding: 0.5rem 0.85rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.nav-link-item:hover {
    color: var(--primary);
    background-color: var(--slate-50);
}

.nav-link-item.active {
    color: var(--primary);
    font-weight: 700;
    background-color: var(--primary-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-cta-btn {
    display: none !important;
}

@media (min-width: 768px) {
    .header-cta-btn {
        display: inline-flex !important;
    }
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--slate-200);
    background: transparent;
    cursor: pointer;
    color: var(--navy-950);
    font-size: 1.4rem;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Language Switcher - Tailwind Style */
.lang-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-select-icon {
    position: absolute;
    left: 0.65rem;
    color: var(--slate-400);
    font-size: 1.05rem;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 2;
}

.lang-select-flag {
    position: absolute;
    left: 0.65rem;
    width: 1.25rem;
    height: 0.875rem;
    object-fit: cover;
    border-radius: 2px;
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.lang-select-custom {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.15em 1.15em;
    padding: 0.45rem 1.85rem 0.45rem 2.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    line-height: 1.25;
}

.lang-select-wrapper:hover .lang-select-icon {
    color: var(--primary);
}

.lang-select-custom:hover {
    border-color: var(--primary);
    color: var(--navy-950);
    box-shadow: 0 2px 4px -1px rgba(15, 23, 42, 0.08);
}

.lang-select-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-ring);
    color: var(--navy-950);
}

.lang-select-custom option {
    background-color: #ffffff;
    color: var(--slate-800);
    font-weight: 500;
    padding: 0.5rem;
}

.lang-dropdown-wrapper {
    position: relative;
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.65rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    background: #ffffff;
    color: var(--slate-700);
    cursor: pointer;
    transition: all 0.2s;
}

.lang-dropdown-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 0.625rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12);
    min-width: 140px;
    padding: 0.4rem;
    display: none;
    flex-direction: column;
    z-index: 50;
}

.lang-dropdown-menu.show {
    display: flex;
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--slate-700);
    transition: all 0.15s;
}

.lang-dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Mobile Drawer Menu */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
}

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

.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 13, 24, 0.65);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-drawer.active .mobile-drawer-backdrop {
    opacity: 1;
}

.mobile-drawer-content {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 360px;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 101;
    overflow-y: auto;
}

.mobile-drawer.active .mobile-drawer-content {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--slate-200);
    margin-bottom: 1.5rem;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-700);
    border-radius: 0.5rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* ==========================================================================
   5. BUTTONS & ACTIONS
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.625rem;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 133, 192, 0.3);
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 133, 192, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--navy-900);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.625rem;
    border: 1px solid var(--navy-700);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background-color: var(--navy-800);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 24, 43, 0.25);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--slate-700);
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.625rem;
    border: 1px solid var(--slate-300);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #ffffff;
    color: var(--navy-950) !important;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-white:hover {
    background-color: var(--slate-100);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    color: #ffffff !important;
}

.btn-whatsapp:hover {
    background-color: #20ba5a !important;
}

/* ==========================================================================
   6. HERO CAROUSEL & SLIDER
   ========================================================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 650px;
    background-color: var(--navy-950);
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-slider {
        height: 650px;
    }
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 650px;
    position: relative;
    display: flex;
    align-items: center;
}

.slider-slide picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 23, 49, 0.5);
    z-index: 2;
}

.hero-content-box {
    position: relative;
    z-index: 10;
    max-width: 760px;
    padding: 3rem 0;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.25rem;
    }
}

.hero-lead {
    font-size: 1.15rem;
    color: #f1f5f9;
    line-height: 1.65;
    margin-bottom: 2.25rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Content Alignments */
.hero-align-esquerda {
    text-align: left;
    margin-right: auto;
    margin-left: 0;
}

.hero-align-esquerda .hero-actions {
    justify-content: flex-start;
}

.hero-align-centro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-align-centro .hero-actions {
    justify-content: center;
}

.hero-align-direita {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

.hero-align-direita .hero-actions {
    justify-content: flex-end;
}


@media (max-width: 767px) {

    .hero-slider,
    .slider-slide {
        height: 650px;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .hero-lead {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .hero-content-box {
        padding: 1.5rem 0;
        max-width: 100%;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: all 0.25s;
    z-index: 20;
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev {
    left: 1.5rem;
}

.slider-arrow.next {
    right: 1.5rem;
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.slider-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    width: 2rem;
    background: var(--primary);
    border-radius: 9999px;
}

/* ==========================================================================
   7. SECTIONS & LAYOUT BLOCKS
   ========================================================================== */
.section-py {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

.section-py-sm {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.section-bg-white {
    background-color: #ffffff;
}

.section-bg-slate {
    background-color: var(--slate-50);
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}

.section-bg-navy {
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
    color: #ffffff;
}

.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

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

/* Subpage Hero Banner */
.subpage-hero {
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
    padding: 5rem 0 4.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.subpage-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(37, 133, 192, 0.18), transparent 60%);
    pointer-events: none;
}

.subpage-hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

@media (min-width: 768px) {
    .subpage-hero-title {
        font-size: 2.75rem;
    }
}

.subpage-hero-desc {
    color: var(--slate-300);
    font-size: 1.05rem;
    max-width: 680px;
    line-height: 1.6;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-400);
    font-size: 0.875rem;
    margin-top: 1.25rem;
}

.breadcrumb-nav a {
    color: #ffffff;
    transition: color 0.2s;
}

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

/* ==========================================================================
   8. CARDS, SERVICES & FEATURES
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
    border-color: var(--primary);
}

.service-card-media {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
    background-color: var(--slate-100);
}

.service-card-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-media img {
    transform: scale(1.06);
}

.service-card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-950);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.service-card-text {
    color: var(--slate-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.875rem;
    transition: gap 0.2s ease;
}

.service-card:hover .service-card-link {
    gap: 0.75rem;
}

.service-card-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
}

.service-card-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);
    color: #ffffff !important;
}

.service-card-whatsapp i {
    font-size: 1.15rem;
    line-height: 1;
}

/* Feature & Differentials */
.feature-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.1);
    border-color: var(--primary);
}

.feature-icon-wrapper {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 0.875rem;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(37, 133, 192, 0.15);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.05);
}

/* ==========================================================================
   9. ABOUT SECTION & STATS
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }
}

.about-img-box {
    overflow: hidden;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 9px 6px rgba(0, 0, 0, 0.05);
}

.about-feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid var(--slate-200);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--slate-600);
    font-weight: 600;
}

/* Missão, Visão e Valores (MVV) */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.mvv-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid var(--slate-200);
    padding: 2.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.mvv-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.1);
}

.mvv-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.mvv-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy-950);
    margin-bottom: 0.75rem;
}

.mvv-desc {
    color: var(--slate-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   10. BLOG & NOTÍCIAS
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.blog-recent-column {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-recent-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.1);
    border-color: var(--primary);
}

.blog-recent-column .sidebar-recent-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .blog-recent-column {
        grid-column: span 2;
    }
    .blog-recent-column .sidebar-recent-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

.sidebar-recent-placeholder {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.625rem;
    background-color: var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-400);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.blog-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.1);
    border-color: var(--primary);
}

.blog-card-media {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    background-color: var(--slate-100);
}

.blog-card-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.05);
}

.blog-badge-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(11, 23, 49, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    z-index: 10;
}

.blog-card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-950);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-desc {
    color: var(--slate-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.875rem;
    transition: gap 0.2s ease;
}

.blog-card:hover .blog-card-link {
    gap: 0.75rem;
}

/* ==========================================================================
   11. ARTICLE & SIDEBAR (LAYOUT DE DETALHES)
   ========================================================================== */
.layout-content-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}

@media (min-width: 992px) {
    .layout-content-sidebar {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        gap: 3.5rem;
    }
}

.article-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid var(--slate-200);
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    min-width: 0;
}

.article-media-box {
    border-radius: 0.875rem;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
}

.article-body-text {
    color: var(--slate-700);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 2.5rem;
}

.article-iframe-box {
    border-radius: 0.875rem;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
}

.share-bar {
    padding-top: 1.5rem;
    border-top: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-bar-title {
    font-weight: 700;
    color: var(--navy-950);
    font-size: 0.9375rem;
}

.share-bar-actions {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn-wa {
    background-color: #25d366;
}

.share-btn-fb {
    background-color: #1877f2;
}

.share-btn-in {
    background-color: #0a66c2;
}

/* Sidebar Widgets */
.sidebar-sticky {
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid var(--slate-200);
    padding: 1.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy-950);
    margin-bottom: 1.25rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--slate-100);
}

.sidebar-recent-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sidebar-recent-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-recent-item:hover h5 {
    color: var(--primary);
}

.sidebar-recent-item img {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.625rem;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-recent-item h5 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-950);
    line-height: 1.35;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-recent-item span {
    font-size: 0.75rem;
    color: var(--slate-500);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.sidebar-cta-box {
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
    border-radius: 1.25rem;
    padding: 2rem;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sidebar-cta-icon {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.sidebar-cta-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.sidebar-cta-text {
    color: var(--slate-300);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* ==========================================================================
   12. TESTIMONIALS & GALLERY
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Testimonials Carousel */
.testimonials-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0.25rem 1rem;
}

.testimonials-carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 1.5rem;
    will-change: transform;
}

.testimonial-slide {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .testimonial-slide {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .testimonial-slide {
        flex: 0 0 calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
    }
}

.testimonial-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 133, 192, 0.4);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.3);
}

.testimonial-stars {
    color: #f59e0b;
    display: flex;
    gap: 0.25rem;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.testimonial-quote {
    color: var(--slate-300);
    font-size: 0.95rem;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.testimonial-author-box {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-avatar {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.testimonial-avatar-placeholder {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-author {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8125rem;
    color: var(--slate-400);
    margin-top: 0.15rem;
}

/* Carousel Navigation */
.testimonials-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.testimonial-nav-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.testimonial-nav-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.06);
    box-shadow: 0 4px 14px rgba(37, 133, 192, 0.4);
}

.testimonial-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.testimonials-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonials-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-dot.active {
    width: 1.75rem;
    background: var(--primary);
    border-radius: 9999px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--slate-200);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    aspect-ratio: 4/3;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

/* ==========================================================================
   GALLERY PAGE (DEDICATED) & LIGHTBOX MODAL
   ========================================================================== */
.gallery-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-page-card {
    border-radius: 1.25rem;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--slate-200);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
    cursor: pointer;
    outline: none;
}

.gallery-page-card:hover,
.gallery-page-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.16);
    border-color: var(--primary);
}

.gallery-page-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: var(--slate-100);
}

.gallery-page-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-page-card:hover .gallery-page-media img {
    transform: scale(1.08);
}

.gallery-page-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 23, 49, 0.92) 0%, rgba(11, 23, 49, 0.35) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

.gallery-page-card:hover .gallery-page-overlay,
.gallery-page-card:focus-visible .gallery-page-overlay {
    opacity: 1;
}

.gallery-zoom-badge {
    align-self: flex-end;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-page-info {
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.gallery-page-card:hover .gallery-page-info,
.gallery-page-card:focus-visible .gallery-page-info {
    transform: translateY(0);
}

.gallery-page-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.gallery-page-desc {
    color: var(--slate-300);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Modal Popup / Lightbox */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 23, 49, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.gallery-modal-dialog {
    position: relative;
    z-index: 10;
    background: #ffffff;
    border-radius: 1.5rem;
    max-width: 960px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    transform: scale(0.96) translateY(12px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.gallery-modal.active .gallery-modal-dialog {
    transform: scale(1) translateY(0);
}

.gallery-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 20;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-modal-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.gallery-modal-body {
    display: grid;
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .gallery-modal-body {
        grid-template-columns: 1.15fr 1fr;
        overflow-y: hidden;
    }
}

.gallery-modal-media {
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-height: 50vh;
}

@media (min-width: 768px) {
    .gallery-modal-media {
        max-height: 85vh;
        min-height: 500px;
    }
}

.gallery-modal-media img {
    max-width: 100%;
    max-height: 85vh;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-modal-content {
    padding: 2.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.gallery-modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy-950);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.gallery-modal-text {
    color: var(--slate-600);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   13. FORMS & CONTACT PAGE
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    }
}

.contact-info-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid var(--slate-200);
    padding: 2.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
}

.contact-icon-box {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.75rem;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
}

.contact-item-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-950);
    margin-bottom: 0.25rem;
}

.contact-item-desc {
    color: var(--slate-600);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid var(--slate-200);
    padding: 2.5rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label-custom {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 0.35rem;
}

.form-input-custom {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--slate-300);
    background-color: #ffffff;
    color: var(--slate-900);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    outline: none;
}

.form-input-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-ring);
}

textarea.form-input-custom {
    min-height: 130px;
    resize: vertical;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .form-row-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.map-container {
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    height: 420px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ==========================================================================
   14. FOOTER & FLOATING ACTIONS
   ========================================================================== */
.site-footer {
    background-color: var(--navy-950);
    color: var(--slate-300);
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 5rem 0 3.5rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
        gap: 3rem;
    }
}

.footer-heading {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 2px;
    background: var(--primary);
    border-radius: 9999px;
}

.footer-link {
    color: var(--slate-400);
    font-size: 0.9375rem;
    display: inline-block;
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-social-bar {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social-link {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.footer-social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    font-size: 0.8125rem;
    color: var(--slate-400);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-inner p {
    margin-bottom: 0;
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.75rem;
    height: 3.75rem;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 40;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 9999px;
    border: 2px solid #25d366;
    animation: whatsappPulse 2s infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.3);
        opacity: 0;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* ==========================================================================
   15. UTILITIES & HELPERS
   ========================================================================== */
.grid-cols-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.text-primary {
    color: var(--primary) !important;
}

.text-navy {
    color: var(--navy-950) !important;
}

.bg-primary-light {
    background-color: var(--primary-light) !important;
}

.rounded-xl {
    border-radius: 1rem;
}

.shadow-soft {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}