/* ============================================================
   NUÑEZ TILE LLC — Main Stylesheet
   File: css/style.css
   ============================================================ */


:root {
  --brown-dark:  #5C2C0A;
  --brown-mid:   #8B3F0F;
  --amber:       #C97820;
  --amber-light: #D9922A;
  --tan:         #C9943A;
  --cream:       #F5EFE6;
  --off-white:   #FAF7F3;
  --charcoal:    #1A1208;
  --text-body:   #3B2408;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; background: var(--off-white); color: var(--text-body); overflow-x: hidden; }

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 70px;
  background: rgba(26,18,8,0.93); backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--amber);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 46px; width: auto; display: block; }

.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a { font-family: 'Barlow Condensed', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--amber-light); }
.nav-cta { background: var(--amber); color: #fff !important; padding: 0.45rem 1.2rem; border-radius: 2px; }
.nav-cta:hover { background: var(--amber-light) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* ── MOBILE MENU ─────────────────────────────────── */
.mobile-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: rgba(26,18,8,0.97); padding: 2rem 5%; z-index: 199; flex-direction: column; gap: 1.5rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.8); text-decoration: none; }
.mobile-menu a:hover { color: var(--amber); }

/* ── HERO ────────────────────────────────────────── */
#hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; position: relative; overflow: hidden; }
.hero-left { background: var(--charcoal); display: flex; flex-direction: column; justify-content: center; padding: 120px 8% 80px; position: relative; z-index: 2; }
.hero-left::after { content: ''; position: absolute; top: 0; right: -60px; width: 120px; height: 100%; background: var(--charcoal); clip-path: polygon(0 0, 40% 0, 100% 100%, 0 100%); z-index: 3; }
.hero-eyebrow { font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.2rem; animation: fadeUp 0.7s ease both; }
.hero-h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 900; line-height: 1.08; color: #fff; margin-bottom: 1.6rem; animation: fadeUp 0.7s 0.1s ease both; }
.hero-h1 em { font-style: normal; color: var(--amber-light); }
.hero-sub { font-size: 1rem; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,0.65); max-width: 400px; margin-bottom: 2.4rem; animation: fadeUp 0.7s 0.2s ease both; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.7s 0.3s ease both; }
.btn-primary { display: inline-block; background: var(--amber); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.9rem 2.2rem; border-radius: 2px; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.btn-primary:hover { background: var(--amber-light); transform: translateY(-2px); }
.btn-outline { display: inline-block; border: 1.5px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85); font-family: 'Barlow Condensed', sans-serif; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.9rem 2.2rem; border-radius: 2px; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }

/* ── IMAGE SLIDER ────────────────────────────────── */
.hero-right { position: relative; overflow: hidden; }
.slider-track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; background: var(--charcoal); }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Fallback tile pattern shown when no images configured */
.slide-fallback { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(5, 1fr); gap: 3px; background: #111; }
.slide-fallback .tc  { background: var(--brown-dark); }
.slide-fallback .tc:nth-child(3n)  { background: var(--brown-mid); }
.slide-fallback .tc:nth-child(5n)  { background: var(--amber); }
.slide-fallback .tc:nth-child(7n)  { background: var(--tan); }
.slide-fallback .tc:nth-child(11n) { background: #2A1408; }

.slider-overlay { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 2rem; background: linear-gradient(to top, rgba(26,18,8,0.6) 0%, transparent 50%); pointer-events: none; }
.slider-dots { display: flex; gap: 8px; pointer-events: all; }
.slider-dot { width: 8px; height: 8px; background: rgba(255,255,255,0.4); border-radius: 50%; border: none; cursor: pointer; padding: 0; transition: background 0.3s, transform 0.3s; }
.slider-dot.active { background: var(--amber); transform: scale(1.3); }
.slider-prev, .slider-next { position: absolute; top: 50%; z-index: 6; transform: translateY(-50%); background: rgba(26,18,8,0.5); border: 1px solid rgba(201,120,32,0.4); color: #fff; font-size: 1.1rem; width: 38px; height: 38px; border-radius: 2px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-prev:hover, .slider-next:hover { background: var(--amber); }

/* ── STATS BAR ───────────────────────────────────── */
#stats { background: var(--brown-dark); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--amber); }
.stat-item { padding: 2rem 1.5rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--amber-light); line-height: 1; }
.stat-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 0.4rem; }

/* ── ABOUT ───────────────────────────────────────── */
#about { padding: 100px 5%; display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; background: var(--off-white); }
.about-visual { position: relative; }
.about-tile-mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); gap: 5px; aspect-ratio: 1; border-radius: 4px; overflow: hidden; box-shadow: 20px 20px 60px rgba(92,44,10,0.25); }
.mosaic-cell { background: var(--tan); }
.mosaic-cell:nth-child(4n)  { background: var(--brown-dark); }
.mosaic-cell:nth-child(7n)  { background: var(--amber); }
.mosaic-cell:nth-child(11n) { background: var(--brown-mid); }
.mosaic-cell:nth-child(3n)  { background: #E8C080; }
.mosaic-cell:nth-child(13n) { background: #3D1A08; }
.about-badge { position: absolute; bottom: -20px; right: -20px; width: 100px; height: 100px; background: var(--amber); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 8px 30px rgba(201,120,32,0.4); }
.about-badge strong { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: #fff; line-height: 1; }
.about-badge span { font-family: 'Barlow Condensed', sans-serif; font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.about-text .section-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.about-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 900; line-height: 1.15; color: var(--charcoal); margin-bottom: 1.4rem; }
.about-text p { font-size: 0.98rem; line-height: 1.8; color: #5A3A1A; margin-bottom: 1.2rem; }
.value-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; margin-top: 1.8rem; }
.value-list li { font-family: 'Barlow Condensed', sans-serif; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brown-dark); display: flex; align-items: center; gap: 0.5rem; }
.value-list li::before { content: ''; display: block; width: 10px; height: 10px; background: var(--amber); border-radius: 1px; flex-shrink: 0; }

/* ── SERVICES ────────────────────────────────────── */
#services { padding: 100px 5%; background: var(--charcoal); position: relative; overflow: hidden; }
#services::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(45deg, rgba(201,120,32,0.04) 25%, transparent 25%), linear-gradient(-45deg, rgba(201,120,32,0.04) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(201,120,32,0.04) 75%), linear-gradient(-45deg, transparent 75%, rgba(201,120,32,0.04) 75%); background-size: 40px 40px; background-position: 0 0, 0 20px, 20px -20px, -20px 0; }
.section-header { text-align: center; margin-bottom: 4rem; position: relative; }
.section-header .section-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.8rem; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: #fff; line-height: 1.15; }
.section-header .divider { width: 60px; height: 3px; background: var(--amber); margin: 1.2rem auto 0; border-radius: 2px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5px; background: rgba(201,120,32,0.2); border: 1.5px solid rgba(201,120,32,0.2); position: relative; }
.service-card { background: #1E1208; padding: 2.6rem 2rem; transition: background 0.3s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--amber); transition: width 0.4s ease; }
.service-card:hover { background: #221408; }
.service-card:hover::before { width: 100%; }
.service-icon { font-size: 2.2rem; margin-bottom: 1.2rem; display: block; }
.service-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin-bottom: 0.8rem; }
.service-card p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.5); margin-bottom: 1.2rem; }
.service-list { list-style: none; }
.service-list li { font-size: 0.82rem; color: rgba(255,255,255,0.45); padding: 0.25rem 0 0.25rem 1rem; position: relative; font-weight: 300; }
.service-list li::before { content: '—'; position: absolute; left: 0; color: var(--amber); }

/* ── GALLERY ─────────────────────────────────────── */
#gallery { padding: 100px 5%; background: var(--off-white); }
#gallery .section-header h2 { color: var(--charcoal); }
#gallery .section-header .section-label { color: var(--amber); }

.gallery-filter { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn { font-family: 'Barlow Condensed', sans-serif; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.5rem 1.4rem; border-radius: 2px; border: 1.5px solid rgba(92,44,10,0.2); background: transparent; color: var(--brown-mid); cursor: pointer; transition: all 0.2s; }
.filter-btn:hover, .filter-btn.active { background: var(--amber); border-color: var(--amber); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--charcoal); cursor: pointer; border-radius: 2px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,18,8,0.75) 0%, transparent 60%); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 1rem 1.2rem; }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.9); }

.gallery-empty { grid-column: 1 / -1; text-align: center; padding: 5rem 2rem; }
.gallery-empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.3; }
.gallery-empty p { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(92,44,10,0.4); margin-bottom: 0.5rem; }
.gallery-empty code { display: block; margin-top: 1rem; font-size: 0.8rem; color: var(--amber); font-family: monospace; background: rgba(201,120,32,0.06); padding: 1rem 1.5rem; border-radius: 3px; border: 1px dashed rgba(201,120,32,0.3); text-align: left; display: inline-block; line-height: 1.8; }

/* ── LIGHTBOX ────────────────────────────────────── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(10,6,2,0.95); z-index: 1000; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; display: flex; align-items: center; justify-content: center; }
.lightbox-inner img { max-width: 88vw; max-height: 84vh; object-fit: contain; border-radius: 2px; box-shadow: 0 0 80px rgba(0,0,0,0.7); }
.lb-close { position: absolute; top: -40px; right: 0; background: none; border: none; color: rgba(255,255,255,0.6); font-size: 2rem; cursor: pointer; line-height: 1; transition: color 0.2s; }
.lb-close:hover { color: var(--amber); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(26,18,8,0.6); border: 1px solid rgba(201,120,32,0.4); color: #fff; font-size: 1.4rem; width: 46px; height: 46px; border-radius: 2px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.lb-prev { left: -58px; }
.lb-next { right: -58px; }
.lb-prev:hover, .lb-next:hover { background: var(--amber); }
.lb-caption { position: absolute; bottom: -36px; left: 0; right: 0; text-align: center; font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.lb-counter { position: absolute; top: -40px; left: 0; font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); }

/* ── CONTACT ─────────────────────────────────────── */
#contact { padding: 100px 5%; background: var(--charcoal); position: relative; overflow: hidden; }
#contact::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(45deg, rgba(201,120,32,0.04) 25%, transparent 25%), linear-gradient(-45deg, rgba(201,120,32,0.04) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(201,120,32,0.04) 75%), linear-gradient(-45deg, transparent 75%, rgba(201,120,32,0.04) 75%); background-size: 40px 40px; background-position: 0 0, 0 20px, 20px -20px, -20px 0; }
#contact .section-header h2 { color: #fff; }
#contact .section-header .section-label { color: var(--amber); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.contact-card { background: #1E1208; border: 1px solid rgba(201,120,32,0.15); border-radius: 3px; padding: 2.4rem 2rem; text-align: center; transition: border-color 0.3s, transform 0.3s; }
.contact-card:hover { border-color: var(--amber); transform: translateY(-4px); }
.contact-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.contact-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.8rem; }
.contact-card a { display: block; font-size: 1.05rem; font-weight: 500; color: #fff; text-decoration: none; transition: color 0.2s; }
.contact-card a:hover { color: var(--amber-light); }
.contact-card p { font-size: 1.05rem; font-weight: 500; color: #fff; }
.contact-card span { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.4); margin-top: 0.4rem; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }
.btn-white-outline { display: inline-block; border: 2px solid rgba(255,255,255,0.6); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 1rem 2.2rem; border-radius: 2px; text-decoration: none; transition: border-color 0.2s, background 0.2s, transform 0.2s; }
.btn-white-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.footer-contact-mini { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-contact-mini a, .footer-contact-mini span { font-size: 0.88rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-contact-mini a:hover { color: var(--amber-light); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ── WHY CHOOSE ──────────────────────────────────── */
#why { padding: 100px 5%; background: var(--cream); }
#why .section-header h2 { color: var(--charcoal); }
#why .section-header .section-label { color: var(--amber); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.why-card { background: #fff; border-radius: 3px; padding: 2.2rem 1.8rem; border-left: 4px solid var(--amber); box-shadow: 0 4px 20px rgba(92,44,10,0.08); transition: transform 0.3s, box-shadow 0.3s; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(92,44,10,0.14); }
.why-card .icon { font-size: 2rem; margin-bottom: 1rem; }
.why-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brown-dark); margin-bottom: 0.6rem; }
.why-card p { font-size: 0.9rem; line-height: 1.7; color: #6A4A2A; }

/* ── CTA ─────────────────────────────────────────── */
#cta { padding: 80px 5%; background: var(--amber); text-align: center; position: relative; overflow: hidden; }
#cta::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.05) 75%), linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.05) 75%); background-size: 30px 30px; background-position: 0 0, 0 15px, 15px -15px, -15px 0; }
#cta h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: #fff; margin-bottom: 0.8rem; position: relative; }
#cta p { font-size: 1.05rem; color: rgba(255,255,255,0.85); margin-bottom: 2rem; position: relative; }
.btn-white { display: inline-block; background: #fff; color: var(--brown-dark); font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 1rem 2.8rem; border-radius: 2px; text-decoration: none; transition: background 0.2s, transform 0.2s; position: relative; }
.btn-white:hover { background: var(--cream); transform: translateY(-3px); }
.btn-brown { display: inline-block; background: #3b2408; color: var(--off-white); font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 1rem 2.8rem; border-radius: 2px; text-decoration: none; transition: background 0.2s, transform 0.2s; position: relative; }
.btn-brown:hover { background: var(--brown-mid); transform: translateY(-3px); }

/* ── FOOTER ──────────────────────────────────────── */
footer { background: var(--charcoal); padding: 60px 5% 30px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4%; padding-bottom: 40px;  }
.footer-brand .logo-img { display: block; margin-bottom: 1rem; }
.footer-brand .logo-img img { height: 54px; width: auto; display: block; }

.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.45); max-width: 320px; }
.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { font-size: 0.88rem; color: rgba(255,255,255,0.45); padding: 0.3rem 0; }
.footer-col ul li a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--amber-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-bottom p span { color: var(--amber); }
/* ── SOCIAL LINKS ────────────────────────────────── */
.footer-social {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 0;
}
.footer-social a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--amber); }

/* ── TEAM CAROUSEL ───────────────────────────────── */
#team { padding: 100px 5%; background: var(--cream); }
#team .section-header h2 { color: var(--charcoal); }
#team .section-header .section-label { color: var(--amber); }
.team-scroll-wrap { position: relative; }
.team-carousel {
  display: flex; gap: 1.8rem;
  overflow-x: auto; scroll-behavior: smooth;
  padding: 1rem 0.5rem 2rem;
  scrollbar-width: thin; scrollbar-color: var(--amber) rgba(201,120,32,0.1);
  justify-content: safe center;
}
.team-carousel::-webkit-scrollbar { height: 4px; }
.team-carousel::-webkit-scrollbar-track { background: rgba(201,120,32,0.1); border-radius: 2px; }
.team-carousel::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 2px; }
.team-card {
  flex: 0 0 220px; background: #fff; border-radius: 4px;
  box-shadow: 0 4px 24px rgba(92,44,10,0.1);
  overflow: hidden; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 3px solid transparent;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(92,44,10,0.18); border-bottom-color: var(--amber); }
.team-photo-wrap {
  width: 100%; aspect-ratio: 1;
  overflow: hidden; background: var(--charcoal);
  position: relative;
}
.team-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.team-card:hover .team-photo-wrap img { transform: scale(1.05); }
.team-photo-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-mid) 100%);
}
.team-photo-placeholder svg { opacity: 0.35; }
.team-info { padding: 1.2rem 1.1rem 1.4rem; }
.team-name { font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.04em; color: var(--charcoal); margin-bottom: 0.2rem; }
.team-title { font-family: 'Barlow Condensed', sans-serif; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.7rem; }
.team-quote { font-size: 0.84rem; font-style: italic; line-height: 1.55; color: #7A5030; border-left: 2px solid var(--amber); padding-left: 0.7rem; }
.team-scroll-btn {
  position: absolute; top: 50%; transform: translateY(-60%);
  background: var(--charcoal); border: 1px solid rgba(201,120,32,0.3);
  color: #fff; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5; font-size: 1.1rem;
  transition: background 0.2s; box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.team-scroll-btn:hover { background: var(--amber); }
.team-scroll-btn.left { left: -18px; }
.team-scroll-btn.right { right: -18px; }

/* ── TEAM MODAL ──────────────────────────────────── */
.team-modal { display: none; position: fixed; inset: 0; background: rgba(10,6,2,0.88); z-index: 1000; align-items: flex-start; justify-content: center; padding: 2rem; overflow-y: auto;  }
.team-modal.open { display: flex; }
.team-modal-inner {
  background: #fff; border-radius: 6px; max-width: 440px; width: 100%;
  overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: fadeUp 0.35s ease both;
  margin: auto;
}
.team-modal-photo { width: 100%; background: var(--charcoal); position: relative; }
.team-modal-photo img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; display: block; }
.team-modal-photo .team-photo-placeholder { aspect-ratio: 4/3; height: 100%; }
.team-modal-body { padding: 1.8rem 2rem 2rem; }
.team-modal-name { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.2rem; }
.team-modal-title { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(92,44,10,0.12); }
.team-modal-bio { font-size: 0.93rem; line-height: 1.75; color: #5A3A1A; }
.team-modal-close { position: absolute; top: 1rem; right: 1rem; background: rgba(26,18,8,0.55); border: none; color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.team-modal-close:hover { background: var(--amber); }

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

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 120px 8% 60px; }
  .hero-left::after { display: none; }
  .hero-right { height: 320px; }
  #about { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  #stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .lb-prev { left: -42px; } .lb-next { right: -42px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #stats { grid-template-columns: 1fr 1fr; }
  .value-list { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .lb-prev, .lb-next { display: none; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

