/* =========================================
   ESTUDIO JURÍDICO RENAUDO ASTUDILLO
   Estilos Profesionales y Elegantes
   ========================================= */

/* CSS Variables */
:root {
    /* Colors - Paleta: Dorado, Negro, Plateado, Bordó */
    --color-primary: #0a0a0a;
    /* Negro profundo */
    --color-primary-light: #1a1a1a;
    /* Negro suave */
    --color-secondary: #b8953e;
    /* Dorado profundo */
    --color-secondary-light: #c9a74d;
    /* Dorado claro */
    --color-accent: #7b1e2d;
    /* Bordó */
    --color-accent-light: #9a2b3d;
    /* Bordó claro */
    --color-silver: #b8b8b8;
    /* Plateado */
    --color-silver-light: #d0d0d0;
    /* Plateado claro */
    --color-white: #ffffff;
    --color-light: #f5f5f5;
    --color-gray: #6c6c6c;
    --color-gray-light: #e0e0e0;
    --color-dark: #050505;
    /* Negro absoluto */
    --color-text: #1a1a1a;
    --color-text-light: #4a4a4a;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', Arial, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 50%;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-normal);
}

.header.scrolled {
    background: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav__logo {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: baseline;
}

.logo-r {
    color: var(--color-white);
    font-family: var(--font-heading);
    /* Cormorant Garamond */
    font-weight: 700;
    font-size: 2.8rem;
    letter-spacing: -2px;
    z-index: 1;
    position: relative;
}

.logo-a {
    color: var(--color-secondary);
    font-family: 'Cinzel Decorative', serif;
    /* Fuente decorativa romana */
    font-weight: 700;
    font-size: 3.2rem;
    /* Un poco más grande que la R */
    margin-left: -22px;
    /* Superposición agresiva (monograma) */
    position: relative;
    z-index: 2;
    /* Efecto de sombra para separarla visualmente donde cruza */
    text-shadow: 2px 2px 0px rgba(10, 10, 10, 0.8), 0 0 15px rgba(184, 149, 62, 0.2);
}

.nav__list {
    display: flex;
    gap: var(--spacing-lg);
}

.nav__link {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition-normal);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.nav__toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-normal);
}

.nav__close {
    display: none;
}

/* =========================================
   HERO SECTION - ULTRA PREMIUM
   ========================================= */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0a0a;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/oficina.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.6);
}

.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero__text-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__logo-anim {
    font-size: 4rem;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-md);
    animation: fadeDown 1s ease-out;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -1px;
    animation: fadeUp 1s ease-out 0.2s backwards;
}

.text-gradient {
    color: #b8953e;
    font-style: italic;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--color-gray-light);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
    animation: fadeUp 1s ease-out 0.4s backwards;
}

.hero__separator {
    width: 60px;
    height: 3px;
    background: var(--color-secondary);
    margin: 0 auto var(--spacing-lg);
    animation: expandWidth 1s ease-out 0.6s backwards;
}

.hero__description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: var(--spacing-xl);
    animation: fadeUp 1s ease-out 0.8s backwards;
}

.hero__buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    animation: fadeUp 1s ease-out 1s backwards;
}

.btn--gold {
    background: #b8953e;
    color: #0a0a0a;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn--gold:hover {
    background: #b8963f;
}

.btn--outline {
    background: transparent;
    border: 1px solid #b8b8b8;
    color: #fff;
    padding: 16px 40px;
    border-radius: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn--outline:hover {
    border-color: #b8953e;
    color: #b8953e;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #fff, transparent);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 60px;
    }
}

/* =========================================
   ABOUT SECTION REDESIGN
   ========================================= */
.about {
    padding: var(--spacing-xxl) 0;
    background: #fff;
    position: relative;
}

.about__display {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about__image-container {
    position: relative;
    padding: 20px;
}

.about__photo {
    width: 100%;
    height: auto;
    border-radius: 4px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    filter: sepia(10%);
}

.about__frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    border: 2px solid var(--color-secondary);
    z-index: 1;
    opacity: 0.5;
}

.about__info h3.about__role {
    font-size: 1.1rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

.about__bio {
    margin-bottom: var(--spacing-xl);
}

.about__bio p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    font-size: 1.05rem;
}

.about__quote {
    font-family: var(--font-heading);
    font-size: 1.4rem !important;
    color: var(--color-primary) !important;
    line-height: 1.4;
    border-left: none !important;
    padding-left: 0 !important;
    font-style: italic;
}

.about__credentials {
    display: flex;
    gap: var(--spacing-xl);
    border-top: 1px solid var(--color-gray-light);
    padding-top: var(--spacing-lg);
}

.credential {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.credential__icon {
    font-size: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about__display {
        grid-template-columns: 1fr;
    }

    .about__image-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero__title {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2.5rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .about__credentials {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

/* =========================================
   SERVICES SECTION - ULTRA PREMIUM
   ========================================= */
.services {
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #b8953e, transparent);
}

.services .section__header {
    margin-bottom: 70px;
}

.services .section__title {
    color: #fff;
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.services .section__subtitle {
    color: #b8b8b8;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: #111111;
    border: 1px solid rgba(201, 167, 77, 0.15);
    padding: 35px 30px;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.service-card:hover {
    background: #151515;
    border-color: rgba(201, 167, 77, 0.4);
    transform: translateY(-3px);
}

.service-card--featured {
    background: linear-gradient(135deg, #1a0a0d 0%, #111111 100%);
    border-color: rgba(123, 30, 45, 0.5);
}

.service-card--featured:hover {
    background: linear-gradient(135deg, #200d12 0%, #151515 100%);
    border-color: #7b1e2d;
}

.service-card__badge {
    position: absolute;
    top: 0;
    right: 20px;
    background: #7b1e2d;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 14px;
}

/* Header con icono al lado del título */
.service-card__header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(201, 167, 77, 0.15);
}

.service-card__icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 167, 77, 0.1);
    border: 1px solid #b8953e;
    color: #b8953e;
}

.service-card__icon svg {
    width: 24px;
    height: 24px;
    fill: #b8953e;
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.3;
}

.service-card__list {
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-card__list li {
    color: #d0d0d0;
    font-size: 0.88rem;
    font-weight: 400;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-left: 20px;
    position: relative;
}

.service-card__list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #b8953e;
    font-size: 1.1rem;
    font-weight: 600;
}

.service-card__list li:last-child {
    border-bottom: none;
}

.service-card__highlight {
    color: #b8953e;
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 400;
    padding: 12px 15px;
    background: rgba(201, 167, 77, 0.08);
    border-left: 2px solid #b8953e;
}

.service-card__link {
    display: inline-block;
    color: #0a0a0a;
    background: #b8953e;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.service-card__link:hover {
    background: #fff;
    color: #0a0a0a;
}

/* Section Headers Light Theme */
.section__header--light .section__tag {
    color: #b8953e;
}

.section__header--light .section__title {
    color: #fff;
}

.section__header--light .section__subtitle {
    color: #b8b8b8;
}

/* =========================================
   WHY US SECTION - PREMIUM
   ========================================= */
.why-us {
    padding: 100px 0;
    background: #f5f5f5;
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(10, 10, 10, 0.1);
}

.section__header--centered {
    text-align: center;
    margin-bottom: 60px;
}

.section__header--centered .section__subtitle {
    max-width: 600px;
    margin: 0 auto;
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.why-us__content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us__content--centered {
    display: block;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.why-us__content--centered .why-us__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 60px;
}

.why-us__content--centered .why-item {
    flex-direction: column;
    text-align: center;
    background: #fff;
    padding: 50px 40px;
    border: 1px solid rgba(10, 10, 10, 0.08);
    border-bottom: 1px solid rgba(10, 10, 10, 0.08);
    margin-bottom: 0;
    padding-bottom: 50px;
    transition: all 0.3s ease;
}

.why-us__content--centered .why-item:hover {
    border-color: #b8953e;
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.why-us__content--centered .why-item__number {
    margin-bottom: 25px;
    font-size: 2.2rem;
}

.why-us__content--centered .why-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.why-us__items {
    margin-top: 40px;
}

.why-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: #fff;
    padding: 50px 40px;
    border: 1px solid rgba(10, 10, 10, 0.08);
    transition: all 0.3s ease;
}

.why-item:hover {
    border-color: #b8953e;
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.why-item__number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    color: #b8953e;
    margin-bottom: 25px;
    line-height: 1;
}

.why-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    letter-spacing: 0.3px;
}

.why-item p {
    color: #1a1a1a;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.7;
}

.why-us__stats {
    background: #0a0a0a;
    padding: 60px 50px;
    display: grid;
    gap: 0;
}

.stat {
    text-align: center;
    padding: 35px 20px;
    border-bottom: 1px solid rgba(184, 184, 184, 0.1);
}

.stat:last-child {
    border-bottom: none;
}

.stat__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    color: #b8953e;
    line-height: 1;
    margin-bottom: 10px;
}

.stat__number::after {
    content: '+';
    font-size: 2rem;
    vertical-align: super;
}

.stat__label {
    color: #b8b8b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}

/* =========================================
   BLOG / CRITERIO JURÍDICO
   ========================================= */
.blog {
    padding: var(--spacing-xxl) 0;
    background: var(--color-light);
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.blog-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card__image {
    position: relative;
    height: 200px;
    background: var(--color-primary);
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__category {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: var(--color-secondary);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
}

.blog-card__content {
    padding: var(--spacing-lg);
}

.blog-card__date {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.blog-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-primary);
    margin: var(--spacing-sm) 0;
    line-height: 1.4;
}

.blog-card__excerpt {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.blog-card__link {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact {
    padding: var(--spacing-xxl) 0;
    background: var(--color-white);
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xl);
}

.contact__info h2 {
    margin-bottom: var(--spacing-md);
}

.contact__details {
    margin-top: var(--spacing-xl);
}

.contact__item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact__item h4 {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.contact__item p,
.contact__item a {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.contact__item a:hover {
    color: var(--color-secondary);
}

/* Form Styles */
.contact__form {
    background: var(--color-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
}

.form__group {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.form__group input,
.form__group textarea,
.form__group select {
    width: 100%;
    padding: 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--color-gray-light);
    border-radius: var(--radius-md);
    background: var(--color-white);
    transition: var(--transition-normal);
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.form__group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
    pointer-events: none;
    transition: var(--transition-normal);
    background: var(--color-white);
    padding: 0 4px;
}

.form__group textarea~label {
    top: 24px;
}

.form__group input:focus~label,
.form__group input:not(:placeholder-shown)~label,
.form__group textarea:focus~label,
.form__group textarea:not(:placeholder-shown)~label {
    top: 0;
    font-size: 0.85rem;
    color: var(--color-secondary);
}

/* Botón del formulario */
.contact__form button[type="submit"],
.btn--primary {
    display: block;
    width: 100%;
    padding: 18px 40px;
    background: #b8953e;
    color: #0a0a0a;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contact__form button[type="submit"]:hover,
.btn--primary:hover {
    background: #a5863a;
    transform: translateY(-2px);
}

.contact__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact__map iframe {
    display: block;
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq {
    padding: var(--spacing-xxl) 0;
    background: var(--color-light);
}

.faq__grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-normal);
}

.faq__question:hover {
    background: var(--color-light);
}

.faq__icon {
    font-size: 1.5rem;
    color: var(--color-secondary);
    transition: var(--transition-normal);
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq__item.active .faq__answer {
    max-height: 200px;
}

.faq__answer p {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--color-text-light);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer__content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    font-size: 3rem;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-sm);
}

.footer__slogan {
    color: var(--color-secondary);
    font-style: italic;
}

.footer__links h4,
.footer__services h4,
.footer__contact h4 {
    color: var(--color-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.footer__links ul li,
.footer__services ul li {
    padding: 6px 0;
}

.footer__links a:hover {
    color: var(--color-secondary);
}

.footer__contact p {
    padding: 6px 0;
    font-size: 0.9rem;
}

.footer__contact a:hover {
    color: var(--color-secondary);
}

.footer__bottom {
    padding-top: var(--spacing-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer__credit {
    margin-top: 10px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer__credit a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__credit a:hover {
    color: #b8953e;
}

/* =========================================
   WHATSAPP BUTTON
   ========================================= */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-normal);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* =========================================
   BACK TO TOP
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    /* Mobile Navigation */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-primary);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition-normal);
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xl);
    }

    .nav__link {
        font-size: 1.2rem;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 2rem;
        color: var(--color-white);
        cursor: pointer;
    }

    /* Hero Mobile */
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }

    .hero__logo {
        justify-content: center;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__description {
        margin: 0 auto var(--spacing-xl);
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__image {
        order: -1;
    }

    .hero__image img {
        max-width: 280px;
        margin: 0 auto;
    }

    /* About Mobile */
    .about__content {
        grid-template-columns: 1fr;
    }

    .about__badge {
        right: 10px;
        bottom: -10px;
    }

    /* Services Mobile */
    .services__grid {
        grid-template-columns: 1fr;
    }

    /* Why Us Mobile */
    .why-us__content {
        grid-template-columns: 1fr;
    }

    .why-us__stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat:last-child {
        border-right: none;
    }

    .stat__number {
        font-size: 2.5rem;
    }

    /* Blog Mobile */
    .blog__grid {
        grid-template-columns: 1fr;
    }

    /* Contact Mobile */
    .contact__wrapper {
        grid-template-columns: 1fr;
    }

    /* Footer Mobile */
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__logo {
        margin: 0 auto var(--spacing-sm);
    }

    /* WhatsApp & Back to Top */
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .back-to-top {
        bottom: 85px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .why-us__stats {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}