/* ==================================
   CUSTOM PROPERTIES & VARIABLES
   ================================== */

:root {
    /* Colors */
    --primary-color: #d84948;              /* Red primary */
    --primary-color-light: #FFA2A2;        /* Light red - CTA */
    --primary-color-dark: #BB2626;         /* Dark red - Secondary */
    --secondary-color: #954B0E;            /* Brown - Titles */
    --secondary-color-light: #B87333;      /* Light brown */
    --accent-color: #10b981;               /* Green accent */
    --accent-color-light: #34d399;         /* Light green */
    
    /* Text Colors */
    --text-color: #1f2937;                 /* Dark gray */
    --text-color-light: #6b7280;           /* Medium gray */
    --text-color-lighter: #9ca3af;         /* Light gray */
    --white-color: #ffffff;
    
    /* Background Colors */
    --body-color: #ffffff;
    --container-color: #f9fafb;
    --section-bg: #f8fafc;
    --card-bg: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-light) 100%);
    
    /* Shadows */
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --body-font: 'Inter', sans-serif;
    --title-font: 'Inter', sans-serif;
    
    /* Font Sizes */
    --biggest-font-size: 3rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.75rem;
    
    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;
    
    /* Spacing */
    --header-height: 4.5rem;
    --section-padding: 5rem 0;
    --container-margin: 0 1rem;
    
    /* Borders */
    --border-radius: 0.75rem;
    --border-radius-small: 0.5rem;
    --border-radius-large: 1rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
    
    /* Z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* Responsive Font Sizes */
@media screen and (max-width: 968px) {
    :root {
        --biggest-font-size: 2.5rem;
        --h1-font-size: 2rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 0.938rem;
        --small-font-size: 0.813rem;
        --smaller-font-size: 0.75rem;
    }
}

/* ==================================
   BASE STYLES
   ================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    font-weight: var(--font-regular);
    color: var(--text-color);
    background-color: var(--body-color);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: var(--title-font);
    font-weight: var(--font-semi-bold);
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

input, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ==================================
   REUSABLE CSS CLASSES
   ================================== */

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.section {
    padding: var(--section-padding);
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__title {
    font-size: var(--h2-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section__title-accent {
    color: var(--primary-color);
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section__subtitle {
    font-size: var(--normal-font-size);
    color: var(--text-color-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: var(--font-medium);
    font-size: var(--normal-font-size);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.button--primary {
    background: var(--gradient-primary);
    color: var(--white-color);
    box-shadow: var(--shadow-medium);
}

.button--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.button--secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.button--secondary:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.button--whatsapp {
    background: #25d366;
    color: var(--white-color);
    box-shadow: var(--shadow-medium);
}

.button--whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* ==================================
   HEADER & NAVIGATION
   ================================== */

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    transition: var(--transition);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: var(--font-semi-bold);
    color: var(--text-color);
}

.nav__logo-img {
    width: 8rem;
    height: 4rem;
    object-fit: contain;
}

.nav__logo-text {
    display: none;
}

.nav__menu {
    position: relative;
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    color: var(--text-color);
    font-weight: var(--font-medium);
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* ==================================
   HERO SECTION
   ================================== */

.hero {
    background: linear-gradient(135deg, rgba(216, 73, 72, 0.5), rgba(187, 38, 38, 0.5)), 
                url('./media/bg/bg1.png') center/cover;
    color: var(--white-color);
    padding-top: calc(var(--header-height) + 2rem);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero__container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-size: var(--biggest-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero__title-accent {
    color: #FFA2A2;
}

.hero__subtitle {
    font-size: var(--h3-font-size);
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.5;
}

.hero__cta {
    margin-bottom: 2rem;
}

/* ==================================
   ABOUT SUMMARY SECTION
   ================================== */

.about-summary {
    background-color: var(--white-color);
}

.about-summary__content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.about-summary__text {
    max-width: 500px;
}

.about-summary__description {
    color: var(--text-color-light);
    margin-bottom: 2rem;
    text-align: justify;
    line-height: 1.7;
}

.about-summary__cta {
    margin-top: 1.5rem;
}

.about-summary__images {
    justify-self: center;
    overflow: hidden;
    max-width: 400px;
}

.about-summary__slider {
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-heavy);
    width: 400px;
    height: 300px;
}

.about-summary__track {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.about-summary__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-summary__slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation buttons */
.about-summary__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    color: var(--primary-color);
    font-size: 1rem;
    box-shadow: var(--shadow-medium);
}

.about-summary__nav:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-50%) scale(1.1);
}

.about-summary__nav--prev {
    left: 10px;
}

.about-summary__nav--next {
    right: 10px;
}

/* Dots navigation */
.about-summary__dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.about-summary__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.about-summary__dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.about-summary__dot--active {
    background: #FFA2A2;
    border-color: var(--white-color);
}

/* ==================================
   SERVICES SUMMARY SECTION
   ================================== */

.services-summary {
    background-color: var(--section-bg);
}

.services-summary__content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.services-summary__card {
    background: var(--card-bg);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-summary__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.services-summary__card:hover::before {
    transform: scaleX(1);
}

.services-summary__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.services-summary__card-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white-color);
    font-size: 1.25rem;
}

.services-summary__card-title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--text-color);
    margin-bottom: 1rem;
}

.services-summary__card-description {
    color: var(--text-color-light);
    line-height: 1.6;
}

.services-summary__cta {
    text-align: center;
    margin-top: 3rem;
}

/* ==================================
   BRANDS SECTION
   ================================== */

.brands {
    background-color: var(--white-color);
    overflow: hidden;
}

.brands__content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.brands__slider {
    overflow: hidden;
    position: relative;
}

.brands__track {
    display: flex;
    gap: 2rem;
    animation: slide 20s linear infinite;
    width: fit-content;
}

.brands__track:hover {
    animation-play-state: paused;
}

.brands__slide {
    flex: 0 0 250px;
    width: 250px;
    height: 150px;
    background: var(--white-color);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(229, 231, 235, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: var(--transition);
}

.brands__slide:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.brands__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(50%);
    transition: var(--transition);
}

.brands__slide:hover .brands__img {
    filter: grayscale(0%);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 11 - 2rem * 11));
    }
}

/* Responsive adjustments */
@media screen and (max-width: 968px) {
    .brands__slide {
        flex: 0 0 200px;
        width: 200px;
        height: 120px;
        padding: 1rem;
    }
    
    @keyframes slide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 11 - 2rem * 11));
        }
    }
}

@media screen and (max-width: 576px) {
    .brands__slide {
        flex: 0 0 160px;
        width: 160px;
        height: 100px;
        padding: 0.75rem;
    }
    
    .brands__track {
        gap: 1.5rem;
    }
    
    @keyframes slide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-160px * 11 - 1.5rem * 11));
        }
    }
}

/* ==================================
   PAGE HEADER SECTION (For internal pages)
   ================================== */

.page-header {
    background: linear-gradient(135deg, rgba(216, 73, 72, 0.5), rgba(187, 38, 38, 0.5)),
                url('./media/bg/5-1.png') center/cover;
    color: var(--white-color);
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
    text-align: center;
}

.page-header__container {
    max-width: 800px;
    margin: 0 auto;
}

.page-header__title {
    font-size: var(--h1-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-header__title-accent {
    color: var(--secondary-color);
}

.page-header__subtitle {
    font-size: var(--h3-font-size);
    font-weight: var(--font-regular);
    opacity: 0.95;
    line-height: 1.5;
}

/* ==================================
   ABOUT PROFILE SECTION
   ================================== */

.about-profile {
    background-color: var(--white-color);
}

.about-profile__content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.about-profile__text {
    max-width: 100%;
}

.about-profile__paragraph {
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.7;
    font-size: var(--normal-font-size);
}

.about-profile__paragraph:last-child {
    margin-bottom: 0;
}

.about-profile__image {
    justify-self: center;
}

.about-profile__img-container {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
}

.about-profile__img-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.about-profile__img {
    width: 100%;
    max-width: 400px;
    height: 400px;
    object-fit: cover;
}

/* ==================================
   ABOUT VALUES SECTION
   ================================== */

.about-values {
    background-color: var(--section-bg);
}

.about-values__header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-values__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-values__item {
    background: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.about-values__item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.about-values__icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-values__text {
    flex: 1;
}

.about-values__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.about-values__description {
    color: var(--text-color-light);
    line-height: 1.6;
}

.about-values__conclusion {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.about-values__final-text {
    font-size: var(--normal-font-size);
    color: var(--text-color-light);
    line-height: 1.7;
    font-style: italic;
    padding: 2rem;
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--primary-color);
}

/* ==================================
   SERVICES DETAILED SECTION (servicios.html)
   ================================== */

.services-detailed {
    background-color: var(--section-bg);
}

.services-detailed__container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-detailed__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    background: var(--white-color);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: var(--transition);
}

.services-detailed__row:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.services-detailed__row--reverse {
    direction: ltr;
}

.services-detailed__card-alt {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    padding: 2.5rem;
    transition: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-detailed__card-alt:hover {
    transform: none;
    box-shadow: none;
}

.services-detailed__image {
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    height: 100%;
    position: relative;
}

.services-detailed__slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.services-detailed__slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.services-detailed__slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-detailed__slider-slide.active {
    opacity: 1;
}

/* Navigation buttons for service slider */
.services-detailed__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    color: var(--primary-color);
    font-size: 1rem;
    box-shadow: var(--shadow-medium);
}

.services-detailed__nav:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-50%) scale(1.1);
}

.services-detailed__nav--prev {
    left: 10px;
}

.services-detailed__nav--next {
    right: 10px;
}

/* Dots navigation for service slider */
.services-detailed__dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.services-detailed__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.services-detailed__dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.services-detailed__dot--active {
    background: #FFA2A2;
    border-color: var(--white-color);
}

.services-detailed__img {
    width: 65%;
    height: 65%;
    min-height: 400px;
    object-fit: cover;
    transition: var(--transition);
    margin: auto;
}

.services-detailed__row:hover .services-detailed__img {
    transform: scale(1.05);
}

.services-detailed__card {
    background: var(--white-color);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(229, 231, 235, 0.5);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.services-detailed__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.services-detailed__card:hover::before {
    transform: scaleX(1);
}

.services-detailed__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.services-detailed__header {
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
}

.services-detailed__icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--white-color);
    font-size: 1.25rem;
}

.services-detailed__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.3;
}

.services-detailed__content {
    padding: 0;
}

.services-detailed__description {
    color: var(--text-color-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: left;
}

.services-detailed__features {
    margin-top: 1.5rem;
}

.services-detailed__features-title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--text-color);
    margin-bottom: 1rem;
}

.services-detailed__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-detailed__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color-light);
    font-size: var(--small-font-size);
    line-height: 1.5;
}

.services-detailed__item:last-child {
    margin-bottom: 0;
}

.services-detailed__item i {
    color: var(--accent-color);
    font-size: 0.875rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* ==================================
   CTA SECTION (Home page)
   ================================== */

.cta {
    background: linear-gradient(135deg, rgba(216, 73, 72, 0.7), rgba(187, 38, 38, 0.7)),
                url('./media/bg/10.png') center/cover;
    color: var(--white-color);
}

.cta__container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta__title {
    font-size: var(--h1-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
}

.cta__description {
    font-size: var(--normal-font-size);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta__button {
    font-size: var(--normal-font-size);
    padding: 1rem 2rem;
}

/* ==================================
   ABOUT CTA SECTION
   ================================== */

.about-cta {
    background: linear-gradient(135deg, rgba(149, 75, 14, 0.7), rgba(184, 115, 51, 0.7)),
                url('./media/bg/1-2.png') center/cover;
    color: var(--white-color);
}

.about-cta__container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.about-cta__title {
    font-size: var(--h2-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.about-cta__button {
    font-size: var(--normal-font-size);
    padding: 1rem 2rem;
    background: var(--white-color);
    color: var(--secondary-color);
    border: 2px solid var(--white-color);
}

.about-cta__button:hover {
    background: transparent;
    color: var(--white-color);
    border-color: var(--white-color);
    transform: translateY(-2px);
}

/* ==================================
   FOOTER
   ================================== */

.footer {
    background-color: var(--text-color);
    color: var(--white-color);
    padding-top: 3rem;
}

.footer__container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__content {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer__logo-img {
    width: 8rem;
    height: 4rem;
    object-fit: contain;
}

.footer__logo-text {
    display: none;
}

.footer__logo-text {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
}

.footer__description {
    color: var(--text-color-lighter);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    transition: var(--transition);
}

.footer__social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: 1.5rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__link {
    color: var(--text-color-lighter);
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--white-color);
    padding-left: 0.5rem;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer__contact-icon {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.footer__contact-info {
    display: flex;
    flex-direction: column;
}

.footer__contact-title {
    font-weight: var(--font-medium);
    margin-bottom: 0.25rem;
}

.footer__contact-data {
    color: var(--text-color-lighter);
    transition: var(--transition);
}

.footer__contact-data:hover {
    color: var(--white-color);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer__bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copy {
    color: var(--text-color-lighter);
    font-size: var(--small-font-size);
}

.footer__copy-link {
    color: var(--primary-color);
    transition: var(--transition);
}

.footer__copy-link:hover {
    color: var(--white-color);
}

.footer__bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer__bottom-link {
    color: var(--text-color-lighter);
    font-size: var(--small-font-size);
    transition: var(--transition);
}

.footer__bottom-link:hover {
    color: var(--white-color);
}

/* ==================================
   FLOATING WHATSAPP BUTTON
   ================================== */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: var(--z-tooltip);
}

.whatsapp-float__link {
    width: 4rem;
    height: 4rem;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.5rem;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
    position: relative;
    animation: pulse 2s infinite;
}

.whatsapp-float__link:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.whatsapp-float__tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: var(--small-font-size);
    white-space: nowrap;
    margin-right: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float__tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--text-color);
}

.whatsapp-float__link:hover .whatsapp-float__tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==================================
   SCROLL TO TOP BUTTON (REMOVED)
   ================================== */

/* This section has been removed as it's not needed for the new structure */

/* ==================================
   RESPONSIVE DESIGN
   ================================== */

/* Large devices */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 968px;
    }
}

/* Medium devices */
@media screen and (max-width: 968px) {
    :root {
        --section-padding: 4rem 0;
    }
    
    .container {
        margin-left: var(--container-margin);
        margin-right: var(--container-margin);
    }
    
    /* Navigation */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--white-color);
        box-shadow: var(--shadow-heavy);
        padding: 6rem 2rem 2rem;
        transition: var(--transition);
        z-index: var(--z-modal);
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav__link {
        font-size: var(--h3-font-size);
    }
    
    .nav__close,
    .nav__toggle {
        display: block;
    }
    
    .nav__close {
        position: absolute;
        top: 1.5rem;
        right: 2rem;
        font-size: 2rem;
    }
    
    /* Hero */
    .hero__container {
        max-width: 100%;
        text-align: center;
    }
    
    /* About Summary */
    .about-summary__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* About Profile (acerca-de.html) */
    .about-profile__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .about-values__list {
        grid-template-columns: 1fr;
    }
    
    .about-values__item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Services Detailed (servicios.html) */
    .services-detailed__container {
        gap: 3rem;
    }
    
    .services-detailed__row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .services-detailed__row--reverse {
        direction: ltr;
    }
    
    .services-detailed__row--reverse .services-detailed__image {
        order: 2;
    }
    
    .services-detailed__row--reverse .services-detailed__card-alt {
        order: 1;
    }
    
    .services-detailed__img {
        min-height: 300px;
    }
    
    /* Contact Form */
    .contact-form__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form__content,
    .contact-direct {
        padding: 2rem;
    }
    
    /* Services Summary */
    .services-summary__content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    /* Brands Slider */
    .brands__slider {
        padding: 0 1rem;
    }
    
    /* Footer */
    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer__bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Small devices */
@media screen and (max-width: 576px) {
    :root {
        --section-padding: 3rem 0;
    }
    
    .section__header {
        margin-bottom: 2rem;
    }
    
    .hero {
        padding-top: calc(var(--header-height) + 1rem);
        min-height: 70vh;
    }
    
    .services-summary__content {
        grid-template-columns: 1fr;
    }
    
    .services-summary__card {
        padding: 1.5rem 1rem;
    }
    
    .about-summary__images {
        max-width: 300px;
    }
    
    .about-summary__slider {
        width: 300px;
        height: 250px;
    }
    
    .about-profile__img {
        height: 300px;
        max-width: 300px;
    }
    
    .about-values__item {
        padding: 1.5rem;
    }
    
    .about-values__final-text {
        padding: 1.5rem;
    }
    
    .services-detailed__container {
        grid-template-columns: 1fr;
    }
    
    .services-detailed__card-alt {
        padding: 1.5rem;
    }
    
    .services-detailed__img {
        min-height: 250px;
    }
    
    .contact-form__content,
    .contact-direct {
        padding: 1.5rem;
    }
    
    .contact-direct__item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .location__address {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-float__link {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.25rem;
    }
    
    .whatsapp-float__tooltip {
        display: none;
    }
}

/* Extra small devices */
@media screen and (max-width: 320px) {
    .nav__menu {
        width: 100%;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .section__title {
        font-size: 1.5rem;
    }
}

/* ==================================
   UTILITIES
   ================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .header,
    .whatsapp-float,
    .scroll-up,
    .nav__toggle,
    .nav__close {
        display: none !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* ==================================
   CONTACT FORM SECTION
   ================================== */

.contact-form {
    background-color: var(--container-color);
}

.contact-form__container {
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-form__content {
    background: var(--white-color);
    padding: 3rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.contact-form__description {
    color: var(--text-color-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Form Styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form__label {
    font-weight: var(--font-medium);
    color: var(--text-color);
    font-size: var(--small-font-size);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form__input,
.form__select,
.form__textarea {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: var(--normal-font-size);
    transition: var(--transition);
    background-color: var(--white-color);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-family);
}

.form__select {
    cursor: pointer;
}

/* Contact Direct */
.contact-direct {
    background: var(--white-color);
    padding: 3rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(229, 231, 235, 0.5);
    height: fit-content;
}

.contact-direct__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contact-direct__description {
    color: var(--text-color-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-direct__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-direct__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.contact-direct__item:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(5px);
}

.contact-direct__icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-direct__info {
    flex: 1;
}

.contact-direct__label {
    display: block;
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    color: var(--text-color-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.contact-direct__value {
    display: block;
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-direct__value:hover {
    color: var(--primary-color);
}

/* Contact Social */
.contact-social {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
}

.contact-social__title {
    font-size: var(--h4-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
}

.contact-social__links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact-social__link {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.25rem;
    text-decoration: none;
    transition: var(--transition);
}

.contact-social__link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* ==================================
   LOCATION SECTION
   ================================== */

.location {
    background-color: var(--white-color);
}

.location__description {
    text-align: center;
    color: var(--text-color-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.location__map {
    margin-bottom: 3rem;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.location__map iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

.location__address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: var(--container-color);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.location__address-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.location__address-info h4 {
    font-size: var(--h4-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.location__address-info p {
    color: var(--text-color-light);
    line-height: 1.6;
}

/* ==================================
   SERVICES CTA SECTION
   ================================== */

.services-cta {
    background: linear-gradient(135deg, rgba(216, 73, 72, 0.5), rgba(187, 38, 38, 0.5)),
                url('./media/bg/6.png') center/cover;
    color: var(--white-color);
}

.services-cta__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.services-cta__title {
    font-size: var(--h2-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
}

.services-cta__description {
    font-size: var(--normal-font-size);
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.services-cta__button {
    background: var(--white-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: var(--font-semi-bold);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.services-cta__button:hover {
    background: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --text-color: #000000;
        --text-color-light: #333333;
        --white-color: #ffffff;
        --primary-color: #0000ff;
        --secondary-color: #ff6600;
    }
}