/* Shared typography and layout refinements. Teal / amber / ivory retained. */
:root {
  --font-base: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --brand-accent-dark: #8E5B16;
  --success: #146C3A;
  --warning: #855414;
  --whatsapp: #137B42;
  --whatsapp-dark: #0E6335;
  --call: #0F5C5E;
}
html { scroll-padding-top: 140px; }
body { font-size: 16px; line-height: 1.7; }
button, input, textarea, select { font: inherit; }
p { margin: 0 0 1.1rem; }
strong { font-weight: 650; }
img { font-size: .9rem; }
.container { max-width: 1240px; padding-inline: clamp(1.25rem, 4vw, 2rem); }
.container-sm { max-width: 920px; }
.reading-page .container { max-width: 820px; }
.grid > *, .flex > *, .form-row > * { min-width: 0; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .grid-2, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
#main { min-height: 50vh; }
#main h1, #main h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.13;
  color: var(--brand-primary-dark);
  text-wrap: balance;
}
#main h1 { font-size: clamp(2.25rem, 4.2vw, 3.6rem); }
#main h2 { font-size: clamp(1.85rem, 3.1vw, 2.65rem); }
#main h3 { font-size: 1.18rem; line-height: 1.35; letter-spacing: -.015em; }
#main h4 { font-size: 1.02rem; line-height: 1.4; }
#main li { margin-bottom: .45rem; }
#main ul { padding-inline-start: 1.3rem; }
.section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.page-heading { margin-bottom: 2.5rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--border); }
.page-heading h1 { margin: .6rem 0 1rem; max-width: 24ch; }
.page-heading p { max-width: 64ch; margin: 0; font-size: 1.04rem; color: var(--text-muted); }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .72rem; line-height: 1.5; font-weight: 750;
  letter-spacing: .13em; text-transform: uppercase; color: var(--brand-primary);
}
.page-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand-accent); }
.reading-page h2, .reading-page h3 { margin-top: 2rem; }
.reading-page p, .reading-page li { max-width: 70ch; }
.reading-page .page-heading { margin-bottom: 2rem; }
.section-head h2 { margin-bottom: .8rem; }
.section-head .eyebrow { background: transparent; border: 0; border-radius: 0; padding: 0; letter-spacing: .14em; }
.section-head p { font-size: 1.02rem; max-width: 60ch; }
.nav { padding-block: 1rem; }
.nav-logo { gap: .85rem; flex-shrink: 0; }
.nav-logo__mark { width: 60px; height: 60px; box-shadow: none; }
.nav-logo__text strong { font-size: 1.2rem; letter-spacing: .09em; }
.nav-logo__text small { font-size: .74rem; margin-top: .25rem; }
.nav-links { gap: clamp(.8rem, 1.4vw, 1.3rem); }
.nav-links > a { font-size: .9rem; }
.nav-links a[aria-current="page"] { color: var(--brand-primary); font-weight: 750; }
.nav-links a.btn-accent { color: var(--brand-on-accent); }
.topbar { font-size: .78rem; }
.topbar-inner { padding-block: .45rem; }
.lang-switch a { min-height: 30px; display: inline-flex; align-items: center; }
@media (max-width: 1179px) { .nav-links { display: none; } .nav-toggle { display: block; } }
@media (min-width: 1180px) { .nav-links { display: flex; } .nav-toggle { display: none; } }
.mobile-menu { padding: .75rem clamp(1.25rem, 4vw, 2rem) 1.25rem; max-height: calc(100dvh - 200px); overflow-y: auto; }
.mobile-menu a { padding: .65rem .75rem; border-radius: 8px; font-size: .96rem; }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { background: var(--surface-muted); color: var(--brand-primary-dark); }
.mobile-menu a.btn-accent { background: var(--brand-accent); color: var(--brand-on-accent); }
.btn { min-height: 46px; padding: .75rem 1.2rem; font-size: .92rem; font-weight: 650; line-height: 1.3; letter-spacing: .005em; }
.btn:hover { transform: none; }
.btn-sm { min-height: 44px; font-size: .86rem; padding: .55rem .9rem; }
.btn-lg { min-height: 52px; padding: .9rem 1.35rem; font-size: .98rem; }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }
.btn-whatsapp, .hero-cinema .hero-cta .btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover, .hero-cinema .hero-cta .btn-whatsapp:hover { background: var(--whatsapp-dark); }
.gallery-tabs, .video-filter-row { gap: .5rem; margin-bottom: 2rem; }
.gallery-tabs a, .filter-chip, .video-filter { min-height: 44px; padding: .55rem .95rem; font-size: .85rem; box-shadow: none; }
.badge-success { color: var(--success); }
.badge-warn { color: var(--warning); }
.hero-cinema { min-height: 670px; align-items: center; }
.hero-cinema .hero-content { max-width: 1240px; padding: 5rem clamp(1.25rem, 4vw, 2rem); }
.hero-cinema .brand-mark {
  font-family: var(--font-base); font-size: .75rem; line-height: 1.65;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 650;
  max-width: 60ch; margin-bottom: 1.5rem; color: #F2CB88;
}
#main .hero-cinema h1 { color: #fff; font-size: clamp(2.65rem, 4.7vw, 4.4rem); line-height: 1.08; max-width: 19ch; margin-bottom: 1.5rem; }
.hero-cinema .tagline { max-width: 52ch; font-size: 1.05rem; line-height: 1.75; margin-bottom: 2rem; }
.hero-cinema .hero-cta { margin: 0; }
.hero-cinema .hero-bg { transform: none; transition: none; }
.hero-cinema:hover .hero-bg { transform: none; }
.product-card-premium .body { padding: 1.2rem; }
.product-card-premium .body h3 { font-size: 1.04rem; font-weight: 650; min-height: 2.8em; }
.product-card-premium .body .cat-tag { font-size: .67rem; letter-spacing: .1em; }
.product-card-premium .price { font-size: 1.2rem; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.product-card-premium .price-row { flex-wrap: wrap; gap: .3rem; }
.product-card-premium .unit { font-size: .78rem; }
.product-card-premium:hover, .feature-tile:hover, .trust-tile:hover, .product-card:hover { transform: none; }
.feature-tile:hover, .trust-tile:hover { box-shadow: none; border-color: var(--border); }
.product-detail h1 { max-width: 18ch; }
.product-price { background: var(--surface) !important; border: 1px solid var(--border); }
.product-price > div:first-child { font-size: 1.65rem !important; font-variant-numeric: tabular-nums; }
.product-detail .product-description { line-height: 1.8; }
.process-step { padding: 1.6rem; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.process-step .num { margin: 0 0 1.15rem; width: 38px; height: 38px; font-size: 1rem; background: var(--surface-muted); color: var(--brand-primary-dark); }
.process-step p { line-height: 1.8; }
.form-row { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-label { font-size: .88rem; font-weight: 650; margin-bottom: .5rem; }
.form-control, .form-textarea { min-height: 48px; color: var(--text); }
.form-textarea { line-height: 1.65; }
.form-hint { font-size: .82rem; line-height: 1.6; }
.form-notice { margin: 0 0 1.25rem; font-size: .85rem; color: var(--text-muted); }
.form-status { margin-top: 1rem; }
.form-status:empty, .form-error:empty { display: none; }
.honeypot { display: none !important; }
.empty-state { max-width: 720px; margin-inline: auto; padding: clamp(1.5rem, 5vw, 3rem) !important; }
.contact-details p { overflow-wrap: anywhere; }
.contact-details a { text-decoration: underline; text-underline-offset: 3px; }
.payment-details { table-layout: fixed; width: 100%; }
.payment-details th { width: 40%; }
.payment-details th, .payment-details td { overflow-wrap: anywhere; padding: .8rem .3rem; font-size: .88rem; }
.video-card { aspect-ratio: auto; background: var(--surface); }
.video-card video { position: absolute; inset: 0; }
.video-card__player { aspect-ratio: 16/9; }
.video-card .card-body { padding: 1.25rem; }
.video-modal { padding: 1rem; }
.video-modal .vm-frame { max-height: calc(100dvh - 5rem); }
.video-modal .vm-close { z-index: 5; min-width: 44px; min-height: 44px; }
.cart-list { display: grid; gap: 1rem; }
[hidden] { display: none !important; }
.cart-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.cart-item > img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; }
.cart-item .qty-control input { width: 58px; }
.cart-item .qty-control button { padding-inline: .8rem; }
.cart-totals { padding: 1.4rem; margin-top: 1.25rem; background: var(--surface-muted); border-radius: var(--r-lg); }
.row-line { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-block: .35rem; }
.row-line.total { border-top: 1px solid var(--border); margin-top: .75rem; padding-top: 1rem; font-weight: 750; font-size: 1.2rem; color: var(--brand-primary-dark); }
.text-left { text-align: left; }
.site-footer { margin-top: 0; padding-top: 3.5rem; }
.site-footer h4 { font-size: .95rem; line-height: 1.55; font-weight: 650; }
.site-footer p { line-height: 1.8; }
.site-footer a.btn-accent { color: var(--brand-on-accent); }
.site-footer .grid { gap: 2rem; }
.sticky-mobile-bar a { min-height: 64px; padding: .45rem .4rem calc(.45rem + env(safe-area-inset-bottom)); line-height: 1.35; }
.sticky-mobile-bar a > span:first-child { font-size: 1.05rem !important; line-height: 1.2; }
.toast-container { max-width: calc(100% - 2rem); width: max-content; }
.toast { overflow-wrap: anywhere; }
.auth-brand h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; letter-spacing: -.035em; }
.auth-brand p { line-height: 1.65; }
.admin-body h1, .admin-body h2, .admin-body h3 { font-family: var(--font-base); text-wrap: balance; }
.admin-body h1 { font-size: clamp(1.6rem, 3vw, 2rem); letter-spacing: -.03em; }
.admin-content p { max-width: 75ch; }
.admin-content .table { line-height: 1.55; }
.table-scroll-hint { display: none; font-size: .8rem; color: var(--text-muted); }
@media (max-width: 980px) { .table-scroll-hint { display: block; } }
@media (max-width: 639px) {
  .page-heading { margin-bottom: 1.8rem; padding-bottom: 1.4rem; }
  .page-heading h1 { font-size: 2.3rem; }
  .page-heading p { font-size: .96rem; }
  .nav-logo__mark { width: 48px; height: 48px; }
  .nav-logo__text strong { font-size: 1.05rem; }
  .hero-cinema { min-height: 610px; }
  .hero-cinema .hero-content { padding-block: 3rem; }
  #main .hero-cinema h1 { font-size: clamp(2.35rem, 9.5vw, 3.2rem); }
  .hero-cinema .brand-mark { font-size: .65rem; letter-spacing: .1em; }
  .hero-cinema .tagline { font-size: .98rem; }
  .hero-cta .btn { width: 100%; }
  .topbar-inner { gap: .25rem; }
  .topbar-inner > div:first-child { font-size: .69rem; overflow-wrap: anywhere; }
  .cart-item { grid-template-columns: 64px minmax(0, 1fr); gap: .8rem; padding: 1rem; }
  .cart-item > img { width: 64px; height: 64px; }
  .cart-item > div:last-child { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
  .cart-item > div:last-child .btn { margin-left: 0 !important; }
  .btn { white-space: normal; }
  .payment-details th, .payment-details td { font-size: .83rem; }
}
/* Content never depends on an animation completing. */
.fade-up { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
