/* ==========================================
   TANGO & PAMPA — Residencia para Adultos Mayores
   Estilos principales
   ========================================== */

/* === VARIABLES === */
:root {
    /* Paleta principal — tonos cálidos y elegantes */
    --color-primary: #7B4B3A;       /* Marrón cálido */
    --color-primary-dark: #5C3628;
    --color-primary-light: #A67563;
    --color-accent: #C9A96E;        /* Dorado/champagne */
    --color-accent-light: #E0CFA3;

    /* Neutros */
    --color-dark: #2C2420;
    --color-text: #4A4340;
    --color-text-light: #7A7270;
    --color-border: #E5DDD8;
    --color-bg: #FFFFFF;
    --color-bg-warm: #FAF7F4;
    --color-bg-cream: #F5F0EB;
    --color-bg-dark: #2C2420;

    /* Tipografía */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Espaciado */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;

    /* Transiciones */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(44, 36, 32, 0.06);
    --shadow-md: 0 4px 20px rgba(44, 36, 32, 0.08);
    --shadow-lg: 0 8px 40px rgba(44, 36, 32, 0.12);
    --shadow-xl: 0 16px 60px rgba(44, 36, 32, 0.16);
}

/* === RESET & BASE === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

/* === UTILITIES === */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
}

.section--dark {
    background: var(--color-bg-dark);
}

.section--light {
    background: var(--color-bg-cream);
}

/* Section headers */
.section__tag {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
}

.section__tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 1.5px;
    background: var(--color-accent);
}

.section__tag--light {
    color: var(--color-accent);
}

.section__tag--light::before {
    background: var(--color-accent);
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section__title em {
    font-style: italic;
    color: var(--color-primary);
}

.section__title--light {
    color: #fff;
}

.section__title--light em {
    color: var(--color-accent);
}

.section__desc {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 620px;
    line-height: 1.8;
}

.section__desc--light {
    color: rgba(255, 255, 255, 0.7);
}

.section__header--center {
    text-align: center;
    margin-bottom: 60px;
}

.section__header--center .section__tag {
    padding-left: 0;
}

.section__header--center .section__tag::before {
    display: none;
}

.section__header--center .section__desc {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.3px;
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
    background: #fff;
    color: var(--color-dark);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header__logo-img {
    filter: brightness(0) invert(1);
}

.header.scrolled .header__logo-img {
    filter: none;
}

.header__logo-img {
    height: 48px;
    width: auto;
    transition: var(--transition);
}

.header__logo-text {
    font-family: var(--font-body);
    font-size: 0.55rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1;
    margin-top: 2px;
    transition: var(--transition);
}

.header.scrolled .header__logo-text {
    color: var(--color-text-light);
}

.nav__list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.nav__link {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: 50px;
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.nav__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.header.scrolled .nav__link {
    color: var(--color-text);
}

.header.scrolled .nav__link:hover {
    color: var(--color-primary);
    background: var(--color-bg-cream);
}

.nav__link--cta {
    background: var(--color-primary);
    color: #fff !important;
    font-weight: 500;
    padding: 10px 24px;
}

.nav__link--cta:hover {
    background: var(--color-primary-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Mobile toggle */
.header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.header__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.header.scrolled .header__toggle span {
    background: var(--color-dark);
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        url('../img/fachada-wide.webp')
        center/cover no-repeat;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 36, 32, 0.75) 0%,
        rgba(92, 54, 40, 0.6) 50%,
        rgba(44, 36, 32, 0.7) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.hero__card {
    background: rgba(44, 36, 32, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 48px 44px;
    animation: cardReveal 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

@keyframes cardReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
        backdrop-filter: blur(0px);
        background: rgba(44, 36, 32, 0);
        border-color: rgba(255, 255, 255, 0);
    }
    30% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    60% {
        opacity: 1;
        transform: translateY(0) scale(1);
        background: rgba(44, 36, 32, 0.2);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        backdrop-filter: blur(6px);
        background: rgba(44, 36, 32, 0.55);
        border-color: rgba(255, 255, 255, 0.08);
    }
}

.hero__logo {
    margin-bottom: 20px;
}

.hero__logo-img {
    height: clamp(100px, 16vw, 180px);
    width: auto;
    margin: 0 auto;
    filter: brightness(0) invert(1);
}

.hero__subtitle {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 28px;
}

.hero__claim {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    margin-bottom: 16px;
}

.hero__claim em {
    color: var(--color-accent);
    font-style: italic;
}

.hero__desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    line-height: 1.8;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__scroll a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
    animation: scrollPulse 2.5s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero__scroll a::before {
    content: 'Descubrí más';
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
}

@keyframes scrollPulse {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* ==========================================
   ABOUT / SOBRE NOSOTROS
   ========================================== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__images {
    position: relative;
}

.about__img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about__img-main:hover img {
    transform: scale(1.03);
}

.about__img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 220px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 5px solid #fff;
}

.about__img-secondary img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.about__badge {
    position: absolute;
    top: 30px;
    right: -20px;
    background: var(--color-primary);
    color: #fff;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.about__badge-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.about__badge-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.3;
}

.about__content {
    padding-right: 20px;
}

.about__lead {
    font-size: 1.15rem;
    color: var(--color-dark);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about__content p {
    margin-bottom: 14px;
    color: var(--color-text-light);
}

.about__highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.about__highlight {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-dark);
}

.about__highlight i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-cream);
    color: var(--color-primary);
    border-radius: 50%;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ==========================================
   PHILOSOPHY / FILOSOFÍA
   ========================================== */
.philosophy__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.philosophy__card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.philosophy__card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: rgba(201, 169, 110, 0.3);
}

.philosophy__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 110, 0.15);
    color: var(--color-accent);
    border-radius: var(--radius);
    font-size: 1.3rem;
    margin-bottom: 24px;
}

.philosophy__number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
}

.philosophy__card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.3;
}

.philosophy__card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ==========================================
   BANNER DE TRANSICIÓN
   ========================================== */
.banner {
    position: relative;
    padding: 140px 0;
    background:
        url('../img/parque.webp')
        center/cover no-repeat fixed;
    text-align: center;
}

.banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(123, 75, 58, 0.6),
        rgba(92, 54, 40, 0.55)
    );
}

.banner__content {
    position: relative;
    z-index: 2;
}

.banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 12px;
    font-style: italic;
}

.banner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   SERVICES / SERVICIOS
   ========================================== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-cream);
    color: var(--color-primary);
    border-radius: var(--radius);
    font-size: 1.2rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--color-primary);
    color: #fff;
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ==========================================
   GALLERY / GALERÍA
   ========================================== */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery__item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery__item--wide {
    grid-column: span 2;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 36, 32, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
}

.gallery__overlay i {
    color: #fff;
    font-size: 1.5rem;
}

.gallery__overlay span {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gallery__hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    pointer-events: none;
    opacity: 0.8;
}

.gallery__hint i {
    font-size: 0.65rem;
    color: #fff;
}

.gallery__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: var(--color-bg-cream);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px dashed var(--color-border);
}

.gallery__cta:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.gallery__cta i {
    font-size: 1.2rem;
}

.gallery__item:hover img {
    transform: scale(1.08);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

/* ==========================================
   LIGHTBOX
   ========================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox__content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox__content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.lightbox__caption {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
    font-size: 0.95rem;
}

.lightbox__counter {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-top: 8px;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    color: #fff;
}

.lightbox__close {
    top: 20px;
    right: 24px;
    font-size: 2.5rem;
    line-height: 1;
}

.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ==========================================
   LOCATION / UBICACIÓN
   ========================================== */
.location__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: stretch;
}

.location__info {
    padding: 20px 0;
}

.location__info > p {
    color: var(--color-text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.location__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location__detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.location__detail i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-cream);
    color: var(--color-primary);
    border-radius: 50%;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.location__detail strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    margin-bottom: 2px;
}

.location__detail span,
.location__detail a {
    font-size: 0.95rem;
    color: var(--color-dark);
    font-weight: 500;
}

.location__detail a:hover {
    color: var(--color-primary);
}

.location__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

.location__map iframe {
    display: block;
}

/* ==========================================
   CONTACT / CONTACTO
   ========================================== */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact__info {
    padding-top: 20px;
}

.contact__channels {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 36px;
}

.contact__channel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
}

.contact__channel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(201, 169, 110, 0.3);
    transform: translateX(4px);
}

.contact__channel i {
    font-size: 1.5rem;
    color: var(--color-accent);
    width: 40px;
    text-align: center;
}

.contact__channel strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact__channel span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Contact form */
.contact__form-wrapper {
    padding: 0;
}

.contact__form {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.contact__form h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-dark);
    margin-bottom: 28px;
}

.form__group {
    margin-bottom: 16px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact__form input,
.contact__form select,
.contact__form textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--color-dark);
    background: var(--color-bg-cream);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
    color: var(--color-text-light);
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(123, 75, 58, 0.1);
}

.contact__form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact__form select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%237A7270'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact__form .btn {
    margin-top: 8px;
    padding: 16px 32px;
    font-size: 0.95rem;
    border: none;
}

.form__success {
    text-align: center;
    padding: 40px 20px;
}

.form__success i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.form__success h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.form__success p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--color-dark);
    padding: 60px 0 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
    display: inline-block;
    margin-bottom: 8px;
    text-decoration: none;
}

.footer__logo-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer__logo-text {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-top: 4px;
}

.footer__tagline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.footer__text {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1rem;
}

.footer__social a:hover {
    background: var(--color-primary);
    color: #fff;
}

.footer__links h4,
.footer__contact h4 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.footer__contact-item i {
    color: var(--color-accent);
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

.footer__contact-item a {
    color: rgba(255, 255, 255, 0.6);
}

.footer__contact-item a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer__credit {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer__credit .fa-heart {
    color: #fff;
    font-size: 0.65rem;
}

.footer__beweb-logo {
    height: 14px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    opacity: 0.5;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.footer__credit a:hover .footer__beweb-logo {
    opacity: 0.9;
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ==========================================
   RESPONSIVE
   ========================================== */

/* Tablet landscape */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    .philosophy__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__grid {
        gap: 50px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    /* Mobile nav */
    .header__toggle {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--color-bg-dark);
        padding: 80px 32px 40px;
        transition: var(--transition-slow);
        z-index: 998;
        box-shadow: var(--shadow-xl);
    }

    .header__nav.open {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav__link {
        color: rgba(255, 255, 255, 0.7) !important;
        padding: 14px 20px;
        border-radius: var(--radius-sm);
        font-size: 1rem;
    }

    .nav__link:hover {
        background: rgba(255, 255, 255, 0.06) !important;
        color: #fff !important;
    }

    .nav__link--cta {
        background: var(--color-primary) !important;
        text-align: center;
        margin-top: 24px;
    }

    /* Mobile overlay */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 997;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    /* Hero */
    .hero__claim {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .hero__logo-img {
        height: clamp(80px, 20vw, 120px);
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    /* About */
    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__images {
        max-width: 500px;
    }

    .about__img-main img {
        height: 400px;
    }

    /* Philosophy */
    .philosophy__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .philosophy__card {
        padding: 28px 24px;
    }

    /* Services */
    .services__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Gallery */
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery__item--wide {
        grid-column: span 2;
    }

    /* Location */
    .location__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location__map {
        min-height: 300px;
    }

    /* Contact */
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact__form {
        padding: 28px 24px;
    }

    .form__row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer__brand,
    .footer__links,
    .footer__contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__links ul {
        padding: 0;
        list-style: none;
    }

    .footer__contact-item {
        justify-content: center;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
    }

    /* Banner */
    .banner {
        padding: 80px 0;
        background-attachment: scroll;
    }
}

/* Mobile small */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__content {
        padding: 100px 16px 60px;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .gallery__item--wide {
        grid-column: span 1;
    }

    .about__badge {
        width: 90px;
        height: 90px;
        top: 20px;
        right: -10px;
    }

    .about__badge-number {
        font-size: 1.8rem;
    }

    .about__img-secondary {
        width: 180px;
        bottom: -20px;
        right: -10px;
    }
}
