/* ===================================
   BART — LINDDNA Theme
   =================================== */

:root {
  --bg: #f5f5f5;
  --bg-accent: #ecebe6;
  --bg-dark: #1a1a1a;
  --text: #1a1a1a;
  --text-muted: #5a5752;
  --accent: #8b6f47;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, Georgia, sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.2; color: var(--text); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: .5rem; }
h4 { font-size: 1.15rem; margin-bottom: .5rem; }
p { color: var(--text-muted); margin-bottom: 1rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }

/* === BUTTONS === */
.btn { display: inline-block; padding: .95rem 1.75rem; font-family: var(--sans); font-size: .9rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; border: 1.5px solid transparent; border-radius: 2px; cursor: pointer; transition: all .25s; }
.btn--primary { background: var(--accent); color: #f5f5f5; border-color: var(--accent); }
.btn--primary:hover { background: var(--text); border-color: var(--text); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #f8f4ec; border-color: #f8f4ec; }
.btn--ghost:hover { background: #f8f4ec; color: var(--text); }

/* === ANNOUNCE BAR === */
.announce-bar { display: flex; justify-content: space-between; padding: 8px 48px; background: var(--bg-accent); font-size: 11px; letter-spacing: 3px; color: var(--accent); border-bottom: 0.5px solid rgba(0,0,0,0.06); }

/* === HERO WRAP === */
.hero-wrap { max-width: 1800px; margin: 0 auto; background: #1a1a1a; position: relative; }
.hero-wrap > .header { position: absolute; top: 0; left: 0; right: 0; }
.hero { position: relative; aspect-ratio: 16/9; width: 100%; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.12) 18%, rgba(0,0,0,0) 40%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.25) 100%); pointer-events: none; }

/* === HEADER OVERLAY === */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center; padding: 22px 48px 16px; }
.nav-left, .nav-right { display: flex; gap: 28px; font-size: 14px; letter-spacing: 2.8px; color: #fff; font-weight: 700; text-shadow: 0 2px 6px rgba(0,0,0,0.7), 0 0 2px rgba(0,0,0,0.5); align-items: center; }
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-left span, .nav-right > span { cursor: pointer; transition: opacity .2s; }
.nav-left span:hover, .nav-right > span:hover { opacity: .75; }
.nav-pro { color: #f0d4a0 !important; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.55); }
.logo-holder { display: flex; justify-content: center; }
.logo-holder img { height: 70px; width: auto; filter: invert(1) brightness(1.05) drop-shadow(0 2px 5px rgba(0,0,0,0.55)); }

/* Lang switch in header */
.lang-switch { display: flex; gap: 0; }
.lang-switch button { background: transparent; border: none; font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 2.8px; color: #e8c89a; cursor: pointer; padding: 0 5px; text-shadow: 0 1px 3px rgba(0,0,0,0.55); transition: opacity .2s; }
.lang-switch button:not(:last-child)::after { content: '·'; padding-left: 5px; opacity: .6; color: #e8c89a; }
.lang-switch button.active { color: #fff; }
.lang-switch button:hover { opacity: .8; }
.lang-select { display: none; }

/* === HERO TEXT === */
.hero-text { position: absolute; bottom: 44px; left: 48px; right: 48px; max-width: 560px; color: #f8f4ec; text-shadow: 0 2px 14px rgba(0,0,0,0.5); z-index: 5; }
.hero-eyebrow { font-size: 11px; letter-spacing: 5px; margin-bottom: 14px; font-family: var(--sans); }
.hero-h1 { font-family: var(--serif); font-size: 46px; line-height: 1.05; font-weight: 400; font-style: italic; margin-bottom: 16px; color: #f8f4ec; letter-spacing: 0; }
.hero-cta { display: inline-block; border-bottom: 0.5px solid #f8f4ec; font-size: 12px; letter-spacing: 3px; padding-bottom: 3px; cursor: pointer; transition: opacity .2s; font-family: var(--sans); }
.hero-cta:hover { opacity: .8; }

/* === MOBILE NAV STRIP === */
.mobile-only { display: none; }
.mobile-nav { display: none; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; gap: 18px; padding: 14px 20px; background: var(--bg-accent); font-size: 11px; letter-spacing: 2px; color: #2a2a2a; border-bottom: 0.5px solid rgba(0,0,0,0.06); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.mobile-nav::-webkit-scrollbar { display: none; }
.mobile-nav span { flex-shrink: 0; white-space: nowrap; cursor: pointer; }
.mobile-nav .pro { color: var(--accent); }

/* === PROGRAMS SECTION === */
.section-head { padding: 64px 48px 24px; text-align: center; }
.section-eyebrow { font-size: 11px; letter-spacing: 5px; color: var(--accent); margin-bottom: 12px; font-family: var(--sans); }
.section-title { font-family: var(--serif); font-size: 32px; font-weight: 400; color: var(--text); }

.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(0,0,0,0.08); margin: 0 48px 24px; }
.program { padding: 28px 22px; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; cursor: pointer; transition: filter .2s; }
.program:not(.prog-8):hover { filter: brightness(.93); }
.program-dot { position: absolute; top: 28px; left: 22px; width: 28px; height: 28px; background: var(--accent); border-radius: 2px; }
.program-title { font-family: var(--serif); font-size: 22px; margin-bottom: 4px; color: inherit; }
.program-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.prog-1 { background: #ecebe6; } .prog-1 .program-dot { background: #8b6f47; }
.prog-2 { background: #dfdcd3; } .prog-2 .program-dot { background: #2a3f35; }
.prog-3 { background: #e8e5de; } .prog-3 .program-dot { background: #c4bea6; }
.prog-4 { background: #e5e2d8; } .prog-4 .program-dot { background: #e8dfc4; border: 0.5px solid rgba(0,0,0,0.1); }
.prog-5 { background: #d8d4c9; } .prog-5 .program-dot { background: #3a3f4a; }
.prog-6 { background: #e9e5d9; } .prog-6 .program-dot { background: #8b6f47; }
.prog-7 { background: #2a2a2a; color: #e9e8e3; } .prog-7 .program-dot { background: #8b6f47; } .prog-7 .program-desc { color: rgba(233,232,227,0.7); }
.prog-8 { background: #ecebe6; cursor: default; }
.prog-8 .program-title { font-size: 19px; line-height: 1.2; }
.prog-8-eyebrow { position: absolute; top: 28px; left: 22px; font-size: 10px; letter-spacing: 2px; color: var(--accent); font-family: var(--sans); }

/* === PULL QUOTE === */
.pull-quote { background: var(--bg-accent); padding: 72px 48px; text-align: center; }
.pq-eyebrow { font-size: 11px; letter-spacing: 5px; color: var(--accent); margin-bottom: 14px; font-family: var(--sans); }
.pq-text { font-family: var(--serif); font-size: 32px; line-height: 1.35; max-width: 620px; margin: 0 auto 22px; font-style: italic; color: var(--text); }
.pq-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 680px; margin: 44px auto 0; }
.stat-num { font-family: var(--serif); font-size: 38px; color: var(--accent); }
.stat-label { font-size: 11px; letter-spacing: 3px; color: var(--text-muted); margin-top: 4px; font-family: var(--sans); }

/* === SHARED SECTIONS === */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--cream { background: var(--bg-accent); }
.section--dark { background: var(--bg-dark); color: #e9e8e3; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #f8f4ec; }
.section--dark p { color: rgba(233,232,227,0.8); }
.section__lead { max-width: 65ch; font-size: 1.05rem; margin-bottom: 2.5rem; }
.eyebrow { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; display: inline-block; }
.eyebrow--light { color: #d4a96a; }

/* === ABOUT === */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.pill-list li { background: #fff; border: 1px solid rgba(0,0,0,0.08); padding: .4rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--accent); }

/* === SEGMENTS === */
.segments { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.segment { background: rgba(255,255,255,.04); border: 1px solid rgba(212,169,106,.2); padding: 2.25rem; border-radius: 4px; }
.segment h3 { color: #d4a96a; font-size: 1.6rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(212,169,106,.2); }
.segment ul { list-style: none; }
.segment ul li { padding: .6rem 0 .6rem 1.2rem; position: relative; color: rgba(233,232,227,0.85); font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.05); }
.segment ul li:last-child { border-bottom: none; }
.segment ul li::before { content: '—'; position: absolute; left: 0; color: #d4a96a; }

/* === PROCESS === */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 3rem; }
.step { border-left: 2px solid var(--accent); padding-left: 1.5rem; }
.step__num { font-family: var(--serif); font-size: 2.2rem; color: var(--accent); display: block; margin-bottom: .5rem; font-weight: 300; }
.step p { font-size: .95rem; }

/* === GALLERY === */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; gap: .75rem; margin-top: 2.5rem; }
.gallery__item { grid-column: span 2; position: relative; overflow: hidden; border-radius: 4px; background: var(--bg-accent); cursor: pointer; }
.gallery__item--lg { grid-column: span 4; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: .75rem 1rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; font-size: .8rem; letter-spacing: .05em; opacity: 0; transition: opacity .3s; }
.gallery__item:hover figcaption { opacity: 1; }

/* === REFERENCES === */
.refs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.ref { background: #fff; border: 1px solid rgba(0,0,0,0.08); padding: .85rem 1.5rem; border-radius: 2px; font-family: var(--serif); font-size: 1.05rem; color: var(--text); letter-spacing: .02em; transition: all .25s; }
.ref:hover { background: var(--accent); color: #f5f5f5; border-color: var(--accent); transform: translateY(-2px); }

/* === CONTACT + FORM === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.contact-info { margin-top: 2rem; display: grid; gap: 1.25rem; }
.contact-info__item { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.contact-info__label { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: #d4a96a; min-width: 70px; }
.contact-info__item a { color: #e9e8e3; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.contact-info__item a:hover { border-bottom-color: #d4a96a; }
.wa-link { font-size: .75rem !important; padding: .25rem .65rem !important; background: rgba(37,211,102,.15) !important; border: 1px solid #25d366 !important; color: #25d366 !important; border-radius: 3px; }
.wa-link:hover { background: #25d366 !important; color: var(--bg-dark) !important; }
.form { background: rgba(255,255,255,.04); border: 1px solid rgba(212,169,106,.2); padding: 2.5rem; border-radius: 4px; display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; }
.form label span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #d4a96a; font-weight: 500; }
.form input, .form select, .form textarea { background: rgba(0,0,0,.2); border: 1px solid rgba(212,169,106,.25); padding: .85rem 1rem; color: #e9e8e3; font-family: var(--sans); font-size: .95rem; border-radius: 2px; transition: all .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: #d4a96a; background: rgba(0,0,0,.35); }
.form textarea { resize: vertical; font-family: var(--sans); }
.form .btn { margin-top: .5rem; justify-self: start; }

/* === FOOTER (dark, 4-col) === */
.footer { background: var(--bg-dark); color: #e9e8e3; padding: 64px 48px 36px; }
.footer-top { text-align: center; padding-bottom: 44px; border-bottom: 0.5px solid rgba(255,255,255,0.14); }
.footer-top img { height: 80px; margin: 0 auto 16px; }
.footer-tagline { font-size: 11px; letter-spacing: 4px; opacity: 0.55; font-family: var(--sans); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-top: 40px; }
.footer-col h4 { font-family: var(--sans); font-size: 10px; letter-spacing: 3px; opacity: 0.55; font-weight: 400; margin-bottom: 12px; text-transform: uppercase; color: #e9e8e3; }
.footer-col p, .footer-col a { font-size: 13px; line-height: 1.9; opacity: 0.85; color: #e9e8e3; display: block; }
.footer-col a:hover { opacity: 1; color: #d4a96a; }
.footer-col ul { list-style: none; }
.footer-col li { font-size: 13px; line-height: 1.9; opacity: 0.85; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 0.5px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 2px; opacity: 0.5; font-family: var(--sans); }

/* === WHATSAPP FLOAT === */
.wa-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: #25d366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,.35); z-index: 99; transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }

/* === CATEGORY MODAL === */
.cat-modal { position: fixed; inset: 0; background: rgba(26,20,16,.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 200; display: none; overflow-y: auto; padding: 2rem 1rem; }
.cat-modal.open { display: block; }
body.modal-open { overflow: hidden; }
.cat-modal__inner { max-width: 1100px; margin: 0 auto; background: var(--bg); border-radius: 6px; padding: clamp(1.5rem, 4vw, 3rem); position: relative; animation: catIn .28s ease; }
@keyframes catIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.cat-modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; background: var(--bg-dark); color: #f5f5f5; border: none; border-radius: 50%; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .2s, background .2s; z-index: 2; }
.cat-modal__close:hover { background: var(--accent); transform: rotate(90deg); }
.cat-modal__head { margin-bottom: 2rem; max-width: 70ch; }
.cat-modal__eyebrow { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; }
.cat-modal__title { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .75rem; color: var(--text); }
.cat-modal__desc { color: var(--text-muted); font-size: 1rem; line-height: 1.65; }
.cat-modal__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.cat-modal__item { background: var(--bg-accent); border-radius: 4px; overflow: hidden; aspect-ratio: 1/1; cursor: zoom-in; display: flex; align-items: center; justify-content: center; transition: transform .25s; border: none; padding: 0; }
.cat-modal__item:hover { transform: translateY(-2px); }
.cat-modal__item img { width: 100%; height: 100%; object-fit: contain; background: var(--bg-accent); transition: transform .4s; }
.cat-modal__cta { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.08); display: flex; gap: 1rem; flex-wrap: wrap; }

/* === ZOOM LIGHTBOX === */
.cat-zoom { position: fixed; inset: 0; background: rgba(0,0,0,.95); display: none; align-items: center; justify-content: center; z-index: 300; padding: 2rem; cursor: zoom-out; }
.cat-zoom.open { display: flex; }
.cat-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-zoom__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; background: rgba(255,255,255,.1); color: #f5f5f5; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cat-zoom__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: rgba(255,255,255,.1); color: #f5f5f5; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cat-zoom__nav:hover { background: rgba(255,255,255,.2); }
.cat-zoom__nav--prev { left: 16px; }
.cat-zoom__nav--next { right: 16px; }
.cat-zoom__counter { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: rgba(233,232,227,0.8); font-size: .85rem; letter-spacing: .1em; background: rgba(0,0,0,.4); padding: .4rem .85rem; border-radius: 20px; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery__item { grid-column: span 1; }
  .gallery__item--lg { grid-column: span 2; grid-row: span 2; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .announce-bar { padding: 8px 20px; font-size: 9px; letter-spacing: 2px; gap: 8px; flex-wrap: wrap; justify-content: center; }
  .announce-bar span { text-align: center; }

  .header { grid-template-columns: 1fr auto 1fr; padding: 0 16px 4px; gap: 0; }
  .nav-left { display: block; visibility: hidden; grid-column: 1; }
  .logo-holder { grid-column: 2; transform: translateX(10px); }
  .logo-holder img { height: 44px; filter: invert(1) brightness(1.05) drop-shadow(0 2px 5px rgba(0,0,0,0.6)); }
  .nav-right { grid-column: 3; justify-content: flex-end; gap: 0; flex-wrap: nowrap; align-items: center; }
  .nav-right > span { display: none; }
  .lang-switch button { display: none; }
  .lang-select {
    display: inline-block;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.55);
    color: #fff;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 4px 22px 4px 10px;
    border-radius: 3px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.55);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%23ffffff' d='M6 8 0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 8px 6px;
    cursor: pointer;
    outline: none;
  }
  .lang-select option { background: #1a1a1a; color: #fff; }

  .hero { aspect-ratio: 4/5; }
  .hero-img { object-position: center 65%; }
  .hero-text { left: 24px; right: 24px; bottom: 70px; }
  .hero-h1 { font-size: 30px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: 4px; margin-bottom: 12px; }

  .mobile-only { display: flex; }
  .mobile-nav { display: flex; }

  .section-head { padding: 44px 20px 20px; }
  .section-title { font-size: 24px; }
  .programs { grid-template-columns: repeat(2, 1fr); margin: 0 20px 20px; }
  .program { padding: 22px 18px; min-height: 130px; }
  .program-dot { width: 22px; height: 22px; top: 22px; left: 18px; }
  .program-title { font-size: 19px; }
  .program-desc { font-size: 11px; }
  .prog-8 .program-title { font-size: 17px; }

  .pull-quote { padding: 48px 24px; }
  .pq-text { font-size: 22px; }
  .pq-stats { gap: 16px; margin-top: 32px; }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 10px; }

  .footer { padding: 44px 24px 28px; }
  .footer-top { padding-bottom: 32px; }
  .footer-top img { height: 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; align-items: center; text-align: center; }

  .cat-modal { padding: 1rem 0; }
  .cat-modal__inner { border-radius: 0; }
  .cat-modal__grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
}

@media (max-width: 500px) {
  .form { padding: 1.5rem; }
}
