/* ============================================
   Casa Carreras — Bold Editorial Style
   Charcoal + Coral Palette
   ============================================ */

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

:root {
    --charcoal: #1a1a1a;
    --charcoal-light: #2d2d2d;
    --charcoal-mid: #3a3a3a;
    --coral: #C85A3C;
    --coral-light: #E8735A;
    --coral-pale: #F5DED5;
    --cream: #FAF6F3;
    --cream-dark: #F0EBE6;
    --white: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #5a5a5a;
    --text-light: #8a8a8a;
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 246, 243, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(250, 246, 243, 0.97);
    box-shadow: 0 1px 20px rgba(26, 26, 26, 0.08);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-mark {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--coral);
    letter-spacing: -0.02em;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--coral);
    border-radius: 4px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--coral);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--charcoal);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--charcoal);
    color: var(--white) !important;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    font-size: 0.8125rem !important;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--coral);
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    padding: 72px 2rem 0;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--coral);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--serif);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--charcoal);
    margin-bottom: 1.75rem;
    letter-spacing: -0.025em;
}

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

.hero-accent-line {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--coral);
    margin-top: 1.5rem;
    border-radius: 2px;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--coral);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 90, 60, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--charcoal);
}

.btn-ghost:hover {
    background: var(--charcoal);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--charcoal);
}

.btn-light:hover {
    background: var(--coral);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 90, 60, 0.3);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
}

.hero-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(26, 26, 26, 0.15) 100%
    );
    border-radius: 8px;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 8px;
    padding: 1.1rem 1.4rem;
    box-shadow: 0 8px 40px rgba(26, 26, 26, 0.12), 0 2px 8px rgba(26, 26, 26, 0.06);
    z-index: 2;
}

.floating-card--1 {
    bottom: 80px;
    left: -40px;
    animation: float 4s ease-in-out infinite;
}

.floating-card--2 {
    top: 60px;
    right: -30px;
    animation: float 4s ease-in-out infinite 1.5s;
}

.fc-number {
    display: block;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--coral);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.fc-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Stats */
.hero-stats {
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.stat-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(26, 26, 26, 0.12), transparent);
    margin-bottom: 2rem;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.stat-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-light);
}

.stat-value {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
}

/* ============================================
   Section Shared
   ============================================ */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--coral);
    margin-bottom: 1rem;
}

.section-headline {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--charcoal);
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.section-sub {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 560px;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 8rem 0;
    background: var(--white);
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 26, 26, 0.1);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(26, 26, 26, 0.15);
    border: 4px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-accent-block {
    position: absolute;
    top: -30px;
    left: -30px;
    background: var(--coral);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    max-width: 220px;
    z-index: 2;
}

.accent-quote {
    font-family: var(--serif);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--white);
}

.about-content {
    padding-top: 2rem;
}

.about-body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.about-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--coral);
    margin-top: 2px;
}

.feature-title {
    font-family: var(--serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.feature-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Offerings Section
   ============================================ */
.offerings {
    padding: 8rem 0;
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-sub {
    margin: 0 auto;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.offering-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(26, 26, 26, 0.04);
}

.offering-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26, 26, 26, 0.1);
}

.offering-img {
    height: 260px;
    overflow: hidden;
}

.offering-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.offering-card:hover .offering-img img {
    transform: scale(1.06);
}

.offering-body {
    padding: 2rem;
}

.offering-title {
    font-family: var(--serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

.offering-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    padding: 8rem 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 1rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item--large {
    grid-column: span 7;
    grid-row: span 1;
}

.gallery-item--tall {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--tall) {
    grid-column: span 3;
    grid-row: span 1;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 8rem 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(200, 90, 60, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(200, 90, 60, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-eyebrow {
    color: var(--coral-light) !important;
}

.cta-headline {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--white);
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.cta-body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 3rem;
}

.cta-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.cta-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--coral);
    margin-top: 3px;
}

.cta-detail-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.25rem;
}

.cta-detail-value {
    font-family: var(--serif);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.5;
}

.cta-detail-value a:hover {
    color: var(--coral-light);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 4rem 0 0;
    background: var(--charcoal-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.footer-brand .logo-text {
    font-size: 1.25rem;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    max-width: 280px;
}

.footer-info h4,
.footer-hours h4 {
    font-family: var(--serif);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-info p,
.footer-hours p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-info a {
    color: var(--coral-light);
    font-size: 0.9375rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

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

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    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; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 2.5rem;
    }

    .hero-visual {
        height: 480px;
    }

    .about-grid {
        gap: 3rem;
    }

    .about-img-secondary {
        right: -20px;
        bottom: -25px;
    }

    .about-accent-block {
        left: -15px;
        top: -20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(3, 220px);
    }

    .gallery-item--large {
        grid-column: span 6;
    }

    .gallery-item--tall {
        grid-column: span 3;
        grid-row: span 1;
    }

    .gallery-item:not(.gallery-item--large):not(.gallery-item--tall) {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 246, 243, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid rgba(26, 26, 26, 0.06);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 72px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }

    .hero-visual {
        height: 400px;
        order: -1;
    }

    .floating-card--1 {
        left: -10px;
        bottom: 40px;
    }

    .floating-card--2 {
        right: -10px;
        top: 30px;
    }

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

    .about {
        padding: 5rem 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-images {
        max-width: 480px;
    }

    .about-img-secondary {
        right: -10px;
        bottom: -20px;
    }

    .offerings {
        padding: 5rem 0;
    }

    .offerings-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .gallery {
        padding: 5rem 0;
    }

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

    .gallery-item--large {
        grid-column: span 2;
    }

    .gallery-item--tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item:not(.gallery-item--large):not(.gallery-item--tall) {
        grid-column: span 1;
    }

    .gallery-item,
    .gallery-item--large,
    .gallery-item--tall {
        height: 220px;
    }

    .cta-section {
        padding: 5rem 0;
    }

    .cta-details {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .cta-detail {
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

    .nav-inner {
        padding: 0 1.25rem;
    }

    .hero {
        padding: 72px 1.25rem 0;
    }

    .hero-headline {
        font-size: 2.25rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

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

    .floating-card {
        padding: 0.8rem 1rem;
    }

    .fc-number {
        font-size: 1.25rem;
    }

    .about-img-secondary {
        position: relative;
        right: 0;
        bottom: 0;
        width: 100%;
        margin-top: 1rem;
        border: none;
    }

    .about-accent-block {
        position: relative;
        left: 0;
        top: 0;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .about-images {
        max-width: 100%;
    }

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

    .gallery-item--large {
        grid-column: span 1;
    }
}
