/* =============================================
   Forma Living — Furniture & Interior Design
   ============================================= */

:root {
  --cream:     #faf7f2;
  --cream-2:   #f3ede4;
  --cream-3:   #ece4d8;
  --terracotta:#a86448;
  --terra-2:   #8c5038;
  --text:      #2c2018;
  --text-m:    #7a6858;
  --border:    rgba(44,32,24,.12);
  --border-2:  rgba(44,32,24,.07);
  --white:     #ffffff;
  --radius:    12px;
  --shadow:    0 4px 20px rgba(44,32,24,.1);
  --shadow-lg: 0 16px 48px rgba(44,32,24,.15);
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--cream); color: var(--text); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── NAVBAR ─────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background var(--transition), box-shadow var(--transition); }
.nav.scrolled { background: rgba(250,247,242,.97); backdrop-filter: blur(16px); box-shadow: 0 1px 20px rgba(44,32,24,.08); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; gap: 32px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-f { width: 32px; height: 32px; background: var(--text); color: var(--cream); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 700; flex-shrink: 0; }
.logo-f.sm { width: 28px; height: 28px; font-size: 1.1rem; }
.logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--text); letter-spacing: .5px; }
.nav-links { display: flex; list-style: none; gap: 32px; margin-left: auto; }
.nav-links a { color: var(--text-m); text-decoration: none; font-size: .88rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-consult { background: var(--text); color: var(--cream); padding: 10px 22px; border-radius: 9px; font-size: .83rem; font-weight: 600; text-decoration: none; transition: background var(--transition); }
.nav-consult:hover { background: #3d2e20; }
.btn-dark { background: var(--text); color: var(--cream); border: none; padding: 12px 26px; border-radius: 10px; font-size: .92rem; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: background var(--transition), transform var(--transition); font-family: inherit; }
.btn-dark:hover { background: #3d2e20; transform: translateY(-1px); }
.btn-dark.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 11px; }
.btn-dark.btn-full { width: 100%; justify-content: center; }
.btn-outline-dark { background: transparent; border: 1.5px solid var(--border); color: var(--text); padding: 14px 32px; border-radius: 11px; font-size: 1rem; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: border-color var(--transition), background var(--transition); }
.btn-outline-dark:hover { border-color: var(--text); background: rgba(44,32,24,.05); }
.btn-outline-terracotta { background: transparent; border: 1.5px solid var(--terracotta); color: var(--terracotta); padding: 12px 28px; border-radius: 10px; font-size: .9rem; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: background var(--transition), color var(--transition); }
.btn-outline-terracotta:hover { background: var(--terracotta); color: var(--white); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; display: block; }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 16px 24px 20px; border-top: 1px solid var(--border); background: rgba(250,247,242,.97); }
.mobile-menu a { color: var(--text-m); text-decoration: none; padding: 10px 0; font-weight: 500; border-bottom: 1px solid var(--border); transition: color var(--transition); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: flex; }

/* ── HERO ───────────────────────────────────── */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 100px 0 80px; position: relative; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 50%, var(--cream-3) 100%); }
.hero .container { position: relative; z-index: 1; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-eyebrow { display: inline-block; color: var(--terracotta); font-size: .75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
.hero-headline { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 5vw, 4.6rem); font-weight: 700; line-height: 1.1; color: var(--text); margin-bottom: 22px; }
.hero-sub { font-size: 1rem; color: var(--text-m); margin-bottom: 36px; max-width: 420px; line-height: 1.8; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; height: 480px; }
.hero-img-main { position: absolute; top: 0; right: 0; width: 78%; height: 85%; border-radius: 16px; }
.hero-img-secondary { position: absolute; bottom: 0; left: 0; width: 46%; height: 50%; border-radius: 12px; box-shadow: var(--shadow); }
.hero-tag { position: absolute; bottom: 20%; right: 6%; background: var(--white); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 3px; min-width: 160px; }
.hero-tag span:first-child { font-size: .7rem; font-weight: 700; color: var(--terracotta); text-transform: uppercase; letter-spacing: 1px; }
.hero-tag strong { font-size: .95rem; font-weight: 700; color: var(--text); }
.hero-tag span:last-child { font-size: .85rem; color: var(--text-m); }

/* ── STATS ──────────────────────────────────── */
.stats { background: var(--text); padding: 48px 0; }
.stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 32px; }
.stat-item { text-align: center; }
.stat-value { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 700; color: var(--cream); letter-spacing: -1px; }
.stat-label { font-size: .82rem; color: rgba(250,247,242,.55); margin-top: 4px; text-transform: uppercase; letter-spacing: .8px; font-weight: 600; }

/* ── SECTIONS ───────────────────────────────── */
.section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow { display: inline-block; color: var(--terracotta); font-size: .72rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 12px; }
.section-header h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; color: var(--text); margin-bottom: 10px; }
.section-header p { color: var(--text-m); font-size: .95rem; }
.section-cta { text-align: center; margin-top: 48px; }

/* ── COLLECTIONS ─────────────────────────────── */
.collections-section { background: var(--cream-2); }
.collections-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.collection-card { text-decoration: none; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; height: 300px; position: relative; }
.col-bg { position: absolute; inset: 0; background: var(--col, #d4c8b4); transition: transform var(--transition); }
.collection-card:hover .col-bg { transform: scale(1.04); }
.col-content { position: relative; z-index: 1; margin-top: auto; background: linear-gradient(to top, rgba(44,32,24,.7), transparent); padding: 24px 20px; }
.col-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.col-content p { font-size: .8rem; color: rgba(255,255,255,.75); line-height: 1.5; margin-bottom: 10px; }
.col-link { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,.9); font-size: .78rem; font-weight: 700; letter-spacing: .5px; }

/* ── PRODUCTS ───────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: var(--white); border: 1px solid var(--border-2); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prod-image { height: 200px; position: relative; display: flex; align-items: flex-end; justify-content: flex-start; padding: 12px; }
.prod-badge { font-size: .68rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; background: var(--white); color: var(--text); letter-spacing: .5px; }
.prod-save { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.8); border: none; color: var(--text-m); cursor: pointer; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: color var(--transition), background var(--transition); }
.prod-save:hover { color: var(--terracotta); background: var(--white); }
.prod-body { padding: 16px; }
.prod-material { font-size: .72rem; font-weight: 600; color: var(--terracotta); letter-spacing: .5px; text-transform: uppercase; }
.product-card h3 { font-size: .95rem; font-weight: 600; color: var(--text); margin: 5px 0 12px; line-height: 1.3; }
.prod-footer { display: flex; justify-content: space-between; align-items: center; }
.prod-price { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 700; color: var(--text); }
.prod-btn { background: var(--text); color: var(--cream); padding: 7px 14px; border-radius: 7px; font-size: .75rem; font-weight: 600; text-decoration: none; transition: background var(--transition); }
.prod-btn:hover { background: var(--terracotta); }

/* ── SERVICES ───────────────────────────────── */
.services-section { background: var(--cream-2); }
.services-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: center; }
.services-text { display: flex; flex-direction: column; gap: 20px; }
.services-text h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; color: var(--text); line-height: 1.15; }
.services-text p { color: var(--text-m); line-height: 1.75; }
.services-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-card { background: var(--white); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: box-shadow var(--transition); }
.service-card:hover { box-shadow: var(--shadow); }
.svc-num { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: rgba(44,32,24,.15); flex-shrink: 0; line-height: 1; margin-top: 2px; }
.service-card h3 { font-size: .92rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.service-card p { font-size: .8rem; color: var(--text-m); line-height: 1.65; }

/* ── GALLERY ─────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 240px 240px; gap: 12px; }
.gallery-item:nth-child(1) { grid-row: 1 / 3; }
.gallery-item { border-radius: var(--radius); position: relative; overflow: hidden; transition: transform var(--transition); }
.gallery-item:hover { transform: scale(.98); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,32,24,.5), transparent 50%); display: flex; align-items: flex-end; padding: 16px; opacity: 0; transition: opacity var(--transition); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-size: .85rem; font-weight: 600; letter-spacing: .5px; }

/* ── TESTIMONIALS ───────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { background: var(--white); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 28px; transition: box-shadow var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow); }
.stars { color: #c9a55a; font-size: .95rem; margin-bottom: 14px; letter-spacing: 2px; }
blockquote { color: var(--text-m); font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1rem; line-height: 1.7; margin-bottom: 18px; }
.t-footer strong { display: block; font-size: .9rem; color: var(--text); margin-bottom: 3px; }
.t-footer span { font-size: .78rem; color: var(--terracotta); font-weight: 600; }

/* ── CONTACT ────────────────────────────────── */
.contact-section { background: var(--cream-3); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; background: var(--white); border-radius: 20px; padding: 56px; box-shadow: var(--shadow); }
.contact-text { display: flex; flex-direction: column; gap: 18px; }
.contact-text h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.contact-text p { color: var(--text-m); line-height: 1.75; }
.contact-details { display: flex; flex-direction: column; gap: 10px; }
.contact-details span { display: flex; align-items: center; gap: 8px; color: var(--text-m); font-size: .85rem; }
.contact-details svg { color: var(--terracotta); flex-shrink: 0; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--text-m); }
.form-group input, .form-group select, .form-group textarea { border: 1.5px solid var(--border); border-radius: 9px; padding: 12px 14px; font-size: .9rem; color: var(--text); background: var(--cream); font-family: inherit; outline: none; transition: border-color var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--terracotta); }
.form-group textarea { resize: vertical; }
.form-note { font-size: .78rem; color: var(--text-m); text-align: center; }

/* ── FOOTER ─────────────────────────────────── */
.footer { background: var(--text); padding: 60px 0 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 48px; }
.footer-brand { max-width: 240px; display: flex; flex-direction: column; gap: 12px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; color: var(--cream); }
.footer-brand p { color: rgba(250,247,242,.45); font-size: .82rem; line-height: 1.6; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(250,247,242,.35); margin-bottom: 4px; }
.footer-col a { color: rgba(250,247,242,.55); text-decoration: none; font-size: .84rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(250,247,242,.1); padding-top: 24px; font-size: .8rem; color: rgba(250,247,242,.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(250,247,242,.35); text-decoration: none; transition: color var(--transition); }
.footer-legal a:hover { color: var(--cream); }

/* ── FLOATING ───────────────────────────────── */
.float-whatsapp { position: fixed; bottom: 80px; right: 24px; width: 52px; height: 52px; background: #25d366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); z-index: 90; transition: transform var(--transition); }
.float-whatsapp:hover { transform: scale(1.1); }
.back-to-top { position: fixed; bottom: 24px; right: 24px; width: 42px; height: 42px; background: var(--cream); border: 1.5px solid var(--border); color: var(--text); border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 90; opacity: 0; transform: translateY(10px); transition: opacity var(--transition), transform var(--transition); }
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease calc(var(--delay, 0s)), transform .65s ease calc(var(--delay, 0s)); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { height: 320px; }
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .services-split { grid-template-columns: 1fr; gap: 48px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; padding: 36px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item:nth-child(1) { grid-row: auto; }
}
@media (max-width: 768px) {
  .collections-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .services-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 64px 0; }
}
