/* ============================================
   iGio Method — Shared Styles
   Palette: #778c43 (green) + white
   Style reference: jointhecore.co
   ============================================ */

:root {
  --green: #778c43;
  --green-dark: #5e6f34;
  --green-soft: #f3f5ea;
  --green-tint: #e6ebd6;
  --white: #ffffff;
  --ink: #2b2f22;
  --muted: #6b7060;
  --radius: 24px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

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

a { color: var(--green); text-decoration: none; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; }

.section-label {
  text-transform: lowercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: var(--green);
  margin-bottom: 14px;
  display: block;
}

.lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; }

.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* ---------- Header / Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--green-tint);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.logo em { color: var(--green); font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--ink);
  text-transform: lowercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--green); }

.lang-switch {
  display: flex;
  gap: 4px;
  border: 1px solid var(--green-tint);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
}

.lang-btn.active { background: var(--green); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--green);
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover { background: var(--green-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}

.btn-outline:hover { background: var(--green); color: var(--white); }

.btn-light { background: var(--white); color: var(--green); }
.btn-light:hover { background: var(--green-soft); color: var(--green-dark); }

/* ---------- Hero ---------- */
.hero {
  background: var(--green-soft);
  padding: 110px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119,140,67,0.20), transparent 68%);
  top: -160px;
  right: -140px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119,140,67,0.14), transparent 68%);
  bottom: -120px;
  left: -100px;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero .kicker {
  text-transform: lowercase;
  letter-spacing: 0.2em;
  color: var(--green);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.hero h1 em { font-style: italic; color: var(--green); }

.hero p { max-width: 640px; margin: 22px auto 34px; font-size: 1.25rem; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--green);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}

.marquee-track {
  display: inline-block;
  animation: marquee 28s linear infinite;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: lowercase;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 28px;
  margin-top: 48px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--green-tint);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(119, 140, 67, 0.16);
}

.card h3 { margin-bottom: 8px; }

.card .tag {
  align-self: flex-start;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 18px;
}

.card.featured { background: var(--green); border-color: var(--green); }
.card.featured h3, .card.featured li, .card.featured p { color: var(--white); }
.card.featured .tag { background: rgba(255,255,255,0.18); color: var(--white); }
.card.featured .check li::before { color: var(--white); }

.check { list-style: none; margin-top: 12px; }

.check li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--muted);
  border-bottom: 1px dashed var(--green-tint);
}

.check li:last-child { border-bottom: none; }

.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}

.card .btn { margin-top: auto; align-self: flex-start; margin-top: 26px; }

/* ---------- Pillars ---------- */
.pillar {
  text-align: center;
  padding: 30px 20px;
}

.pillar .icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.pillar h3 { font-size: 1.25rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Split / quote sections ---------- */
.band {
  background: var(--green);
  color: var(--white);
  text-align: center;
}

.band h2, .band p { color: var(--white); }
.band .lead { color: rgba(255,255,255,0.85); margin: 18px auto 32px; }

.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.5;
}

.words {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 38px;
  margin-top: 34px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--green);
}

.band .words { color: var(--white); }

/* ---------- Coming soon ---------- */
.soon {
  border: 1.5px dashed var(--green);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  background: var(--green-soft);
}

.soon h3 { margin-bottom: 8px; }
.soon p { color: var(--muted); }

/* ---------- Photos ---------- */
.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(43, 47, 34, 0.14);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}

.hero-grid p { margin: 22px 0 34px; }
.hero-grid .photo { max-height: 560px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split .photo { max-height: 520px; }

.card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 22px;
}

.banner-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius);
  margin-top: 44px;
  box-shadow: 0 20px 50px rgba(43, 47, 34, 0.14);
}

@media (max-width: 760px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid { text-align: center; }
}

/* ---------- Visual polish ---------- */
.photo, .card-img, .banner-img { transition: transform 0.6s ease; }
.card:hover .card-img { transform: scale(1.04); }
.split .photo:hover, .hero-grid .photo:hover { transform: scale(1.015); }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
  justify-content: center;
  margin-top: 56px;
}

.stat { text-align: center; }

.stat .num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--green);
  line-height: 1.1;
}

.stat .lbl {
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
  margin-top: 48px;
}

.g-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.g-item:hover img { transform: scale(1.08); }

.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

.g-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(43,47,34,0.72));
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.band-photo {
  position: relative;
  background-size: cover;
  background-position: center 30%;
}

.band-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(94,111,52,0.86), rgba(119,140,67,0.86));
}

.band-photo .container { position: relative; z-index: 1; }

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

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

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

footer .logo { color: var(--white); }

footer h4 {
  font-family: var(--font-body);
  text-transform: lowercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 14px;
}

footer ul { list-style: none; }

footer li { margin-bottom: 8px; }

footer a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
footer a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform 0.2s;
}

.wa-float:hover { transform: scale(1.08); }

.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--green-soft);
  padding: 80px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero p { max-width: 680px; margin: 18px auto 0; color: var(--muted); font-size: 1.15rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--green-tint);
  }

  .nav-links.open { display: flex; }
}
