/* ==========================================================================
   Mundo Culturista Inc. — mundoculturista.com
   Design system extracted from the original mundoculturistainc.com site.

   Typeface substitutions (the original uses licensed Wix webfonts):
     Lulo Clean Bold      -> Montserrat 800, uppercase, tight tracking
     Cormorant Garamond   -> Cormorant Garamond (identical, via Google Fonts)
     DIN Next Light       -> Barlow 300/400
     Open Sans            -> Open Sans (identical)
   ========================================================================== */

:root {
  --gold:       #e8c061;
  --gold-deep:  #b39244;
  --charcoal:   #2d2e2d;
  --black:      #0a0a0a;
  --wine:       #5a363a;
  --cream:      #fcf8ed;
  --white:      #ffffff;

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-serif:   "Cormorant Garamond", Georgia, serif;
  --font-body:    "Barlow", "Helvetica Neue", Arial, sans-serif;

  --nav-h: 88px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 32px;
}

/* --- Shared type ---------------------------------------------------------- */

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.4vw, 2rem);
  letter-spacing: -0.1em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 1.5rem;
}

.body-copy {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  margin: 0 0 1.25rem;
}

.body-copy:last-child { margin-bottom: 0; }

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 38px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--charcoal);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  cursor: pointer;
}

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

.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: var(--charcoal); }

/* --- Navigation ----------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  transition: background 0.35s var(--ease), height 0.35s var(--ease);
}

.nav.is-stuck {
  background: rgba(10, 10, 10, 0.96);
  height: 72px;
  border-bottom-color: rgba(232, 192, 97, 0.35);
}

.nav__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__list {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-block: 6px;
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav__link:hover,
.nav__link.is-active { color: var(--gold); }
.nav__link:hover::after { width: 100%; }

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  position: absolute;
  right: 24px;
  width: 42px;
  height: 42px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Social rail ---------------------------------------------------------- */

.social-rail {
  position: fixed;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.social-rail a {
  color: var(--white);
  opacity: 0.85;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.social-rail a:hover { color: var(--gold); opacity: 1; transform: translateX(3px); }
.social-rail svg { width: 20px; height: 20px; fill: currentColor; }

/* Over the light "Our Services" band the white icons would vanish. */
.social-rail.on-light a { color: var(--charcoal); opacity: 0.7; }
.social-rail.on-light a:hover { color: var(--gold-deep); opacity: 1; }

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero.jpg") center 30% / cover no-repeat;
  filter: grayscale(100%) contrast(1.05);
  transform: scale(1.06);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.45) 45%, rgba(10,10,10,0.8) 100%);
}

.hero__content { position: relative; z-index: 2; padding: 120px 32px 90px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 11vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.1em;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55);
}

.hero__emblem {
  width: clamp(78px, 12vw, 132px);
  margin: 0 auto 18px;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.6));
}

.hero__tagline {
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.5rem, 4.2vw, 2.7rem);
  color: var(--gold);
  margin: 0.4rem 0 0;
  line-height: 1.2;
}

.hero__scroll {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, 0.85);
}

.hero__scroll svg { width: 16px; animation: bob 2s var(--ease) infinite; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

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

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--charcoal);
  min-height: 600px;
}

.about__panel {
  background: var(--wine);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 90px 60px;
}

.about__panel .section-title { color: var(--white); margin: 0; }

.about__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 60px;
  max-width: 620px;
}

/* --- Services ------------------------------------------------------------- */

.services {
  background: var(--cream);
  color: var(--charcoal);
  padding: 100px 0;
  text-align: center;
}

.services .section-title { color: var(--charcoal); }

.services__intro {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  color: var(--charcoal);
}

.services__list {
  list-style: none;
  margin: 0 auto 2.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  max-width: 940px;
  text-align: left;
}

.services__list li {
  position: relative;
  padding: 18px 20px 18px 42px;
  border: 1px solid rgba(45, 46, 45, 0.16);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.5;
}

.services__list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 26px;
  width: 8px;
  height: 8px;
  background: var(--gold-deep);
  border-radius: 50%;
}

/* --- Product band --------------------------------------------------------- */

.product-band {
  height: clamp(320px, 46vw, 620px);
  background: url("../img/product.jpg") center / cover no-repeat;
}

/* --- Channel strip -------------------------------------------------------- */

.channel {
  background: var(--charcoal);
  padding: 74px 0;
  text-align: center;
}

.channel__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.channel__sub {
  font-family: "Open Sans", var(--font-body), sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--white);
  margin: 0 0 2rem;
}

/* --- Testimonials --------------------------------------------------------- */

.testimonials {
  background: var(--black);
  padding: 110px 0;
  position: relative;
}

.testimonials__inner { max-width: 860px; margin-inline: auto; text-align: center; }

.quote {
  display: none;
  animation: fade 0.6s var(--ease);
}

.quote.is-active { display: block; }

@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.quote__mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 1.75rem;
}

.quote__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.05rem, 2.1vw, 1.3rem);
  line-height: 1.85;
  margin: 0 0 2rem;
}

.quote__author {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.quote__role {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0.35rem 0 0;
}

.dots { display: flex; gap: 10px; justify-content: center; margin-top: 2.5rem; }

.dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}

.dots button.is-active { background: var(--gold); }

/* --- Founder -------------------------------------------------------------- */

.founder {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
}

.founder__bg {
  position: absolute;
  inset: 0;
  background: url("../img/cyclist.jpg") center / cover no-repeat;
  filter: grayscale(100%);
}

.founder__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.72) 55%, rgba(10,10,10,0.4) 100%);
}

.founder__content { position: relative; z-index: 2; max-width: 560px; }

.founder .section-title { color: var(--gold); }

/* --- Contact -------------------------------------------------------------- */

.contact {
  background: var(--charcoal);
  padding: 110px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.contact__details p { margin: 0 0 0.65rem; font-size: 1rem; }
.contact__details a { transition: color 0.25s var(--ease); }
.contact__details a:hover { color: var(--gold); }

.contact__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.2rem;
}

.form { display: grid; gap: 22px; }

.form input,
.form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 2px;
  transition: border-color 0.25s var(--ease);
}

.form input:focus,
.form textarea:focus { outline: none; border-bottom-color: var(--gold); }

.form input::placeholder,
.form textarea::placeholder { color: rgba(255, 255, 255, 0.45); }

.form textarea { resize: vertical; min-height: 96px; }
.form .btn { justify-self: start; }

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

.footer {
  background: var(--black);
  padding: 46px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer__social {
  display: none;
  gap: 26px;
  justify-content: center;
  margin-bottom: 22px;
}

.footer__social a { color: var(--white); opacity: 0.8; transition: color 0.25s var(--ease); }
.footer__social a:hover { color: var(--gold); opacity: 1; }
.footer__social svg { width: 20px; height: 20px; fill: currentColor; }

.footer p {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.footer a:hover { color: var(--gold); }

/* --- Scroll reveal -------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll svg { animation: none; }
}

/* --- Interior pages ------------------------------------------------------- */

.page-head {
  padding: calc(var(--nav-h) + 90px) 0 70px;
  background: var(--charcoal);
  text-align: center;
}

.page-head .section-title { color: var(--gold); margin-bottom: 0.75rem; }
.page-head p { max-width: 680px; margin-inline: auto; color: rgba(255, 255, 255, 0.78); }

.projects { background: var(--black); padding: 100px 0; }

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.project-card {
  border: 1px solid rgba(232, 192, 97, 0.3);
  padding: 40px 34px;
  background: rgba(45, 46, 45, 0.5);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.project-card:hover { border-color: var(--gold); transform: translateY(-5px); }

.project-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
}

.project-card p { font-size: 0.95rem; margin: 0; color: rgba(255, 255, 255, 0.82); }

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

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__panel { justify-content: flex-start; padding: 60px 32px; min-height: 190px; }
  .about__body { padding: 60px 32px; max-width: none; }
  .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .founder { padding: 90px 0; }
  .founder__bg::after { background: linear-gradient(180deg, rgba(10,10,10,0.86) 0%, rgba(10,10,10,0.78) 100%); }
}

@media (max-width: 780px) {
  :root { --nav-h: 68px; }

  .nav__inner { justify-content: flex-start; }
  .nav__toggle { display: block; }

  .nav__list {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid rgba(232, 192, 97, 0.3);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }

  .nav.is-open .nav__list { max-height: 340px; }
  .nav__list li { width: 100%; text-align: center; }
  .nav__link { display: block; padding: 17px 0; }
  .nav__link::after { display: none; }

  .social-rail { display: none; }
  .footer__social { display: flex; }
  .hero__scroll { display: none; }
  .services { padding: 70px 0; }
  .testimonials { padding: 74px 0; }
  .contact { padding: 74px 0; }
}
