/* ═══════════════════════════════════════════
   BLENDWELL COMUNIDAD — Editorial Style
   Charcoal + Coral | Playfair Display + Inter
   ═══════════════════════════════════════════ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --charcoal-900: #0f0f0f;
    --charcoal-800: #1a1a1a;
    --charcoal-700: #2a2a2a;
    --charcoal-600: #3a3a3a;
    --charcoal-500: #555555;
    --charcoal-400: #888888;
    --coral-500: #f97583;
    --coral-400: #ff8a96;
    --coral-300: #ffb4bc;
    --coral-200: #ffd6da;
    --coral-100: #fff0f2;
    --cream: #faf8f6;
    --cream-dark: #f3efe9;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal-800);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── SKIP LINK ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--charcoal-800);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 9999;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: 16px;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn--accent {
    background: var(--coral-500);
    color: var(--white);
    border-color: var(--coral-500);
}
.btn--accent:hover {
    background: var(--coral-400);
    border-color: var(--coral-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 117, 131, 0.35);
}

.btn--light {
    background: var(--white);
    color: var(--charcoal-800);
    border-color: var(--white);
}
.btn--light:hover {
    background: var(--coral-100);
    border-color: var(--coral-100);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

.btn--outline {
    background: transparent;
    color: var(--coral-500);
    border-color: var(--coral-500);
    padding: 12px 28px;
    font-size: 0.875rem;
}
.btn--outline:hover {
    background: var(--coral-500);
    color: var(--white);
}

.btn--full {
    width: 100%;
}

/* ── SECTION HELPERS ── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--charcoal-800);
    margin-bottom: 24px;
}

.section-title--center {
    text-align: center;
}

/* ── HEADER ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), padding 0.3s var(--ease-out);
}

.site-header.scrolled {
    background: rgba(250, 248, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--coral-500);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s var(--ease-out);
}
.logo:hover .logo-mark {
    transform: rotate(-8deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--charcoal-800);
    letter-spacing: -0.01em;
}

.site-header:not(.scrolled) .logo-text,
.site-header:not(.scrolled) .nav-link {
    color: var(--white);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.main-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--charcoal-800);
    position: relative;
    transition: color 0.3s;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral-500);
    transition: width 0.3s var(--ease-out);
}
.main-nav a:hover::after,
.main-nav a:focus::after {
    width: 100%;
}

.main-nav .btn--accent {
    padding: 10px 24px;
    font-size: 0.875rem;
}
.main-nav .btn--accent::after {
    display: none;
}

/* ── NAV TOGGLE ── */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal-800);
    transition: all 0.3s var(--ease-out);
    position: relative;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.site-header:not(.scrolled) .hamburger,
.site-header:not(.scrolled) .hamburger::before,
.site-header:not(.scrolled) .hamburger::after {
    background: var(--white);
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--charcoal-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.8;
    animation: orbFloat 8s var(--ease-in-out) infinite alternate;
}

.gradient-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--coral-500) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.gradient-orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #e84393 0%, transparent 70%);
    bottom: -15%;
    left: -10%;
    animation-delay: -3s;
}

.gradient-orb--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--coral-300) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.1); }
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 860px;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral-300);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1.0;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

.hero-headline em {
    font-style: italic;
    color: var(--coral-300);
}

.hero-sub {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

.meta-dot {
    color: var(--coral-500);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s var(--ease-in-out) infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── ABOUT ── */
.about {
    padding: 120px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.about-image-wrap:hover img {
    transform: scale(1.03);
}

.about-content {
    padding: 16px 0;
}

.about-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--charcoal-600);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal-800);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--charcoal-400);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ── EXPERIENCE ── */
.experience {
    padding: 120px 0;
    background: var(--charcoal-800);
}

.experience .section-eyebrow {
    text-align: center;
}

.experience .section-title {
    color: var(--white);
    text-align: center;
    margin-bottom: 56px;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.card {
    background: var(--charcoal-700);
    border-radius: 20px;
    padding: 48px 40px;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--coral-500);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--white);
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.card p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
    margin-bottom: 24px;
}

.card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.75);
}

.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--coral-500);
}

/* ── COMMUNITY ── */
.community {
    padding: 120px 0;
    background: var(--cream);
}

.community-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.community-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--charcoal-600);
    margin-bottom: 20px;
}

.community-text p em {
    font-family: var(--font-serif);
    color: var(--charcoal-800);
}

.community-images {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.community-img {
    border-radius: 16px;
    overflow: hidden;
}

.community-img--1 {
    aspect-ratio: 4/5;
}

.community-img--2 {
    aspect-ratio: 4/3;
}

.community-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.community-img:hover img {
    transform: scale(1.04);
}

/* ── VISIT ── */
.visit {
    padding: 120px 0;
    background: var(--cream-dark);
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-info {
    padding: 16px 0;
}

.visit-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.visit-item dt {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 8px;
}

.visit-item dd {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--charcoal-700);
}

.visit-item a {
    color: var(--charcoal-700);
    border-bottom: 1px solid rgba(0,0,0,0.12);
    padding-bottom: 2px;
    transition: border-color 0.3s, color 0.3s;
}

.visit-item a:hover {
    color: var(--coral-500);
    border-color: var(--coral-500);
}

.visit-item span {
    display: block;
}

.visit-map-wrap {
    position: relative;
}

.map-placeholder {
    background: var(--charcoal-800);
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    color: var(--white);
    margin-bottom: 16px;
}

.map-pin {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    color: var(--coral-500);
}

.map-placeholder p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

.visit-img {
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}

/* ── CONTACT ── */
.contact {
    padding: 120px 0;
    background: var(--charcoal-900);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-text .section-title {
    color: var(--white);
}

.contact-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--white);
    transition: border-color 0.3s, background 0.3s;
    outline: none;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral-500);
    background: rgba(255,255,255,0.08);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: var(--charcoal-800);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 16px;
    background: rgba(249, 117, 131, 0.12);
    border: 1px solid rgba(249, 117, 131, 0.3);
    border-radius: 12px;
    color: var(--coral-300);
    font-size: 0.9375rem;
}

/* ── FOOTER ── */
.site-footer {
    background: var(--charcoal-900);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 64px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand .logo-mark {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
}

.footer-brand .logo-text {
    font-size: 1.375rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--coral-500);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact a {
    font-size: 1rem;
    color: var(--coral-400);
    transition: color 0.3s;
}
.footer-contact a:hover {
    color: var(--coral-300);
}

.footer-contact span {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.3);
}

/* ── SCROLL REVEAL (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ── MOBILE NAV ── */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        background: rgba(250, 248, 246, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s var(--ease-out), visibility 0.4s;
        z-index: 1000;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }

    .main-nav a {
        font-size: 1.25rem;
        color: var(--charcoal-800) !important;
    }

    .main-nav .btn--accent {
        font-size: 1rem;
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .about-grid,
    .experience-grid,
    .community-layout,
    .visit-layout,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrap {
        aspect-ratio: 16/10;
    }

    .community-images {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .community-img--1,
    .community-img--2 {
        aspect-ratio: 4/3;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .card {
        padding: 36px 28px;
    }

    .community-images {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}
