@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-Heavy.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  font-family: 'Open Sans', sans-serif;
}

a { color: #1e92df; text-decoration: underline; }
a:hover { color: #166fae; }

button { font-family: inherit; }

img { max-width: 100%; display: block; }

.wrap { max-width: 1440px; margin: 0 auto; }

/* ---------- Header ---------- */

.header {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(33,29,24,.1);
}

.header-inner {
  padding: 16px clamp(20px,5vw,48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
}

.logo { height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px,4vw,36px);
  font-weight: 500;
  font-size: 14px;
  color: #211d18;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  color: #211d18;
  text-decoration: none;
}
.nav-links a:hover { color: #eaa00f; }

.btn-primary {
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #ffffff;
  background: #eaa00f;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s;
}
.btn-primary:hover { background: #cb8c0d; }

.header-mobile { display: none; }
.header-desktop { display: block; }

.mobile-bar {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-logo { height: 32px; width: auto; }

.mobile-actions { display: flex; align-items: center; gap: 10px; }

.btn-primary-sm {
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #ffffff;
  background: #eaa00f;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary-sm:hover { background: #cb8c0d; }

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid rgba(33,29,24,.15);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.hamburger { display: flex; flex-direction: column; gap: 4px; width: 18px; }
.hamburger span { height: 2px; background: #211d18; border-radius: 1px; display: block; }

.close-x { position: relative; width: 18px; height: 14px; display: none; }
.close-x span {
  position: absolute; top: 6px; left: 0; width: 18px; height: 2px; background: #211d18;
}
.close-x span:first-child { transform: rotate(45deg); }
.close-x span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  padding: 4px 20px 16px;
  display: none;
  flex-direction: column;
}
.mobile-menu a {
  padding: 13px 4px;
  border-bottom: 1px solid rgba(33,29,24,.08);
  font-weight: 500;
  font-size: 16px;
  color: #211d18;
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.mobile-menu a:last-child { border-bottom: none; }

body.menu-open .mobile-menu { display: flex; }
body.menu-open .hamburger { display: none; }
body.menu-open .close-x { display: block; }

/* ---------- Hero ---------- */

.hero-section { background: #FBF8F3; }

.hero-desktop {
  padding: clamp(40px,8vw,80px) clamp(20px,5vw,48px) clamp(40px,8vw,72px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(28px,5vw,48px);
  max-width: 1160px;
  margin: 0 auto;
}

.hero-mobile {
  display: none;
  padding: clamp(40px,10vw,64px) 24px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.hero-copy {
  flex: 1 1 340px;
  min-width: min(340px,100%);
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 600px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dots { display: flex; gap: 4px; }
.dots span { width: 10px; height: 10px; border-radius: 2px; display: block; }
.dots span:nth-child(1) { background: #d31c00; }
.dots span:nth-child(2) { background: #eaa00f; }
.dots span:nth-child(3) { background: #1e92df; }
.dots span:nth-child(4) { background: #51a41f; }

.eyebrow-text {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8a8378;
}

.hero-copy h1, .hero-mobile h1 {
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: clamp(38px,6vw,64px);
  line-height: 1.15;
  color: #211d18;
  margin: 0;
}

.hero-mobile h1 { font-size: clamp(30px,9vw,40px); }

.tagline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-mobile .tagline { justify-content: center; gap: 8px; }

.tagline-en {
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: clamp(17px,2.2vw,21px);
  color: #eaa00f;
}
.hero-mobile .tagline-en { font-size: 17px; }

.tagline-sub {
  font-weight: 500;
  font-size: 16px;
  color: #8a8378;
}
.hero-mobile .tagline-sub { font-size: 14.5px; }

.hero-desc {
  font-weight: 500;
  font-size: clamp(15px,2vw,18px);
  line-height: 1.6;
  color: #55504a;
  margin: 0;
  max-width: 520px;
}
.hero-mobile .hero-desc { font-size: 15.5px; max-width: none; }

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.hero-mobile .hero-cta { justify-content: center; gap: 16px; margin-top: 4px; }

.btn-primary-lg {
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: #eaa00f;
  border: none;
  padding: 16px 32px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s;
}
.btn-primary-lg:hover { background: #cb8c0d; }
.hero-mobile .btn-primary-lg { padding: 15px 30px; }

.link-underline {
  font-weight: 500;
  font-size: 15px;
  color: #211d18;
  border-bottom: 2px solid #211d18;
  padding-bottom: 2px;
  text-decoration: none;
  cursor: pointer;
}
.hero-mobile .link-underline { font-size: 14.5px; }

.hero-image {
  flex: 1 1 300px;
  min-width: min(280px,100%);
  max-width: 380px;
  align-self: center;
}
.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 700 / 1021;
  object-fit: cover;
  border-radius: 12px;
}

.hero-image-mobile {
  width: clamp(140px,42vw,200px);
  height: clamp(140px,42vw,200px);
  border-radius: 50%;
  overflow: hidden;
}
.hero-image-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stripe { display: flex; height: 6px; }
.stripe div { flex: 1; }
.stripe div:nth-child(1) { background: #d31c00; }
.stripe div:nth-child(2) { background: #eaa00f; }
.stripe div:nth-child(3) { background: #1e92df; }
.stripe div:nth-child(4) { background: #51a41f; }

/* ---------- About ---------- */

.about {
  background: #FFFFFF;
  padding: clamp(56px,8vw,96px) clamp(20px,5vw,48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.section-eyebrow {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.about .section-eyebrow { color: #eaa00f; }

.about h2, .values h2, .events h2 {
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: 38px;
  color: #211d18;
  margin: 0;
}
.about h2 { max-width: 680px; }

.about p.lead {
  font-weight: 500;
  font-size: 17px;
  line-height: 1.7;
  color: #55504a;
  max-width: 680px;
  margin: 0;
}

.about p.sub {
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.6;
  color: #8a8378;
  max-width: 680px;
  margin: 0;
}

/* ---------- Values ---------- */

.values {
  background: #F5F1EA;
  padding: clamp(56px,8vw,96px) clamp(20px,5vw,48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px,6vw,56px);
}

.values-head { text-align: center; }
.values .section-eyebrow { color: #1e92df; }
.values h2 { margin: 8px 0 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
  width: 100%;
  max-width: 1200px;
}

.value-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 4px solid;
}

.value-card .element {
  font-weight: 500;
  font-size: 13px;
  color: #8a8378;
}
.value-card h3 {
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: #211d18;
  margin: 0;
}
.value-card p {
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.6;
  color: #55504a;
  margin: 0;
}

.value-space {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #8a8378;
  font-weight: 500;
  font-size: 14px;
}
.value-space .ring {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid #c4c4c4;
  flex-shrink: 0;
}
.value-space strong { color: #211d18; }

/* ---------- Events ---------- */

.events {
  background: #FFFFFF;
  padding: clamp(56px,8vw,96px) clamp(20px,5vw,48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px,6vw,48px);
}

.events-head { text-align: center; }
.events .section-eyebrow { color: #51a41f; }
.events h2 { margin: 8px 0 0; }

.events-row {
  display: flex;
  gap: 32px;
  width: 100%;
  max-width: 1200px;
  align-items: stretch;
  flex-wrap: wrap;
}

.event-card {
  flex: 1 1 560px;
  background: #FBF8F3;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  border: 1px solid rgba(33,29,24,.08);
}

.event-photo {
  flex: 1 1 240px;
  min-width: min(240px,100%);
  height: 240px;
  background: #eee9e0 url('macc-logo.png') no-repeat center / 45%;
}

.event-body {
  padding: clamp(20px,4vw,32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 2 1 280px;
  min-width: min(280px,100%);
}

.badge {
  display: inline-block;
  background: #eaa00f;
  color: #fff;
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  width: fit-content;
}

.event-body h3 {
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: 23px;
  color: #211d18;
  margin: 0;
}

.event-body p {
  font-weight: 500;
  font-size: 14.5px;
  color: #55504a;
  margin: 0;
  line-height: 1.6;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  font-weight: 500;
  font-size: 14.5px;
  color: #211d18;
}
.event-meta div { display: flex; gap: 10px; align-items: center; }
.event-meta .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.event-meta .dot.red { background: #d31c00; }
.event-meta .dot.blue { background: #1e92df; }

.event-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.price-pill {
  background: #eaa00f;
  color: #fff;
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 999px;
}

.btn-dark {
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: #211d18;
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
}
.btn-dark:hover { background: #000; }

.sold-out-pill {
  background: #c4c4c4;
  color: #fff;
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 999px;
}

.btn-disabled {
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #a39c8f;
  background: #eee9e0;
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: not-allowed;
}

.coming-soon-card {
  flex: 1 1 320px;
  border: 2px dashed rgba(33,29,24,.15);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px;
  text-align: center;
}
.coming-soon-card .ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #c4c4c4;
}
.coming-soon-card h3 {
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #211d18;
  margin: 8px 0 0;
}
.coming-soon-card p {
  font-weight: 500;
  font-size: 13.5px;
  color: #8a8378;
  margin: 0;
}

/* ---------- CTA ---------- */

.cta {
  background: #211d18;
  padding: clamp(48px,8vw,80px) clamp(20px,5vw,48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.cta h2 {
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: clamp(26px,4.5vw,33px);
  color: #fff;
  margin: 0;
}
.cta p {
  font-weight: 500;
  font-size: 16px;
  color: rgba(255,255,255,.75);
  margin: 0;
  max-width: 520px;
}
.cta .btn-primary-lg {
  margin-top: 8px;
  color: #211d18;
  padding: 16px 36px;
}
.cta .btn-primary-lg:hover { background: #f5b93a; }

/* ---------- Footer ---------- */

.footer {
  background: #FBF8F3;
  padding: clamp(32px,6vw,48px) clamp(20px,5vw,48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(33,29,24,.08);
  text-align: center;
}
.footer img { height: 30px; width: auto; }
.footer .hindi-line {
  font-weight: 500;
  font-size: 12px;
  color: #8a8378;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-weight: 500;
  font-size: 13px;
  color: #211d18;
}
.footer-links a { color: #211d18; text-decoration: none; }
.footer-links a:hover { color: #eaa00f; }
.footer .copyright { font-weight: 500; font-size: 12px; color: #8a8378; }

/* ---------- Modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,15,10,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}
body.modal-open .modal-overlay { display: flex; }

.modal {
  background: #ffffff;
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  padding: clamp(24px,6vw,44px);
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #F5F1EA;
  color: #211d18;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.modal-close:hover { background: #e9e2d6; }

.modal .section-eyebrow { color: #eaa00f; }

.modal h2 {
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: 27px;
  color: #211d18;
  margin: 8px 0 6px;
}

.modal .modal-desc {
  font-weight: 500;
  font-size: 14.5px;
  color: #55504a;
  margin: 0 0 26px;
}

form.interest-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: flex; flex-wrap: wrap; gap: 14px; }
.field-row .field { flex: 1; min-width: min(220px,100%); }

label.field-label {
  font-weight: 500;
  font-size: 13px;
  color: #211d18;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.select-input,
#connected-org-details {
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid rgba(33,29,24,.15);
  border-radius: 10px;
  color: #211d18;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.field input:focus, .select-input:focus, #connected-org-details:focus { border-color: #eaa00f; }

.select-input {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%2355504a' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.select-input:invalid { color: #7a756e; }
.select-input option { color: #211d18; }

.radio-group { display: flex; flex-direction: column; gap: 8px; }
.radio-options { display: flex; gap: 24px; flex-wrap: wrap; }
.radio-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14.5px;
  color: #211d18;
  cursor: pointer;
  min-height: 44px;
}
.radio-options input { accent-color: #eaa00f; width: 19px; height: 19px; flex-shrink: 0; }

#connected-org-details { display: none; margin-top: 4px; }
body.show-org-details #connected-org-details { display: block; }

.btn-submit {
  margin-top: 6px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: #eaa00f;
  border: none;
  padding: 15px 0;
  border-radius: 999px;
  cursor: pointer;
}
.btn-submit:hover { background: #cb8c0d; }

.thank-you {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 24px 0 8px;
}
body.form-submitted .interest-form-wrap { display: none; }
body.form-submitted .thank-you { display: flex; }

.check-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #51a41f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-circle .mark {
  width: 20px;
  height: 11px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg) translate(1px,-2px);
}

.thank-you h2 {
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: 25px;
  color: #211d18;
  margin: 0;
}
.thank-you p {
  font-weight: 500;
  font-size: 15px;
  color: #55504a;
  margin: 0;
  max-width: 360px;
}
.btn-close-tertiary {
  margin-top: 8px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #211d18;
  background: #F5F1EA;
  border: none;
  padding: 13px 32px;
  border-radius: 999px;
  cursor: pointer;
}
.btn-close-tertiary:hover { background: #ece4d5; }

/* ---------- Responsive breakpoint ---------- */

@media (max-width: 768px) {
  .header-desktop { display: none; }
  .header-mobile { display: block; }
  .hero-desktop { display: none; }
  .hero-mobile { display: flex; }
}
