/* ═══════════════════════════════════════════════════════
   Terra Crea Studio — Main Stylesheet
   
   Color palette extracted from the TerraCrea logo:
   - Logo circle: warm dusty mauve/rose
   - Text: cream white against earth tones
   - Brand: organic, boho, Sierra Nevada inspired
   ═══════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties (Design Tokens) ─── */
:root {
    /* Primary — From logo circle background */
    --tc-primary: #9B7B6B;
    /* Dusty mauve/rose from logo */
    --tc-primary-dark: #7A5F51;
    /* Deeper earth tone */
    --tc-primary-light: #C4A898;
    /* Lighter rose */

    /* Secondary — Complementary earth tones from Instagram posts */
    --tc-terracotta: #C2694A;
    /* Terracotta from textile posts */
    --tc-forest: #4A6B5A;
    /* Forest green from Sierra Nevada */
    --tc-ocean: #3D6E80;
    /* Deep ocean from "Deep Ocean" collection */
    --tc-olive: #8B8B6B;
    /* Olive from highlight circles */

    /* Neutrals */
    --tc-cream: #F7F3EE;
    /* Warm cream background */
    --tc-sand: #E8DFD4;
    /* Sand/linen feel */
    --tc-warm-white: #FDFBF8;
    /* Near white, warm */
    --tc-charcoal: #2C2824;
    /* Dark brown-charcoal for text */
    --tc-gray: #6B6560;
    /* Muted gray — darkened for contrast */
    --tc-gray-light: #A09890;
    /* Light gray — darkened for contrast */

    /* Accent */
    --tc-gold: #C8A96E;
    /* Warm gold for highlights */

    /* Typography */
    --font-display: 'STIX Two Text', Georgia, serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;

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

    /* Sizing */
    --container: 1200px;
    --header-h: 80px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.3s;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(44, 40, 36, 0.06);
    --shadow-md: 0 4px 20px rgba(44, 40, 36, 0.08);
    --shadow-lg: 0 8px 40px rgba(44, 40, 36, 0.12);

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ─── Logo Image ─── */
.tc-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--tc-charcoal);
    background: var(--tc-warm-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    color: var(--tc-primary-dark);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

a:hover {
    color: var(--tc-terracotta);
}

/* ─── Typography ─── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--tc-charcoal);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

h4 {
    font-size: 1.2rem;
}

em {
    font-style: italic;
    color: var(--tc-primary);
}

p {
    margin-bottom: 1rem;
    color: var(--tc-gray);
    font-weight: 300;
}

/* ─── Layout ─── */
.tc-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.tc-section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.tc-section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--tc-primary);
    margin-bottom: var(--space-sm);
}

.tc-section-title {
    margin-bottom: var(--space-xs);
}

.tc-section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--tc-gray);
}

.tc-section-cta {
    text-align: center;
    margin-top: var(--space-lg);
}

/* ─── Buttons ─── */
.tc-btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    text-align: center;
}

.tc-btn--primary {
    background: var(--tc-primary);
    color: var(--tc-warm-white);
    border-color: var(--tc-primary);
}

.tc-btn--primary:hover {
    background: var(--tc-primary-dark);
    border-color: var(--tc-primary-dark);
    color: var(--tc-warm-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tc-btn--outline {
    background: transparent;
    color: var(--tc-primary-dark);
    border-color: var(--tc-primary);
}

.tc-btn--outline:hover {
    background: var(--tc-primary);
    color: var(--tc-warm-white);
    transform: translateY(-2px);
}

.tc-link {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--tc-primary);
    transition: all var(--duration) var(--ease);
}

.tc-link:hover {
    color: var(--tc-terracotta);
    letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.tc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: rgba(253, 251, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--tc-sand);
    z-index: 1000;
    transition: all var(--duration) var(--ease);
}

.tc-header--scrolled {
    height: 64px;
    box-shadow: var(--shadow-sm);
}

.tc-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.tc-header__logo {
    flex-shrink: 0;
}

.tc-logo-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--tc-charcoal);
    font-weight: 400;
}

.tc-logo-text em {
    font-style: italic;
    color: var(--tc-primary);
}

.tc-logo-icon {
    font-size: 1rem;
    color: var(--tc-primary);
    margin-right: 2px;
}

/* Navigation */
.tc-header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.tc-nav {
    display: flex;
    list-style: none;
    gap: 0;
}

.tc-nav__item>a {
    display: block;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tc-charcoal);
    position: relative;
    transition: color var(--duration) var(--ease);
}

.tc-nav__item>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--tc-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--duration) var(--ease);
}

.tc-nav__item>a:hover {
    color: var(--tc-primary);
}

.tc-nav__item>a:hover::after {
    transform: scaleX(1);
}

/* Dropdown */
.tc-nav__item--dropdown {
    position: relative;
}

.tc-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--tc-warm-white);
    border: 1px solid var(--tc-sand);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--duration) var(--ease);
    padding: var(--space-xs) 0;
}

.tc-nav__item--dropdown:hover .tc-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tc-nav__dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: none;
    color: var(--tc-charcoal);
}

.tc-nav__dropdown li a:hover {
    background: var(--tc-cream);
    color: var(--tc-primary);
}

/* Header Actions */
.tc-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.tc-header__social,
.tc-header__cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--tc-charcoal);
    transition: all var(--duration) var(--ease);
}

.tc-header__social:hover,
.tc-header__cart:hover {
    background: var(--tc-cream);
    color: var(--tc-primary);
}

.tc-header__cart {
    position: relative;
}

.tc-cart-count {
    position: absolute;
    top: 4px;
    right: 2px;
    background: var(--tc-terracotta);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Toggle */
.tc-header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.tc-header__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--tc-charcoal);
    transition: all var(--duration) var(--ease);
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.tc-hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    max-height: 700px;
    margin-top: var(--header-h);
    overflow: hidden;
}

.tc-hero__slider {
    position: absolute;
    inset: 0;
}

.tc-hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s var(--ease);
    /* Ken Burns slow zoom to mask soft images */
    animation: heroKenBurns 25s var(--ease) infinite alternate;
    image-rendering: auto;
}

.tc-hero__slide--active {
    opacity: 1;
}

@keyframes heroKenBurns {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.08);
    }
}

.tc-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(44, 40, 36, 0.45) 0%,
            rgba(44, 40, 36, 0.25) 40%,
            rgba(44, 40, 36, 0.55) 100%);
}

.tc-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: var(--space-md);
}

.tc-hero__subtitle {
    font-size: 2rem;
    color: var(--tc-gold);
    margin-bottom: var(--space-sm);
    animation: fadeInDown 1s var(--ease) 0.2s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tc-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    color: white;
    line-height: 1.15;
    margin-bottom: var(--space-sm);
    animation: fadeInDown 1s var(--ease) 0.4s both;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 4px 40px rgba(0, 0, 0, 0.3);
}

.tc-hero__title em {
    font-style: italic;
    color: var(--tc-primary-light);
}

.tc-hero__desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
    animation: fadeInDown 1s var(--ease) 0.6s both;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.tc-hero .tc-btn {
    animation: fadeInUp 1s var(--ease) 0.8s both;
}

.tc-hero .tc-btn--primary {
    background: var(--tc-primary);
    border-color: var(--tc-primary);
    color: white;
    padding: 16px 44px;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(155, 123, 107, 0.4);
}

.tc-hero .tc-btn--primary:hover {
    background: var(--tc-primary-dark);
    border-color: var(--tc-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(155, 123, 107, 0.5);
}

/* Hero Navigation */
.tc-hero__nav {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.tc-hero__arrow {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-hero__arrow:hover {
    background: rgba(255, 255, 255, 0.35);
}

.tc-hero__dots {
    display: flex;
    gap: 10px;
}

.tc-hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.tc-hero__dot--active {
    background: white;
    transform: scale(1.15);
    border-color: white;
}

/* ═══════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════ */
.tc-about {
    padding: var(--space-2xl) 0;
    background: var(--tc-warm-white);
}

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

.tc-about__text .tc-section-tag {
    display: block;
    margin-bottom: var(--space-xs);
}

.tc-about__text .tc-section-title {
    margin-bottom: var(--space-md);
}

.tc-about__text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.tc-about__text .tc-btn {
    margin-top: var(--space-sm);
}

.tc-about__media {
    position: relative;
}

.tc-about__photos {
    position: relative;
    padding: var(--space-md);
}

.tc-about__photo--main {
    width: 75%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.tc-about__photo--accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--tc-warm-white);
}

.tc-about__video {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(30, 18, 8, .65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 6px 20px 6px 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    text-decoration: none;
}

.tc-about__video:hover {
    background: rgba(30, 18, 8, .8);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}

.tc-about__play {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--tc-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--duration) var(--ease);
}

.tc-about__video:hover .tc-about__play {
    background: var(--tc-primary-dark);
    transform: scale(1.08);
}

.tc-about__play svg {
    margin-left: 3px;
}

.tc-about__video-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    margin-left: 12px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

/* ═══════════════════════════════════════════════════════
   FEATURED PRODUCTS
   ═══════════════════════════════════════════════════════ */
.tc-products {
    padding: var(--space-2xl) 0;
    background: var(--tc-cream);
}

.tc-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.tc-product-card {
    background: var(--tc-warm-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--duration) var(--ease);
}

.tc-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.tc-product-card__link {
    display: block;
    color: inherit;
}

.tc-product-card__link:hover {
    color: inherit;
}

.tc-product-card__image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

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

.tc-product-card:hover .tc-product-card__image img {
    transform: scale(1.08);
}

.tc-product-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(155, 123, 107, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.tc-product-card:hover .tc-product-card__overlay {
    opacity: 1;
}

.tc-product-card__overlay span {
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 10px 24px;
    border: 2px solid white;
    border-radius: var(--radius-sm);
}

.tc-product-card__info {
    padding: var(--space-sm) var(--space-sm) calc(var(--space-sm) + 4px);
}

.tc-product-card__info h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.tc-product-card__price {
    font-size: 0.9rem;
    color: var(--tc-primary);
    font-weight: 700;
}

/* Placeholder products */
.tc-placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--tc-sand) 0%, var(--tc-cream) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--tc-primary-light);
}

.tc-placeholder-img span {
    font-size: 2.5rem;
    margin-bottom: var(--space-xs);
}

.tc-placeholder-img p {
    font-size: 0.85rem;
    color: var(--tc-primary-light);
}

/* ═══════════════════════════════════════════════════════
   SERVICES / PORTFOLIO
   ═══════════════════════════════════════════════════════ */
.tc-services {
    padding: var(--space-2xl) 0;
    background: var(--tc-warm-white);
}

.tc-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.tc-service-card {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: var(--tc-cream);
    border-radius: var(--radius-lg);
    transition: all var(--duration) var(--ease);
    border: 1px solid transparent;
}

.tc-service-card:hover {
    border-color: var(--tc-primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tc-service-card__icon {
    margin-bottom: var(--space-sm);
    color: var(--tc-primary, #8B5A2B);
    line-height: 1;
    transition: color 0.3s ease;
}

.tc-service-card:hover .tc-service-card__icon {
    color: var(--tc-primary-dark, #6B4226);
}

.tc-service-card h3 {
    font-family: var(--font-display);
    margin-bottom: var(--space-sm);
}

.tc-service-card p {
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
}

/* ═══════════════════════════════════════════════════════
   COURSES
   ═══════════════════════════════════════════════════════ */
.tc-courses {
    padding: var(--space-2xl) 0;
    background: var(--tc-charcoal);
    color: white;
}

.tc-courses .tc-section-tag {
    color: var(--tc-gold);
}

.tc-courses .tc-section-title {
    color: white;
}

.tc-courses .tc-section-title em {
    color: var(--tc-primary-light);
}

.tc-courses .tc-section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.tc-courses__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.tc-course-card {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    transition: all var(--duration) var(--ease);
}

.tc-course-card:hover {
    transform: translateY(-4px);
}

.tc-course-card--free {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tc-course-card--premium {
    background: linear-gradient(135deg, var(--tc-primary-dark) 0%, var(--tc-primary) 100%);
    border: 1px solid var(--tc-primary-light);
}

.tc-course-card__badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 20px;
    margin-bottom: var(--space-sm);
}

.tc-course-card--free .tc-course-card__badge {
    background: var(--tc-forest);
    color: white;
}

.tc-course-card--premium .tc-course-card__badge {
    background: var(--tc-gold);
    color: var(--tc-charcoal);
}

.tc-course-card__icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.tc-course-card h3 {
    color: white;
    margin-bottom: var(--space-sm);
}

.tc-course-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.tc-course-card .tc-btn--outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.tc-course-card .tc-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.tc-course-card--premium .tc-btn--primary {
    background: white;
    color: var(--tc-primary-dark);
    border-color: white;
}

.tc-course-card--premium .tc-btn--primary:hover {
    background: var(--tc-cream);
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════ */
.tc-testimonials {
    padding: var(--space-2xl) 0;
    background: var(--tc-cream);
    text-align: center;
}

.tc-testimonials__slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    min-height: 200px;
}

.tc-testimonial {
    opacity: 0;
    position: absolute;
    inset: 0;
    transition: opacity 0.8s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tc-testimonial--active {
    opacity: 1;
    position: relative;
}

.tc-testimonial blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-style: italic;
    color: var(--tc-charcoal);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.tc-testimonial cite {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.85rem;
    color: var(--tc-primary);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   INSTAGRAM SECTION
   ═══════════════════════════════════════════════════════ */
.tc-instagram {
    padding: var(--space-xl) 0;
    background: var(--tc-warm-white);
    text-align: center;
}

.tc-instagram__cta {
    margin-top: var(--space-md);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.tc-footer {
    background: var(--tc-charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) 0 var(--space-md);
}

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

.tc-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.tc-footer__brand .tc-logo-text {
    color: white;
    margin-bottom: var(--space-sm);
    font-size: 1.4rem;
}

.tc-footer__brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.tc-footer__social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.tc-footer__social a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--duration) var(--ease);
}

.tc-footer__social a:hover {
    color: var(--tc-primary-light);
}

.tc-footer h4 {
    color: white;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
}

.tc-footer__links ul,
.tc-footer__info ul {
    list-style: none;
}

.tc-footer__links li,
.tc-footer__info li {
    margin-bottom: 8px;
}

.tc-footer__links a,
.tc-footer__info a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: color var(--duration) var(--ease);
}

.tc-footer__links a:hover,
.tc-footer__info a:hover {
    color: var(--tc-primary-light);
}

.tc-footer__contact p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.tc-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-md);
    margin-top: var(--space-md);
    text-align: center;
}

.tc-footer__bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════
   WHATSAPP / CHAT BUTTON
   ═══════════════════════════════════════════════════════ */
.tc-chat-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--duration) var(--ease);
}

.tc-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tc-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.tc-animate--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .tc-products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tc-services__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .tc-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

    /* Mobile menu */
    .tc-header__toggle {
        display: flex;
    }

    .tc-header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--tc-warm-white);
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--header-h) + var(--space-md)) var(--space-md) var(--space-md);
        box-shadow: var(--shadow-lg);
        transition: right var(--duration) var(--ease);
        gap: 0;
    }

    .tc-header__nav--open {
        right: 0;
    }

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

    .tc-nav__item>a {
        padding: 14px 0;
        font-size: 0.9rem;
        border-bottom: 1px solid var(--tc-sand);
    }

    .tc-nav__item>a::after {
        display: none;
    }

    .tc-nav__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: var(--space-sm);
        background: transparent;
    }

    .tc-header__actions {
        margin-top: var(--space-md);
    }

    /* Hero */
    .tc-hero {
        min-height: 500px;
        max-height: 700px;
    }

    /* About */
    .tc-about__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* Courses */
    .tc-courses__grid {
        grid-template-columns: 1fr;
    }

    /* Products */
    .tc-products__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    /* Footer */
    .tc-footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tc-products__grid {
        grid-template-columns: 1fr;
    }

    .tc-hero__title {
        font-size: 2rem;
    }

    .tc-btn {
        padding: 12px 28px;
        font-size: 0.8rem;
    }
}

/* ═══════════════════════════════════════════════════════
   PAGE TEMPLATES
   ═══════════════════════════════════════════════════════ */
.tc-main {
    margin-top: var(--header-h);
    min-height: 60vh;
}

.tc-page-header {
    background: var(--tc-cream);
    padding: var(--space-xl) var(--space-md) var(--space-lg);
    text-align: center;
}

.tc-page-header h1 {
    font-family: var(--font-display);
    margin-bottom: var(--space-xs);
}

.tc-page-header p {
    max-width: 600px;
    margin: 0 auto;
}

.tc-page-content {
    padding: var(--space-xl) 0;
}

/* ═══════════════════════════════════════════════════════
   CONTACT FORM 7 — Professional Styling
   ═══════════════════════════════════════════════════════ */
.wpcf7 {
    max-width: 100%;
}

.wpcf7-form p {
    margin-bottom: var(--space-sm);
}

.wpcf7-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--tc-charcoal);
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select,
.wpcf7-form .wpcf7-form-control:not([type="submit"]) {
    width: 100% !important;
    padding: 14px 18px !important;
    border: 2px solid var(--tc-sand) !important;
    border-radius: var(--radius-md) !important;
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    color: var(--tc-charcoal) !important;
    background: var(--tc-warm-white) !important;
    transition: all var(--duration) var(--ease);
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: var(--tc-primary);
    box-shadow: 0 0 0 4px rgba(155, 123, 107, 0.12);
    background: white;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: var(--tc-gray-light);
}

.wpcf7-form textarea {
    min-height: 140px;
    resize: vertical;
}

.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit {
    display: inline-block;
    padding: 16px 44px;
    background: var(--tc-primary);
    color: white;
    border: 2px solid var(--tc-primary);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    margin-top: var(--space-xs);
    -webkit-appearance: none;
    appearance: none;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover {
    background: var(--tc-primary-dark);
    border-color: var(--tc-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.wpcf7-response-output {
    border-radius: var(--radius-md) !important;
    padding: var(--space-sm) !important;
    font-size: 0.9rem !important;
    margin: var(--space-sm) 0 0 !important;
}

.wpcf7-not-valid-tip {
    font-size: 0.8rem;
    color: var(--tc-terracotta);
    margin-top: 4px;
}

.wpcf7 .wpcf7-spinner {
    margin-left: var(--space-xs);
}

/* ═══════════════════════════════════════════════════════
   WOOCOMMERCE SHOP STYLES
   ═══════════════════════════════════════════════════════ */

/* Container alignment */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-products-header,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce ul.products,
.woocommerce div.product {
    max-width: var(--container);
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    box-sizing: border-box;
}

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
    font-size: 0.9rem;
    color: var(--tc-primary);
    padding-top: var(--space-md);
    padding-bottom: var(--space-xs);
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--tc-primary);
    text-decoration: none;
}

/* Shop title */
.woocommerce-products-header__title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--tc-charcoal);
}

/* Result count + ordering: same row */
.woocommerce .woocommerce-result-count {
    float: left;
}

.woocommerce .woocommerce-ordering {
    float: right;
}

/* ─── Product Grid — Kill WooCommerce clearfix pseudo-elements ─── */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--space-md) !important;
    list-style: none;
    clear: both;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform var(--duration) var(--ease);
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.03);
}

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--tc-charcoal);
    margin-top: 0.75rem;
}

.woocommerce ul.products li.product .price {
    color: var(--tc-primary-dark);
    font-size: 1.1rem;
    font-weight: 600;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
    background: var(--tc-primary) !important;
    color: var(--tc-warm-white) !important;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--duration) var(--ease);
    display: inline-block;
    margin-top: var(--space-xs);
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
    background: var(--tc-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ─── Single Product ─── */
.woocommerce div.product {
    padding-top: var(--space-md);
    padding-bottom: var(--space-lg);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-sm) !important;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* ═══════════════════════════════════════════════════════
   PREMIUM SHOP — 2026 Redesign
   ═══════════════════════════════════════════════════════ */

/* ─── Shop Hero ─── */
.tc-shop-hero {
    position: relative;
    height: 45vh;
    min-height: 320px;
    background: url('../images/hero/hero-2.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.tc-shop-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(60, 35, 10, .75), rgba(40, 22, 8, .65));
}

.tc-shop-hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 var(--space-md);
}

.tc-shop-hero__content .tc-section-label {
    color: rgba(255, 255, 255, .85);
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

.tc-shop-hero__content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin: var(--space-xs) 0;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.tc-shop-hero__content p {
    font-size: 1.1rem;
    opacity: 1;
    color: rgba(255, 255, 255, .92);
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

/* ─── Category Navigation ─── */
.tc-shop-cats {
    background: var(--color-cream);
    padding: var(--space-lg) 0;
}

.tc-shop-cats__grid {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.tc-shop-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: var(--space-sm) var(--space-md);
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text);
    transition: all .3s var(--ease);
    border: 2px solid transparent;
    min-width: 100px;
}

.tc-shop-cat:hover,
.tc-shop-cat--active {
    border-color: var(--color-primary);
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139, 90, 43, .15);
}

.tc-shop-cat__icon {
    font-size: 1.8rem;
}

.tc-shop-cat__name {
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-heading);
}

.tc-shop-cat__count {
    font-size: .7rem;
    color: var(--color-text-light);
}

/* ─── Products Grid ─── */
.tc-shop-grid {
    padding: var(--space-xl) 0;
    background: white;
}

.tc-shop-grid .tc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.tc-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.tc-shop-toolbar .woocommerce-result-count {
    margin: 0;
    color: var(--color-text-light);
    font-size: .9rem;
}

.tc-shop-toolbar .woocommerce-ordering select {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: .85rem;
    background: white;
    cursor: pointer;
}

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--space-lg) !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ─── Product Card Premium ─── */
.tc-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all .4s var(--ease);
    border: 1px solid var(--color-border);
    list-style: none !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tc-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .12);
    border-color: transparent;
}

.tc-product-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tc-product-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.tc-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.tc-product-card:hover .tc-product-card__image img {
    transform: scale(1.08);
}

.tc-product-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(139, 90, 43, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .4s var(--ease);
}

.tc-product-card:hover .tc-product-card__overlay {
    opacity: 1;
}

.tc-product-card__quick {
    background: white;
    color: var(--color-heading);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .5px;
    transform: translateY(10px);
    transition: transform .4s var(--ease);
}

.tc-product-card:hover .tc-product-card__quick {
    transform: translateY(0);
}

.tc-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    z-index: 2;
}

.tc-product-card__info {
    padding: var(--space-md);
}

.tc-product-card__cat {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    font-weight: 600;
}

.tc-product-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin: 6px 0;
    color: var(--color-heading);
    font-weight: 400;
}

.tc-product-card__price {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 600;
}

.tc-product-card__actions {
    padding: 0 var(--space-md) var(--space-md);
}

.tc-product-card__actions .button,
.tc-product-card__actions .add_to_cart_button {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--color-heading);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s var(--ease);
    text-decoration: none;
}

.tc-product-card__actions .button:hover,
.tc-product-card__actions .add_to_cart_button:hover {
    background: var(--color-primary);
}

.tc-product-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 3rem;
    background: var(--color-cream);
    color: var(--color-primary);
}

/* ─── Shop pagination ─── */
.tc-shop-pagination {
    text-align: center;
    margin-top: var(--space-xl);
}

.tc-shop-pagination .woocommerce-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.tc-shop-pagination .page-numbers {
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--color-cream);
    color: var(--color-heading);
    text-decoration: none;
    transition: all .2s;
}

.tc-shop-pagination .page-numbers.current,
.tc-shop-pagination .page-numbers:hover {
    background: var(--color-primary);
    color: white;
}

/* ─── Empty shop state ─── */
.tc-shop-empty {
    text-align: center;
    padding: var(--space-xxl) 0;
}

.tc-shop-empty h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-heading);
}

/* ─── Shop Responsive ─── */
@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .tc-shop-hero {
        height: 35vh;
        min-height: 260px;
    }
}

@media (max-width: 600px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
        gap: var(--space-md) !important;
    }

    .tc-shop-hero {
        height: 30vh;
        min-height: 220px;
    }

    .tc-shop-hero__content h1 {
        font-size: 2rem;
    }

    .tc-shop-cats__grid {
        gap: var(--space-xs);
    }

    .tc-shop-cat {
        min-width: 80px;
        padding: var(--space-xs) var(--space-sm);
    }

    .tc-shop-cat__icon {
        font-size: 1.4rem;
    }

    .tc-shop-toolbar {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: flex-start;
    }
}

/* ═══════════════════════════════════════════════════════
   PORTFOLIO — Premium Editorial (2026)
   TerraCreA Studio · Beach-Boho Contemporáneo
   ═══════════════════════════════════════════════════════ */

/* ── Section Numbers ── */
.pf-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    font-style: italic;
    color: var(--tc-gold);
    line-height: 1;
    letter-spacing: -0.02em;
    opacity: 0.7;
}

.pf-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    font-style: italic;
    color: var(--tc-charcoal);
    margin: 0.15em 0 1.2em;
    letter-spacing: 0.01em;
}

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.pf-hero {
    position: relative;
    background: #3A3A38;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.pf-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
}

.pf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            transparent 55%,
            rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
}

.pf-hero__inner {
    position: relative;
    z-index: 2;
    padding: 0 var(--space-md) clamp(3rem, 6vh, 5rem);
}

.pf-hero__sparkle {
    display: block;
    font-size: 2.5rem;
    color: var(--tc-gold);
    margin-bottom: 1.5rem;
    animation: pfFadeDown 1s var(--ease) both;
    opacity: 0.85;
}

.pf-hero__title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 400;
    color: var(--tc-sand);
    line-height: 1;
    letter-spacing: 0.01em;
    margin: 0;
    animation: pfFadeDown 1s var(--ease) 0.15s both;
}

.pf-hero__title em {
    font-style: italic;
    color: var(--tc-primary-light);
}

.pf-hero__subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin: 0;
    animation: pfFadeDown 1s var(--ease) 0.3s both;
}

.pf-hero__tags {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    animation: pfFadeUp 1s var(--ease) 0.5s both;
}

.pf-hero__tags span,
.pf-hero__tag-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.pf-hero__tag-link:hover {
    opacity: 0.7;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pf-hero__dot {
    color: var(--tc-gold) !important;
    font-size: 1.4rem;
}

/* Wave transition */
.pf-hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 3;
}

/* ════════════════════════════════════════
   MANIFIESTO
   ════════════════════════════════════════ */
.pf-manifiesto {
    padding: var(--space-lg) 0;
    background: var(--tc-warm-white);
}

.pf-manifiesto__wrap {
    max-width: 900px;
}

.pf-manifiesto__lead {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    color: var(--tc-charcoal);
    line-height: 1.85;
    margin-bottom: var(--space-md);
}

.pf-manifiesto__body {
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: var(--space-sm);
}

/* ════════════════════════════════════════
   SERVICIOS
   ════════════════════════════════════════ */
.pf-servicios {
    padding: var(--space-lg) 0;
    background: var(--tc-cream);
}

.pf-servicios__head {
    margin-bottom: var(--space-lg);
}

.pf-servicios__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.pf-svc {
    position: relative;
    padding-left: 2rem;
}

.pf-svc__bullet {
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--tc-gold);
    box-shadow: 0 0 0 4px rgba(200, 169, 110, 0.2);
}

.pf-svc h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--tc-charcoal);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.pf-svc p {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--tc-gray);
}

/* ════════════════════════════════════════
   PROYECTOS
   ════════════════════════════════════════ */
.pf-proyectos {
    padding: var(--space-xl) 0 0;
    background: var(--tc-warm-white);
}

.pf-proyectos__head {
    margin-bottom: var(--space-md);
}

/* Filter pills */
.pf-filters {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.pf-filters__btn {
    background: transparent;
    border: 1.5px solid var(--tc-sand);
    padding: 0.6rem 1.6rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--tc-gray);
    transition: all 0.35s var(--ease);
}

.pf-filters__btn:hover {
    border-color: var(--tc-charcoal);
    color: var(--tc-charcoal);
}

.pf-filters__btn--active {
    background: var(--tc-charcoal);
    border-color: var(--tc-charcoal);
    color: var(--tc-cream);
}

/* Project card */
.pf-proj {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--tc-sand);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.pf-proj--hidden {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
}

.pf-proj__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-lg);
    align-items: center;
}

.pf-proj--rev .pf-proj__grid {
    grid-template-columns: 1.2fr 1fr;
}

.pf-proj--rev .pf-proj__info {
    order: 2;
}

.pf-proj--rev .pf-proj__photo {
    order: 1;
}

/* Zone label */
.pf-proj__zone {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    font-style: italic;
    color: var(--tc-charcoal);
    letter-spacing: 0.01em;
}

.pf-proj__line {
    width: 60px;
    height: 3px;
    background: var(--tc-charcoal);
    margin: 0.75rem 0 1.5rem;
}

.pf-proj__title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 500;
    color: var(--tc-charcoal);
    margin-bottom: 0.75rem;
}

.pf-proj__desc {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--tc-gray);
    margin-bottom: 1rem;
}

.pf-proj__loc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tc-primary);
    letter-spacing: 0.02em;
}

/* Photo */
.pf-proj__photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 40, 36, 0.15);
}

.pf-proj__photo img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 1s var(--ease);
}

.pf-proj__photo:hover img {
    transform: scale(1.06);
}

.pf-proj__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(44, 40, 36, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--tc-cream);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ════════════════════════════════════════
   PROCESO — Swatches & Mood
   ════════════════════════════════════════ */
.pf-proceso {
    padding: var(--space-2xl) 0;
    background: var(--tc-cream);
}

.pf-proceso__head {
    margin-bottom: var(--space-lg);
}

.pf-paleta {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.pf-paleta__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.pf-paleta__circle {
    width: clamp(56px, 8vw, 90px);
    height: clamp(56px, 8vw, 90px);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    cursor: default;
}

.pf-paleta__circle:hover {
    transform: scale(1.12) translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.pf-paleta__name {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tc-charcoal);
}

/* Mood grid */
.pf-mood {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.pf-mood__img {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s var(--ease);
}

.pf-mood__img:hover {
    transform: scale(1.05);
}

/* ════════════════════════════════════════
   FILOSOFÍA — Flow Diagram
   ════════════════════════════════════════ */
.pf-filosofia {
    padding: var(--space-2xl) 0;
    background: var(--tc-warm-white);
}

.pf-filosofia__head {
    margin-bottom: var(--space-lg);
}

.pf-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 600px;
    margin: 0 auto;
}

.pf-flow__connector {
    display: flex;
    justify-content: center;
}

.pf-flow__node {
    text-align: center;
    padding: 1.5rem 2rem;
}

.pf-flow__node strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--tc-charcoal);
    margin-bottom: 0.3rem;
}

.pf-flow__node small {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.82rem;
    font-weight: 400;
    font-style: italic;
    color: #555;
    /* Changed for contrast */
    line-height: 1.6;
}

.pf-flow__node--start {
    padding: 1.5rem 3rem;
}

.pf-flow__node--start h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--tc-charcoal);
    margin: 0;
}

.pf-flow__icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.pf-flow__branches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    width: 100%;
}

.pf-flow__node--highlight {
    background: var(--tc-cream);
    border-radius: var(--radius-lg);
    border: 1px solid var(--tc-sand);
    padding: 2rem 2.5rem;
}

.pf-flow__node--highlight strong {
    color: var(--tc-gold);
}

.pf-flow__node--end strong {
    color: var(--tc-terracotta);
}

/* ════════════════════════════════════════
   CTA
   ════════════════════════════════════════ */
.pf-cta {
    padding: var(--space-lg) 0 var(--space-2xl);
    background: var(--tc-warm-white);
}

.pf-cta__box {
    background: var(--tc-charcoal);
    padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pf-cta__box::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(200, 169, 110, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(155, 123, 107, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.pf-cta__sparkle {
    display: block;
    font-size: 1.8rem;
    color: var(--tc-gold);
    margin-bottom: 1.5rem;
    position: relative;
    opacity: 0.7;
}

.pf-cta__box h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 400;
    font-style: italic;
    color: var(--tc-cream);
    margin-bottom: 0.75rem;
    position: relative;
}

.pf-cta__box p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 2rem;
    position: relative;
}

.pf-cta__box .tc-btn {
    position: relative;
}

/* ════════════════════════════════════════
   KEYFRAMES
   ════════════════════════════════════════ */
@keyframes pfFadeDown {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pfFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ════════════════════════════════════════
   PORTFOLIO RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
    .pf-servicios__grid {
        grid-template-columns: 1fr;
        max-width: 580px;
    }

    .pf-svc {
        margin-bottom: var(--space-md);
    }
}

@media (max-width: 768px) {
    .pf-hero {
        min-height: 55vh;
    }

    .pf-hero__wave {
        height: 40px;
    }

    .pf-proj__grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-md);
    }

    .pf-proj--rev .pf-proj__info,
    .pf-proj--rev .pf-proj__photo {
        order: unset;
    }

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

    .pf-flow__branches {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .pf-cta__box {
        padding: var(--space-lg) var(--space-md);
    }
}

@media (max-width: 480px) {
    .pf-hero__title {
        font-size: 3rem;
    }

    .pf-hero__tags {
        flex-direction: column;
        gap: 0.3rem;
    }

    .pf-hero__dot {
        display: none;
    }

    .pf-filters {
        flex-direction: column;
        align-items: center;
    }

    .pf-mood {
        grid-template-columns: 1fr;
    }

    .pf-paleta__circle {
        width: 50px;
        height: 50px;
    }
}

/* ─── Hero Logo Image ─── */
.pf-hero__logo-img {
    height: clamp(120px, 18vw, 200px);
    width: auto;
    max-width: 85vw;
    display: block;
    margin: 0 auto 0.5rem;
    opacity: 0.9;
    object-fit: contain;
}

/* ─── Project Showcase ─── */
.pf-proyecto-showcase {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: var(--tc-warm-white);
}

.pf-proyecto-showcase--alt {
    background: var(--tc-cream);
}

.pf-proyecto-showcase__head {
    margin-bottom: 2rem;
}

.pf-proyecto-showcase__sub {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--tc-sand);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.pf-proyecto-showcase__meta {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pf-proyecto-showcase__detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pf-proyecto-showcase__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #998E82;
    font-family: var(--font-body);
}

.pf-proyecto-showcase__detail strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--tc-charcoal);
    font-weight: 500;
}

/* ─── Image Gallery Grid ─── */
.pf-gallery {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.pf-gallery__grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
}

.pf-gallery__item {
    overflow: hidden;
    border-radius: var(--radius-md);
    position: relative;
}

.pf-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-gallery__item:hover img {
    transform: scale(1.05);
}

.pf-gallery__item--wide {
    grid-column: span 2;
}

.pf-gallery__item--tall {
    grid-row: span 2;
}

/* Tabata grid: 2-col hero + 2 small + tall + 2 small */
.pf-gallery__grid--tabata {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
}

/* Productos grid: wider for more items */
.pf-gallery__grid--productos {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
}

/* Silvestre grid: wider landscape feel */
.pf-gallery__grid--silvestre {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 350px;
}

/* ─── Portfolio Scroll Animation (uses both class names) ─── */
.tc-animate--visible,
.tc-animate.tc-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ─── Gallery Responsive ─── */
@media (max-width: 768px) {

    .pf-gallery__grid,
    .pf-gallery__grid--tabata,
    .pf-gallery__grid--productos {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .pf-gallery__grid--silvestre {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .pf-gallery__item--wide,
    .pf-gallery__item--tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .pf-proyecto-showcase__meta {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ─── Manifiesto Bios ─── */
.pf-manifiesto__bios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.pf-manifiesto__bio p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--tc-charcoal);
}

.pf-manifiesto__closing {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--tc-charcoal);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ─── Project Intro ─── */
.pf-proyecto-showcase__intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pf-proyecto-showcase__project-type {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--tc-charcoal);
    font-weight: 500;
    font-style: italic;
}

/* ─── Concepto ─── */
.pf-concepto {
    margin-bottom: 3rem;
}

.pf-subheading {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--tc-charcoal);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.pf-concepto p,
.pf-proceso-proyecto p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--tc-charcoal);
    margin-bottom: 1rem;
    text-align: justify;
}

.pf-concepto__zonas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2.5rem 0;
}

.pf-concepto__zona {
    padding: 1.5rem;
    background: var(--tc-cream);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--tc-gold);
}

.pf-concepto__zona h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--tc-charcoal);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.pf-concepto__zona p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--tc-charcoal);
    margin: 0;
}

.pf-concepto__enfoque {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--radius-md);
}

.pf-concepto__enfoque h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--tc-charcoal);
}

/* ─── Estilo de Diseño ─── */
.pf-estilo {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--radius-md);
}

.pf-estilo h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--tc-charcoal);
}

.pf-estilo p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--tc-charcoal);
}

/* ─── Ejecución / Zonas ─── */
.pf-ejecucion {
    margin-top: 3rem;
}

.pf-zona {
    margin-bottom: 2.5rem;
}

.pf-zona__label {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--tc-charcoal);
    display: block;
    margin-bottom: 1rem;
}

.pf-gallery__grid--zona {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 320px;
}

/* ─── Proceso Proyecto ─── */
.pf-proceso-proyecto {
    margin-bottom: 3rem;
}

/* ─── Paleta Vegetal ─── */
.pf-paleta-vegetal {
    margin: 3rem 0;
}

.pf-paleta-vegetal__principios {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.pf-paleta-vegetal__principios li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--tc-charcoal);
    padding: 0.75rem 1rem;
    background: var(--tc-cream);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--tc-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── Responsive: New Elements ─── */
@media (max-width: 768px) {
    .pf-manifiesto__bios {
        grid-template-columns: 1fr;
    }

    .pf-concepto__zonas {
        grid-template-columns: 1fr;
    }

    .pf-gallery__grid--zona {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .pf-paleta-vegetal__principios {
        grid-template-columns: 1fr;
    }

    .pf-proyecto-showcase__intro {
        flex-direction: column;
    }
}