/* ===== CSS RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

/* ===== CSS VARIABLES - ALL DESIGN TOKENS ===== */
:root {
  /* Colors */
  --color-background: #FFFFFF;
  --color-primary: #000000;
  --color-accent-primary: #BA903A;
  --color-accent-secondary: #D2A956;
  --color-primary-10: rgba(0, 0, 0, 0.1);
  --color-primary-20: rgba(0, 0, 0, 0.2);
  --color-accent-10: rgba(186, 144, 58, 0.1);
  --color-accent-20: rgba(186, 144, 58, 0.2);

  /* From template */
  --gold: #d2a956;
  --dark: #000;
  --white: #fff;
  --gray-light: #f5f5f5;
  --gray-bg: #f0ede8;
  --text-muted: #000000cc;
  --max-width: 1280px;
  --btn-radius: 100px;
  --font: 'Work Sans', sans-serif;

  /* Borders & surfaces */
  --border-light: rgba(0, 0, 0, .06);
  --border-subtle: rgba(0, 0, 0, .04);
  --surface-warm: #F7F7F5;
  --surface-cool: #f8fafc;

  /* Text variants */
  --text-secondary: #64748b;
  --text-tertiary: #94a3b8;

  /* Status colors */
  --color-success-bg: #dcfce7;
  --color-success-border: #86efac;
  --color-success-text: #166534;
  --color-error-bg: #fee2e2;
  --color-error-border: #fca5a5;
  --color-error-text: #991b1b;
}

/* ===== BASE TYPOGRAPHY ===== */
body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 600
}

h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -1.5px
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.25
}

h3 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600
}

h4 {
  font-size: 20px;
  font-weight: 600
}

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted)
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .3s
}

a:hover {
  color: var(--gold)
}

img {
  max-width: 100%;
  height: auto
}

ul {
  list-style: none
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 30px
}

.section {
  padding: 100px 0
}

.section-sm {
  padding: 80px 0
}

.accent {
  color: var(--gold)
}

.text-center {
  text-align: center
}

.text-left {
  text-align: left
}

.text-right {
  text-align: right
}

.flex {
  display: flex
}

.flex-col {
  flex-direction: column
}

.flex-wrap {
  flex-wrap: wrap
}

.items-center {
  align-items: center
}

.items-start {
  align-items: flex-start
}

.items-end {
  align-items: flex-end
}

.justify-center {
  justify-content: center
}

.justify-between {
  justify-content: space-between
}

.gap-8 {
  gap: 8px
}

.gap-12 {
  gap: 12px
}

.gap-16 {
  gap: 16px
}

.gap-20 {
  gap: 20px
}

.gap-24 {
  gap: 24px
}

.gap-30 {
  gap: 30px
}

.gap-40 {
  gap: 40px
}

.gap-60 {
  gap: 60px
}

.grid {
  display: grid
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr)
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr)
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr)
}

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))
}

.mx-auto {
  margin-left: auto;
  margin-right: auto
}

.mb-8 {
  margin-bottom: 8px
}

.mb-12 {
  margin-bottom: 12px
}

.mb-16 {
  margin-bottom: 16px
}

.mb-20 {
  margin-bottom: 20px
}

.mb-24 {
  margin-bottom: 24px
}

.mb-30 {
  margin-bottom: 30px
}

.mb-40 {
  margin-bottom: 40px
}

.mb-50 {
  margin-bottom: 50px
}

.mb-60 {
  margin-bottom: 60px
}

.max-w-480 {
  max-width: 480px
}

.max-w-560 {
  max-width: 560px
}

.max-w-640 {
  max-width: 640px
}

.max-w-800 {
  max-width: 800px
}

/* ===== SECTION LABEL ===== */
.sl {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: .6;
  margin-bottom: 16px
}

a,
button,
input,
select,
textarea,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

@media (hover: none) and (pointer: coarse) {

  a:focus,
  button:focus,
  .btn:focus,
  .hib:focus,
  [role="button"]:focus {
    outline: none;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--btn-radius);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  transition: all .3s;
  border: none;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}

.btn-p {
  background: var(--dark);
  color: var(--white)
}

body .btn-p:hover {
  background: var(--gold);
  color: var(--dark) !important
}

.btn-o {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--color-primary-10)
}

.btn-o:hover {
  border-color: var(--gold);
  color: var(--gold)
}

.btn-w {
  background: var(--white);
  color: var(--dark)
}

body .btn-w:hover {
  background: var(--gold);
  color: var(--dark) !important
}

.btn-gold {
  background: var(--gold);
  color: var(--white)
}

body .btn-gold:hover {
  background: var(--dark);
  color: var(--white) !important
}

.btn .ir {
  transition: transform .3s ease, opacity .3s ease
}

.btn:hover .ir {
  animation: iconSlideOutIn .3s ease-in-out forwards
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px
}

/* ===== HEADER ===== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  transition: transform .3s;
  box-shadow: none
}

.hdr.scrolled {
  box-shadow: none
}

.hdr-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 24px;
  max-width: var(--max-width);
  margin: 0 auto
}

.hdr-logo {
  display: flex;
  align-items: center;
}

.hdr-logo img {
  height: 32px;
  display: block;
  margin: 0;
}

.hdr-nav {
  display: flex;
  align-items: center;
  gap: 0
}

.ni {
  position: relative
}

.nl {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  transition: color .3s;
  border-radius: 8px
}

.nl:hover {
  color: var(--gold)
}

.nl.active {
  color: var(--dark);
  font-weight: 600
}

.nl .lucide {
  width: 12px;
  height: 12px;
  transition: transform .3s
}

.ni:hover .nl .lucide,
.ni.open .nl .lucide {
  transform: rotate(180deg)
}

.ha {
  display: flex;
  align-items: center;
  gap: 8px
}

.ha .hdr-auth-btn {
  box-shadow: none
}

.hib {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .3s;
  border: none;
  -webkit-tap-highlight-color: transparent
}

body .hib:hover {
  background: var(--gold);
  color: var(--dark) !important
}

.hib .lucide {
  width: 18px;
  height: 18px
}

/* ===== HERO ===== */
.hero {
  padding: 100px 0 60px;
  text-align: center
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 30px
}

.hero p {
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 30px;
  color: var(--text-muted)
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap
}

/* Hero with background */
.hero-bg {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .5)), var(--gray-bg);
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-bg h1 {
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 20px
}

.hero-bg p {
  color: rgba(255, 255, 255, .8);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 30px
}

.hero-bg .sl {
  color: rgba(255, 255, 255, .5)
}

.hero-bg .btn-o {
  color: var(--white);
  border-color: rgba(255, 255, 255, .3)
}

.hero-bg .btn-o:hover {
  border-color: var(--gold);
  color: var(--gold)
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle)
}

.page-hero .sl {
  margin-bottom: 12px
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  max-width: 800px;
  margin: 0 auto 16px
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto
}

/* ===== DARK SECTION (Trust/About) ===== */
.dark-section {
  background: linear-gradient(135deg, var(--dark), #1a1a1a);
  padding: 100px 0;
  color: var(--white)
}

.dark-section .sl {
  color: rgba(255, 255, 255, .5)
}

.dark-section h2 {
  color: var(--white)
}

.dark-section p {
  color: rgba(255, 255, 255, .75)
}

/* ===== GRAY SECTION ===== */
.gray-section {
  background: var(--gray-bg);
  padding: 100px 0
}

.light-section {
  background: var(--gray-light);
  padding: 100px 0
}

/* ===== FOOTER ===== */
.ftr {
  background: var(--dark);
  color: var(--white);
  padding: 50px 0 0
}

.ftr-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px
}

.ftr-brand .ftr-logo img {
  height: 50px;
  margin-bottom: 20px
}

.ftr-newsletter {
  margin-top: 16px;
  width: 100%
}

.ftr-nl-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%
}

.ftr-nl-input {
  width: 100%;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 0 16px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--white);
  height: 48px;
  outline: none;
  transition: all 0.3s ease
}

.ftr-nl-input::placeholder {
  color: rgba(255, 255, 255, 0.4)
}

.ftr-nl-input:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1)
}

.ftr-nl-btn {
  width: 100%;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 50px;
  padding: 0 24px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  height: 48px;
  transition: all 0.2s ease;
  white-space: nowrap
}

.ftr-nl-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px)
}

.ftr-nl-msg {
  font-size: 13px;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.4s ease
}

.ftr-nl-msg.show {
  opacity: 1;
  transform: translateY(0)
}

.ftr-nl-msg.success {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7
}

.ftr-nl-msg.error {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5
}

.ftr-brand h3 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 16px;
  color: var(--white)
}

.ftr-brand p {
  font-size: 14px;
  opacity: .6;
  margin-bottom: 16px
}

.soc {
  display: flex;
  gap: 16px;
  margin-bottom: 24px
}

.soc-i {
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: color .3s
}

.soc-i svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor
}

.soc-facebook {
  color: #1877f2
}

.soc-facebook:hover {
  color: #145dbf
}

.soc-linkedin {
  color: #0a66c2
}

.soc-linkedin:hover {
  color: #084d94
}

.soc-instagram {
  color: #e4405f
}

.soc-instagram:hover {
  color: #c3324d
}

.soc-whatsapp {
  color: #25d366
}

.soc-whatsapp:hover {
  color: #1fb258
}

.ftr-ct {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: .4;
  margin-bottom: 12px
}

.ftr-links a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  opacity: .7;
  transition: opacity .3s
}

.ftr-links a:hover {
  opacity: 1;
  color: var(--gold)
}

.ftr-ci {
  margin-bottom: 20px
}

.ftr-ci small {
  display: block;
  font-size: 12px;
  opacity: .4;
  margin-bottom: 4px
}

.ftr-ci a,
.ftr-ci span {
  font-size: 14px;
  opacity: .7
}

.ftr-ci-sep {
  margin: 0 8px;
  opacity: .35
}

.ftr-bot {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  text-align: center
}

.ftr-bot a,
.ftr-bot p {
  font-size: 13px;
  opacity: .4;
  color: var(--white)
}



.ftr-section {
  display: block
}

.ftr-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: .6;
  padding: 10px 0;
  cursor: pointer
}

.ftr-toggle .lucide {
  width: 16px;
  height: 16px;
  transition: transform .3s ease
}

.ftr-panel {
  display: block
}

.ftr-acc.is-open .ftr-toggle .lucide {
  transform: rotate(180deg)
}

/* ===== SCROLL TO TOP ===== */
.stt {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 500;
  transition: background .3s;
  border: none
}

.stt.visible {
  display: flex
}

.stt:hover {
  background: var(--gold)
}

.stt .lucide {
  width: 18px;
  height: 18px
}

/* ===== ANIMATE ON SCROLL ===== */
.aos {
  opacity: 0;
  transform: translateY(30px);
  transition: all .6s ease
}

.aos.v {
  opacity: 1;
  transform: translateY(0)
}

/* ===== RESPONSIVE ===== */
@media(max-width:1199px) {
  .hdr-nav {
    display: none
  }

  .ha>a,
  .ha>.ni {
    display: none
  }

  /* Hide auth buttons on mobile/tablet */
  .hib {
    display: flex
  }
}

@media(max-width:1024px) {

  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr)
  }

  .ftr-top {
    grid-template-columns: 1fr 1fr
  }

  .two-col {
    grid-template-columns: 1fr !important
  }
}

@media(max-width:767px) {
  .hero {
    padding: 60px 0 40px
  }

  .hero h1 {
    font-size: 36px
  }

  .section {
    padding: 60px 0
  }

  .section-sm {
    padding: 50px 0
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr
  }

  .grid-auto {
    grid-template-columns: 1fr
  }

  .ftr-top {
    grid-template-columns: 1fr
  }

  .container {
    padding: 0 20px
  }

  .event-grid-row {
    grid-template-columns: 1fr !important
  }

  .ftr-top {
    gap: 16px
  }

  .ftr-acc .ftr-ct {
    display: none
  }

  .ftr-acc .ftr-toggle {
    display: flex
  }

  .ftr-acc .ftr-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease
  }

  .ftr-acc.is-open .ftr-panel {
    max-height: 600px
  }

  .ftr-nl-row {
    flex-direction: column;
  }

  .ftr-nl-btn {
    width: 100%;
  }
}

/* ===== TWO COL LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center
}

/* ===== IMAGE UTILITIES ===== */
.img-placeholder {
  background: linear-gradient(135deg, #ddd8ce, #c8c0b2);
  border-radius: 20px;
  min-height: 300px
}

.img-placeholder-tall {
  min-height: 400px
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px
}

.img-card {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px
}

.img-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0
}

.img-round {
  border-radius: 50%;
  object-fit: cover
}

/* ===== INFO CARD ===== */
.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-light)
}

.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-accent-10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold)
}

.icon-wrap .lucide {
  width: 22px;
  height: 22px
}

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  background: var(--color-accent-10);
  color: var(--color-accent-primary)
}