/* ============================================
   REQUINTARE — Fábrica de Estofados & Colchões
   Premium Institutional Website Styles
   ============================================ */

:root {
    --beige: #C9B29E;
    --black: #0D0D0D;
    --white: #FFFFFF;
    --gold: #CBA963;
    --gold-light: #d4b878;
    --beige-light: #e8ddd3;
    --beige-ultra-light: #f5f1ed;
    --gray: #6b6b6b;
    --gray-light: #a0a0a0;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', sans-serif;

    --nav-height: 90px;
    --section-padding: clamp(80px, 10vw, 140px);
    --container-width: 1320px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

body {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

.section-padding { padding: var(--section-padding) 0; }

/* ---- Loader ---- */
.page-loader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--white);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-content { display: flex; align-items: center; gap: 24px; }

.loader-text {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 300; letter-spacing: 0.35em; color: var(--black);
}

.loader-line {
    width: 60px; height: 1px; background: var(--gold);
    animation: loaderPulse 1.2s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.3; transform: scaleX(0.5); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* ---- Navigation ---- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-height); z-index: 1000;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06); height: 72px;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto; padding: 0 clamp(20px, 4vw, 60px);
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; z-index: 1001; }

.logo-text {
    font-family: var(--font-display); font-size: 22px; font-weight: 600;
    letter-spacing: 0.3em; color: var(--white); transition: color 0.4s ease;
}

.logo-sub {
    font-family: var(--font-body); font-size: 8px; font-weight: 500;
    letter-spacing: 0.4em; color: var(--gold); text-transform: uppercase;
    
}

.navbar.scrolled .logo-text { color: var(--black); }

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

.nav-link {
    font-family: var(--font-body); font-size: 11px; font-weight: 500;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8); position: relative; padding: 4px 0;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-link { color: var(--gray); }

.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px; background: var(--gold);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover, .nav-link.active { color: var(--white); }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active { color: var(--black); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta {
    border: 1px solid var(--gold) !important; padding: 10px 24px !important;
    color: var(--gold) !important; transition: all 0.3s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold) !important; color: var(--white) !important; }
.navbar.scrolled .nav-cta { color: var(--gold) !important; }
.navbar.scrolled .nav-cta:hover { color: var(--white) !important; }

.nav-toggle {
    display: none; flex-direction: column; gap: 6px;
    background: none; border: none; cursor: pointer; z-index: 1001; padding: 4px;
}
.nav-toggle span { width: 28px; height: 1.5px; background: var(--white); transition: all 0.3s ease; }
.navbar.scrolled .nav-toggle span { background: var(--black); }
.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 ---- */
.hero {
    position: relative; height: 100vh; min-height: 700px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}

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

.hero-image {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.05); animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom { 0% { transform: scale(1.05); } 100% { transform: scale(1.12); } }

.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(13,13,13,0.4) 0%, rgba(13,13,13,0.55) 50%, rgba(13,13,13,0.7) 100%);
}

.hero-content {
    position: relative; z-index: 2; text-align: center;
    color: var(--white); max-width: 820px; padding: 0 24px;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 16px;
    font-family: var(--font-body); font-size: 11px; font-weight: 500;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 32px;
}

.badge-line { width: 40px; height: 1px; background: var(--gold); }

.hero-title {
    font-size: clamp(52px, 8vw, 110px); font-weight: 300;
    line-height: 1.05; margin-bottom: 24px; letter-spacing: -0.01em;
}
.hero-title em { color: var(--gold-light); }

.hero-subtitle {
    font-family: var(--font-body); font-size: clamp(14px, 1.5vw, 17px);
    font-weight: 300; line-height: 1.8; color: rgba(255,255,255,0.75);
    margin-bottom: 48px; letter-spacing: 0.02em;
}

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

.hero-scroll {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px;
    color: rgba(255,255,255,0.5); font-family: var(--font-body);
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
}

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

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

/* ---- Page Hero (About) ---- */
.page-hero {
    position: relative; height: 70vh; min-height: 500px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-content {
    position: relative; z-index: 2; text-align: center;
    color: var(--white); max-width: 700px; padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-body); font-size: 11px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    padding: 16px 40px; border: none; cursor: pointer;
    transition: all 0.4s var(--ease-out); position: relative; overflow: hidden;
}

.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover {
    background: var(--gold-light); transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(203,169,99,0.3);
}

.btn-outline {
    background: transparent; color: var(--white);
    border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

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

/* ---- Section Tags & Titles ---- */
.section-tag {
    display: inline-block; font-family: var(--font-body);
    font-size: 10px; font-weight: 600; letter-spacing: 0.35em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 20px; position: relative; padding-left: 48px;
}

.section-tag::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 32px; height: 1px; background: var(--gold);
}

.section-title {
    font-size: clamp(32px, 4.5vw, 56px); font-weight: 300;
    line-height: 1.15; color: var(--black); margin-bottom: 24px;
}

.section-header { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.section-header .section-tag { padding-left: 0; }
.section-header .section-tag::before { display: none; }

.section-subtitle {
    font-family: var(--font-body); font-size: 15px; line-height: 1.8;
    color: var(--gray); max-width: 640px; margin: 0 auto;
}

/* ---- Intro Section ---- */
.intro-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px); align-items: start;
}

.intro-text { font-size: 15px; line-height: 1.85; color: var(--gray); margin-bottom: 20px; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-body); font-size: 12px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gold); margin-top: 16px; transition: gap 0.3s var(--ease-out);
}
.link-arrow:hover { gap: 20px; }
.link-arrow svg { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---- Video Section ---- */
.video-section, .about-video { padding: 0 clamp(20px, 4vw, 60px); }
.video-wrapper { max-width: var(--container-width); margin: 0 auto; }

.video-placeholder {
    position: relative; aspect-ratio: 21/9; overflow: hidden; cursor: pointer;
}

/* Variante vertical (about-video) — vídeo 9:16 centralizado */
.about-video-placeholder {
    aspect-ratio: 9/16;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 2px;
}
.about-video-placeholder .video-caption {
    bottom: 32px;
    left: 32px;
    right: 32px;
}
.about-video-placeholder .video-caption h3 {
    font-size: clamp(20px, 2.4vw, 28px);
}
.video-placeholder img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}
.video-placeholder video {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease-out);
    background: var(--black);
}
.video-placeholder:hover img { transform: scale(1.03); }

/* Estado: vídeo em reprodução — esconde overlay (play btn + caption) e mostra controles */
.video-placeholder.playing { cursor: default; }
.video-placeholder.playing .play-btn,
.video-placeholder.playing .video-caption {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out), visibility 0s 0.3s;
}
.video-placeholder.playing video { transform: none !important; }

.play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    color: var(--white); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.4s var(--ease-out);
}
.play-btn:hover {
    background: var(--gold); border-color: var(--gold);
    transform: translate(-50%, -50%) scale(1.1);
}
.play-btn svg { margin-left: 4px; }

.video-caption { position: absolute; bottom: 40px; left: 40px; color: var(--white); z-index: 2; }
.video-caption span {
    font-family: var(--font-body); font-size: 10px; font-weight: 500;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
    display: block; margin-bottom: 8px;
}
.video-caption h3 { font-size: clamp(24px, 3vw, 36px); font-weight: 300; color: var(--white); }

/* ---- Products Section ---- */
.products-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}

.product-card {
    background: var(--white); border: 1px solid var(--beige-light);
    overflow: hidden; transition: all 0.4s var(--ease-out);
}

.product-card:hover {
    border-color: var(--gold); transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.product-img { aspect-ratio: 4/3; overflow: hidden; }
.product-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}
.product-card:hover .product-img img { transform: scale(1.06); }

.product-info { padding: 28px 24px; }
.product-info h3 { font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.product-info p { font-size: 13px; line-height: 1.8; color: var(--gray); }

/* ---- Portfolio ---- */
.portfolio-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.portfolio-large { grid-column: span 2; grid-row: span 2; }

.portfolio-img { position: relative; overflow: hidden; height: 100%; min-height: 280px; }
.portfolio-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}
.portfolio-item:hover .portfolio-img img { transform: scale(1.06); }

.portfolio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(13,13,13,0.7) 0%, transparent 50%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 30px;
    opacity: 0; transition: opacity 0.4s ease;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-cat {
    font-family: var(--font-body); font-size: 9px; font-weight: 600;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.portfolio-overlay h3 { font-size: 24px; color: var(--white); font-weight: 300; }

/* ---- Numbers Section ---- */
.numbers { position: relative; padding: clamp(80px, 10vw, 120px) 0; overflow: hidden; }
.numbers-bg { position: absolute; inset: 0; }
.numbers-bg img { width: 100%; height: 100%; object-fit: cover; }
.numbers-overlay { position: absolute; inset: 0; background: rgba(13,13,13,0.85); }

.numbers-grid {
    position: relative; z-index: 2;
    display: flex; justify-content: center; align-items: center;
    gap: clamp(30px, 5vw, 60px); flex-wrap: wrap;
}

.number-item { text-align: center; color: var(--white); min-width: 140px; }
.number-value {
    font-family: var(--font-display); font-size: clamp(42px, 5vw, 68px);
    font-weight: 300; line-height: 1; display: inline;
}
.number-suffix {
    font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px);
    color: var(--gold); font-weight: 300;
}
.number-label {
    display: block; font-family: var(--font-body); font-size: 11px;
    font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(255,255,255,0.6); margin-top: 12px;
}
.number-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.15); }

/* ---- Diferenciais ---- */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

.diff-card {
    padding: 40px 32px; border: 1px solid var(--beige-light);
    transition: all 0.4s var(--ease-out); position: relative;
}
.diff-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 0; height: 2px; background: var(--gold);
    transition: width 0.5s var(--ease-out);
}
.diff-card:hover {
    border-color: var(--gold); transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}
.diff-card:hover::before { width: 100%; }

.diff-number {
    font-family: var(--font-display); font-size: 42px;
    font-weight: 300; color: var(--beige); margin-bottom: 24px; line-height: 1;
}
.diff-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 16px; }
.diff-card p { font-size: 13px; line-height: 1.8; color: var(--gray); }

/* ---- Audience (Dual) Section ---- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.audience-card {
    overflow: hidden; background: var(--white);
    border: 1px solid var(--beige-light);
    transition: all 0.4s var(--ease-out);
}
.audience-card:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.audience-img { aspect-ratio: 16/10; overflow: hidden; }
.audience-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}
.audience-card:hover .audience-img img { transform: scale(1.04); }

.audience-content { padding: 36px 32px; }

.audience-tag {
    display: inline-block; font-family: var(--font-body);
    font-size: 9px; font-weight: 700; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--gold);
    border: 1px solid var(--gold); padding: 6px 14px; margin-bottom: 20px;
}

.audience-content h3 {
    font-size: clamp(22px, 2.5vw, 28px); font-weight: 400; margin-bottom: 16px;
}
.audience-content p { font-size: 14px; line-height: 1.85; color: var(--gray); margin-bottom: 20px; }

/* ---- Testimonial ---- */
.testimonial { background: var(--beige-ultra-light); }

.testimonial-grid {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 72px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Vídeo vertical 9:16 */
.testimonial-video {
    width: 100%;
    max-width: 380px;
    justify-self: center;
}
.testimonial-video-placeholder {
    aspect-ratio: 9/16;
    width: 100%;
}

blockquote p {
    font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px);
    font-weight: 300; line-height: 1.5; color: var(--black); font-style: italic;
}

.testimonial-author {
    display: flex; align-items: center;
    gap: 20px; margin-top: 32px;
}
.author-line { width: 40px; height: 1px; background: var(--gold); flex-shrink: 0; }
.testimonial-author strong {
    display: block; font-family: var(--font-body);
    font-size: 13px; font-weight: 600; letter-spacing: 0.05em;
}
.testimonial-author span { font-family: var(--font-body); font-size: 12px; color: var(--gray-light); }

/* Carrossel discreto */
.testimonial-carousel {
    position: relative;
    padding: 8px 0;
}

.quote-icon-sm {
    color: var(--beige);
    margin-bottom: 20px;
    display: block;
}

.carousel-track {
    position: relative;
    min-height: 260px;
}

.carousel-slide {
    position: absolute;
    top: 0; left: 0; right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), visibility 0s 0.6s;
}
.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), visibility 0s;
}

.testimonial-carousel blockquote p {
    font-size: clamp(18px, 1.8vw, 22px);
    line-height: 1.6;
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}

.carousel-arrow {
    width: 36px; height: 36px;
    border: 1px solid var(--beige);
    background: transparent;
    color: var(--gray);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    padding: 0;
    flex-shrink: 0;
}
.carousel-arrow:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(203, 169, 99, 0.06);
}

.carousel-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}
.carousel-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    border: none;
    background: var(--beige);
    padding: 0;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}
.carousel-dot:hover { background: var(--gold-light); }
.carousel-dot.active {
    width: 24px;
    border-radius: 3px;
    background: var(--gold);
}

/* ---- Contact / Form ---- */
.contact { background: var(--beige-ultra-light); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px); align-items: start;
}

.contact-desc { font-size: 15px; line-height: 1.85; color: var(--gray); margin-bottom: 40px; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; flex-direction: column; gap: 4px; }
.info-label {
    font-size: 10px; font-weight: 600; letter-spacing: 0.25em;
    text-transform: uppercase; color: var(--gold);
}
.info-value { font-size: 14px; color: var(--black); }

.contact-form {
    background: var(--white); padding: clamp(32px, 4vw, 56px);
    box-shadow: 0 20px 80px rgba(0,0,0,0.06);
}

.form-group { position: relative; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 16px 0; font-family: var(--font-body);
    font-size: 14px; color: var(--black); background: transparent;
    border: none; border-bottom: 1px solid var(--beige-light);
    outline: none; transition: border-color 0.3s ease;
}

.form-group select {
    cursor: pointer; -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9B29E' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 4px center;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-bottom-color: var(--gold);
}

.form-group label {
    position: absolute; left: 0; top: 16px;
    font-family: var(--font-body); font-size: 13px; color: var(--gray-light);
    pointer-events: none; transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px; font-size: 10px; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold);
}

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

/* ---- Story Intro (About) ---- */
.story-intro-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px); align-items: center;
}

.story-img { width: 100%; height: 500px; object-fit: cover; }
.story-intro-left { position: relative; }

.story-img-caption {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--white); padding: 24px 32px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); text-align: center;
}
.gold-accent {
    font-family: var(--font-body); font-size: 10px; font-weight: 600;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); display: block;
}
.year-big {
    font-family: var(--font-display); font-size: 48px; font-weight: 300;
    color: var(--black); line-height: 1; margin-top: 4px;
}

.story-intro-right p { font-size: 15px; line-height: 1.85; color: var(--gray); margin-bottom: 20px; }

/* ---- Process / How We Work ---- */
.how-we-work { background: var(--beige-ultra-light); }

.process-grid {
    display: flex; align-items: flex-start; justify-content: center;
    gap: 0; flex-wrap: wrap;
}

.process-step {
    flex: 1; min-width: 200px; max-width: 260px; text-align: center;
    padding: 0 20px;
}

.process-number {
    font-family: var(--font-display); font-size: 48px; font-weight: 300;
    color: var(--gold); line-height: 1; margin-bottom: 20px;
}

.process-step h3 { font-size: 20px; font-weight: 500; margin-bottom: 12px; }
.process-step p { font-size: 13px; line-height: 1.8; color: var(--gray); }

.process-arrow {
    display: flex; align-items: center; justify-content: center;
    color: var(--beige); padding-top: 12px; flex-shrink: 0;
}

/* ---- Factory Section ---- */
.factory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.factory-card {
    overflow: hidden; background: var(--white);
    border: 1px solid var(--beige-light);
    transition: all 0.4s var(--ease-out);
}
.factory-card:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.factory-img { aspect-ratio: 16/10; overflow: hidden; }
.factory-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}
.factory-card:hover .factory-img img { transform: scale(1.04); }

.factory-info { padding: 32px 28px; }
.factory-location {
    display: inline-block; font-family: var(--font-body);
    font-size: 9px; font-weight: 700; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.factory-info h3 { font-size: 22px; font-weight: 500; margin-bottom: 14px; line-height: 1.3; }
.factory-info p { font-size: 13px; line-height: 1.8; color: var(--gray); }

/* ---- Values ---- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

.value-card {
    text-align: center; padding: 48px 28px;
    transition: transform 0.4s var(--ease-out);
}
.value-card:hover { transform: translateY(-4px); }

.value-icon { color: var(--gold); margin-bottom: 24px; display: flex; justify-content: center; }
.value-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 16px; }
.value-card p { font-size: 13px; line-height: 1.8; color: var(--gray); }

/* ---- Gallery Mosaic ---- */
.gallery-mosaic {
    display: grid; grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px; gap: 16px;
}
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

.gallery-item { overflow: hidden; position: relative; }
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.06); }

/* ---- CTA Section ---- */
.cta-section { position: relative; padding: clamp(100px, 12vw, 160px) 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: rgba(13,13,13,0.8); }

.cta-content {
    position: relative; z-index: 2; text-align: center;
    max-width: 600px; margin: 0 auto; color: var(--white);
}
.cta-content h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 300; margin-bottom: 20px; }
.cta-content p {
    font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.7); margin-bottom: 40px;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer { background: var(--black); color: var(--white); padding: 80px 0 0; }

.footer-top {
    display: flex; justify-content: space-between; gap: 60px;
    padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    font-family: var(--font-display); font-size: 24px; font-weight: 600;
    letter-spacing: 0.3em; display: block; margin-bottom: 16px;
}
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.4); max-width: 280px; }
.footer-links { display: flex; gap: 80px; }

.footer-col h4 {
    font-family: var(--font-body); font-size: 10px; font-weight: 600;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 20px;
}
.footer-col a {
    display: block; font-size: 13px; color: rgba(255,255,255,0.5);
    margin-bottom: 12px; transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 28px 0; font-size: 12px; color: rgba(255,255,255,0.25);
}

/* ---- Animations ---- */
.reveal-up {
    opacity: 0; transform: translateY(30px);
    animation: revealUp 0.8s var(--ease-out) forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

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

.scroll-reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .diff-grid, .values-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-large { grid-column: span 2; grid-row: span 1; }
    .process-arrow { display: none; }
    .process-grid { gap: 32px; justify-content: center; }
    .process-step { min-width: 180px; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: var(--black); flex-direction: column;
        justify-content: center; align-items: center; gap: 32px;
        transition: right 0.5s var(--ease-out);
    }
    .nav-menu.active { right: 0; }
    .nav-menu .nav-link { color: rgba(255,255,255,0.7) !important; font-size: 13px; }
    .nav-menu .nav-link:hover, .nav-menu .nav-link.active { color: var(--white) !important; }
    .nav-toggle { display: flex; }
    .nav-toggle.active span { background: var(--white) !important; }

    .intro-grid, .contact-grid, .story-intro-grid,
    .audience-grid, .factory-grid, .testimonial-grid { grid-template-columns: 1fr; }
    .testimonial-grid { gap: 40px; }
    .testimonial-video { max-width: 300px; }
    .carousel-track { min-height: 220px; }

    .portfolio-grid, .products-grid { grid-template-columns: 1fr; }
    .portfolio-large { grid-column: span 1; }

    .diff-grid, .values-grid { grid-template-columns: 1fr; }

    .numbers-grid { gap: 24px; }
    .number-divider { display: none; }
    .numbers-grid { display: grid; grid-template-columns: 1fr 1fr; }

    .form-row { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; }
    .footer-links { gap: 40px; flex-wrap: wrap; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
    .gallery-tall { grid-row: span 1; }
    .gallery-wide { grid-column: span 1; }

    .video-placeholder { aspect-ratio: 16/9; }
    .about-video-placeholder { aspect-ratio: 9/16; max-width: 320px; }
    .about-video-placeholder .video-caption { bottom: 24px; left: 24px; right: 24px; }
    .story-img { height: 350px; }
    .story-img-caption { bottom: 0; right: 0; }
    .hero-title { font-size: clamp(40px, 10vw, 60px); }

    .process-grid { flex-direction: column; align-items: center; }
    .process-step { max-width: 100%; }
}

@media (max-width: 480px) {
    .gallery-mosaic { grid-template-columns: 1fr; }
    .numbers-grid { grid-template-columns: 1fr; }
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    padding: 14px 20px 14px 16px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    max-width: 56px;
}

.whatsapp-float:hover {
    max-width: 220px;
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
    transform: translateY(-2px);
}

.whatsapp-float svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.whatsapp-float-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.2s ease 0.05s, transform 0.2s ease 0.05s;
    letter-spacing: 0.02em;
}

.whatsapp-float:hover .whatsapp-float-label {
    opacity: 1;
    transform: translateX(0);
}

/* Pulse animation */
.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: #25D366;
    z-index: -1;
    animation: waPulse 2.5s ease-out infinite;
}

@keyframes waPulse {
    0%   { transform: scale(1); opacity: 0.6; }
    70%  { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 14px;
        border-radius: 50%;
        max-width: 56px !important;
    }

    .whatsapp-float-label {
        display: none;
    }

    .whatsapp-float:hover {
        transform: scale(1.08);
    }
}
