/* 
   ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES - IWONA POLKOWSKA LANDING PAGE
   ========================================================================== 
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..700;1,400..700&family=Plus+Jakarta+Sans:ital,wght@0,300..700;1,300..700&display=swap');

:root {
    /* Color Palette */
    --color-bg-primary: #FAF9F6;      /* Off-white / Blanco Roto */
    --color-bg-secondary: #FFFFFF;    /* Pure White for clean sections and card backgrounds */
    --color-sage: #8EA48B;            /* Brand Sage Green */
    --color-sage-light: #F0F4F1;      /* Very light sage for bot messages */
    --color-sage-dark: #3E4E42;       /* Dark sage green for headers and contrast */
    --color-gold: #C5A073;            /* Soft gold for premium accents */
    --color-gold-light: #F6F4F0;      /* Clean off-white gold highlight */
    --color-text-dark: #3E4E42;       /* Dark green body text for premium look (No black/anthracite) */
    --color-text-muted: #5C6C60;      /* Medium sage green for subtitles and secondary texts */
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-quick: all 0.2s ease;
    
    /* Layout */
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* 
   ==========================================================================
   BASE & RESET STYLES
   ========================================================================== 
*/

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-weight: 400; /* Changed from 300 to 400 for better mobile legibility */
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-sage-dark);
}

p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* 
   ==========================================================================
   REUSABLE UTILITIES & LAYOUT
   ========================================================================== 
*/

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

.section {
    padding: 100px 0;
    position: relative;
    scroll-margin-top: 80px; /* Prevents fixed header from covering section titles */
}

.section-bg-alt {
    background-color: var(--color-bg-secondary);
}

.section-header {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 15px;
    font-family: var(--font-body);
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-title span {
    font-style: italic;
    color: inherit;
}

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

/* Buttons */
.btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px; /* Increased from 14px 28px */
    font-family: var(--font-body);
    font-size: 1.02rem; /* Increased from 0.95rem */
    font-weight: 600; /* Increased weight for premium read */
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-sage);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-sage-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(142, 164, 139, 0.2);
}

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

.btn-secondary:hover {
    background-color: var(--color-sage-light);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.btn-accent:hover {
    background-color: #b38f62;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 115, 0.25);
}

/* Accent Badge */
.accent-line {
    width: 50px;
    height: 1px;
    background-color: var(--color-gold);
    margin-bottom: 20px;
}

/* 
   ==========================================================================
   HEADER
   ========================================================================== 
*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(220, 215, 205, 0.3);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-sage-dark);
    letter-spacing: 0.5px;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-top: -1px;
}

/* Header Contact Icons Only */
.header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(62, 78, 66, 0.15);
}

.header-contact-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-bg-primary);
    color: var(--color-sage-dark);
    transition: var(--transition-smooth);
    border: 1px solid rgba(62, 78, 66, 0.08);
}

.header-contact-item:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
    background-color: var(--color-white);
    transform: translateY(-2px);
}

@media (max-width: 1150px) {
    .header-contact {
        display: none; /* Hide on tablets to prevent navigation overlap */
    }
}

@media (max-width: 768px) {
    .header-contact {
        display: flex !important; /* Show on mobile since main nav collapses into the burger button */
        margin-left: 10px;
        padding-left: 10px;
        border-left: 1px solid rgba(62, 78, 66, 0.1);
        gap: 8px;
    }
    
    .header-contact-item {
        width: 32px;
        height: 32px;
    }
    
    .header-contact-item svg {
        width: 14px;
        height: 14px;
    }
    
    .logo-sub {
        display: none; /* Hide subtitle to free up horizontal space on mobile */
    }
    
    .logo-main {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 38px;
    }
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

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

.nav-link:hover {
    color: var(--color-gold);
}

.nav-btn {
    padding: 12px 24px; /* Increased from 10px 20px */
    font-size: 0.9rem; /* Increased from 0.85rem */
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1010;
}

.burger span {
    width: 100%;
    height: 2px;
    background-color: var(--color-sage-dark);
    transition: var(--transition-smooth);
}

/* 
   ==========================================================================
   HERO PRINCIPAL
   ========================================================================== 
*/

.hero {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(235, 240, 236, 0.7) 0%, rgba(250, 249, 246, 0) 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-title span {
    display: block;
    font-style: italic;
    color: inherit;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-sage-dark);
    margin-bottom: 20px;
    line-height: 1.6;
    border-left: 2px solid var(--color-gold);
    padding-left: 15px;
}

.hero-support-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    background-color: var(--color-bg-secondary);
    border: 1px solid rgba(220, 215, 205, 0.4);
    aspect-ratio: 4/5;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.03);
}



/* 
   ==========================================================================
   SECCIÓN PROBLEMA
   ========================================================================== 
*/

.problema {
    background-color: var(--color-white);
    border-top: 1px solid rgba(220, 215, 205, 0.3);
    border-bottom: 1px solid rgba(220, 215, 205, 0.3);
}

.problema-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.problema-left h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.problema-right {
    position: relative;
}

.problema-right::before {
    content: '“';
    position: absolute;
    top: -50px;
    left: -40px;
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--color-sage-light);
    line-height: 1;
    z-index: 0;
}

.problema-quote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-dark);
    font-weight: 300;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.problema-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.problema-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.problema-icon {
    color: var(--color-gold);
    font-size: 1.1rem;
    line-height: 1.4;
    margin-top: 2px;
}

.problema-item-text {
    color: var(--color-text-muted);
}

.problema-highlight {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-sage-dark);
    font-style: italic;
    border-top: 1px solid var(--color-sage-light);
    padding-top: 20px;
}

/* 
   ==========================================================================
   SECCIÓN SOLUCIÓN
   ========================================================================== 
*/

.solucion-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.solucion-image-container {
    position: relative;
}

.solucion-image-border {
    border: 1px solid var(--color-gold);
    padding: 15px;
    border-radius: var(--border-radius-lg);
}

.solucion-img {
    border-radius: var(--border-radius-md);
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top center;
    background-color: var(--color-sage-light);
}

.solucion-text h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.solucion-lead {
    font-size: 1.2rem;
    color: var(--color-sage-dark);
    margin-bottom: 25px;
    font-weight: 500;
}

.solucion-body {
    margin-bottom: 30px;
}

.solucion-highlight {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-gold);
    font-style: italic;
    margin-top: 25px;
}

/* 
   ==========================================================================
   SECCIÓN SERVICIOS
   ========================================================================== 
*/

.servicios {
    background-color: var(--color-white);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.servicio-card {
    background-color: var(--color-bg-primary);
    border: 1px solid rgba(220, 215, 205, 0.4);
    border-radius: var(--border-radius-md);
    padding: 50px 40px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.servicio-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 35px rgba(142, 164, 139, 0.08);
}

.servicio-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-sage-light);
    font-weight: 300;
    margin-bottom: 20px;
    display: block;
    line-height: 1;
}

.servicio-title {
    font-size: 1.5rem;
    color: var(--color-sage-dark);
    margin-bottom: 20px;
}

.servicio-desc {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    flex-grow: 1;
}

.servicio-divider {
    height: 1px;
    background-color: rgba(220, 215, 205, 0.4);
    margin: 20px 0;
}

.servicio-list-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 15px;
}

.servicio-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.servicio-item {
    font-size: 0.92rem;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.servicio-item::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--color-sage);
}

/* 
   ==========================================================================
   SECCIÓN CHATBOTS (SIMULADOR INTERACTIVO)
   ========================================================================== 
*/

.chatbots {
    background-color: var(--color-bg-secondary);
}

.chatbots-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}



/* Interactive Phone Simulator */
.phone-simulator {
    width: 100%;
    max-width: 340px;
    height: 560px;
    background-color: var(--color-white);
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 15px 35px rgba(142, 164, 139, 0.1);
    margin: 0 auto;
    border: 4px solid var(--color-sage-light);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-primary);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.phone-header {
    background-color: var(--color-sage-dark);
    padding: 20px 15px 15px;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    object-fit: cover;
    object-position: top center;
}

.phone-user-info {
    flex-grow: 1;
}

.phone-username {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
}

.phone-status {
    font-size: 0.65rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.phone-status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #55efc4;
    border-radius: 50%;
}

.phone-chat-body {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.8rem;
}

/* Chat Messages */
.message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 14px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(10px);
    animation: messageReveal 0.4s ease forwards;
    white-space: pre-line; /* Support bot linebreaks */
    word-break: break-word; /* Prevent overflow on long links */
    overflow-wrap: break-word;
}

@media (prefers-reduced-motion: reduce) {
    .message {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

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

.message-bot {
    background-color: var(--color-sage-light);
    color: var(--color-text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message-user {
    background-color: var(--color-sage);
    color: var(--color-white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 0.6rem;
    color: var(--color-text-muted);
    margin-top: 4px;
    text-align: right;
}

.message-user .message-time {
    color: rgba(255, 255, 255, 0.7);
}

.phone-options {
    padding: 15px;
    background-color: var(--color-white);
    border-top: 1px solid rgba(220, 215, 205, 0.4);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-btn {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid var(--color-sage);
    background-color: var(--color-white);
    color: var(--color-sage-dark);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-quick);
}

.option-btn:hover {
    background-color: var(--color-sage-light);
}

.phone-typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 10px 14px;
    background-color: var(--color-sage-light);
    border-radius: 14px;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    display: none;
}

.phone-typing-indicator span {
    width: 6px;
    height: 6px;
    background-color: var(--color-sage-dark);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.phone-typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.phone-typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* 
   ==========================================================================
   SECCIÓN DIFERENCIAL
   ========================================================================== 
*/

.diferencial {
    background-color: var(--color-white);
}

.diferencial-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.diferencial h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.diferencial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--color-text-muted);
}

.diferencial-highlight {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-sage-dark);
    font-style: italic;
    border-top: 1px solid var(--color-sage-light);
    border-bottom: 1px solid var(--color-sage-light);
    padding: 25px 0;
    max-width: 600px;
    margin: 40px auto 0;
}

/* 
   ==========================================================================
   SECCIÓN SOBRE MÍ
   ========================================================================== 
*/

.sobre-mi {
    background-color: var(--color-bg-secondary);
}

.sobre-mi-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.sobre-mi-image {
    position: relative;
}

.sobre-mi-image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(220, 215, 205, 0.5);
    background-color: var(--color-white);
}

.sobre-mi-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: top center;
}

.sobre-mi-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.sobre-mi-stat-card {
    background-color: var(--color-white);
    border: 1px solid rgba(220, 215, 205, 0.4);
    border-top: 2px solid var(--color-gold);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-sage-dark);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    display: block;
}

.sobre-mi-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.sobre-mi-text {
    margin-bottom: 30px;
}

.sobre-mi-text p {
    margin-bottom: 20px;
}

.sobre-mi-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--color-gold);
    line-height: 1.6;
    margin-top: 30px;
}

.sobre-mi-lead {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-sage-dark);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* 
   ==========================================================================
   SECCIÓN "ES PARA TI SI"
   ========================================================================== 
*/

.es-para-ti {
    background-color: var(--color-white);
}

.es-para-ti-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 50px;
}

.es-para-ti-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.es-para-ti-card {
    background-color: var(--color-white);
    border: 1px solid rgba(142, 164, 139, 0.2);
    border-radius: var(--border-radius-md);
    padding: 30px 35px;
    display: flex;
    gap: 20px;
    align-items: flex-start; /* Changed to flex-start to align bullet with first line of text */
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.es-para-ti-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(142, 164, 139, 0.05);
}

.es-para-ti-bullet {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-gold);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: -4px;
    background: none !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    display: inline-block;
}

.es-para-ti-card-text {
    font-size: 1rem;
    color: var(--color-text-dark);
    font-weight: 700; /* Made bolder for high readability on small screens */
    line-height: 1.5;
}

/* 
   ==========================================================================
   SECCIÓN TARIFAS ORIENTATIVAS
   ========================================================================== 
*/

.tarifas {
    background-color: var(--color-bg-secondary);
}

.tarifas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.tarifa-card {
    background-color: var(--color-white);
    border: 1px solid rgba(220, 215, 205, 0.4);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    text-align: left;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
}

.tarifa-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-sage); /* Changed to sage green to avoid gold border drawing on hover */
    box-shadow: 0 20px 40px rgba(142, 164, 139, 0.08);
}

.tarifa-card.featured {
    background-color: var(--color-sage-dark);
    border: 1px solid var(--color-sage-dark);
    color: var(--color-white);
    box-shadow: 0 15px 35px rgba(62, 78, 66, 0.12);
}

.tarifa-card.featured:hover {
    transform: translateY(-8px);
    border-color: var(--color-sage); /* Changed to sage green to avoid gold border drawing on hover */
    box-shadow: 0 20px 40px rgba(62, 78, 66, 0.22);
}

.tarifa-card.featured .tarifa-service {
    color: var(--color-white);
}

.tarifa-card.featured .tarifa-price-container {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.tarifa-card.featured .tarifa-price {
    color: var(--color-white);
}

.tarifa-card.featured .tarifa-price span {
    color: rgba(250, 249, 246, 0.6);
}

.tarifa-card.featured .tarifa-item {
    color: rgba(250, 249, 246, 0.9);
}

.tarifa-featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(197, 160, 115, 0.3);
    z-index: 10;
}

.tarifa-service {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    color: var(--color-sage-dark);
    font-weight: 600;
    height: 55px; /* Altura fija para alinear el inicio del contenedor de precio */
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.tarifa-price-container {
    background-color: var(--color-bg-primary);
    padding: 15px 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 25px;
    border: 1px solid rgba(220, 215, 205, 0.5);
    height: 80px; /* Altura fija para alinear el inicio de las listas */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tarifa-price-prefix {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold);
    display: block;
    margin-bottom: 2px;
    font-weight: 700;
}

.tarifa-price {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    color: var(--color-text-dark);
    font-weight: 700;
}

.tarifa-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.tarifa-list {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.tarifa-item {
    font-size: 0.88rem;
    color: var(--color-text-dark);
    line-height: 1.4;
    position: relative;
    padding-left: 18px;
}

.tarifa-item::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: bold;
}

.tarifa-btn {
    width: 100%;
    margin-top: auto;
}

.tarifas-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* 
   ==========================================================================
   CTA FINAL
   ========================================================================== 
*/

.cta {
    background-color: var(--color-bg-primary); /* Changed to light off-white background */
    color: var(--color-text-dark); /* Dark green body text */
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 90%, rgba(197, 160, 115, 0.05) 0%, rgba(250, 249, 246, 0) 60%);
    pointer-events: none;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold); /* Changed to darker gold for readability on light bg */
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.cta-title {
    font-size: 3rem;
    color: var(--color-sage-dark); /* Changed to brand dark green */
    margin-bottom: 25px;
    line-height: 1.2;
}

.cta-title span {
    font-style: italic;
    color: inherit; /* Inherits the heading color to avoid mixing colors */
    font-weight: 400;
}

.cta-desc {
    font-size: 1.2rem;
    color: var(--color-text-muted); /* Changed to readable muted sage text */
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-btn {
    padding: 18px 40px; /* Increased from 16px 36px */
    font-size: 1.12rem; /* Increased from 1.05rem */
}

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

.footer {
    background-color: var(--color-bg-primary); /* Light off-white footer (No black) */
    color: var(--color-text-muted);
    padding: 60px 0 30px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(62, 78, 66, 0.15);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(62, 78, 66, 0.1);
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    color: var(--color-sage-dark);
    margin-bottom: 10px;
}

.footer-logo .logo-main {
    color: var(--color-sage-dark);
}

.footer-tagline {
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-link {
    color: var(--color-text-muted);
    transition: var(--transition-quick);
}

.footer-link:hover {
    color: var(--color-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copy {
    color: rgba(62, 78, 66, 0.6);
}

.footer-legal {
    display: flex;
    gap: 20px;
    color: rgba(62, 78, 66, 0.6);
}

.footer-legal-link {
    color: rgba(62, 78, 66, 0.6);
}

.footer-legal-link:hover {
    color: var(--color-gold);
}

/* Footer Contact Info */
.footer-contact {
    max-width: 300px;
}

.footer-contact-title {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-sage-dark);
    margin-bottom: 15px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-link {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: var(--transition-quick);
    display: block;
}

.footer-contact-link:hover {
    color: var(--color-gold);
}

@media (max-width: 768px) {
    .footer-contact {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 10px 0;
    }
}

/* 
   ==========================================================================
   CONTACT FORM
   ========================================================================== 
*/

.contact-card {
    max-width: 750px;
    margin: 40px auto 30px;
    text-align: left;
    background: var(--color-white); /* White card for high contrast on light bg */
    padding: 40px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(62, 78, 66, 0.1); /* Subtle dark green border */
    box-shadow: 0 15px 35px rgba(142, 164, 139, 0.06);
    transition: var(--transition-smooth);
}

.contact-card:hover {
    border-color: var(--color-sage);
    box-shadow: 0 20px 40px rgba(142, 164, 139, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 8px;
    color: var(--color-text-dark); /* Dark green labels for readability */
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 4px;
    border: 1px solid rgba(62, 78, 66, 0.15); /* Dark green border */
    background: var(--color-bg-primary); /* Light off-white input bg */
    color: var(--color-text-dark); /* Dark text for high legibility */
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-sage);
    background: var(--color-white);
    box-shadow: 0 5px 15px rgba(142, 164, 139, 0.1);
}

textarea.form-input {
    resize: vertical;
}

.form-feedback {
    display: none;
    padding: 25px;
    border-radius: var(--border-radius-md);
    background: var(--color-sage-light); /* Light sage alert background */
    border: 1px solid var(--color-sage);
    margin: 20px auto 0;
    max-width: 500px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-dark); /* Dark green text */
    text-align: center;
    box-shadow: 0 10px 25px rgba(142, 164, 139, 0.05);
}

/* 
   ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile-First)
   ========================================================================== 
*/

/* Up to Tablet */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        border-left: none;
        border-top: 2px solid var(--color-gold);
        padding-left: 0;
        padding-top: 15px;
    }
    
    .btn-group {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image-wrapper {
        max-width: 360px;
    }
    
    .problema-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .problema-left h2 {
        font-size: 2.2rem;
    }
    
    .solucion-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .solucion-text h2 {
        font-size: 2.2rem;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 40px auto 0;
    }
    
    .chatbots-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .sobre-mi-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .sobre-mi-content h2 {
        font-size: 2.2rem;
    }
    
    .sobre-mi-img {
        max-height: 450px;
    }
    
    .sobre-mi-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
    }
    
    .es-para-ti-list {
        grid-template-columns: 1fr;
    }
    
    .es-para-ti-card {
        grid-column: span 1 !important;
        padding: 20px 25px;
    }
    
    .tarifas-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }
    
    .burger {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-bg-primary);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        padding: 40px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
        z-index: 999;
        border-top: 1px solid rgba(220, 215, 205, 0.4);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .burger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-desc {
        font-size: 1.05rem;
    }
    
    .tarifas-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 40px auto 0;
    }
    
    .footer-grid {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .hero-image-wrapper {
        border-radius: var(--border-radius-md);
    }
    

    
    .es-para-ti-card {
        padding: 18px 15px;
        gap: 12px;
    }
}

/* 
   ==========================================================================
   FLOATING CHATBOT WIDGET
   ========================================================================== 
*/

.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-body);
}

.chatbot-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold) 0%, #a27e52 100%);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(197, 160, 115, 0.3);
    cursor: pointer;
    border: 2px solid var(--color-white); /* Thicker solid outline for contrast against any background */
    transition: var(--transition-smooth);
    position: relative;
    animation: fabGlow 3s infinite alternate;
}

@keyframes fabGlow {
    0% {
        box-shadow: 0 5px 15px rgba(197, 160, 115, 0.4), 0 0 0 0px rgba(197, 160, 115, 0.3);
    }
    70% {
        box-shadow: 0 10px 25px rgba(197, 160, 115, 0.5), 0 0 0 10px rgba(197, 160, 115, 0);
    }
    100% {
        box-shadow: 0 10px 25px rgba(197, 160, 115, 0.5), 0 0 0 0px rgba(197, 160, 115, 0);
    }
}

.chatbot-fab:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 12px 30px rgba(62, 78, 66, 0.4);
}

.chatbot-fab-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background-color: var(--color-gold);
    border: 2px solid var(--color-white);
    border-radius: 50%;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 340px;
    height: 480px;
    background-color: var(--color-bg-primary);
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(220, 215, 205, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    visibility: hidden;
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.chatbot-window.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

.chatbot-w-header {
    background-color: var(--color-sage-dark);
    padding: 15px 20px;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(250, 249, 246, 0.1);
}

.chatbot-w-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-w-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    object-fit: cover;
    object-position: top center;
}

.chatbot-w-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.chatbot-w-status {
    font-size: 0.65rem;
    color: rgba(250, 249, 246, 0.8);
    display: flex;
    align-items: center;
    gap: 4px;
}

.chatbot-w-status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #55efc4;
    border-radius: 50%;
}

.chatbot-w-close {
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    line-height: 1;
    transition: var(--transition-quick);
}

.chatbot-w-close:hover {
    opacity: 1;
}

.chatbot-w-body {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.8rem;
    background-color: var(--color-bg-primary);
}

.chatbot-w-options {
    padding: 12px;
    background-color: var(--color-white);
    border-top: 1px solid rgba(220, 215, 205, 0.4);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chatbot-w-typing {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 10px 14px;
    background-color: var(--color-sage-light);
    border-radius: 14px;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    display: none;
}

.chatbot-w-typing span {
    width: 6px;
    height: 6px;
    background-color: var(--color-sage-dark);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.chatbot-w-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-w-typing span:nth-child(3) { animation-delay: 0.4s; }

/* Responsive adjustments for mobile chatbot window */
@media (max-width: 576px) {
    .chatbot-widget {
        bottom: calc(20px + env(safe-area-inset-bottom));
        right: calc(20px + env(safe-area-inset-right));
    }
    
    .chatbot-window {
        width: calc(100vw - 32px);
        max-height: calc(100vh - 120px); /* Responsive vertical constraints */
        height: 420px;
        bottom: 80px;
        right: 0;
        border-radius: var(--border-radius-md);
    }
}

/* Tooltip / Speech Bubble for Chatbot Widget */
.chatbot-tooltip {
    position: absolute;
    bottom: 12px;
    right: 75px;
    background-color: var(--color-bg-primary);
    border: 1px solid var(--color-gold);
    padding: 10px 18px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    font-size: 0.8rem;
    color: var(--color-text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(15px);
    transition: var(--transition-smooth);
    pointer-events: none;
}

.chatbot-tooltip.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.chatbot-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: var(--color-bg-primary);
    border-top: 1px solid var(--color-gold);
    border-right: 1px solid var(--color-gold);
}

.chatbot-tooltip-close {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1;
    padding: 0;
    transition: var(--transition-quick);
}

.chatbot-tooltip-close:hover {
    color: var(--color-gold);
}

@media (max-width: 580px) {
    .chatbot-tooltip {
        display: flex !important;
        bottom: 75px !important;
        right: 0 !important;
        white-space: normal !important;
        width: 220px !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 10px 14px !important;
    }
    
    .chatbot-tooltip::after {
        top: auto !important;
        bottom: -6px !important;
        right: 24px !important;
        left: auto !important;
        border-top: none !important;
        border-left: 1px solid var(--color-gold) !important;
        border-bottom: 1px solid var(--color-gold) !important;
        border-right: 1px solid var(--color-gold) !important;
        transform: rotate(45deg) !important;
    }
}

/* Mobile Nav Contact Icons Styling */
.nav-mobile-contact {
    display: none;
}

@media (max-width: 1150px) {
    .nav-mobile-contact {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;
        margin-top: 15px;
        border-top: 1px solid rgba(62, 78, 66, 0.1);
        padding-top: 25px;
        width: 100%;
        max-width: 200px;
    }
    
    .nav-mobile-contact .header-contact-item {
        background-color: var(--color-white);
        border: 1px solid rgba(62, 78, 66, 0.15);
    }
}

/* Live Chatbot Input Area Styles */
.chatbot-w-input-area {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: var(--color-white);
    border-top: 1px solid rgba(220, 215, 205, 0.4);
    gap: 8px;
}

.chatbot-w-input {
    flex-grow: 1;
    border: 1px solid rgba(62, 78, 66, 0.15);
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-quick);
    background-color: var(--color-bg-primary);
    color: var(--color-sage-dark);
}

.chatbot-w-input:focus {
    border-color: var(--color-gold);
    background-color: var(--color-white);
}

.chatbot-w-send {
    background-color: var(--color-sage-dark);
    color: var(--color-white);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-quick);
    flex-shrink: 0;
}

.chatbot-w-send:hover {
    background-color: var(--color-gold);
    transform: scale(1.05);
}

.chatbot-w-send svg {
    width: 14px;
    height: 14px;
    margin-left: 2px;
}

/* ==========================================================================
   NUEVOS ESTILOS - MAQUETACIÓN PREMIUM V4.0
   ========================================================================== */

/* Hero Bullets */
.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    margin-top: 35px;
    justify-content: flex-start;
}

.hero-bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.bullet-tick {
    color: var(--color-gold);
    flex-shrink: 0;
}

/* Desafíos Grid (Identificación) */
.problema-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.problema-desc-highlight {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-sage-dark);
    font-weight: 500;
    border-left: 2px solid var(--color-gold);
    padding-left: 15px;
    margin-top: 25px;
}

.desafios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.desafio-card {
    background-color: var(--color-bg-primary);
    border: 1px solid rgba(62, 78, 66, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition-smooth);
}

.desafio-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-sage);
    box-shadow: 0 10px 20px rgba(62, 78, 66, 0.04);
}

.desafio-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gold);
}

.desafio-card-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text-dark);
    font-weight: 500;
}

/* Diferencial Grid */
.diferencial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.diferencial-card {
    background-color: var(--color-white);
    border: 1px solid rgba(62, 78, 66, 0.08);
    border-radius: var(--border-radius-md);
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: var(--transition-smooth);
}

.diferencial-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-sage-light);
    box-shadow: 0 15px 30px rgba(62, 78, 66, 0.05);
}

.diferencial-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(142, 164, 139, 0.1);
    color: var(--color-sage-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.diferencial-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

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

/* Beneficios */
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.beneficio-card {
    background-color: var(--color-bg-primary);
    border: 1px solid rgba(62, 78, 66, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition-smooth);
}

.beneficio-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-sage-light);
    box-shadow: 0 12px 25px rgba(62, 78, 66, 0.04);
}

.beneficio-card.font-highlight {
    background-color: rgba(142, 164, 139, 0.08);
    border-color: var(--color-sage-light);
}

.beneficio-num {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-gold);
}

.beneficio-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-dark);
}

.beneficio-highlight-quote {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    color: var(--color-sage-dark);
    margin-top: 60px;
    font-weight: 500;
    font-style: italic;
    position: relative;
    padding: 30px 0;
    border-top: 1px solid rgba(62, 78, 66, 0.1);
    border-bottom: 1px solid rgba(62, 78, 66, 0.1);
}

/* Testimonios */
.testimonios {
    background-color: var(--color-white);
    border-top: 1px solid rgba(220, 215, 205, 0.3);
    border-bottom: 1px solid rgba(220, 215, 205, 0.3);
}

.testimonios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.testimonio-card {
    background-color: var(--color-bg-primary);
    border: 1px solid rgba(62, 78, 66, 0.08);
    border-radius: var(--border-radius-md);
    padding: 45px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonio-quote-icon {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: rgba(197, 160, 115, 0.2);
    position: absolute;
    top: 15px;
    left: 30px;
    line-height: 1;
}

.testimonio-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-dark);
    font-weight: 300;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
    flex-grow: 1;
}

.testimonio-quote-highlight {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-sage-dark);
    font-style: italic;
    border-left: 2px solid var(--color-gold);
    padding-left: 15px;
    margin-bottom: 30px;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(62, 78, 66, 0.1);
    padding-top: 20px;
}

.testimonio-author-info {
    display: flex;
    flex-direction: column;
}

.testimonio-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.testimonio-company {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Workflow (Cómo Trabajo) */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    margin-top: 50px;
}

.workflow-steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 40px;
    right: 40px;
    height: 1px;
    background-color: var(--color-sage-light);
    z-index: 0;
}

.workflow-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: var(--color-bg-primary);
    padding: 30px 25px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(62, 78, 66, 0.05);
    transition: var(--transition-smooth);
}

.workflow-step:hover {
    transform: translateY(-3px);
    border-color: var(--color-sage-light);
    box-shadow: 0 10px 20px rgba(62, 78, 66, 0.04);
}

.workflow-step .step-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 1px solid var(--color-sage-light);
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(62, 78, 66, 0.02);
}

.workflow-step .step-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.workflow-step .step-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Contact Form Grid */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
}

.contact-form-grid .form-group.full-width {
    grid-column: span 2;
}

/* Footer Social & Alignment overrides */
.footer-social-link {
    color: var(--color-bg-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-social-link:hover {
    color: var(--color-gold);
}

/* Responsive overrides for new classes */
@media (max-width: 992px) {
    .diferencial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .workflow-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .testimonio-card {
        padding: 35px 25px;
    }
}

@media (max-width: 600px) {
    .desafios-grid {
        grid-template-columns: 1fr;
    }
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
    .workflow-steps {
        grid-template-columns: 1fr;
    }
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-grid .form-group.full-width {
        grid-column: span 1;
    }
    .beneficio-highlight-quote {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   ESTILOS DE PÁGINAS LEGALES
   ========================================================================== */
.legal-content {
    margin-top: 30px;
}

.legal-content h2 {
    font-size: 1.4rem;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--color-sage-dark);
    font-weight: 600;
    border-bottom: 1px solid rgba(62, 78, 66, 0.1);
    padding-bottom: 8px;
}

.legal-content h3 {
    font-size: 1.15rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--color-sage-dark);
    font-weight: 600;
}

.legal-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.legal-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--color-text-muted);
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9rem;
}

.legal-content th, .legal-content td {
    border: 1px solid rgba(62, 78, 66, 0.15);
    padding: 12px;
    text-align: left;
}

.legal-content th {
    background-color: var(--color-bg-primary);
    color: var(--color-sage-dark);
    font-weight: 600;
}

.legal-content td {
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .legal-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

