/* ========================================
   J & V Construction LLC - Stylesheet
   ======================================== */

/* CSS Custom Properties */
:root {
    /* Colors - Based on J&V Logo */
    --color-primary: #3D4A5C;
    --color-secondary: #2C3644;
    --color-accent: #E5A842;
    --color-accent-light: #F0B854;
    --color-accent-orange: #D97638;
    --color-light: #f8f9fa;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #e0e0e0;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 50px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.16);
    --shadow-accent: 0 10px 30px rgba(229, 168, 66, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 5%;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ========================================
   Utility Classes
   ======================================== */

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

.section {
    padding: var(--space-3xl) 0;
}

/* Global Scroll Reveal Animation */
.fade-in-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-element.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-slow);
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Ampersand con fuente distinta, mismo color que el texto */
.amp {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-style: normal;
    color: inherit;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-xl);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

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

.btn--primary:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent);
}

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

.btn--secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* ========================================
   Navigation - Modern Glassmorphism
   ======================================== */

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1400px;
    z-index: 1000;
    padding: var(--space-sm) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-base);
    background: transparent;
    border-radius: var(--radius-xl);
}

.navbar--scrolled {
    background: rgba(61, 74, 92, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.navbar__logo {
    display: flex;
    align-items: center;
    height: 80px;
    transition: height 0.4s ease;
}

.navbar__logo img {
    height: 100%;
    width: auto;
    max-height: 80px;
    object-fit: contain;
    transition: max-height 0.4s ease;
}

.navbar--scrolled .navbar__logo {
    height: 50px;
}

.navbar--scrolled .navbar__logo img {
    max-height: 50px;
}

.navbar__menu {
    display: flex;
    gap: var(--space-lg);
}

.navbar__link {
    color: var(--color-white);
    font-weight: 500;
    font-size: var(--text-sm);
    position: relative;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-base);
}

.navbar__link:hover::after {
    width: 100%;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.navbar__toggle-bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero__image--bottom,
.hero__image--top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.hero__image--bottom img,
.hero__image--top img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__image--bottom {
    z-index: 1;
}

.hero__image--top {
    z-index: 2;
    clip-path: inset(0 0 0 0);
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    z-index: 3;
}

.hero__content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    color: var(--color-white);
    perspective: 1000px;
    perspective-origin: center center;
}

.hero__text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-lg);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.hero__text--initial {
    opacity: 1;
    z-index: 5;
}

.hero__text--secondary {
    opacity: 1;
    z-index: 6;
}

.hero__title-large {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: -2px;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero__subtitle-large {
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--color-white);
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-align: center;
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 600;
    opacity: 0.8;
}

.hero__scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--color-white);
    border-bottom: 2px solid var(--color-white);
    transform: rotate(-45deg);
    margin: 10px auto 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(-45deg);
    }
    40% {
        transform: translateY(-10px) rotate(-45deg);
    }
    60% {
        transform: translateY(-5px) rotate(-45deg);
    }
}

.hero__tagline {
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: var(--space-md);
    opacity: 0;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-4xl), 6vw, var(--text-5xl));
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.hero__title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
}

.hero__subtitle {
    font-size: clamp(var(--text-base), 2vw, var(--text-xl));
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    opacity: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero__cta-container {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    opacity: 1;
}

.hero__cta {
    display: inline-flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

/* ========================================
   Values Section
   ======================================== */

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

.values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.value-card {
    position: relative;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.6) 100%);
    transition: all var(--transition-base);
}

.value-card:hover::before {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.75) 100%);
}

.value-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.value-card__overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-xl);
    text-align: center;
}

.value-card__icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--color-white);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.value-card:hover .value-card__icon {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.value-card__icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.value-card__title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--color-white);
}

.value-card__text {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* ========================================
   About Section
   ======================================== */

.about {
    background-color: var(--color-light);
    position: relative;
    isolation: isolate; /* Create independent stacking context */
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about__content h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.about__content p {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.about__image {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.about__image-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about__image-main img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about__image-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.about__image-secondary img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* Blob Masking Effect - WebGL */
.blob-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: crosshair;
}

.blob-canvas {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: var(--radius-lg);
}

.blob-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: var(--text-sm);
    font-weight: 600;
    z-index: 10;
    opacity: 0.8;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.blob-container:hover .blob-hint {
    opacity: 0;
}

/* ========================================
   Services Section
   ======================================== */

.services {
    background-color: var(--color-white);
    padding: 0;
}

.services .container {
    padding-top: 0;
    padding-bottom: 0;
}

.services .section-header {
    margin-bottom: 0;
    padding: var(--space-md) 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.service-card {
    padding: var(--space-lg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--color-accent);
    background-color: var(--color-light);
    transform: translateY(-5px);
}

.service-card__image {
    width: 100%;
    height: 200px;
    margin: calc(var(--space-lg) * -1);
    margin-bottom: var(--space-md);
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.service-card:hover .service-card__image img {
    transform: scale(1.05);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--color-white);
}

.service-card__icon svg {
    width: 24px;
    height: 24px;
}

.service-card__title {
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
    font-size: var(--text-lg);
}

.service-card__text {
    color: var(--color-text-light);
    font-size: var(--text-sm);
}

/* ========================================
   Services Section with Scroll Animation
   ======================================== */

/* Wrapper que define la altura total del scroll */
.services-wrapper {
    position: relative;
    height: 300vh; /* 3x viewport para dar espacio al scroll */
    background: var(--color-primary);
    margin: 0;
    padding: 0;
}

/* Sección sticky que permanece fija - sin espacio arriba */
.services-wrapper .section.services,
.services-wrapper .services {
    margin: 0;
    padding: 0;
}

.services {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--color-primary);
    z-index: 2;
}

/* Intro overlay */
.services__intro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
}

.services__intro-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.services__intro-content {
    position: relative;
    text-align: center;
    color: var(--color-white);
    padding: var(--space-xl);
}

.services__intro-content .section-tag {
    color: var(--color-accent);
    display: block;
    margin-bottom: var(--space-md);
}

.services__intro-title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-4xl), 8vw, 6rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.services__intro-text {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto;
}

/* ========================================
   Services Gallery with Background Images
   ======================================== */

.services__gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.service-image-card {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    cursor: pointer;
    overflow: hidden;
}

.service-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.6) 50%, rgba(10, 25, 47, 0.3) 100%);
    transition: background 0.4s ease;
}

.service-image-card:hover::before {
    background: linear-gradient(to top, rgba(10, 25, 47, 0.98) 0%, rgba(10, 25, 47, 0.8) 60%, rgba(10, 25, 47, 0.5) 100%);
}

.service-image-card__overlay {
    position: relative;
    z-index: 2;
    padding: var(--space-md) var(--space-lg);
    width: 100%;
    /* opacity controlada por JS */
}

.service-image-card__overlay h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--color-white);
    margin-bottom: var(--space-xs);
    font-weight: 600;
    line-height: 1.2;
}

.service-image-card__overlay p {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .services__gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
    }

    .services__intro-title {
        font-size: clamp(var(--text-3xl), 10vw, var(--text-4xl));
    }

    .service-image-card__overlay {
        padding: var(--space-sm) var(--space-md);
    }

    .service-image-card__overlay h3 {
        font-size: var(--text-base);
    }
}

@media (max-width: 480px) {
    .services__gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(9, 1fr);
    }

    .service-image-card__overlay h3 {
        font-size: var(--text-sm);
    }

    .service-image-card__overlay p {
        display: none;
    }
}

/* ========================================
   Features Section
   ======================================== */

.features {
    position: relative;
    color: var(--color-white);
    overflow: hidden;
    background: var(--color-primary);
    z-index: 1;
    padding: var(--space-3xl) 0;
}

.features__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.features__bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.92) 0%, rgba(212, 175, 55, 0.85) 100%);
    z-index: 1;
}

.features .container {
    position: relative;
    z-index: 2;
}

.features .section-header {
    opacity: 1;
    transform: translateY(0);
}

.features .section-tag,
.features .section-title {
    color: var(--color-white);
}

.features .section-description {
    color: rgba(255, 255, 255, 0.92);
}

.features__grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: var(--space-xl);
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    width: 100%;
    max-width: 320px;
    flex: 1 1 280px;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-item__icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.feature-item__icon svg,
.feature-item__icon i[data-lucide] {
    width: 28px;
    height: 28px;
    color: var(--color-white);
    stroke-width: 2;
    display: block;
}

.feature-item__content {
    flex: 1;
}

.feature-item__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-white);
    line-height: 1.3;
}

.feature-item__text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: var(--text-base);
}

@media (max-width: 900px) {
    .features__grid {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        gap: var(--space-lg);
    }

    .feature-item {
        max-width: 100%;
        width: 100%;
        flex: none;
    }

    .features {
        padding: var(--space-2xl) 0;
    }
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    background-color: var(--color-light);
}

.contact__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact__info {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    margin: var(--space-xl) 0;
}

.contact__item {
    opacity: 0;
    transform: translateY(20px);
}

.contact__link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-primary);
    font-size: var(--text-lg);
    font-weight: 600;
    transition: color var(--transition-base);
}

.contact__link:hover {
    color: var(--color-accent);
}

.contact__social {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-xl);
    font-weight: 600;
    transition: all var(--transition-base);
    opacity: 0;
}

.contact__social:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: var(--space-lg) var(--container-padding);
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.footer__text {
    font-size: var(--text-sm);
}

.footer__link {
    color: var(--color-accent-light);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    :root {
        --container-padding: 1.5rem;
    }

    .navbar__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-base);
    }

    .navbar__menu--active {
        right: 0;
    }

    .navbar__toggle {
        display: flex;
    }

    .about__grid {
        grid-template-columns: 1fr;
    }

    .about__image {
        order: -1;
    }

    .hero__cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .values__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--space-2xl) 0;
    }

    .values__grid,
    .services__grid {
        grid-template-columns: 1fr;
    }

    .contact__info {
        flex-direction: column;
        gap: var(--space-md);
    }
}
