/* ==========================================================================
   R&J SERVICIOS INTEGRALES 2000, C.A. - DESIGN SYSTEM & STYLESHEET
   Palette: Dark Charcoal (#0A0C10, #12151C) + Industrial Gold/Yellow (#FFB800, #F59E0B)
   ========================================================================== */

:root {
    /* Color Tokens */
    --bg-dark: #0A0C10;
    --bg-surface: #12151C;
    --bg-card: #181C26;
    --bg-card-hover: #212634;
    
    --yellow-primary: #FFB800;
    --yellow-hover: #F59E0B;
    --yellow-glow: rgba(255, 184, 0, 0.25);
    --yellow-subtle: rgba(255, 184, 0, 0.1);
    
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dark: #0F172A;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-yellow: rgba(255, 184, 0, 0.3);
    
    /* Typography */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Container Widths */
    --max-width: 1240px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Helpers & Utilities */
.text-yellow { color: var(--yellow-primary); }
.text-gradient-yellow {
    background: linear-gradient(135deg, #FFC700 0%, #FFB800 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.icon-sm {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* TOP BAR */
.top-bar {
    background-color: #06080B;
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.divider {
    color: var(--border-color);
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-link {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.top-link:hover {
    color: var(--yellow-primary);
}

.top-whatsapp {
    color: #25D366;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.top-whatsapp:hover {
    text-decoration: underline;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 12, 16, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.9rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.6rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    background: rgba(10, 12, 16, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    height: 48px;
    overflow: hidden;
}

.brand-logo .logo-img {
    height: 48px !important;
    max-height: 48px !important;
    width: auto !important;
    max-width: 170px !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover .logo-img {
    transform: scale(1.04);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link.highlight {
    color: var(--yellow-primary);
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--yellow-primary);
    transition: var(--transition);
    border-radius: 2px;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
}

.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.nav-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--bg-card);
    color: var(--yellow-primary);
    border-color: var(--border-yellow);
}

.btn-primary:hover {
    background-color: var(--yellow-primary);
    color: var(--text-dark);
    box-shadow: 0 0 20px var(--yellow-glow);
}

.btn-yellow {
    background: linear-gradient(135deg, var(--yellow-primary) 0%, var(--yellow-hover) 100%);
    color: var(--text-dark);
    box-shadow: 0 4px 15px var(--yellow-glow);
}

.btn-yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-outline:hover {
    border-color: var(--yellow-primary);
    color: var(--yellow-primary);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #FFF;
    border-radius: 8px;
}
.btn-whatsapp:hover {
    background-color: #1EBE57;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 5rem 0 6rem 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 184, 0, 0.06) 0%, transparent 60%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--yellow-subtle);
    border: 1px solid var(--border-yellow);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--yellow-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--yellow-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--yellow-primary);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.highlight-item svg {
    color: var(--yellow-primary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-card-container {
    position: relative;
}

.hero-card-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-yellow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.hero-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    transition: var(--transition);
}

.hero-card-image:hover .hero-img {
    transform: scale(1.04);
}

.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10, 12, 16, 0.95) 0%, transparent 100%);
}

.card-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--yellow-primary);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-card-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.hero-card-overlay p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* KPI DASHBOARD SECTION */
.kpi-section {
    padding: 2rem 0;
    position: relative;
    z-index: 10;
    margin-top: -3rem;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.kpi-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 1.75rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.kpi-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-yellow);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.kpi-card-featured {
    border-color: var(--yellow-primary);
    background: radial-gradient(circle at top right, rgba(255, 184, 0, 0.15), var(--bg-surface));
}

.kpi-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--yellow-subtle);
    color: var(--yellow-primary);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.kpi-data {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.kpi-unit {
    color: var(--yellow-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-left: 0.25rem;
}

.kpi-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

/* SECTION HEADERS */
.section-header {
    margin-bottom: 3.5rem;
}

.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    color: var(--yellow-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
}

/* SPECIALTY SECTION (HYDROBLASTING) */
.specialty-section {
    padding: 6rem 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.specialty-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.specialty-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-yellow);
}

.specialty-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.specialty-badge-floating {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(10, 12, 16, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-yellow);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--yellow-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.specialty-info {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.specialty-feature-box {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.specialty-feature-box:hover {
    border-color: var(--border-yellow);
    transform: translateX(5px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--yellow-subtle);
    color: var(--yellow-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.specialty-feature-box h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.specialty-feature-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* SERVICES SECTION */
.services-section {
    padding: 6rem 0;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--text-main);
    border-color: var(--border-yellow);
}

.tab-btn.active {
    background: var(--yellow-primary);
    color: var(--text-dark);
    border-color: var(--yellow-primary);
    box-shadow: 0 0 15px var(--yellow-glow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-yellow);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.card-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--yellow-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.card-icon {
    width: 52px;
    height: 52px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--yellow-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.card-checklist {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-checklist li {
    font-size: 0.85rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-checklist svg {
    color: var(--yellow-primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.card-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.card-btn:hover {
    background: var(--yellow-subtle);
    border-color: var(--yellow-primary);
    color: var(--yellow-primary);
}

/* ABOUT SECTION */
.about-section {
    padding: 6rem 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.about-lead {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.about-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.mvv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.mvv-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.mvv-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--yellow-primary);
    margin-bottom: 0.75rem;
}

.mvv-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-main);
}

.mvv-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.about-media {
    position: relative;
}

.about-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.about-experience-card {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-yellow);
    padding: 1.5rem;
    border-radius: 14px;
    max-width: 280px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
}

.exp-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--yellow-primary);
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

.exp-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* STANDARDS & VALUES SECTION */
.standards-section {
    padding: 6rem 0;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 5rem;
}

.standard-pill {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.standard-pill svg {
    color: var(--yellow-primary);
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.standard-pill:hover {
    border-color: var(--border-yellow);
    transform: translateY(-3px);
}

.values-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.value-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.value-item:hover {
    border-color: var(--border-yellow);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: var(--yellow-subtle);
    color: var(--yellow-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.value-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* EXPERIENCE / PROJECTS SECTION */
.experience-section {
    padding: 6rem 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

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

.exp-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem;
    transition: var(--transition);
}

.exp-card:hover {
    border-color: var(--border-yellow);
    transform: translateY(-5px);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.exp-tag {
    background: var(--yellow-subtle);
    color: var(--yellow-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;

}

.exp-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.exp-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.exp-client {
    color: var(--yellow-primary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.exp-detail {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* CONTACT SECTION */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.c-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--yellow-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

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

.contact-item a {
    color: var(--text-main);
}
.contact-item a:hover {
    color: var(--yellow-primary);
}

.whatsapp-banner {
    background: var(--bg-surface);
    border: 1px solid #25D366;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wa-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wa-icon {
    color: #25D366;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.wa-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
}

.wa-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.contact-form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-sub {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 2rem;
}

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

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

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--yellow-primary);
    box-shadow: 0 0 10px var(--yellow-glow);
}

textarea {
    resize: vertical;
}

.readonly-input {
    background: var(--bg-surface);
    color: var(--yellow-primary);
    font-weight: 600;
}

/* FOOTER */
.footer {
    background: #06080B;
    border-top: 1px solid var(--border-color);
    padding-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 320px;
    line-height: 1.6;
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    color: var(--text-main);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--yellow-primary);
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact svg {
    color: var(--yellow-primary);
    width: 16px;
    height: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tagline {
    color: var(--yellow-primary);
    font-weight: 600;
}

/* MODAL STYLES */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-yellow);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-backdrop.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.modal-close:hover {
    color: var(--yellow-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-icon {
    width: 52px;
    height: 52px;
    background: var(--yellow-subtle);
    color: var(--yellow-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* SUCCESS MODAL STYLES */
.modal-success-card {
    border-color: var(--yellow-primary);
    background: radial-gradient(circle at top center, rgba(255, 184, 0, 0.1), var(--bg-surface));
}

.success-icon {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.4);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
}

.success-body {
    margin-bottom: 2rem;
}

.success-message {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.success-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-yellow);
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.success-contact-badge strong {
    color: var(--yellow-primary);
}

/* SPINNER ANIMATION */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 0.9s linear infinite;
}

/* RESPONSIVE MEDIA QUERIES FOR ULTRA MOBILE OPTIMIZATION */
@media (max-width: 1024px) {
    .hero-container, .specialty-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .kpi-grid, .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .about-experience-card {
        bottom: 1rem;
        left: 1rem;
    }
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: var(--bg-card);
        border: 1px solid var(--border-yellow);
        border-radius: 10px;
        color: var(--yellow-primary);
        cursor: pointer;
        transition: var(--transition);
    }
    
    .mobile-toggle:hover {
        background: var(--yellow-primary);
        color: var(--text-dark);
        box-shadow: 0 0 15px var(--yellow-glow);
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 0.9rem);
        left: 0;
        right: 0;
        background: rgba(18, 21, 28, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-yellow);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1rem;
        gap: 0.5rem;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.95);
        z-index: 999;
        border-radius: 0 0 16px 16px;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        padding: 0.85rem 1.25rem;
        border-radius: 8px;
        font-size: 0.98rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid transparent;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover, .nav-link.active {
        background: var(--yellow-subtle);
        border-color: var(--border-yellow);
        color: var(--yellow-primary);
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 0.4rem;
        text-align: center;
    }

    .top-info, .top-contact {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .hero-section {
        padding: 2.5rem 0 3.5rem 0;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.98rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-img, .specialty-img, .about-img {
        height: 280px;
    }
    
    .kpi-grid, .values-grid, .mvv-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

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

    .services-tabs {
        flex-direction: column;
        width: 100%;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .whatsapp-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .whatsapp-banner .btn-whatsapp {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .card-title {
        font-size: 1.15rem;
    }
}

/* MOBILE QUICK ACTION BAR & PWA MOBILE WEB APP ENHANCEMENTS */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 12, 16, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-yellow);
    z-index: 995;
    padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
}

.m-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.m-bar-item i {
    width: 20px;
    height: 20px;
}

.m-bar-item:active {
    transform: scale(0.95);
    color: var(--yellow-primary);
}

.m-bar-highlight {
    background: var(--yellow-primary);
    color: var(--text-dark);
    box-shadow: 0 0 15px var(--yellow-glow);
}

.m-bar-highlight:active {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }
}

/* HIGH-END SAFE SCROLL & ENTRANCE ANIMATIONS */
body.js-enabled .reveal, 
body.js-enabled .reveal-left, 
body.js-enabled .reveal-right, 
body.js-enabled .reveal-zoom {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

body.js-enabled .reveal {
    transform: translateY(35px);
}

body.js-enabled .reveal-left {
    transform: translateX(-45px);
}

body.js-enabled .reveal-right {
    transform: translateX(45px);
}

body.js-enabled .reveal-zoom {
    transform: scale(0.93);
}

body.js-enabled .reveal.active, 
body.js-enabled .reveal-left.active, 
body.js-enabled .reveal-right.active, 
body.js-enabled .reveal-zoom.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* STAGGER DELAYS */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* CONTINUOUS DYNAMIC MICRO-ANIMATIONS */
@keyframes floatContinuous {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-img, .specialty-img, .about-img {
    animation: floatContinuous 6s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.7); }
    50% { transform: scale(1.2); opacity: 0.8; box-shadow: 0 0 0 10px rgba(255, 184, 0, 0); }
}

.badge-dot {
    animation: pulseDot 2s infinite;
}

@keyframes gradientShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* INITIAL HERO ENTRANCE ANIMATION ON PAGE LOAD */
@keyframes heroFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeInRight {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content {
    animation: heroFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-card-container {
    animation: heroFadeInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
