/* ============================================================
   MASTER SAMAEL — samael.online v2
   Design: Dark luxury + military authority
   Palette: Black / Deep Red / Gold
   Typography: Playfair Display (headings) + Inter (body)
   ============================================================ */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:       #0a0a0a;
  --black-card:  #111;
  --black-hover: #1a1a1a;
  --red:         #8b1a1a;
  --red-bright:  #c41e3a;
  --red-glow:    rgba(196, 30, 58, .15);
  --gold:        #c8a45a;
  --gold-dim:    #a88a3a;
  --gold-bright: #e0c06a;
  --white:       #f5f0eb;
  --text:        #d4cfc8;
  --text-muted:  #8a8580;
  --border:      #222;
  --border-light:#2a2a2a;
  --max-w:       1140px;
  --radius:      4px;
  --transition:  .3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-bright); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .8rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: .5rem; }

p { margin-bottom: 1rem; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* ===== 18+ AGE GATE ===== */
.age-gate {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.97);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(20px);
}
.age-gate.hidden { display: none; }
.age-gate-content {
  text-align: center;
  max-width: 480px;
  padding: 3rem 2rem;
}
.age-gate-content h2 {
  font-size: 2rem;
  margin-bottom: .5rem;
}
.age-gate-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.age-gate-buttons {
  display: flex; gap: 1rem; justify-content: center;
}
.age-gate-buttons .btn-enter {
  background: var(--red);
  color: #fff;
  padding: .8rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition);
}
.age-gate-buttons .btn-enter:hover { background: var(--red-bright); }
.age-gate-buttons .btn-leave {
  background: transparent;
  color: var(--text-muted);
  padding: .8rem 2.5rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.age-gate-buttons .btn-leave:hover { border-color: var(--text-muted); color: var(--text); }

/* ===== COOKIE CONSENT ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: var(--black-card);
  border-top: 1px solid var(--border);
  padding: 1.2rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  font-size: .85rem;
  transform: translateY(0);
  transition: transform .4s ease;
}
.cookie-banner.hidden { transform: translateY(100%); pointer-events: none; }
.cookie-banner p { margin: 0; color: var(--text-muted); flex: 1; }
.cookie-banner a { color: var(--gold); }
.cookie-btn-accept {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: .5rem 1.5rem;
  font-weight: 600;
  font-size: .85rem;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.cookie-btn-accept:hover { background: var(--gold-bright); }

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 8000;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,.6);
}
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }

/* ===== HEADER / NAV ===== */
header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 5000;
  background: rgba(10,10,10,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
header.scrolled { background: rgba(10,10,10,.98); }

.nav-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .7rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}
.logo span { color: var(--red-bright); }

nav ul {
  list-style: none;
  display: flex;
  gap: .2rem;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  padding: .5rem .7rem;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 500;
  transition: all var(--transition);
  letter-spacing: .3px;
}
nav a:hover, nav a.active { color: var(--white); }

.dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; }
.dropdown-toggle::after { content: ' \25BE'; font-size: .85em; opacity: .6; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + .3rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 200px;
  padding: .5rem 0;
  z-index: 200;
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: .5rem 1.2rem;
  font-size: .82rem;
  border-radius: 0;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: .3rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img, .hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.35);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,.6) 0%,
    rgba(10,10,10,.2) 40%,
    rgba(10,10,10,.7) 80%,
    rgba(10,10,10,1) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}
.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: .5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.hero-content .tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--red-bright);
  font-style: italic;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}
.hero-content .subtitle {
  color: var(--text);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: .85rem 2.2rem;
  font-weight: 600;
  font-size: .9rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--red-bright); color: #fff; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-whatsapp:hover { background: #22c55e; color: #fff; transform: translateY(-1px); }

/* ===== PRESS BAR ===== */
.press-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  text-align: center;
}
.press-bar p {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.press-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}
.press-logos span {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  color: var(--text-muted);
  font-style: italic;
  opacity: .6;
  transition: opacity var(--transition);
}
.press-logos span:hover { opacity: 1; }

/* ===== SECTIONS ===== */
section { padding: 5rem 0; }
section.alt-bg { background: var(--black-card); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .overline {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--red-bright);
  margin-bottom: .5rem;
  display: block;
}
.section-header p {
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto;
}

/* ===== EXPERIENCE CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--red-glow);
}
.card:hover::before { opacity: 1; }
.card h3 { color: var(--gold); margin-bottom: .5rem; }
.card .card-price {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--red-bright);
  font-size: 1.1rem;
  margin: .8rem 0;
}
.card a { font-size: .85rem; }

/* ===== ABOUT / STATS ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-image img { transition: transform 1s ease; }
.about-image:hover img { transform: scale(1.03); }

.stat-row {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}
.stat-item { text-align: center; flex: 1; }
.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  color: var(--red-bright);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* ===== TRUST BADGES ===== */
.trust-badges {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--text-muted);
  font-size: .85rem;
}
.trust-badge .badge-icon {
  width: 20px; height: 20px;
  color: var(--gold);
}

/* ===== TESTIMONIAL ===== */
.testimonial {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
}
.testimonial blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
}
.testimonial blockquote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--red);
  position: absolute;
  top: -.5rem;
  left: -1.5rem;
  line-height: 1;
  opacity: .5;
}
.testimonial cite {
  font-style: normal;
  font-size: .9rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.testimonial .stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: .5rem;
  display: block;
}

/* ===== PRICING TABLE ===== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.price-table th {
  text-align: left;
  padding: .8rem 1.2rem;
  background: var(--black-hover);
  color: var(--gold);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--red);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.price-table td {
  padding: .9rem 1.2rem;
  border-bottom: 1px solid var(--border);
}
.price-table tr:hover td { background: var(--black-hover); }
.price-table .price {
  color: var(--red-bright);
  font-weight: 600;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  white-space: nowrap;
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .5rem;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .6s ease;
  filter: brightness(.85);
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 9500;
  background: rgba(0,0,0,.95);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  padding: .5rem 0;
  font-family: 'Inter', sans-serif;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--red-bright);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-question::after {
  content: '\2212';
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: .5rem 0 1rem;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.blog-card:hover { border-color: var(--red); transform: translateY(-2px); }
.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; }
.blog-card-body .meta {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.blog-card-body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.blog-card-body h3 a { color: var(--white); }
.blog-card-body h3 a:hover { color: var(--gold); }
.blog-card-body p { font-size: .9rem; color: var(--text-muted); }

/* ===== BLOG POST ===== */
.blog-content {
  max-width: 750px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}
.blog-content h2 { margin-top: 2.5rem; font-size: 1.6rem; }
.blog-content h3 { margin-top: 2rem; color: var(--gold); }
.blog-content blockquote {
  border-left: 3px solid var(--red);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  color: var(--text-muted);
  font-style: italic;
  background: var(--black-card);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.blog-content .featured-image {
  width: 100%;
  border-radius: var(--radius);
  margin: 2rem 0;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-item {
  padding: 2rem;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.contact-item:hover { border-color: var(--red); }
.contact-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: .8rem;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-brand .logo { margin-bottom: .5rem; display: inline-block; }
.footer-brand p { font-size: .85rem; color: var(--text-muted); }
.footer-links h4 {
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: var(--text-muted); font-size: .85rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: .8rem;
  color: var(--text-muted);
}
.footer-bottom p { margin-bottom: .2rem; }
.social-links {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin: 1rem 0;
}
.social-links a {
  color: var(--text-muted);
  font-size: .85rem;
  transition: color var(--transition);
}
.social-links a:hover { color: var(--gold); }

/* ===== PAGE HEADER (sub-pages) ===== */
.page-header {
  padding: 8rem 2rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, #111 0%, var(--black) 100%);
  border-bottom: 1px solid var(--border);
}
.page-header .overline {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--red-bright);
  display: block;
  margin-bottom: .5rem;
}

/* ===== PROFILE CARDS ===== */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.profile-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.profile-card:hover { border-color: var(--red); }
.profile-card-image {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.profile-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.profile-card-body { padding: 2rem; }
.profile-card-body h3 { color: var(--gold); }

/* ===== WORKSHOP ===== */
.workshop-module {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  transition: border-color var(--transition);
}
.workshop-module:hover { border-color: var(--red); }
.workshop-module h3 { color: var(--gold); }
.workshop-module .module-price {
  color: var(--red-bright);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  margin: .3rem 0 1rem;
}
.workshop-module ul {
  list-style: none;
  margin: 1rem 0 0;
}
.workshop-module ul li {
  padding: .4rem 0 .4rem 1.5rem;
  position: relative;
  color: var(--text);
}
.workshop-module ul li::before {
  content: '\2014';
  color: var(--red-bright);
  position: absolute;
  left: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--black) 0%, #0f0a0a 50%, var(--black) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-section h2 { margin-bottom: .5rem; }
.cta-section p { color: var(--text-muted); margin-bottom: 2rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  nav ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,.98);
    padding: 5rem 2rem 2rem;
    z-index: 4999;
    align-items: center;
    gap: .5rem;
  }
  nav ul.open { display: flex; }

  nav a { font-size: 1.1rem; padding: .8rem; }

  .dropdown-menu {
    position: static;
    border: none;
    transform: none;
    box-shadow: none;
    display: none;
    padding-left: 1rem;
    background: transparent;
  }
  .dropdown.open .dropdown-menu { display: block; }

  .hero-content h1 { letter-spacing: 2px; }
  .about-grid,
  .contact-grid,
  .profile-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid.three { grid-template-columns: 1fr; }
  .stat-row { flex-direction: column; gap: 1.5rem; }
  .press-logos { gap: 1.5rem; }
  .whatsapp-float { bottom: 1.5rem; right: 1.5rem; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}
