/*
 * IMTA Design System v2.0
 * Premium Professional Theme - Unified Design Language
 * Based on Legacy Premium Design with Modern Enhancements
 */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ======================================== */

:root {
    /* Primary Blue Palette - Trust & Authority */
    --primary-900: #0a192f;
    --primary-800: #112240;
    --primary-700: #1e4d78;
    --primary-600: #2563a0;
    --primary-500: #3b82c8;
    --primary-400: #5c9fdb;
    --primary-300: #8dbde8;
    --primary-200: #bdd9f2;
    --primary-100: #e0eff9;
    --primary-50: #f0f7fc;

    /* Accent Gold Palette - Excellence & Achievement */
    --accent-700: #8b6914;
    --accent-600: #b8862e;
    --accent-500: #d4a03a;
    --accent-400: #e4b860;
    --accent-300: #f0ce8a;
    --accent-200: #f8e4b8;
    --accent-100: #fcf4e6;

    /* Secondary Teal - Health & Technology */
    --secondary-600: #0d9488;
    --secondary-500: #14b8a6;
    --secondary-400: #2dd4bf;
    --secondary-300: #5eead4;

    /* Neutral Gray Palette */
    --gray-900: #1a1a2e;
    --gray-800: #2d2d44;
    --gray-700: #4a4a5c;
    --gray-600: #6b6b7d;
    --gray-500: #8e8e9d;
    --gray-400: #b0b0bc;
    --gray-300: #d1d1d9;
    --gray-200: #e8e8ec;
    --gray-100: #f4f4f6;
    --gray-50: #fafafb;

    /* Semantic Colors */
    --success-600: #059669;
    --success-500: #10b981;
    --success-100: #d1fae5;
    --whatsapp: #25D366;
    --white: #ffffff;
    --black: #000000;

    /* Typography */
    --font-heading: 'Libre Baskerville', Georgia, serif;
    --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-3xl: 48px;
    --radius-full: 9999px;

    /* Shadows - Premium Depth System */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.12);
    --shadow-2xl: 0 32px 64px rgba(0, 0, 0, 0.16);
    --shadow-gold: 0 10px 30px rgba(212, 160, 58, 0.25);
    --shadow-blue: 0 10px 30px rgba(30, 77, 120, 0.2);

    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-premium: cubic-bezier(0.165, 0.84, 0.44, 1);
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-500) 100%);
    --grad-accent: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
    --grad-dark: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
    --grad-hero: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 50%, var(--primary-500) 100%);
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

/* ========================================
   BASE RESET & DEFAULTS
   ======================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--primary-200);
    color: var(--primary-700);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-normal) var(--ease-smooth);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.heading-serif {
    font-family: var(--font-heading);
}

.heading-italic {
    font-style: italic;
    font-weight: 400;
}

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--accent-500);
}

.text-primary {
    color: var(--primary-700);
}

.text-muted {
    color: var(--gray-500);
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-sm {
    max-width: 960px;
}

.container-lg {
    max-width: 1440px;
}

.section {
    padding: var(--space-24) 0;
}

.section-lg {
    padding: var(--space-32) 0;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all var(--duration-slow) var(--ease-premium);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) 0;
    transition: padding var(--duration-normal);
}

.navbar.scrolled .navbar-inner {
    padding: var(--space-3) 0;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.brand-logo {
    width: 56px;
    height: 56px;
    background: var(--grad-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-gold);
    transition: transform var(--duration-normal) var(--ease-bounce);
}

.brand:hover .brand-logo {
    transform: rotate(6deg) scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    transition: color var(--duration-normal);
}

.brand-tagline {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: color var(--duration-normal);
}

.navbar.scrolled .brand-name {
    color: var(--gray-900);
}

.navbar.scrolled .brand-tagline {
    color: var(--accent-500);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-link {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-sm);
    transition: all var(--duration-normal) var(--ease-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-500);
    transition: all var(--duration-normal) var(--ease-smooth);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - var(--space-8));
}

.navbar.scrolled .nav-link {
    color: var(--gray-600);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

.nav-cta {
    margin-left: var(--space-4);
    padding: var(--space-3) var(--space-6) !important;
    background: var(--grad-accent) !important;
    color: var(--white) !important;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-gold);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(212, 160, 58, 0.4) !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--duration-normal);
}

.navbar.scrolled .mobile-toggle span {
    background: var(--gray-800);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--grad-hero);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-gradient-orb--1 {
    width: 600px;
    height: 600px;
    background: rgba(212, 160, 58, 0.3);
    top: -200px;
    right: -100px;
}

.hero-gradient-orb--2 {
    width: 500px;
    height: 500px;
    background: rgba(100, 255, 218, 0.15);
    bottom: -150px;
    left: -100px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    padding: var(--space-32) 0 var(--space-24);
}

.hero-text {
    max-width: 620px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-5);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success-500);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.75rem, 6vw, 4.25rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.hero-title-highlight {
    color: var(--accent-400);
}

.hero-title-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: var(--space-10);
}

/* Hero CTA Group */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--space-10);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-2);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-2xl);
    padding: var(--space-4);
}

.hero-image-card {
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-premium);
}

.hero-image-card:hover img {
    transform: scale(1.1);
}

.hero-image-card--featured {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-premium);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: 0.95rem;
}

.btn-sm {
    padding: var(--space-3) var(--space-6);
    font-size: 0.8rem;
}

.btn-primary {
    background: var(--grad-accent);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 160, 58, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-700);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-dark {
    background: var(--primary-900);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-dark:hover {
    background: var(--primary-800);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

/* Sales Pulse Animation */
.btn-pulse {
    animation: sales-pulse 2s infinite;
}

@keyframes sales-pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 160, 58, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(212, 160, 58, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 160, 58, 0); }
}

/* ========================================
   CARDS
   ======================================== */

.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-premium);
}

.card:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-premium);
}

.card:hover .card-image img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    padding: var(--space-2) var(--space-4);
    background: var(--accent-500);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: var(--radius-sm);
}

.card-badge--health {
    background: var(--secondary-500);
}

.card-badge--industry {
    background: var(--primary-600);
}

.card-content {
    padding: var(--space-8);
}

.card-category {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.card-category-line {
    width: 32px;
    height: 2px;
    background: var(--accent-500);
}

.card-category-text {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-500);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
    transition: color var(--duration-normal);
}

.card:hover .card-title {
    color: var(--primary-700);
}

.card-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-700);
    transition: gap var(--duration-normal);
}

.card-link:hover {
    gap: var(--space-4);
}

.card-link svg {
    color: var(--accent-500);
    transition: transform var(--duration-normal);
}

.card:hover .card-link svg {
    transform: translateX(4px);
}

/* Premium Dark Card */
.card-dark {
    background: var(--primary-900);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.card-dark .card-title {
    color: var(--white);
}

.card-dark:hover .card-title {
    color: var(--accent-400);
}

.card-dark .card-description {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-16);
}

.section-eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent-500);
    margin-bottom: var(--space-4);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-6);
}

.section-description {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ========================================
   FEATURE BLOCKS
   ======================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
}

.feature-card {
    padding: var(--space-10);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    transition: all var(--duration-normal) var(--ease-premium);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-accent);
    transform: scaleX(0);
    transition: transform var(--duration-normal) var(--ease-premium);
}

.feature-card:hover {
    border-color: var(--accent-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    transition: all var(--duration-normal);
}

.feature-card:hover .feature-icon {
    background: var(--primary-700);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-700);
    transition: color var(--duration-normal);
}

.feature-card:hover .feature-icon svg {
    color: var(--white);
}

.feature-number {
    position: absolute;
    top: var(--space-8);
    right: var(--space-8);
    font-size: 3rem;
    font-weight: 900;
    color: var(--gray-100);
    line-height: 1;
    transition: color var(--duration-normal);
}

.feature-card:hover .feature-number {
    color: var(--accent-100);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.feature-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.feature-tag {
    padding: var(--space-1) var(--space-3);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
}

/* ========================================
   TRUST BAR
   ======================================== */

.trust-bar {
    padding: var(--space-16) 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.trust-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-700);
}

.trust-content {
    display: flex;
    flex-direction: column;
}

.trust-title {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1.1rem;
}

.trust-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-500);
}

/* ========================================
   PARTNERS & ACCREDITATION SECTION
   ======================================== */

.partners-section {
    padding: var(--space-20) 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    position: relative;
}

.partners-label {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gray-400);
    margin-bottom: var(--space-12);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
}

.partners-label::before,
.partners-label::after {
    content: '';
    width: 60px;
    height: 1px;
    background: var(--gray-200);
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-16);
    max-width: 1000px;
    margin: 0 auto;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-normal) var(--ease-premium);
}

.partner-item img {
    height: 45px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.4;
    transition: all var(--duration-normal) var(--ease-premium);
}

.partner-item:hover {
    transform: translateY(-4px);
}

.partner-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Specific Logo Adjustments */
.partner-logo-sm { height: 35px !important; }
.partner-logo-lg { height: 60px !important; }
.partner-logo-xl { height: 75px !important; }

@media (max-width: 768px) {
    .partners-logos {
        gap: var(--space-8);
    }
    
    .partner-item img {
        height: 32px;
    }
    
    .partner-logo-lg { height: 45px !important; }
    .partner-logo-xl { height: 55px !important; }
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
    padding: var(--space-20) 0;
    background: var(--primary-900);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    position: relative;
    z-index: 1;
    text-align: center;
}

.stat-item {
    padding: var(--space-6);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-500);
    line-height: 1;
    margin-bottom: var(--space-3);
}

.stat-value--white {
    color: var(--white);
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials-section {
    padding: var(--space-24) 0;
    background: var(--primary-900);
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    padding: var(--space-10);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    position: relative;
}

.testimonial-card--featured {
    background: var(--white);
    color: var(--gray-700);
    transform: translateX(40px);
}

.testimonial-quote-icon {
    position: absolute;
    top: var(--space-8);
    right: var(--space-10);
    width: 48px;
    height: 48px;
    color: var(--accent-500);
    opacity: 0.2;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: var(--space-8);
}

.testimonial-card--featured .testimonial-text {
    color: var(--gray-600);
}

.testimonial-author {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.testimonial-card--featured .testimonial-author {
    color: var(--gray-900);
}

.testimonial-role {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-500);
    margin-top: var(--space-1);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: var(--space-24) 0 var(--space-12);
    background: var(--primary-900);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-16);
    margin-bottom: var(--space-16);
}

.footer-brand-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 320px;
    margin-bottom: var(--space-8);
}

.footer-social {
    display: flex;
    gap: var(--space-4);
}

.footer-social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-normal);
}

.footer-social-link:hover {
    background: var(--accent-500);
    border-color: var(--accent-500);
    color: var(--primary-900);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-8);
}

.footer-title--accent {
    color: var(--accent-500);
    font-style: italic;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.footer-link {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--duration-normal);
}

.footer-link:hover {
    color: var(--accent-500);
}

.footer-cta-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    gap: var(--space-8);
}

.footer-legal a {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--duration-normal);
}

.footer-legal a:hover {
    color: var(--white);
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-3);
}

.whatsapp-tooltip {
    background: var(--white);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-900);
    border: 1px solid var(--gray-100);
}

.whatsapp-button {
    width: 64px;
    height: 64px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
    transition: all var(--duration-normal) var(--ease-bounce);
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button:active {
    transform: scale(0.95);
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

/* ========================================
   FORMS
   ======================================== */

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-500);
    margin-bottom: var(--space-2);
    margin-left: var(--space-2);
}

.form-input {
    width: 100%;
    padding: var(--space-4) var(--space-6);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    transition: all var(--duration-normal);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 200, 0.15);
}

.form-input::placeholder {
    color: var(--gray-400);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* Dark Form Variant */
.form-dark .form-label {
    color: rgba(255, 255, 255, 0.7);
}

.form-dark .form-input {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.form-dark .form-input:focus {
    border-color: var(--accent-500);
    box-shadow: 0 0 0 3px rgba(212, 160, 58, 0.2);
}

.form-dark .form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   ANIMATIONS
   ======================================== */

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-premium);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.15s; }
.stagger-3 { transition-delay: 0.2s; }
.stagger-4 { transition-delay: 0.25s; }
.stagger-5 { transition-delay: 0.3s; }
.stagger-6 { transition-delay: 0.35s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }

.rounded-full { border-radius: var(--radius-full); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        padding: var(--space-24) 0 var(--space-16);
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-6);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-12);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-stats {
        gap: var(--space-8);
    }

    .hero-stat-value {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--space-16) 0;
    }

    .section-lg {
        padding: var(--space-20) 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stat-value {
        font-size: 2.5rem;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .navbar,
    .whatsapp-float,
    .mobile-toggle {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
        background: white;
    }

    .hero-title,
    .hero-description {
        color: black;
    }
}

/* ============================================
   IMAGE PLACEHOLDER SYSTEM
   Replace placeholders with real photos
============================================ */

.img-placeholder {
    position: relative;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    animation: placeholder-shimmer 2s infinite;
}

@keyframes placeholder-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.img-placeholder-icon {
    width: 64px;
    height: 64px;
    color: #94a3b8;
    z-index: 1;
}

.img-placeholder-text {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    z-index: 1;
}

/* Placeholder Variants */
.img-placeholder--hero {
    min-height: 400px;
    border-radius: 0;
}

.img-placeholder--card {
    min-height: 180px;
    aspect-ratio: 16/9;
}

.img-placeholder--avatar {
    width: 80px;
    height: 80px;
    min-height: auto;
    border-radius: 50%;
}

.img-placeholder--square {
    aspect-ratio: 1;
    min-height: 150px;
}

.img-placeholder--portrait {
    aspect-ratio: 3/4;
    min-height: 250px;
}

/* Image Grid Layouts */
.image-grid {
    display: grid;
    gap: 1rem;
}

.image-grid--2col {
    grid-template-columns: repeat(2, 1fr);
}

.image-grid--3col {
    grid-template-columns: repeat(3, 1fr);
}

.image-grid--4col {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .image-grid--3col,
    .image-grid--4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .image-grid--2col,
    .image-grid--3col,
    .image-grid--4col {
        grid-template-columns: 1fr;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.gallery-section__title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-900);
    margin-bottom: 0.5rem;
}

.gallery-section__subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 2rem;
}
