:root {
  --ink: #30251f;
  --cocoa: #4a352c;
  --cocoa-dark: #211814;
  --sand: #c5a878;
  --sand-light: #eadfcf;
  --cream: #f7f2ea;
  --paper: #fffdf9;
  --muted: #766a63;
  --line: rgba(74, 53, 44, .16);
  --shadow: 0 20px 55px rgba(46, 32, 26, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Inter", system-ui, sans-serif; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #977747; outline-offset: 4px; }

.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { margin: 0 0 14px; color: #8a6c3f; font-weight: 800; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; }
.display, h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.12; }
h2 { margin: 0; font-size: clamp(2.15rem, 4vw, 3.8rem); letter-spacing: -.03em; }
.lead { max-width: 710px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: 44px; }
.section-head.center { justify-items: center; text-align: center; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(255,253,249,.94); backdrop-filter: blur(14px); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand > img { width: 56px; height: 56px; padding: 5px; border: 1px solid rgba(197,168,120,.48); border-radius: 14px; background: radial-gradient(circle at 50% 42%, #5d432a, var(--cocoa-dark) 72%); object-fit: contain; box-shadow: 0 8px 20px rgba(46,32,26,.16); }
.brand strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; line-height: 1; }
.brand span { display: block; margin-top: 5px; color: #8a6c3f; font-size: .62rem; font-weight: 800; letter-spacing: .17em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: .9rem; font-weight: 700; text-decoration: none; }
.nav-member { padding: 0; border: 0; background: transparent; color: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.nav-member:hover { color: #8a6c3f; }
.nav-links a:not(.button):hover { color: #8a6c3f; }
.menu-toggle { display: none; padding: 9px; border: 0; background: transparent; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; background: var(--cocoa); color: white; font-weight: 800; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { background: var(--cocoa-dark); transform: translateY(-2px); }
.button.light { background: var(--paper); color: var(--cocoa); }
.button.ghost { border-color: rgba(255,255,255,.55); background: transparent; color: white; }
.button.outline { border-color: var(--cocoa); background: transparent; color: var(--cocoa); }
.button.small { min-height: 42px; padding: 9px 18px; font-size: .86rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { position: relative; overflow: hidden; background: var(--cocoa-dark); color: white; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(197,168,120,.22), transparent 34%); pointer-events: none; }
.hero-grid { position: relative; min-height: min(760px, calc(100vh - 82px)); display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: 88px 7vw 88px max(20px, calc((100vw - 1160px)/2)); }
.hero h1 { max-width: 640px; margin: 0 0 24px; font-size: clamp(3rem, 6vw, 6.2rem); letter-spacing: -.045em; }
.hero h1 em { color: var(--sand); font-style: normal; }
.hero .lead { margin: 0 0 34px; color: #e7ddd5; }
.hero-photo { min-height: 620px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-photo::after { content: ""; position: absolute; z-index: 1; inset: 0 50% 0 0; background: linear-gradient(90deg, var(--cocoa-dark), transparent); pointer-events: none; }

.trust-bar { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-list { min-height: 92px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; text-align: center; }
.trust-list span { padding: 9px 18px; color: #65534a; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.trust-list span + span { border-left: 1px solid var(--line); }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card { position: relative; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 8px 30px rgba(46,32,26,.05); }
.service-card .number { color: var(--sand); font: 700 1rem "Playfair Display", Georgia, serif; }
.service-card h3 { margin: 20px 0 12px; font-size: 1.6rem; }
.service-card p { margin: 0 0 24px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: #70542f; font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(40px, 7vw, 90px); }
.portrait-card { position: relative; }
.portrait-card::before { content: ""; position: absolute; inset: 24px -20px -20px 24px; border: 1px solid var(--sand); border-radius: var(--radius); }
.portrait-card img { position: relative; width: 100%; max-height: 680px; aspect-ratio: 4/5; object-fit: cover; object-position: 52% center; border-radius: var(--radius); box-shadow: var(--shadow); }
.credentials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; margin: 28px 0 0; list-style: none; }
.credentials li { padding: 13px 15px 13px 38px; border-radius: 14px; background: var(--cream); font-size: .9rem; position: relative; }
.credentials li::before { content: "✦"; position: absolute; left: 15px; color: #9a7742; }

.workshops { overflow: hidden; background: var(--cocoa-dark); color: white; }
.workshop-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.workshop-image { min-height: 560px; border-radius: var(--radius); overflow: hidden; }
.workshop-image img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: center; }
.workshop-copy .lead { color: #d9cec6; }
.workshop-list { display: grid; gap: 12px; margin: 28px 0 32px; }
.workshop-item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.workshop-item strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.12rem; }
.workshop-item a { color: var(--sand); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }

.library-teaser { background: linear-gradient(135deg, #e9dcc8, #f9f5ef); }
.teaser-card { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border-radius: 32px; background: var(--paper); box-shadow: var(--shadow); }
.teaser-copy { padding: clamp(38px, 6vw, 74px); }
.teaser-copy p { max-width: 590px; color: var(--muted); }
.teaser-image { min-height: 400px; }
.teaser-image img { width: 100%; height: 100%; object-fit: cover; }
.demo-label { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; background: var(--sand-light); color: #694f2d; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.auth-modal { position: fixed; z-index: 100; inset: 0; display: grid; padding: 20px; place-items: center; overflow-x: hidden; overflow-y: auto; background: rgba(25,17,14,.72); backdrop-filter: blur(8px); }
.auth-modal[hidden] { display: none; }
body.modal-open { overflow: hidden; }
.auth-card, .member-gate-card { position: relative; width: min(100%, 490px); padding: clamp(30px, 5vw, 48px); border: 1px solid var(--line); border-radius: 28px; background: var(--paper); box-shadow: 0 28px 80px rgba(25,17,14,.28); }
.auth-card h2, .member-gate-card h1 { margin: 7px 0 14px; font-size: clamp(2.25rem, 5vw, 3.3rem); }
.auth-card > p:not(.eyebrow):not(.auth-help), .member-gate-card > p:not(.eyebrow):not(.auth-help) { margin: 0 0 26px; color: var(--muted); }
.auth-close { position: absolute; top: 16px; right: 18px; display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 50%; background: var(--cream); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.member-lock { display: grid; width: 54px; height: 54px; margin-bottom: 22px; place-items: center; border-radius: 50%; background: var(--cocoa); color: var(--sand); font-size: 1.35rem; }
.auth-form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; color: var(--ink); font-size: .84rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(74,53,44,.28); border-radius: 12px; background: white; color: var(--ink); }
.field textarea { min-height: 116px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #977747; outline: 3px solid rgba(151,119,71,.18); }
.text-button { padding: 6px; border: 0; background: transparent; color: #70542f; font-weight: 800; cursor: pointer; }
.text-button:hover { text-decoration: underline; }
.form-status { min-height: 1.4em; margin: 0; color: #9b352b; font-size: .86rem; text-align: center; }
.form-status.success { color: #35704a; }
.auth-help { margin: 18px 0 0; color: var(--muted); font-size: .86rem; text-align: center; }
.auth-help a { color: #70542f; font-weight: 800; }

.inspiration { background: var(--paper); }
.diwali-story { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; min-height: 410px; margin-bottom: clamp(72px, 9vw, 110px); overflow: hidden; border-radius: 32px; background: linear-gradient(135deg, #211814, #593d2f); color: white; box-shadow: var(--shadow); }
.diwali-copy { position: relative; z-index: 2; align-self: center; padding: clamp(42px, 6vw, 76px); }
.diwali-copy .eyebrow { color: #dcc394; }
.diwali-copy h2 { max-width: 680px; }
.diwali-copy > p:not(.eyebrow) { max-width: 670px; margin: 22px 0; color: #e8ddd5; font-size: 1.04rem; }
.diwali-copy blockquote { margin: 28px 0 0; padding-left: 20px; border-left: 2px solid var(--sand); color: #f3e5ce; font: 600 clamp(1.15rem, 2vw, 1.5rem) "Playfair Display", Georgia, serif; }
.diwali-art { position: relative; display: grid; min-height: 360px; place-items: center; padding: 34px; background: radial-gradient(circle, rgba(232,199,132,.28), transparent 66%); }
.diwali-art::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border: 1px solid rgba(232,199,132,.28); border-radius: 50%; }
.diwali-art img { position: relative; width: min(100%, 410px); height: auto; filter: drop-shadow(0 20px 34px rgba(0,0,0,.28)); }
.mentor-intro { max-width: 820px; margin-bottom: 44px; }
.inspiration-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: start; }
.mentor-list { display: grid; gap: 10px; }
.mentor-list details { padding: 0 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); }
.mentor-list details[open] { border-color: rgba(154,119,66,.42); background: #fbf6ee; }
.mentor-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; cursor: pointer; list-style: none; font: 700 1.1rem "Playfair Display", Georgia, serif; }
.mentor-list summary::-webkit-details-marker { display: none; }
.mentor-list summary::after { content: "+"; color: #8a6c3f; font: 500 1.35rem "Inter", system-ui, sans-serif; }
.mentor-list details[open] summary::after { content: "−"; }
.mentor-list p { margin: 0; padding: 0 0 20px; color: var(--muted); font-size: .94rem; }
.photo-collage { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 230px 230px; gap: 12px; }
.photo-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.photo-collage img:first-child { grid-row: 1 / 3; }

.contact { background: var(--cocoa); color: white; }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(42px, 7vw, 90px); align-items: center; }
.contact .lead { color: #e5dcd5; }
.contact-form { display: grid; gap: 17px; padding: clamp(26px, 4vw, 38px); border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius); background: rgba(255,255,255,.09); box-shadow: 0 20px 50px rgba(28,19,16,.2); }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-form .field small { color: #d9cec6; font-size: .72rem; font-weight: 600; }
.contact-form .field { color: white; }
.contact-form .field input, .contact-form .field select, .contact-form .field textarea { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.96); }
.contact-form .button { width: 100%; }
.contact-form .button:disabled { cursor: wait; opacity: .72; transform: none; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.contact-status { min-height: 1.35em; margin: -2px 0 0; color: #f0dfc4; font-size: .86rem; text-align: center; }
.contact-status.success { color: #d8f0df; }
.contact-whatsapp { justify-self: center; color: #f5dfba; font-size: .9rem; font-weight: 800; text-decoration: none; }
.contact-whatsapp:hover { text-decoration: underline; }
.contact-whatsapp[hidden] { display: none; }
.contact-note { margin: -4px 0 0; color: #d9cec6; font-size: .78rem; text-align: center; }

.site-footer { padding: 30px 0; background: var(--cocoa-dark); color: #d8cec7; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; font-size: .82rem; }
.whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #198754; color: white; box-shadow: 0 12px 28px rgba(0,0,0,.22); text-decoration: none; }
.whatsapp svg { width: 28px; height: 28px; }

/* Biblioteca */
.library-hero { padding: 78px 0 56px; background: var(--cocoa-dark); color: white; }
.library-hero h1 { max-width: 820px; margin: 10px 0 20px; font-size: clamp(2.8rem, 6vw, 5.3rem); }
.library-hero .lead { color: #ded3cc; }
.notice { margin-top: 30px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 16px; background: rgba(255,255,255,.08); color: #e8dfd8; font-size: .9rem; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.resource-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 10px 30px rgba(46,32,26,.06); }
.resource-image { position: relative; height: 230px; overflow: hidden; }
.resource-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.resource-card:hover .resource-image img { transform: scale(1.035); }
.play { position: absolute; inset: 50% auto auto 50%; display: grid; width: 58px; height: 58px; transform: translate(-50%,-50%); place-items: center; border: 0; border-radius: 50%; background: rgba(255,253,249,.94); color: var(--cocoa); font-weight: 900; text-decoration: none; box-shadow: 0 6px 24px rgba(0,0,0,.22); cursor: pointer; }
.resource-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.resource-body h2 { margin: 12px 0; font-size: 1.55rem; }
.resource-body p { flex: 1; margin: 0 0 22px; color: var(--muted); }
.source { color: #8a6c3f; font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.resource-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cocoa-dark); }
.resource-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.resource-credit { color: #8b817b; font-size: .76rem; font-weight: 700; }
.member-loading, .member-gate { min-height: calc(100vh - 82px); padding: 70px 20px; }
.member-loading { display: grid; place-items: center; align-content: center; background: linear-gradient(135deg, #efe3d2, #fbf8f3); color: var(--muted); text-align: center; }
.member-loading .member-lock { margin-inline: auto; }
.member-gate { display: grid; place-items: center; background: radial-gradient(circle at 50% 25%, rgba(197,168,120,.28), transparent 32%), var(--cocoa-dark); }
.member-gate[hidden], .member-loading[hidden], #member-content[hidden] { display: none; }
.member-actions { display: flex; align-items: center; gap: 14px; }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { position: fixed; inset: 82px 0 auto; display: none; padding: 22px 20px 28px; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; }
  .nav-member { padding: 13px 0; text-align: left; }
  .nav-links .button { margin-top: 10px; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 20px 52px; }
  .hero-photo { min-height: 520px; }
  .hero-photo::after { inset: 0 0 70% 0; background: linear-gradient(180deg, var(--cocoa-dark), transparent); }
  .about-grid, .workshop-feature, .teaser-card, .diwali-story, .inspiration-grid, .contact-grid { grid-template-columns: 1fr; }
  .teaser-image { order: -1; min-height: 330px; }
  .diwali-art { order: -1; min-height: 300px; }
  .resource-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .contact-fields { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .brand { gap: 10px; }
  .brand > img { width: 52px; height: 52px; }
  .brand span { letter-spacing: .11em; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .hero-photo { min-height: 440px; }
  .trust-list { padding: 14px 0; grid-template-columns: 1fr; }
  .trust-list span + span { border-top: 1px solid var(--line); border-left: 0; }
  .service-grid, .credentials, .resource-grid { grid-template-columns: 1fr; }
  .service-card { padding: 26px; }
  .portrait-card::before { inset: 15px -8px -10px 15px; }
  .workshop-image, .workshop-image img { min-height: 420px; }
  .workshop-item { grid-template-columns: 1fr; }
  .photo-collage { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 180px; }
  .photo-collage img:first-child { grid-column: 1 / 3; grid-row: auto; }
  .diwali-art { min-height: 250px; padding: 28px; }
  .diwali-art img { max-width: 270px; }
  .diwali-copy { padding: 36px 26px 42px; }
  .footer-row { flex-direction: column; }
  .member-actions .text-button { display: none; }
  .member-gate { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
