/* ==========================================================================
   Osiadacz Abogados - Modern Design 2025
   ========================================================================== */

:root {
    --primary: #1B4F4F;
    --primary-dark: #153d3d;
    --primary-light: #236666;
    --accent: #5dd9d9;
    --accent-light: #7eeaea;
    --dark: #0f1419;
    --gray-900: #1a1f26;
    --gray-800: #2d333b;
    --gray-600: #636e7b;
    --gray-400: #adbac7;
    --gray-200: #e6edf3;
    --gray-100: #f6f8fa;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.98);
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 8px 32px rgba(27, 79, 79, 0.2);
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); font-size: 1rem; line-height: 1.6; color: var(--gray-800); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: var(--accent); color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--gray-900); letter-spacing: -0.02em; }

/* Navigation */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--primary); transition: all var(--transition); }
.navbar-main { padding: 1rem 0; }
.navbar.scrolled { box-shadow: var(--shadow-lg); }
.navbar.scrolled .navbar-main { padding: 0.75rem 0; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand img { height: 50px; transition: var(--transition); }
.navbar.scrolled .navbar-brand img { height: 44px; }
.nav-menu { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-link { display: inline-block; padding: 0.625rem 1rem; font-size: 0.9375rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); border-radius: var(--radius-md); transition: all var(--transition); }
.nav-link:hover { color: var(--white); background: rgba(255, 255, 255, 0.12); }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; margin-left: 1.5rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; order: 3; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.nav-close { display: none; }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; transition: opacity var(--transition); }
.nav-overlay.active { display: block; opacity: 1; }

@media (max-width: 991px) {
    .nav-toggle { display: flex; }
    .nav-close { display: block; position: absolute; top: 1.25rem; right: 1.25rem; background: none; border: none; cursor: pointer; padding: 0.5rem; }
    .nav-close i { font-size: 1.5rem; color: var(--gray-700); transition: color var(--transition); }
    .nav-close:hover i { color: var(--primary); }
    .nav-menu { position: fixed; top: 0; right: -100%; width: 100%; max-width: 320px; height: 100vh; background: var(--white); flex-direction: column; align-items: stretch; padding: 5rem 1.5rem 2rem; gap: 0; box-shadow: -5px 0 30px rgba(0,0,0,0.15); transition: right var(--transition); z-index: 1000; }
    .nav-menu.active { right: 0; }
    .nav-link { color: var(--gray-800); padding: 1rem; border-bottom: 1px solid var(--gray-200); border-radius: 0; }
    .nav-link:hover { background: var(--gray-100); }
    .nav-cta { display: none; }
    .navbar-brand { display: flex !important; align-items: center; }
    .navbar-brand img { height: 40px; max-width: 180px; display: block !important; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 1.75rem; font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 600; border-radius: var(--radius-lg); border: 2px solid transparent; cursor: pointer; transition: all var(--transition); text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(27, 79, 79, 0.3); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--primary); border-color: var(--gray-200); }
.btn-outline-dark:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-white { background: var(--white); color: var(--primary); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--primary); }
.btn-whatsapp { background: #25d366; color: var(--white); border-color: #25d366; }
.btn-whatsapp:hover { background: #1fba5a; color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; border-radius: var(--radius-md); }
.btn-lg { padding: 1.125rem 2.5rem; font-size: 1rem; border-radius: var(--radius-xl); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(160deg, rgba(15, 50, 50, 0.75) 0%, rgba(27, 79, 79, 0.65) 50%, rgba(35, 102, 102, 0.55) 100%); z-index: -1; }
.hero-content { position: relative; max-width: 800px; color: var(--white); padding: 0 1.5rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.625rem; padding: 0.625rem 1.25rem; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 100px; font-size: 0.875rem; font-weight: 500; margin-bottom: 2rem; animation: fadeInUp 0.8s ease forwards; }
.hero-badge i { color: var(--accent); }
.hero-title { font-size: clamp(2.75rem, 6vw, 4.5rem); font-weight: 700; color: var(--white); margin-bottom: 1.5rem; letter-spacing: -0.03em; animation: fadeInUp 0.8s ease 0.1s forwards; opacity: 0; }
.hero-title span { color: var(--accent); }
.hero-description { font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.7; color: rgba(255, 255, 255, 0.85); margin-bottom: 2.5rem; max-width: 580px; animation: fadeInUp 0.8s ease 0.2s forwards; opacity: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; animation: fadeInUp 0.8s ease 0.3s forwards; opacity: 0; }
.hero-features { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, 0.15); animation: fadeInUp 0.8s ease 0.4s forwards; opacity: 0; }
.hero-feature { display: flex; align-items: center; gap: 0.75rem; }
.hero-feature i { font-size: 1.125rem; color: var(--accent); }
.hero-feature span { font-size: 0.9375rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(255, 255, 255, 0.6); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; animation: bounce 2s infinite; }
.hero-scroll i { font-size: 1.5rem; }

/* Sections */
.section { padding: clamp(5rem, 10vw, 8rem) 0; }
.section-padding { padding: clamp(4rem, 8vw, 6rem) 0; }
.section-dark { background: var(--gray-900); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-gray { background: var(--gray-100); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-label { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); margin-bottom: 1rem; }
.section-label::before, .section-label::after { content: ''; width: 20px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-title { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.0625rem, 2vw, 1.1875rem); color: var(--gray-600); line-height: 1.7; }

/* Service Cards */
.service-card { position: relative; padding: 2.5rem; background: var(--white); border-radius: var(--radius-2xl); border: 1px solid var(--gray-200); transition: all var(--transition); overflow: hidden; height: 100%; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(27, 79, 79, 0.08) 0%, rgba(93, 217, 217, 0.08) 100%); border-radius: var(--radius-lg); margin-bottom: 1.5rem; }
.service-icon i { font-size: 1.5rem; color: var(--primary); }
.service-title { font-size: 1.25rem; margin-bottom: 0.75rem; font-weight: 600; }
.service-description { color: var(--gray-600); margin-bottom: 1.5rem; font-size: 0.9375rem; line-height: 1.65; }
.service-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9375rem; color: var(--primary); }
.service-link i { transition: transform var(--transition); }
.service-link:hover i { transform: translateX(4px); }

/* Team Cards */
.team-card { text-align: center; }
.team-image { position: relative; margin-bottom: 1.5rem; border-radius: 24px; overflow: hidden; }
.team-image img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.team-card:hover .team-image img { transform: scale(1.05); }
.team-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; background: linear-gradient(to top, rgba(21, 61, 61, 0.95), transparent); opacity: 0; transition: opacity var(--transition); }
.team-card:hover .team-overlay { opacity: 1; }
.team-social { display: flex; justify-content: center; gap: 0.75rem; }
.team-social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: 50%; color: var(--primary); transition: all var(--transition); }
.team-social a:hover { background: var(--accent); color: var(--white); transform: translateY(-3px); }
.team-name { font-size: 1.5rem; margin-bottom: 0.25rem; }
.team-role { color: var(--accent); font-weight: 600; font-size: 0.9375rem; margin-bottom: 1rem; }
.team-bio { color: var(--gray-600); font-size: 0.9375rem; line-height: 1.7; }

/* Area Cards */
.area-card { position: relative; padding: 2rem; background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--gray-200); transition: all var(--transition); height: 100%; }
.area-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.area-number { font-size: 2.5rem; font-weight: 700; color: var(--gray-200); font-family: var(--font-display); line-height: 1; margin-bottom: 1rem; transition: color var(--transition); }
.area-card:hover .area-number { color: var(--accent); }
.area-title { font-size: 1.125rem; margin-bottom: 0.5rem; font-weight: 600; }
.area-description { color: var(--gray-600); font-size: 0.9375rem; line-height: 1.6; }

/* Testimonials */
.testimonial-card { background: var(--white); border-radius: var(--radius-2xl); padding: 2.5rem; box-shadow: var(--shadow-md); position: relative; border: 1px solid var(--gray-200); transition: all var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-lg); }
.testimonial-card::before { content: '"'; position: absolute; top: 1rem; right: 1.5rem; font-size: 5rem; font-family: var(--font-display); color: var(--gray-100); line-height: 1; }
.testimonial-rating { display: flex; gap: 0.25rem; margin-bottom: 1.25rem; }
.testimonial-rating i { color: #f59e0b; font-size: 1rem; }
.testimonial-text { font-size: 1rem; line-height: 1.7; color: var(--gray-800); margin-bottom: 1.5rem; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 600; font-size: 1rem; }
.testimonial-name { font-weight: 600; color: var(--gray-900); font-size: 0.9375rem; }
.testimonial-role { font-size: 0.8125rem; color: var(--gray-600); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; }
.stat-item { text-align: center; padding: 2rem 1rem; }
.stat-number { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; font-family: var(--font-display); color: var(--accent); line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.stat-label { font-size: 0.9375rem; color: var(--gray-600); font-weight: 500; }
.section-dark .stat-label { color: rgba(255, 255, 255, 0.7); }

/* CTA */
.cta-section { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%); overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -40%; right: -5%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(93, 217, 217, 0.15) 0%, transparent 70%); border-radius: 50%; }
.cta-section::after { content: ''; position: absolute; bottom: -30%; left: -5%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(93, 217, 217, 0.1) 0%, transparent 70%); border-radius: 50%; }
.cta-content { position: relative; text-align: center; color: var(--white); }
.cta-title { color: var(--white); font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; font-weight: 600; letter-spacing: -0.02em; }
.cta-description { font-size: 1.125rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* Contact */
.contact-form { background: var(--white); border-radius: var(--radius-2xl); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.contact-form-wrapper { background: var(--white); border-radius: var(--radius-2xl); padding: 3rem; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); }
.contact-form-wrapper h2 { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; }
.contact-info-wrapper { padding: 1rem 0; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1rem; padding: 1.25rem 1.5rem; background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--gray-200); transition: all var(--transition); }
.contact-info-item:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-info-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--primary); border-radius: var(--radius-md); flex-shrink: 0; }
.contact-info-icon i { font-size: 1.125rem; color: var(--white); }
.contact-info-content h4 { font-size: 0.75rem; font-family: var(--font-sans); font-weight: 600; margin-bottom: 0.25rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-info-content a, .contact-info-content p { color: var(--gray-900); font-size: 0.9375rem; font-weight: 500; margin: 0; }
.contact-info-content a:hover { color: var(--primary); }
.contact-schedule { background: var(--gray-100); border-radius: var(--radius-xl); padding: 1.5rem; }
.contact-schedule h4 { font-size: 1rem; margin-bottom: 1rem; font-weight: 600; display: flex; align-items: center; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 500; margin-bottom: 0.5rem; color: var(--gray-800); font-size: 0.9375rem; }
.form-control { width: 100%; padding: 0.875rem 1rem; font-family: var(--font-sans); font-size: 0.9375rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); transition: all var(--transition); background: var(--gray-100); }
.form-control:hover { border-color: var(--gray-400); }
.form-control:focus { outline: none; border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(27, 79, 79, 0.08); }
.form-control::placeholder { color: var(--gray-400); }
.form-select { width: 100%; padding: 0.875rem 1rem; font-family: var(--font-sans); font-size: 0.9375rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); transition: all var(--transition); background: var(--gray-100); cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23636e7b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-select:hover { border-color: var(--gray-400); }
.form-select:focus { outline: none; border-color: var(--primary); background-color: var(--white); box-shadow: 0 0 0 3px rgba(27, 79, 79, 0.08); }
textarea.form-control { min-height: 140px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; gap: 1rem; }
.contact-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--primary); border-radius: var(--radius-md); flex-shrink: 0; }
.contact-icon i { font-size: 1.125rem; color: var(--white); }
.contact-text h4 { font-size: 0.9375rem; font-family: var(--font-sans); font-weight: 600; margin-bottom: 0.25rem; }
.contact-text p, .contact-text a { color: var(--gray-600); font-size: 0.9375rem; margin: 0; }

/* Bootstrap utilities used */
.row { display: flex; flex-wrap: wrap; margin: -0.75rem; }
.row > * { padding: 0.75rem; }
.g-3 { gap: 1rem; }
.g-5 { gap: 3rem; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-md-6 { flex: 0 0 100%; max-width: 100%; }
.col-lg-5 { flex: 0 0 100%; max-width: 100%; }
.col-lg-7 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) { .col-md-6 { flex: 0 0 50%; max-width: 50%; } }
@media (min-width: 992px) { .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; } .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; } }
.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.p-4 { padding: 1.5rem; }
.me-2 { margin-right: 0.5rem; }
.bg-light { background: var(--gray-100); }
.bg-success { background: #25d366 !important; }
.rounded { border-radius: 12px; }
.list-unstyled { list-style: none; padding: 0; margin: 0; }
.list-unstyled li { margin-bottom: 0.5rem; }
.alert { padding: 1rem 1.25rem; border-radius: 12px; margin-bottom: 1.5rem; }
.alert-success { background: rgba(37, 211, 102, 0.1); color: #198754; border: 1px solid rgba(37, 211, 102, 0.2); }
.alert-danger { background: rgba(220, 53, 69, 0.1); color: #dc3545; border: 1px solid rgba(220, 53, 69, 0.2); }
.text-danger { color: #dc3545; font-size: 0.875rem; }

/* Footer */
.footer { background: var(--dark); color: rgba(255, 255, 255, 0.65); padding: 5rem 0 0; }
.footer-brand { margin-bottom: 1.5rem; }
.footer-brand img { height: 40px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-description { color: rgba(255, 255, 255, 0.55); font-size: 0.9375rem; max-width: 280px; margin-bottom: 1.5rem; line-height: 1.6; }
.footer-title { font-size: 0.8125rem; font-family: var(--font-sans); font-weight: 600; color: var(--white); margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.625rem; }
.footer-links a { color: rgba(255, 255, 255, 0.55); font-size: 0.9375rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 0.625rem; }
.footer-social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08); border-radius: var(--radius-md); color: var(--white); transition: all var(--transition); }
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-bottom { margin-top: 4rem; padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, 0.08); text-align: center; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.45); }

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; }
.whatsapp-float a { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: #25d366; border-radius: 50%; color: var(--white); font-size: 1.5rem; box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35); transition: all var(--transition); }
.whatsapp-float a:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); color: var(--white); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-10px); } 60% { transform: translateX(-50%) translateY(-5px); } }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Page Headers with Backgrounds */
.page-header { position: relative; padding: 12rem 0 5rem; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(21, 61, 61, 0.75) 0%, rgba(27, 79, 79, 0.65) 50%, rgba(35, 102, 102, 0.6) 100%); z-index: 1; }
.page-header-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-header-sm { padding: 11rem 0 4rem; }
.page-header-content { position: relative; text-align: center; color: var(--white); z-index: 2; }
.page-title { color: var(--white); font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: 1rem; font-weight: 600; letter-spacing: -0.02em; text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.page-description { font-size: 1.125rem; color: rgba(255, 255, 255, 0.95); max-width: 560px; margin: 0 auto; line-height: 1.6; text-shadow: 0 1px 10px rgba(0,0,0,0.3); }
.breadcrumb { display: flex; justify-content: center; align-items: center; gap: 0.5rem; list-style: none; margin-bottom: 1.5rem; font-size: 0.875rem; position: relative; z-index: 2; }
.breadcrumb a { color: rgba(255, 255, 255, 0.8); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-separator { color: rgba(255, 255, 255, 0.5); }
.breadcrumb-current { color: var(--accent); font-weight: 500; }
.breadcrumb-item { color: rgba(255, 255, 255, 0.8); }
.breadcrumb-item.active { color: var(--accent); font-weight: 500; }
.breadcrumb-item + .breadcrumb-item::before { content: '/'; padding: 0 0.5rem; color: rgba(255, 255, 255, 0.5); }

/* Page-specific backgrounds */
.page-header--servicios .page-header-bg { background-image: url('https://images.pexels.com/photos/1554646/pexels-photo-1554646.jpeg?auto=compress&cs=tinysrgb&w=1920'); }
.page-header--areas .page-header-bg { background-image: url('https://images.pexels.com/photos/3063470/pexels-photo-3063470.jpeg?auto=compress&cs=tinysrgb&w=1920'); }
.page-header--nosotros .page-header-bg { background-image: url('https://images.pexels.com/photos/2017747/pexels-photo-2017747.jpeg?auto=compress&cs=tinysrgb&w=1920'); }
.page-header--contacto .page-header-bg { background-image: url('https://images.pexels.com/photos/19821189/pexels-photo-19821189.jpeg?auto=compress&cs=tinysrgb&w=1920'); }
.page-header--blog .page-header-bg { background-image: url('https://images.pexels.com/photos/8777703/pexels-photo-8777703.jpeg?auto=compress&cs=tinysrgb&w=1920'); }
.page-header--opiniones .page-header-bg { background-image: url('https://images.pexels.com/photos/2231744/pexels-photo-2231744.jpeg?auto=compress&cs=tinysrgb&w=1920'); }

/* Grid & Utils */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 5vw, 3rem); }
.container-sm { max-width: 800px; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* About Section */
.about-image { position: relative; }
.about-badge { position: absolute; bottom: -1.5rem; right: -1.5rem; background: var(--white); padding: 1.25rem 1.5rem; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); text-align: center; }
.about-badge-number { font-size: 2rem; font-weight: 700; color: var(--primary); font-family: var(--font-display); line-height: 1; }
.about-badge-text { font-size: 0.75rem; color: var(--gray-600); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

/* Contact Page - Modern 2 Column Layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-form-wrapper { background: var(--white); border-radius: var(--radius-2xl); padding: 2.5rem; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); }
.contact-form-wrapper h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.contact-form-desc { color: var(--gray-600); font-size: 0.9375rem; margin-bottom: 2rem; }
.contact-form-modern .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.contact-form-modern .form-group { margin-bottom: 0; }
.btn-block { width: 100%; margin-top: 0.5rem; }

.contact-info-panel { background: var(--primary); border-radius: var(--radius-2xl); padding: 2.5rem; color: var(--white); }
.contact-info-header { margin-bottom: 2rem; }
.contact-info-header h2 { font-size: 1.5rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.contact-info-header p { color: rgba(255, 255, 255, 0.7); font-size: 0.9375rem; margin: 0; }

.contact-info-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.contact-info-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: rgba(255, 255, 255, 0.1); border-radius: var(--radius-lg); text-decoration: none; color: var(--white); transition: all var(--transition); }
.contact-info-card:hover { background: rgba(255, 255, 255, 0.18); transform: translateX(4px); color: var(--white); }
.contact-info-card .contact-info-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.15); border-radius: var(--radius-md); flex-shrink: 0; }
.contact-info-card .contact-info-icon i { font-size: 1.125rem; color: var(--white); }
.contact-info-card .contact-info-content { flex: 1; }
.contact-info-card .contact-info-label { display: block; font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.125rem; }
.contact-info-card .contact-info-value { display: block; font-size: 0.9375rem; font-weight: 500; }
.contact-info-card .contact-info-arrow { color: rgba(255, 255, 255, 0.4); transition: all var(--transition); }
.contact-info-card:hover .contact-info-arrow { color: var(--white); transform: translateX(2px); }
.contact-info-whatsapp { background: rgba(37, 211, 102, 0.25); }
.contact-info-whatsapp:hover { background: rgba(37, 211, 102, 0.35); }
.contact-info-whatsapp .contact-info-icon { background: #25d366; }

.contact-schedule-card { background: rgba(255, 255, 255, 0.1); border-radius: var(--radius-lg); padding: 1.25rem; }
.contact-schedule-header { display: flex; align-items: center; gap: 0.625rem; font-size: 0.9375rem; font-weight: 600; margin-bottom: 1rem; }
.contact-schedule-header i { font-size: 1.125rem; color: var(--accent); }
.contact-schedule-list { display: flex; flex-direction: column; gap: 0.5rem; }
.schedule-item { display: flex; justify-content: space-between; font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); }
.schedule-item span:last-child { font-weight: 500; color: var(--white); }

/* Responsive */
@media (max-width: 991px) { 
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .about-badge { bottom: -1rem; right: 1rem; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) { 
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } 
    .hero-cta { flex-direction: column; } 
    .hero-features { flex-direction: column; gap: 1rem; } 
    .cta-buttons { flex-direction: column; align-items: center; }
    .about-badge { position: relative; bottom: auto; right: auto; margin-top: 1rem; display: inline-block; }
    .page-header { padding: 9rem 0 3rem; }
    .page-header-sm { padding: 8rem 0 2.5rem; }
    .contact-form-modern .form-row { grid-template-columns: 1fr; }
    .contact-form-wrapper, .contact-info-panel { padding: 2rem; }
}
@media print { .navbar, .footer, .whatsapp-float { display: none !important; } }

/* ===== TEAM PAGE - Nosotros ===== */
.team-profile { display: flex; align-items: flex-start; gap: 3rem; margin-bottom: 4rem; padding-bottom: 4rem; border-bottom: 1px solid var(--gray-200); }
.team-profile:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.team-profile-image { flex-shrink: 0; }
.team-profile-image img { width: 240px; height: 240px; border-radius: 50%; object-fit: cover; object-position: top; border: 5px solid var(--white); box-shadow: 0 10px 40px rgba(27, 79, 79, 0.2); filter: grayscale(100%); transition: filter var(--transition); background-color: var(--gray-200); }
.team-profile:hover .team-profile-image img { filter: grayscale(0%); }
.team-profile-content { flex: 1; }
.team-profile-label { display: inline-block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); background: rgba(27, 79, 79, 0.1); padding: 0.375rem 0.875rem; border-radius: 100px; margin-bottom: 0.75rem; }
.team-profile-name { font-size: 2rem; font-weight: 600; margin-bottom: 0.25rem; letter-spacing: -0.02em; }
.team-profile-role { font-size: 1.0625rem; color: var(--accent); font-weight: 500; margin-bottom: 1.5rem; }
.team-profile-bio { color: var(--gray-600); line-height: 1.7; margin-bottom: 1rem; }
.team-profile-bio strong { color: var(--gray-800); }
.team-profile.reverse { flex-direction: row-reverse; }
@media (max-width: 767px) { 
    .team-profile { flex-direction: column; text-align: center; align-items: center; gap: 1.5rem; }
    .team-profile.reverse { flex-direction: column; }
    .team-profile-image { order: 1; width: 180px; height: 180px; margin: 0 auto; }
    .team-profile-content { order: 2; }
    .team-profile-image img { width: 180px; height: 180px; min-width: 180px; min-height: 180px; display: block !important; visibility: visible !important; opacity: 1 !important; }
    .team-profile-name { font-size: 1.5rem; }
    .team-profile-role { font-size: 1rem; margin-bottom: 1rem; }
    .team-profile-bio { font-size: 0.9375rem; }
}

/* ===== SERVICES PAGE ===== */
.service-detail { display: flex; gap: 2rem; padding: 2.5rem; background: var(--white); border-radius: var(--radius-2xl); border: 1px solid var(--gray-200); margin-bottom: 2rem; transition: all var(--transition); }
.service-detail:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.service-detail-icon { flex-shrink: 0; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); border-radius: var(--radius-xl); }
.service-detail-icon i { font-size: 1.75rem; color: var(--white); }
.service-detail-content { flex: 1; }
.service-detail-title { font-size: 1.375rem; font-weight: 600; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.service-detail-desc { color: var(--gray-600); line-height: 1.7; margin-bottom: 1.25rem; }
.service-features-title { font-size: 0.875rem; font-weight: 600; color: var(--gray-800); margin-bottom: 0.75rem; }
.service-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.625rem; margin-bottom: 1.5rem; }
.service-feature-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; color: var(--gray-700); }
.service-feature-item i { color: var(--accent); font-size: 1rem; }
@media (max-width: 767px) {
    .service-detail { flex-direction: column; text-align: center; }
    .service-detail-icon { margin: 0 auto; }
    .service-features-grid { grid-template-columns: 1fr; }
    .service-feature-item { justify-content: center; }
}

/* Process Steps */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process-step { text-align: center; padding: 2rem 1.5rem; background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--gray-200); position: relative; }
.process-step::after { content: ''; position: absolute; top: 50%; right: -1rem; width: 2rem; height: 2px; background: var(--gray-200); }
.process-step:last-child::after { display: none; }
.process-number { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--primary); color: var(--white); font-size: 1.25rem; font-weight: 700; border-radius: 50%; margin: 0 auto 1rem; }
.process-step h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.process-step p { color: var(--gray-600); font-size: 0.875rem; line-height: 1.6; margin: 0; }
@media (max-width: 991px) { .process-grid { grid-template-columns: repeat(2, 1fr); } .process-step::after { display: none; } }
@media (max-width: 575px) { .process-grid { grid-template-columns: 1fr; } }

/* FAQ Accordion */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); margin-bottom: 1rem; overflow: hidden; }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; cursor: pointer; font-weight: 600; color: var(--gray-900); transition: all var(--transition); }
.faq-question:hover { color: var(--primary); }
.faq-question i { font-size: 1.25rem; color: var(--gray-400); transition: transform var(--transition); }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }
.faq-answer { padding: 0 1.5rem 1.25rem; color: var(--gray-600); line-height: 1.7; display: none; }
.faq-item.active .faq-answer { display: block; }

/* ===== BLOG PAGE ===== */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.blog-card { background: var(--white); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--gray-200); transition: all var(--transition); }
.blog-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-header { padding: 2rem 2rem 1.5rem; position: relative; }
.blog-card-header.bg-1 { background: linear-gradient(135deg, #1B4F4F 0%, #236666 100%); }
.blog-card-header.bg-2 { background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%); }
.blog-card-header.bg-3 { background: linear-gradient(135deg, #553c9a 0%, #805ad5 100%); }
.blog-card-header.bg-4 { background: linear-gradient(135deg, #c05621 0%, #dd6b20 100%); }
.blog-card-header.bg-5 { background: linear-gradient(135deg, #2b6cb0 0%, #4299e1 100%); }
.blog-card-header.bg-6 { background: linear-gradient(135deg, #276749 0%, #38a169 100%); }
.blog-card-category { display: inline-block; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.15); padding: 0.375rem 0.75rem; border-radius: 100px; margin-bottom: 1rem; }
.blog-card-header-title { font-size: 1.25rem; font-weight: 600; color: var(--white); line-height: 1.4; margin: 0; }
.blog-card-body { padding: 1.5rem 2rem 2rem; }
.blog-card-meta { display: flex; gap: 1rem; font-size: 0.8125rem; color: var(--gray-500); margin-bottom: 1rem; }
.blog-card-meta i { margin-right: 0.25rem; }
.blog-card-excerpt { color: var(--gray-600); font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1.25rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.blog-card-tag { font-size: 0.75rem; color: var(--primary); background: rgba(27, 79, 79, 0.08); padding: 0.25rem 0.625rem; border-radius: 100px; }
.blog-card-link { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.9375rem; font-weight: 600; color: var(--primary); }
.blog-card-link i { transition: transform var(--transition); }
.blog-card-link:hover i { transform: translateX(4px); }
@media (max-width: 767px) { .blog-grid { grid-template-columns: 1fr; } }

/* Newsletter */
.newsletter-box { background: var(--gray-100); border-radius: var(--radius-2xl); padding: 3rem; text-align: center; }
.newsletter-box h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.newsletter-box p { color: var(--gray-600); margin-bottom: 1.5rem; }
.newsletter-form { display: flex; gap: 0.75rem; max-width: 400px; margin: 0 auto; }
.newsletter-form .form-control { flex: 1; }
@media (max-width: 575px) { .newsletter-form { flex-direction: column; } }

/* ===== AREAS PAGE ===== */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.area-detail-card { background: var(--white); border-radius: var(--radius-2xl); padding: 2rem; border: 1px solid var(--gray-200); height: 100%; display: flex; flex-direction: column; transition: all var(--transition); }
.area-detail-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.area-detail-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(27, 79, 79, 0.1) 0%, rgba(93, 217, 217, 0.1) 100%); border-radius: var(--radius-lg); margin-bottom: 1.25rem; }
.area-detail-icon i { font-size: 1.5rem; color: var(--primary); }
.area-detail-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.area-detail-desc { color: var(--gray-600); font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1.25rem; flex-grow: 1; }
.area-subareas { list-style: none; padding: 0; margin: 0 0 1.5rem 0; }
.area-subareas li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--gray-700); padding: 0.375rem 0; border-bottom: 1px solid var(--gray-100); }
.area-subareas li:last-child { border-bottom: none; }
.area-subareas li::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
@media (max-width: 991px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .areas-grid { grid-template-columns: 1fr; } }

/* Expertise Section */
.expertise-section { background: var(--primary); padding: clamp(4rem, 8vw, 6rem) 0; }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.expertise-content h2 { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.expertise-content p { color: rgba(255,255,255,0.8); line-height: 1.7; }
.expertise-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.expertise-stat { background: rgba(255,255,255,0.1); border-radius: var(--radius-xl); padding: 1.5rem; text-align: center; }
.expertise-stat-number { font-size: 2.5rem; font-weight: 700; color: var(--accent); font-family: var(--font-display); line-height: 1; margin-bottom: 0.25rem; }
.expertise-stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
@media (max-width: 991px) { .expertise-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ===== UTILITIES ===== */
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.h-100 { height: 100%; }
.text-muted { color: var(--gray-600); }
.display-1 { font-size: 4rem; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }
.text-success { color: #25d366; }
.text-white { color: var(--white); }
.text-white-50 { color: rgba(255,255,255,0.5); }
.bg-primary { background: var(--primary); }
.btn-outline-primary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: var(--white); }
.input-group { display: flex; gap: 0; }
.input-group .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; }

/* Testimonial Card White (Opiniones page) */
.testimonial-card-white { background: var(--white); border-radius: var(--radius-2xl); padding: 2rem; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); height: 100%; transition: all var(--transition); }
.testimonial-card-white:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testimonial-card-white .testimonial-rating { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.testimonial-card-white .testimonial-rating i { color: #f59e0b; font-size: 1rem; }
.testimonial-card-white .testimonial-text { color: var(--gray-700); line-height: 1.7; margin-bottom: 1.5rem; font-size: 0.9375rem; }
.testimonial-card-white .testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.testimonial-card-white .testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 600; font-size: 1rem; }
.testimonial-card-white .testimonial-name { font-weight: 600; color: var(--gray-900); font-size: 0.9375rem; }
.testimonial-card-white .testimonial-role { font-size: 0.8125rem; color: var(--gray-500); }

/* Row and Col utilities for Opiniones */
.col-md-6, .col-lg-4 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) { .col-md-6 { flex: 0 0 50%; max-width: 50%; } }
@media (min-width: 992px) { .col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; } }
