/* ============================================
   SPINDRIER — v2 Stylesheet (DM Sans · Minimal)
   ============================================ */

/* --- Variables --- */
:root {
    --green: #4A7C59;
    --black: #1C1C1C;
    --text: #333;
    --gray: #888;
    --light-gray: #B0B0B0;
    --bg: #FFFFFF;
    --bg-warm: #F7F5F0;
    --border: #E8E5E0;
    --font: 'DM Sans', -apple-system, sans-serif;
}

/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { width: 100%; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* --- Header --- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

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

.logo { font-size: 1.8rem; font-weight: 600; letter-spacing: 3px; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: #555; text-transform: uppercase; letter-spacing: 1px; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }

/* --- Section Helpers --- */
.section { padding: 100px 0; }
.section-warm { background: var(--bg-warm); }

.section-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--text);
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 460px;
    font-weight: 400;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-desc { margin: 0 auto; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 13px 32px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--font);
    border: none;
    cursor: pointer;
    transition: all 0.25s;
}

.btn-white { background: #fff; color: var(--text); }
.btn-white:hover { background: var(--green); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #3d6a4b; }

/* --- Animation --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Homepage
   ============================================ */

/* --- Hero --- */
.hero { position: relative; height: 92vh; min-height: 640px; overflow: hidden; }
.hero img { position: absolute; inset: 0; height: 100%; width: 100%; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.hero-content { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-content .container { color: rgba(255,255,255,0.92); }
.hero h1 { font-size: 3.4rem; font-weight: 400; line-height: 1.2; margin-bottom: 1.2rem; letter-spacing: -0.3px; animation: fadeUp 0.9s ease-out both; }
.hero-desc { font-size: 0.95rem; color: rgba(255,255,255,0.65); max-width: 500px; margin: 0 auto 2.2rem; font-weight: 300; line-height: 1.7; animation: fadeUp 0.9s 0.15s ease-out both; }
.hero .btn { animation: fadeUp 0.9s 0.3s ease-out both; }

/* --- Products --- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { cursor: pointer; padding-bottom: 1.2rem; transition: transform 0.3s, box-shadow 0.3s; border: 1px solid transparent; }
.product-card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: 0 12px 36px rgba(0,0,0,0.08); }
.product-img { position: relative; height: 360px; overflow: hidden; margin-bottom: 16px; background: #f0ede8; }
.product-img img { height: 100%; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-badge { position: absolute; top: 16px; left: 16px; font-size: 0.62rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); }
.product-cat { font-size: 0.68rem; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--light-gray); margin-bottom: 4px; padding: 0 16px; }
.product-name { font-size: 1.05rem; font-weight: 500; color: var(--text); padding: 0 16px; }

/* --- Story --- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-img { height: 500px; overflow: hidden; }
.story-img img { height: 100%; }
.story-text .section-label { text-align: left; }
.story-text .section-title { text-align: left; margin-bottom: 20px; }
.story-text p { font-size: 0.93rem; color: var(--gray); line-height: 1.85; margin-bottom: 1rem; }
.text-link { display: inline-block; margin-top: 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--green); }
.text-link:hover { color: var(--text); }

/* --- Features --- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.feature-num { font-size: 0.68rem; font-weight: 600; color: var(--green); letter-spacing: 1px; margin-bottom: 16px; }
.feature-item h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.feature-item p { font-size: 0.88rem; color: var(--gray); line-height: 1.8; }

/* --- Promise Strip --- */
.promise-strip { padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.promise-row { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.promise-item { text-align: center; }
.promise-item h4 { font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.promise-item p { font-size: 0.78rem; color: var(--gray); font-weight: 400; }

/* ============================================
   About Page
   ============================================ */

.about-hero { position: relative; height: 50vh; min-height: 360px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.about-hero img { position: absolute; inset: 0; height: 100%; width: 100%; }
.about-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.about-hero-content { position: relative; z-index: 1; color: rgba(255,255,255,0.92); animation: fadeUp 0.9s ease-out both; }
.about-hero h1 { font-size: 3rem; font-weight: 400; margin-bottom: 0.5rem; }
.about-hero p { font-size: 0.92rem; color: rgba(255,255,255,0.6); font-weight: 300; }

/* --- Philosophy --- */
.philosophy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.philosophy-num { font-size: 0.68rem; font-weight: 600; color: var(--green); letter-spacing: 1px; margin-bottom: 16px; }
.philosophy-item h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.philosophy-item p { font-size: 0.88rem; color: var(--gray); line-height: 1.8; }

/* --- Banner --- */
.banner { position: relative; height: 55vh; min-height: 380px; overflow: hidden; }
.banner img { position: absolute; inset: 0; height: 100%; width: 100%; }
.banner-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.25) 60%, transparent 100%); display: flex; align-items: center; }
.banner-text { margin-left: 6%; max-width: 440px; color: #fff; }
.banner-text .section-label { color: rgba(255,255,255,0.5); }
.banner-text h3 { font-size: 1.8rem; font-weight: 400; margin-bottom: 0.8rem; color: rgba(255,255,255,0.92); }
.banner-text p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* --- Reviews --- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-card { background: var(--bg); padding: 2.5rem 2rem; border: 1px solid var(--border); transition: 0.3s; }
.review-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-3px); }
.review-stars { color: var(--green); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 1rem; }
.review-quote { font-size: 0.9rem; color: var(--gray); line-height: 1.85; margin-bottom: 1.5rem; font-style: italic; }
.review-author { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.5px; color: var(--text); }

/* ============================================
   Contact Page
   ============================================ */

.contact-hero { background: var(--bg-warm); padding: 80px 0; text-align: center; }
.contact-hero h1 { font-size: 3rem; font-weight: 400; color: var(--text); margin-bottom: 0.5rem; }
.contact-hero p { max-width: 520px; margin: 0 auto; color: var(--gray); font-size: 0.92rem; line-height: 1.7; }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; }

/* Form */
.form-wrap h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 2rem; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 0.78rem; font-weight: 500; color: var(--gray); letter-spacing: 0.3px; }
.form-group input,
.form-group textarea,
.form-group select { width: 100%; padding: 12px 14px; border: 1px solid var(--border); font-family: var(--font); font-size: 0.88rem; transition: border-color 0.2s; background: var(--bg); color: var(--text); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--green); }
.form-wrap .btn-green { width: 100%; }

/* Info sidebar */
.contact-info h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 2rem; color: var(--text); }
.info-block { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.info-block:last-child { border-bottom: none; padding-bottom: 0; }
.info-block label { display: block; font-size: 0.65rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--green); font-weight: 600; margin-bottom: 6px; }
.info-block p { font-size: 0.95rem; color: var(--text); line-height: 1.6; }

/* FAQ */
.faq-section { background: var(--bg-warm); }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.faq-card { padding: 2rem; border: 1px solid var(--border); background: var(--bg); transition: 0.3s; }
.faq-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-3px); }
.faq-card h4 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.faq-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.8; }

/* ============================================
   Privacy Page
   ============================================ */

.privacy-hero { background: var(--bg-warm); padding: 80px 0; text-align: center; }
.privacy-hero h1 { font-size: 3rem; font-weight: 400; color: var(--text); margin-bottom: 0.5rem; }
.privacy-hero p { color: var(--gray); font-size: 0.92rem; }

.privacy-body { padding: 60px 0 80px; }
.policy-section { margin-bottom: 3rem; }
.policy-section h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: 1rem; color: var(--text); }
.policy-section p { margin-bottom: 1rem; color: var(--gray); font-size: 0.92rem; text-align: justify; line-height: 1.9; }
.policy-section ul { margin-left: 1.2rem; margin-bottom: 1rem; color: var(--gray); font-size: 0.92rem; }
.policy-section li { margin-bottom: 0.6rem; list-style-type: disc; line-height: 1.8; }
.policy-section li::marker { color: var(--green); }
.policy-section strong { color: var(--text); font-weight: 600; }

/* ============================================
   Footer (shared)
   ============================================ */

footer { background: var(--black); color: #fff; padding: 70px 0 30px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h5 { font-size: 0.72rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.footer-about { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.8; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.footer-col ul a:hover { color: var(--green); }
.footer-contact-line { display: flex; margin-bottom: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.footer-cl { width: 50px; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.25); font-weight: 500; flex-shrink: 0; padding-top: 2px; }
.footer-bottom { text-align: center; font-size: 0.72rem; color: rgba(255,255,255,0.2); }
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: underline; }
.footer-bottom a:hover { color: var(--green); }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .story-grid { grid-template-columns: 1fr; gap: 40px; }
    .story-img { height: 360px; }
    .features-grid,
    .philosophy-grid,
    .reviews-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { height: 70vh; min-height: 480px; }
    .hero h1 { font-size: 2.2rem; }
    .about-hero { height: 40vh; }
    .about-hero h1 { font-size: 2.2rem; }
    .banner { height: 40vh; min-height: 280px; }
    .contact-hero { padding: 60px 0; }
    .contact-hero h1 { font-size: 2.2rem; }
    .privacy-hero { padding: 60px 0; }
    .privacy-hero h1 { font-size: 2.2rem; }
    .privacy-body { padding: 40px 0 60px; }
    .product-grid { grid-template-columns: 1fr; }
    .promise-row { flex-direction: column; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 70px 0; }
}