/* ============================================
   TrazoStudioDG — Design System & Styles
   ============================================ */

/* --- Design Tokens --- */
:root {
    --primary: #0590d6;
    --primary-hover: #047ab8;
    --bg-light: #f5f7f8;
    --bg-dark: #0f1c23;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    --white: #ffffff;
    --black: #000000;
    --font-display: 'Manrope', sans-serif;
    --radius: 0.25rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, .25);
    --max-width: 1400px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-display);
    background-color: var(--bg-light);
    color: var(--slate-900);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

input,
textarea {
    font-family: inherit;
    outline: none;
}

ul,
ol {
    list-style: none;
}

/* --- Material Symbols --- */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* --- Utility Classes --- */
.full-bleed-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   HEADER / FLOATING PILL NAVBAR
   ============================================ */
.site-header {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    width: auto;
    max-width: calc(100% - 2rem);
    background: rgba(15, 28, 35, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 0.5rem 0.75rem;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.site-header:hover {
    background: rgba(15, 28, 35, 0.85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0 0.5rem;
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo img {
    height: 3rem;
    width: auto;
}

/* Desktop Nav */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-desktop a {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-full);
}

.nav-desktop a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

/* Mobile Hamburger */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 4px;
    z-index: 200;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.nav-mobile {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(15, 28, 35, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-mobile.open {
    opacity: 1;
    pointer-events: auto;
}

.nav-mobile a {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    transition: color 0.3s;
}

.nav-mobile a:hover {
    color: var(--primary);
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--slate-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.35) 100%
    );
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: grayscale(100%);
    transform: scale(1.05);
    transition: filter 1s ease, transform 1s ease;
}

.hero:hover .hero-bg img {
    filter: grayscale(0%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
}

.hero-tag {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 8vw);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero h1 .accent {
    color: var(--primary);
}

.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 1.25rem 3rem;
    overflow: hidden;
    border-radius: var(--radius-full);
    background: var(--white);
    color: var(--slate-900);
    font-weight: 900;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: padding-right 0.3s ease;
}

.hero-cta:hover {
    padding-right: 4rem;
}

.hero-cta .cta-text {
    position: relative;
    z-index: 1;
}

.hero-cta .cta-arrow {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-cta:hover .cta-arrow {
    opacity: 1;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll .material-symbols-outlined {
    color: var(--white);
    font-size: 1.875rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-12px);
    }

    60% {
        transform: translateX(-50%) translateY(-6px);
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 6rem 2rem;
    background: var(--white);
}

.about-inner {
    max-width: 48rem;
    margin: 0 auto;
}

.about .section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.3;
}

.about .section-title .accent {
    color: var(--primary);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p {
    font-size: 1.0625rem;
    color: var(--slate-500);
    line-height: 1.8;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.services-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    color: var(--primary);
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--slate-900);
    letter-spacing: -0.03em;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    position: relative;
    padding: 3rem 2rem;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: var(--bg-light);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-card .service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: var(--slate-900);
}

.service-card p {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.6;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   PRICING / PAQUETES
   ============================================ */
.pricing {
    padding: 6rem 2rem;
    background: var(--slate-900);
}

.pricing .section-tag {
    color: var(--primary);
}

.pricing .section-title {
    color: var(--white);
}

.pricing-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Pricing Card */
.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-3xl);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Featured card */
.pricing-card.featured {
    background: rgba(5, 144, 214, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(5, 144, 214, 0.15);
}

.pricing-card.featured:hover {
    box-shadow: 0 0 60px rgba(5, 144, 214, 0.25);
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.375rem 1.25rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-card-header {
    margin-bottom: 1.5rem;
}

.pricing-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.pricing-desc {
    font-size: 0.8125rem;
    color: var(--slate-400);
    line-height: 1.6;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-amount .price {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
}

.pricing-amount .price-range {
    font-size: 0.875rem;
    color: var(--slate-400);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: var(--slate-300);
    line-height: 1.5;
}

.pricing-features .material-symbols-outlined {
    font-size: 1.125rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-cta:hover {
    background: var(--white);
    color: var(--slate-900);
    border-color: var(--white);
}

.pricing-card.featured .pricing-cta {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pricing-card.featured .pricing-cta:hover {
    background: var(--white);
    color: var(--slate-900);
    border-color: var(--white);
}

/* Compact card (secondary) */
.pricing-card.compact {
    padding: 2rem 1.75rem;
}

.pricing-card.compact h3 {
    font-size: 1.25rem;
}

.pricing-card.compact .pricing-amount .price {
    font-size: 1.75rem;
}

/* ============================================
   PORTFOLIO / OBRA
   ============================================ */
.portfolio {
    background: var(--bg-light);
    padding: 0.5rem;
}

.asymmetric-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0.5rem;
}

/* Cards base */
.portfolio-card {
    position: relative;
    overflow: hidden;
}

.portfolio-card img {
    transition: transform 0.7s ease;
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

/* Card overlay */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay .overlay-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.card-overlay h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
}

.card-overlay p {
    color: var(--slate-300);
    font-size: 0.875rem;
    margin-top: 1rem;
    max-width: 20rem;
}

/* Card badge */
.card-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-badge span {
    color: var(--white);
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Specific card layouts */
.card-branding {
    grid-column: span 12;
    aspect-ratio: 16 / 10;
}

.card-exploration {
    grid-column: span 12;
    aspect-ratio: 1;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.card-exploration .exploration-content {
    text-align: center;
}

.card-exploration .material-symbols-outlined {
    font-size: 3.75rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.card-exploration h4 {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.card-exploration p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
}

.card-exploration .border-frame {
    position: absolute;
    inset: 0;
    border: 8px solid rgba(255, 255, 255, 0.1);
    margin: 1rem;
    transition: margin 0.4s ease;
}

.card-exploration:hover .border-frame {
    margin: 0.5rem;
}

.card-web {
    grid-column: span 12;
    aspect-ratio: 4 / 5;
}

.card-web .web-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: grayscale(50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: backdrop-filter 0.5s ease;
}

.card-web:hover .web-overlay {
    backdrop-filter: grayscale(0%);
}

.card-web .web-inner {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: scale(0.95);
    transition: transform 0.4s ease;
}

.card-web:hover .web-inner {
    transform: scale(1);
}

.card-web h3 {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--white);
}

.card-web p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

.card-method {
    grid-column: span 12;
    aspect-ratio: 16 / 9;
    background: var(--slate-900);
}

.card-method img {
    opacity: 0.6;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.7s ease;
}

.card-method:hover img {
    filter: grayscale(0%);
}

.card-method .method-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 4rem;
}

.card-method .method-inner {
    max-width: 28rem;
}

.card-method .method-tag {
    color: var(--primary);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.card-method h4 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    font-style: italic;
    margin: 0.5rem 0 1rem;
}

.card-method p {
    color: var(--slate-300);
    font-size: 1.125rem;
}

.card-impact {
    grid-column: span 12;
    aspect-ratio: 4 / 5;
    background: var(--bg-dark);
}

.card-impact .impact-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
}

.card-impact .impact-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.card-impact h4 {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.card-impact .impact-text p {
    color: var(--slate-400);
    font-size: 0.875rem;
    max-width: 24rem;
}

.card-impact .impact-image {
    position: relative;
    overflow: hidden;
}

.card-impact .impact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 1s ease;
}

.card-impact:hover .impact-image img {
    transform: scale(1.1);
}

/* Responsive grid — Desktop */
@media (min-width: 768px) {
    .asymmetric-grid {
        grid-template-rows: 35vw 40vw 22vw;
    }

    /* Remove aspect-ratio on desktop so cards stretch to fill row height */
    .card-branding,
    .card-exploration,
    .card-web,
    .card-method,
    .card-impact {
        aspect-ratio: unset;
    }

    .card-branding {
        grid-column: span 7;
    }

    .card-exploration {
        grid-column: span 5;
    }

    .card-web {
        grid-column: span 5;
    }

    .card-method {
        grid-column: span 7;
    }

    .card-impact {
        grid-column: span 12;
        aspect-ratio: 21 / 9;
    }

    .card-impact .impact-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }

    .card-impact .impact-text {
        padding: 3rem 6rem;
    }

    .card-impact h4 {
        font-size: 3.75rem;
    }

    .card-impact .impact-text p {
        font-size: 1.25rem;
    }

    .card-impact .impact-image img {
        transform: scale(1.25) translateX(3rem);
    }

    .card-impact:hover .impact-image img {
        transform: scale(1.25) translateX(0);
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 8rem 0;
    background: var(--primary);
    color: var(--white);
}

.contact-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.contact h2 {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 3rem;
    line-height: 1.1;
}

.contact h2 .dark-accent {
    color: var(--white);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-location {
    font-size: 1.25rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-2xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid var(--slate-200);
    padding: 1rem 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    background: transparent;
    transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--slate-400);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
}

.contact-form textarea {
    resize: vertical;
    min-height: 4rem;
}

.contact-form .form-message {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    display: none;
}

.contact-form .form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
}

.contact-form .form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    font-weight: 900;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.btn-submit:hover {
    background: var(--slate-900);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (min-width: 1024px) {
    .contact-inner {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }

    .contact-form-wrapper {
        padding: 3rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: 3rem 0;
    background: var(--slate-950);
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo img {
    height: 8rem;
    width: auto;
    opacity: 0.7;
}

.footer-logo span {
    font-weight: 900;
    font-size: 0.75rem;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-copy {
    font-size: 0.625rem;
    color: var(--slate-500);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-social {
    display: flex;
    gap: 1.25rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 1rem;
    height: 1rem;
    fill: var(--white);
}

.footer-links a {
    font-size: 0.625rem;
    color: var(--slate-500);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 90;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-full);
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 1.75rem;
    height: 1.75rem;
    fill: var(--white);
}

/* Pulse effect */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-full);
    border: 2px solid #25d366;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HIDE SCROLLBAR UTILITY
   ============================================ */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}