/* ── BSE Shared Styles — Vibrant Orange Edition ── */
:root {
  /* Core Orange Palette */
  --flame: #D4480A;           /* deep flame orange — primary actions */
  --flame-hover: #B83D08;     /* darker flame for hover */
  --amber: #F07C1A;           /* warm amber — secondary accent */
  --gold: #F5A623;            /* bright gold — highlights, em text */
  --gold-pale: #FEF3E2;       /* near-white gold tint */
  --gold-glow: #FDE8B8;       /* warm glow surface */

  /* Rich Orange Backgrounds */
  --dark-mahogany: #7A1E00;   /* deep orange-red — nav/header bg */
  --dark-brown: #9E2800;      /* mid orange */
  --rich-walnut: #A83500;     /* lifted orange surface */

  /* Neutrals */
  --cream: #FAF6EF;
  --warm-white: #FDFAF5;
  --text-dark: #1C1009;       /* warm dark instead of cold black */
  --text-mid: #6B4E37;        /* warm brown-gray */
  --border: rgba(212,72,10,0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a, a:link, a:visited, a:hover, a:active, a:focus { text-decoration: none; color: inherit; }
input, select, textarea, button {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}
a, button { touch-action: manipulation; }

/* ── Remove browser-default outlines ── */
*, *:focus, *:active { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::selection { background: var(--flame); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gold-pale); }
::-webkit-scrollbar-thumb { background: var(--flame); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--amber); }

/* ── NAV ── */
nav {
  background: linear-gradient(135deg, #7A1E00 0%, #A82D00 100%);
  border-bottom: 1px solid rgba(245,166,35,0.3);
  position: sticky; top: 0; z-index: 100;
  color: #fff;
}
.nav-brand { color: var(--gold) !important; }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-logo-img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(245,166,35,0.6); }
.nav-title { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: #fff; line-height: 1.2; }
.nav-links { display: flex; gap: 0.15rem; list-style: none; align-items: center; }
.nav-links a {
  color: #fff; font-size: 0.97rem; font-weight: 500;
  padding: 0.5rem 0.9rem; border-radius: 4px; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(245,166,35,0.1);
}
.nav-links .nav-cta {
  background: var(--flame); color: #fff !important;
  padding: 0.5rem 1.1rem !important; border-radius: 4px; font-weight: 500;
  border: 1px solid transparent;
}
.nav-links .nav-cta:hover {
  background: var(--amber) !important;
  box-shadow: 0 0 0 3px rgba(240,124,26,0.25);
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.85); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(150deg, #7A1E00 0%, var(--flame) 55%, var(--amber) 100%);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(255,255,255,0.08), transparent 65%);
}
.page-header-inner { position: relative; z-index: 1; }
.page-label {
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 0.5rem; font-weight: 500;
}
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600; color: #fff; line-height: 1.2;
}
.page-title em { color: #fff; font-style: normal; }
.page-subtitle {
  font-size: 0.95rem; color: rgba(255,255,255,0.6);
  font-weight: 300; margin-top: 0.75rem; max-width: 500px; margin-left: auto; margin-right: auto;
}

/* ── SECTION ── */
section { padding: 4.5rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--flame); margin-bottom: 0.4rem; font-weight: 500;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600; color: var(--dark-mahogany); line-height: 1.2; margin-bottom: 0.75rem;
}
.section-title em { color: var(--dark-mahogany); font-style: normal; }
.section-intro { font-size: 0.97rem; color: var(--text-mid); line-height: 1.75; max-width: 580px; font-weight: 300; }
.divider { width: 40px; height: 3px; background: linear-gradient(90deg, var(--flame), var(--gold)); margin: 1.25rem 0 2rem; border-radius: 2px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--flame); color: #fff;
  padding: 0.8rem 2rem; border-radius: 4px; font-size: 0.88rem;
  font-weight: 500; border: none; cursor: pointer; transition: all 0.25s;
}
.btn-primary:hover {
  background: var(--flame-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,72,10,0.4);
}
.btn-outline {
  display: inline-block; background: transparent; color: var(--dark-mahogany);
  padding: 0.8rem 2rem; border-radius: 4px; font-size: 0.88rem;
  font-weight: 400; border: 1px solid var(--border); cursor: pointer; transition: all 0.25s;
}
.btn-outline:hover {
  border-color: var(--flame);
  color: var(--flame);
  background: var(--gold-pale);
}

/* ── FORM ── */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 500; color: var(--dark-mahogany); margin-bottom: 0.35rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1px solid rgba(92,40,0,0.18); border-radius: 6px;
  font-size: 16px; color: var(--text-dark); background: var(--warm-white);
  outline: none; transition: border-color 0.2s; font-family: 'Outfit', sans-serif;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--flame);
  box-shadow: 0 0 0 3px rgba(212,72,10,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── FOOTER ── */
footer { background: #5A1400; color: rgba(255,255,255,0.65); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(245,166,35,0.12); margin-bottom: 1.75rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(245,166,35,0.4); }
.footer-brand-name { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--gold); font-weight: 600; }
.footer-desc { font-size: 0.84rem; line-height: 1.7; color: rgba(255,255,255,0.45); font-weight: 300; margin-bottom: 1.25rem; max-width: 280px; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); transition: all 0.22s;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a:hover { transform: translateY(-2px); border-color: transparent; color: #fff; }
.footer-social a.social-wa:hover { background: #25D366; box-shadow: 0 4px 14px rgba(37,211,102,0.45); }
.footer-social a.social-yt:hover { background: #FF0000; box-shadow: 0 4px 14px rgba(255,0,0,0.45); }
.footer-social a.social-ig:hover { background: linear-gradient(135deg,#F58529,#DD2A7B,#8134AF); box-shadow: 0 4px 14px rgba(221,42,123,0.45); }
.footer-social a.social-fb:hover { background: var(--amber); box-shadow: 0 4px 14px rgba(240,124,26,0.5); }
.footer-col h4 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.84rem; color: rgba(255,255,255,0.45); font-weight: 300; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.footer-copy { font-size: 0.76rem; color: rgba(255,255,255,0.25); font-weight: 300; }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { font-size: 0.76rem; color: rgba(255,255,255,0.25); font-weight: 300; transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════
   RESPONSIVE
══════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex !important; flex-direction: column;
    position: fixed; top: 78px; left: 0; right: 0;
    background: #7A1E00;
    padding: 1.25rem 1.5rem 1.75rem; gap: 0.2rem;
    border-bottom: 1px solid rgba(245,166,35,0.2);
    z-index: 99; box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  }
  .nav-links.open li a { display: block; padding: 0.8rem 1rem; font-size: 0.95rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-links.open .nav-cta { margin-top: 0.5rem; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 0 1rem; height: 68px; }
  .nav-logo-img { width: 48px; height: 48px; }
  .nav-title { font-size: 1.1rem; }
  .nav-links.open { top: 68px; }
  .container { padding: 0 1rem; }
  section { padding: 3rem 0; }
  .page-header { padding: 3rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
}
