/* ==========================================
   aura digital - premium design system (editorial light theme)
========================================== */

:root {
    /* Colors */
    --bg-dark: #FAF8F5;       /* Warm Alabaster / Cream background */
    --bg-card: #ffffff;
    --bg-card-hover: #FCFAF7;
    
    --primary: #1A2F25;      /* Deep Forest Slate Green - very elegant and premium */
    --primary-light: #3A5647;
    --secondary: #A88C68;    /* Muted Gold / Brass */
    --accent: #DDA15E;       /* Warm Terracotta / Sand */
    
    --text-dark: #1F2622;    /* Warm Deep Charcoal */
    --text-muted: #5C6B61;   /* Muted Sage Gray */
    --text-light: #8C9C92;
    
    --border-glass: rgba(168, 140, 104, 0.15); /* Soft brass border */
    --border-glass-hover: rgba(168, 140, 104, 0.3);
    --bg-glass: rgba(255, 255, 255, 0.75);
    --bg-glass-heavy: rgba(250, 248, 245, 0.96);
    
    /* Fonts */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-title: 'Cormorant Garamond', serif;
    
    /* Spacing & Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.25s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-muted);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    background-color: var(--bg-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, .font-outfit {
    font-family: var(--font-title);
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.15;
}

h1 {
    font-weight: 400;
}

p {
    font-size: 1.05rem;
    line-height: 1.65;
}

.gradient-text {
    font-family: var(--font-title);
    font-style: italic;
    color: var(--primary);
    position: relative;
    background: linear-gradient(135deg, var(--primary) 20%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(168, 140, 104, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Glassmorphism Utility */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-glass);
}

/* Buttons & Interactive Elements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    outline: none;
    letter-spacing: 0.03em;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
    border: 1px solid var(--primary);
    box-shadow: 0 4px 15px rgba(26, 47, 37, 0.12);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    box-shadow: 0 8px 20px rgba(26, 47, 37, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--secondary);
}

.btn-secondary:hover {
    background: rgba(168, 140, 104, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.2rem;
    font-size: 1rem;
}

.w-full {
    width: 100%;
}

/* Badge tag */
.badge {
    display: inline-flex;
    padding: 0.4rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    background: rgba(168, 140, 104, 0.08);
    color: var(--secondary);
    border: 1px solid rgba(168, 140, 104, 0.2);
    margin-bottom: 1.8rem;
    letter-spacing: 0.08em;
}

/* Navbar */
.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.8rem 0;
    transition: var(--transition-smooth);
}

.navbar-wrapper.scrolled {
    padding: 0.8rem 0;
}

.navbar {
    margin: 0 auto;
    width: calc(100% - 4rem);
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2.5rem;
    border-radius: 12px;
    background: rgba(250, 248, 245, 0.8);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.navbar-wrapper.scrolled .navbar {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(168, 140, 104, 0.25);
    box-shadow: 0 10px 40px rgba(26, 47, 37, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    position: relative;
    box-shadow: 0 0 10px rgba(168, 140, 104, 0.2);
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    background-color: var(--bg-card);
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.08em;
}

.logo-text span {
    font-weight: 400;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-quick);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-quick);
}

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-glass);
    z-index: 999;
    padding: 8rem 2rem 2rem;
    transition: cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav a {
    color: var(--primary);
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    overflow: hidden;
    background-color: var(--bg-dark);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-glow-1, .hero-glow-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    z-index: 2;
    pointer-events: none;
}

.hero-glow-1 {
    top: 20%;
    left: 15%;
    width: 400px;
    height: 400px;
    background: var(--secondary);
}

.hero-glow-2 {
    bottom: 20%;
    right: 15%;
    width: 450px;
    height: 450px;
    background: var(--accent);
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 4.2rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.8rem;
    color: var(--primary);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2.8rem;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5.5rem;
}

/* Stats Grid */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.8rem 1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(168, 140, 104, 0.03);
}

.stat-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(168, 140, 104, 0.08);
}

.stat-number {
    display: block;
    font-family: var(--font-title);
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

/* Sections Base */
.section-padding {
    padding: 8rem 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 300;
}

.text-center {
    text-align: center;
}

/* Servicios Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 3rem 2.2rem;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 1;
    box-shadow: 0 4px 25px rgba(26, 47, 37, 0.02);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(168, 140, 104, 0.08), transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.service-card:hover {
    border-color: rgba(168, 140, 104, 0.4);
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: 0 15px 40px rgba(168, 140, 104, 0.08);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(168, 140, 104, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(168, 140, 104, 0.2);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--bg-dark);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(26, 47, 37, 0.15);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mockup-macbook {
    background: #ffffff;
    border-radius: 12px 12px 0 0;
    padding: 8px;
    border: 1px solid rgba(168, 140, 104, 0.18);
    position: relative;
    box-shadow: 0 15px 45px rgba(168, 140, 104, 0.06);
    transition: var(--transition-smooth);
}

.portfolio-item:hover .mockup-macbook {
    transform: translateY(-6px);
    border-color: rgba(168, 140, 104, 0.35);
    box-shadow: 0 25px 55px rgba(168, 140, 104, 0.12);
}

.macbook-screen {
    background: #FAF8F5;
    border-radius: 8px 8px 0 0;
    border: 1px solid rgba(168, 140, 104, 0.1);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    display: flex;
    flex-direction: column;
}

.screen-header {
    height: 30px;
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
    border-bottom: 1px solid rgba(168, 140, 104, 0.1);
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot.red { background: #d4a373; }
.dot.yellow { background: #e9c46a; }
.dot.green { background: #ccd5ae; }

.address-bar {
    margin-left: 20px;
    flex-grow: 1;
    max-width: 250px;
    background: rgba(168, 140, 104, 0.06);
    border-radius: 4px;
    font-size: 0.65rem;
    color: var(--text-muted);
    padding: 2px 12px;
    text-align: center;
    font-family: monospace;
}

.screen-content {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Beautiful Editorial Previews */
.crypto-web {
    background: #FAF8F5;
    border-top: 2px solid var(--primary);
}

.realestate-web {
    background: #fdfcf7;
}

.saas-web {
    background: #f4f7f6;
}

.ecommerce-web {
    background: #FCFAF7;
}

.restaurant-web {
    background: #fcfbf9;
}

.personal-web {
    background: #ffffff;
}

.preview-hero {
    text-align: center;
    padding: 1.2rem;
    width: 100%;
}

.preview-tag {
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 30px;
    border: 1px solid rgba(168,140,104,0.3);
    color: var(--secondary);
    background: rgba(168,140,104,0.05);
    display: inline-block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.preview-hero h4 {
    font-size: 1.15rem;
    font-family: var(--font-title);
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.preview-hero p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Inside Preview Graphics */
.preview-chart {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    height: 55px;
    margin-top: 0.8rem;
}

.chart-bar {
    width: 14px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(to top, var(--primary), var(--secondary));
}

.preview-house {
    width: 60px;
    height: 40px;
    border: 1px solid var(--secondary);
    border-radius: 4px;
    margin: 0.8rem auto 0;
    display: flex;
    gap: 4px;
    padding: 6px;
    background: #ffffff;
}

.house-window {
    flex-grow: 1;
    background: rgba(168, 140, 104, 0.1);
    border-radius: 2px;
}

.preview-dashboard {
    width: 100px;
    border: 1px solid rgba(168,140,104,0.2);
    border-radius: 6px;
    background: #ffffff;
    padding: 6px;
    margin: 0.8rem auto 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
}

.dash-lines {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dash-line {
    height: 3px;
    background: rgba(26, 47, 37, 0.1);
    border-radius: 1px;
}

.preview-products {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 0.8rem;
}

.product-item {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: #ffffff;
    border: 1px solid rgba(168,140,104,0.2);
}

.preview-dish {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px dashed var(--secondary);
    margin: 0.8rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dish-inner {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--secondary);
}

.preview-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(168,140,104,0.1);
    border: 1px solid var(--secondary);
    margin: 0.8rem auto 0;
}

/* Portfolio Text Info */
.portfolio-info h3 {
    font-size: 1.45rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.portfolio-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 300;
}

.badge-tech {
    display: inline-block;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(168, 140, 104, 0.08);
    border: 1px solid rgba(168, 140, 104, 0.15);
    color: var(--primary);
    margin-right: 0.5rem;
    font-weight: 500;
}

/* Beneficios Section */
.benefits-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.benefits-lead {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 3rem;
    font-weight: 300;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.benefit-icon {
    font-size: 1.6rem;
    line-height: 1;
    color: var(--secondary);
}

.benefit-item h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.benefit-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Benefits Graphic Visual */
.benefits-visual {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 2.2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(168, 140, 104, 0.04);
}

.second-card {
    align-self: flex-end;
    width: 90%;
    border-color: rgba(168, 140, 104, 0.25);
}

.visual-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.circular-progress {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.circle-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(168, 140, 104, 0.1);
    stroke-width: 6;
}

.circle-fill {
    fill: none;
    stroke: var(--primary);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 251.2;
    stroke-dashoffset: calc(251.2 - (251.2 * 99) / 100);
}

.progress-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-title);
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--primary);
}

.visual-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.text-highlight {
    color: var(--primary);
    font-weight: 600;
}

/* Conversion Graph */
.conversion-graph {
    height: 90px;
    border-bottom: 1px solid rgba(168, 140, 104, 0.2);
    position: relative;
    margin-bottom: 1.5rem;
}

.conversion-line {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(168, 140, 104, 0.05));
    clip-path: polygon(0% 90%, 30% 65%, 60% 55%, 100% 15%, 100% 100%, 0% 100%);
}

.conversion-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-3px, 3px);
}

.glow-point {
    position: absolute;
    right: 0;
    bottom: 85%;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    filter: blur(8px);
    opacity: 0.3;
    transform: translate(10px, 10px);
}

/* Por Qué Elegirnos Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(168, 140, 104, 0.02);
}

.why-card:hover {
    border-color: var(--secondary);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(168, 140, 104, 0.06);
}

.why-icon {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.why-card h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.why-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Testimonios Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 25px rgba(26, 47, 37, 0.02);
}

.testimonial-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(168, 140, 104, 0.06);
}

.stars {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-family: var(--font-title);
    font-style: italic;
    font-weight: 400;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--bg-dark);
    font-size: 0.85rem;
}

.user-name {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.user-role {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.trust-badge {
    margin-top: 4rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.trust-stars {
    color: var(--primary-light);
    font-weight: 700;
}

/* Proceso de Trabajo Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 25px;
    width: 1px;
    height: 100%;
    background: var(--secondary);
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 4rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 10px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1px solid var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 500;
    color: var(--primary);
    font-size: 0.95rem;
    z-index: 2;
    transition: var(--transition-smooth);
    box-shadow: 0 0 5px rgba(168, 140, 104, 0.2);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.15);
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

.timeline-content h4 {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* CTA Final */
.cta-final {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 140, 104, 0.1) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.cta-card {
    position: relative;
    z-index: 2;
    background: var(--primary);
    border-radius: 20px;
    padding: 5rem 3rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(26, 47, 37, 0.15);
}

.cta-card h2 {
    font-size: 3.5rem;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.cta-card p {
    font-size: 1.2rem;
    color: rgba(250, 248, 245, 0.8);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.cta-card .btn-primary {
    background-color: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(168, 140, 104, 0.2);
}

.cta-card .btn-primary:hover {
    background-color: var(--bg-dark);
    border-color: var(--bg-dark);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

/* Footer */
.footer {
    background: #112018; /* Extremely deep matching dark green for layout structure grounding */
    padding: 5rem 0 3rem;
    color: rgba(250, 248, 245, 0.7);
}

.footer h4, .footer .logo-text, .footer h1 {
    color: var(--bg-dark);
}

.footer .logo-text span {
    color: var(--secondary);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    max-width: 320px;
    line-height: 1.6;
    font-weight: 300;
}

.footer-links-group h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
}

.footer-links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links-group a, .footer-links-group span {
    color: rgba(250, 248, 245, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-quick);
    font-weight: 300;
}

.footer-links-group a:hover {
    color: var(--bg-dark);
}

.footer-divider {
    border: 0;
    height: 1px;
    background: rgba(250, 248, 245, 0.1);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(250, 248, 245, 0.5);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(250, 248, 245, 0.5);
    text-decoration: none;
    transition: var(--transition-quick);
}

.footer-legal a:hover {
    color: var(--bg-dark);
}

/* Contact Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 47, 37, 0.4);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: #ffffff;
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    width: 100%;
    max-width: 650px;
    padding: 3rem;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(26, 47, 37, 0.15);
}

.modal-overlay.open .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-quick);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-header {
    margin-bottom: 2.5rem;
}

.modal-header h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group input, .form-group textarea {
    background: #FAF8F5;
    border: 1px solid rgba(168, 140, 104, 0.18);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    color: var(--text-dark);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition-quick);
    outline: none;
    width: 100%;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--secondary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(168, 140, 104, 0.08);
}

/* Privacy check */
.form-privacy {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
    user-select: none;
}

.checkbox-container input {
    margin-top: 4px;
    cursor: pointer;
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

/* Submit button matching user request (green gradient) */
.btn-submit-form {
    background: linear-gradient(135deg, #7CD383 0%, #4FB667 100%);
    color: #112018; /* Bold dark slate green for maximum contrast and legibility */
    border: 1px solid #4FB667;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px; /* Pill shape */
    padding: 1rem 2rem;
    cursor: pointer;
    width: fit-content;
    align-self: flex-start;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(79, 182, 103, 0.2);
    outline: none;
}

.btn-submit-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 182, 103, 0.35);
    background: linear-gradient(135deg, #8fe096 0%, #5dc676 100%);
}

.btn-submit-form:active {
    transform: translateY(0);
}

/* Privacy Details Accordion */
.privacy-toggle-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    margin-top: 0.8rem;
    display: inline-block;
    transition: var(--transition-quick);
}

.privacy-toggle-btn:hover {
    color: var(--secondary);
}

.privacy-details-content {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-top: 0.5rem;
    padding: 0.8rem;
    background: #FAF8F5;
    border-radius: 6px;
    border-left: 2px solid var(--secondary);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #20ba5a;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
    display: block;
}

/* Success screen modal */
.success-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(42, 111, 82, 0.1);
    color: #2a6f52;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(42, 111, 82, 0.2);
}

.success-screen h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.success-screen p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 400px;
    font-weight: 300;
}

/* Reveal Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in.delay-1 { animation-delay: 0.15s; }
.fade-in.delay-2 { animation-delay: 0.3s; }
.fade-in.delay-3 { animation-delay: 0.45s; }
.fade-in.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================
   Responsive Media Queries
========================================== */

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .benefits-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .benefits-visual {
        align-items: center;
    }
    
    .second-card {
        align-self: center;
        width: 100%;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .navbar {
        width: calc(100% - 2rem);
        padding: 0.75rem 1.5rem;
    }
    
    .nav-links, .nav-cta {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-padding {
        padding: 5rem 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-dot {
        left: 5px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .cta-card {
        padding: 3rem 1.5rem;
    }
    
    .cta-card h2 {
        font-size: 2.2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .modal-card {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
