/* =============================================
   Silva Ribeiro, Di Gioia & Sahid
   Main Stylesheet — Modern Professional Design
   ============================================= */

/* CSS Variables */
:root {
    --primary:       #2B3180;
    --primary-dark:  #1E2260;
    --primary-light: #3D4CAF;
    --gold:          #C9A042;
    --gold-light:    #E5C068;
    --white:         #FFFFFF;
    --off-white:     #F8F8F6;
    --gray-light:    #F0F0EE;
    --gray:          #888888;
    --gray-dark:     #555555;
    --dark:          #1A1A2E;
    --text:          #333333;
    --shadow:        0 4px 24px rgba(43, 49, 128, 0.10);
    --shadow-lg:     0 8px 48px rgba(43, 49, 128, 0.18);
    --radius:        8px;
    --radius-lg:     16px;
    --transition:    all 0.3s ease;
    --font-heading:  'Playfair Display', Georgia, serif;
    --font-body:     'Open Sans', Arial, sans-serif;
    --header-height: 80px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.25;
    font-weight: 600;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* Section Spacing */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-alt { background: var(--off-white); }

/* Section Header */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header .section-line {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--primary-light));
    margin: 0 auto 20px;
    border-radius: 2px;
}
.section-header p { color: var(--gray-dark); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    letter-spacing: 0.3px;
    cursor: pointer;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(43, 49, 128, 0.3);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}
.btn-gold {
    background: var(--gold);
    color: var(--white);
    border: 2px solid var(--gold);
}
.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 160, 66, 0.4);
}
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }

/* =============================================
   HEADER & NAVIGATION
   ============================================= */

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: var(--transition);
}

/* Top Bar */
.header-top {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 8px 0;
    transition: var(--transition);
}
.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.header-contact {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}
.header-contact a, .header-contact span {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
}
.header-contact a:hover { color: var(--gold-light); }
.header-social {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-social a {
    color: rgba(255,255,255,0.8);
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    font-size: 0.78rem;
    transition: var(--transition);
}
.header-social a:hover { background: var(--gold); color: var(--white); }

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-left: 8px;
}
.lang-switch a {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.lang-switch a.active, .lang-switch a:hover { color: var(--gold-light); }

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 0;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 24px;
}
.nav-logo .logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-menu li a {
    display: block;
    padding: 8px 16px;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.92rem;
    position: relative;
    border-radius: 6px;
    transition: var(--transition);
}
.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 16px; right: 16px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 1px;
}
.nav-menu li a:hover, .nav-menu li a.active {
    color: var(--primary);
}
.nav-menu li a:hover::after, .nav-menu li a.active::after {
    transform: scaleX(1);
}
.nav-menu li a.btn-nav {
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
}
.nav-menu li a.btn-nav::after { display: none; }
.nav-menu li a.btn-nav:hover { background: var(--gold); color: var(--white); }
.nav-menu li a.btn-nav.active { background: var(--primary-dark); color: var(--white); }

/* Scrolled Header */
.site-header.scrolled .header-top { display: none; }
.site-header.scrolled .navbar { box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
.site-header.scrolled .nav-logo .logo-img { height: 52px; }

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Spacer for fixed header */
.header-spacer { height: calc(var(--header-height) + 40px); }

/* =============================================
   HERO SLIDER
   ============================================= */

.hero-slider {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: var(--primary-dark);
    margin-top: calc(var(--header-height) + 40px);
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.hero-slide.active .slide-bg { transform: scale(1); }
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 31, 94, 0.88) 0%,
        rgba(43, 49, 128, 0.70) 50%,
        rgba(26, 31, 94, 0.55) 100%
    );
}
.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 850px;
    padding: 60px 24px;
    animation: slideUp 0.8s ease 0.3s both;
}
.slide-content .slide-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
    border: 1px solid rgba(201, 160, 66, 0.4);
    padding: 6px 18px;
    border-radius: 50px;
}
.slide-content h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.slide-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.88);
    margin-bottom: 36px;
    font-weight: 300;
}
.slide-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
}
.slider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}
.slider-dot.active {
    background: var(--gold);
    width: 28px;
    border-radius: 5px;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    color: white;
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}
.slider-arrow:hover { background: var(--gold); border-color: var(--gold); }
.slider-arrow-prev { left: 24px; }
.slider-arrow-next { right: 24px; }

/* No banners fallback */
.hero-default {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: calc(var(--header-height) + 40px);
}
.hero-default::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-default-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 850px;
    padding: 60px 24px;
}
.hero-default-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-default-content p { color: rgba(255,255,255,0.85); font-size: 1.2rem; margin-bottom: 36px; }

/* =============================================
   HOME — ABOUT SECTION
   ============================================= */

.about-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-home-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-home-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}
.about-home-image::before {
    content: '';
    position: absolute;
    top: -16px; left: -16px;
    width: 50%; height: 50%;
    border: 4px solid var(--gold);
    border-radius: var(--radius);
    z-index: -1;
}
.about-home-image::after {
    content: '';
    position: absolute;
    bottom: -16px; right: -16px;
    width: 50%; height: 50%;
    border: 4px solid var(--primary);
    border-radius: var(--radius);
    z-index: -1;
}
.about-home-stats {
    position: absolute;
    bottom: 24px; left: 24px;
    display: flex;
    gap: 12px;
}
.stat-card {
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 90px;
}
.stat-card .stat-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.stat-card .stat-label {
    font-size: 0.72rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}
.about-home-text .section-tag { margin-bottom: 8px; }
.about-home-text h2 { margin-bottom: 20px; }
.about-home-text p { color: var(--gray-dark); line-height: 1.8; }
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--off-white);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
}
.about-feature i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.about-feature span { font-size: 0.9rem; font-weight: 600; color: var(--dark); }

/* =============================================
   PRACTICE AREAS GRID
   ============================================= */

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.area-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(43, 49, 128, 0.07);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.area-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}
.area-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.area-card:hover::before { transform: scaleX(1); }
.area-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    color: var(--white);
    font-size: 1.4rem;
    transition: var(--transition);
}
.area-card:hover .area-icon { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.area-card h3 { margin-bottom: 12px; font-size: 1.2rem; color: var(--primary-dark); }
.area-card p { color: var(--gray-dark); font-size: 0.93rem; line-height: 1.7; margin-bottom: 0; }

/* =============================================
   TEAM CARDS
   ============================================= */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.lawyer-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(43, 49, 128, 0.06);
}
.lawyer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lawyer-photo {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: var(--gray-light);
}
.lawyer-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}
.lawyer-card:hover .lawyer-photo img { transform: scale(1.05); }
.lawyer-photo-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--gray-light), var(--off-white));
    color: var(--gray);
    font-size: 4rem;
}
.lawyer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,31,94,0.85), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}
.lawyer-card:hover .lawyer-overlay { opacity: 1; }
.lawyer-social { display: flex; gap: 10px; }
.lawyer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}
.lawyer-social a:hover { background: var(--gold); border-color: var(--gold); }
.lawyer-info { padding: 24px; }
.lawyer-info h3 { font-size: 1.15rem; margin-bottom: 4px; }
.lawyer-info .lawyer-title {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.lawyer-info .lawyer-oab { color: var(--gray); font-size: 0.82rem; }
.lawyer-bio { padding: 0 24px 24px; color: var(--gray-dark); font-size: 0.9rem; line-height: 1.7; }

/* =============================================
   CTA SECTION
   ============================================= */

.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-content h2 { color: var(--white); margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */

.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: var(--white);
    margin-top: calc(var(--header-height) + 40px);
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 60px;
    background: var(--white);
    clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero.alt::after { background: var(--off-white); }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; }
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { opacity: 0.5; }

/* =============================================
   ABOUT PAGE
   ============================================= */

.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text h2 { margin-bottom: 24px; }
.about-text p { color: var(--gray-dark); line-height: 1.9; }

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.mvv-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}
.mvv-card:nth-child(2) { border-top-color: var(--gold); }
.mvv-card:nth-child(3) { border-top-color: var(--primary-light); }
.mvv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mvv-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--off-white);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.mvv-card:nth-child(2) .mvv-icon { color: var(--gold); }
.mvv-card h3 { margin-bottom: 12px; }
.mvv-card p { color: var(--gray-dark); margin-bottom: 0; font-size: 0.95rem; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.value-item {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(43,49,128,0.08);
    transition: var(--transition);
}
.value-item:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.value-item i { font-size: 1.4rem; color: var(--primary); margin-bottom: 8px; display: block; transition: var(--transition); }
.value-item:hover i { color: var(--gold-light); }
.value-item span { font-weight: 700; font-size: 0.9rem; color: var(--dark); transition: var(--transition); }
.value-item:hover span { color: var(--white); }

/* =============================================
   CONTACT PAGE
   ============================================= */

.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: start; }

.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 32px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(43, 49, 128, 0.08);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}
.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-light);
}
.contact-info-item:last-child { border-bottom: none; }
.ci-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 0.95rem;
    flex-shrink: 0;
}
.ci-text h5 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray); margin-bottom: 4px; font-family: var(--font-body); }
.ci-text p, .ci-text a { color: var(--text); font-size: 0.93rem; margin-bottom: 0; font-weight: 500; }
.ci-text a:hover { color: var(--primary); }

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 24px;
}
.map-container iframe { display: block; width: 100%; }
.map-placeholder {
    height: 250px;
    background: var(--gray-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    gap: 12px;
    text-align: center;
    padding: 24px;
}
.map-placeholder i { font-size: 2.5rem; color: var(--primary); }

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 0.93rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.alert-error   { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }

/* =============================================
   FOOTER
   ============================================= */

.site-footer { background: var(--dark); color: rgba(255,255,255,0.8); }
.footer-main { padding: 70px 0 48px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
}
.footer-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.footer-about p { font-size: 0.9rem; line-height: 1.8; color: rgba(255,255,255,0.65); margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(201, 160, 66, 0.3);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.footer-links a i { font-size: 0.65rem; color: var(--gold); }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer-contact-list i { color: var(--gold); margin-top: 3px; flex-shrink: 0; font-size: 0.85rem; }
.footer-contact-list a { color: rgba(255,255,255,0.65); }
.footer-contact-list a:hover { color: var(--gold-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 0; }
.footer-oab { color: rgba(201,160,66,0.7) !important; font-weight: 500; }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */

.whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 999;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5);
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover {
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 32px rgba(37, 211, 102, 0.7);
}
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 4px 36px rgba(37, 211, 102, 0.8), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* =============================================
   ANIMATIONS
   ============================================= */

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

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-home { grid-template-columns: 1fr; }
    .about-home-image { max-width: 500px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }
    .header-top { display: none; }
    .header-spacer { height: var(--header-height); }
    .hero-slider, .hero-default, .page-hero { margin-top: var(--header-height); }

    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: var(--header-height); left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.12);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
    }
    .nav-menu.open { transform: translateY(0); opacity: 1; }
    .nav-menu li { width: 100%; }
    .nav-menu li a { padding: 12px 16px; border-radius: var(--radius); }
    .nav-menu li a.btn-nav { text-align: center; margin-top: 8px; }
    .nav-menu li a::after { display: none; }

    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }

    .areas-grid, .team-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }

    .about-features { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .mvv-grid { grid-template-columns: 1fr; }

    .contact-form { padding: 32px 24px; }
    .slider-arrow { width: 40px; height: 40px; }

    .hero-slider, .hero-default { min-height: 85vh; }
}

@media (max-width: 480px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .about-home-stats { position: static; margin-top: 16px; justify-content: center; }
    .slide-buttons { flex-direction: column; align-items: center; }
}

/* =============================================
   UTILITY
   ============================================= */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-primary { color: var(--primary); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
