/* Gigi Academy — Shared Stylesheet */
:root {
  --bg-cream: #FBF8F3;
  --bg-warm: #F4EFE6;
  --bg-card: #FFFFFF;
  --bg-dark: #1F1D1A;
  --text-main: #1F1D1A;
  --text-muted: #5C574F;
  --text-light: #FBF8F3;
  --text-light-muted: #C2BCB2;
  --accent-terracotta: #C85A32;
  --accent-terracotta-hover: #B04A25;
  --border-light: rgba(31, 29, 26, 0.12);
  --border-dark: rgba(251, 248, 243, 0.16);
  --shadow-sm: 0 4px 16px rgba(31, 29, 26, 0.05);
  --shadow-md: 0 12px 32px rgba(31, 29, 26, 0.08);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-cream);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-cream);
  color: var(--text-main);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(251, 248, 243, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 12px 0;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: none !important;
}

.brand-logo {
  height: 132px !important;
  max-height: 132px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-terracotta);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent-terracotta);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.16s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--accent-terracotta);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--accent-terracotta-hover);
}

.btn-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.btn-dark:hover {
  background-color: #33302B;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border-color: rgba(31, 29, 26, 0.28);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background-color: rgba(31, 29, 26, 0.04);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--text-light);
  border-color: rgba(251, 248, 243, 0.35);
}

.btn-outline-light:hover {
  border-color: var(--text-light);
  background-color: rgba(251, 248, 243, 0.08);
}

/* Typography & Sections */
.section {
  padding: 72px 0;
}

.section-warm {
  background-color: var(--bg-warm);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  margin-bottom: 12px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.18;
  margin-top: 0;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.4rem);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

p {
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--text-muted);
}

/* Hero & Grids */
.hero {
  padding: 64px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.card-media {
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Dark CTA Banner */
.cta-banner {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 56px 36px;
  text-align: center;
}

.cta-banner h2 {
  color: var(--text-light);
}

.cta-banner p {
  color: var(--text-light-muted);
  max-width: 58ch;
  margin: 0 auto 28px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Cal.com Booking Container */
#my-cal-inline {
  width: 100%;
  min-height: 540px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Footer */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 64px 0 116px !important;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.85fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-dark);
}

.site-footer .brand-logo {
  height: 128px !important;
  max-height: 128px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  margin-bottom: 16px;
}

.footer-title-line {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer-about p {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  max-width: 40ch;
}

.footer-contact {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  margin-top: 12px;
  white-space: nowrap;
}

.footer-contact a {
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  color: var(--text-light);
  font-size: 0.92rem;
  opacity: 0.88;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-col a:hover {
  opacity: 1;
  color: #E79B7E;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 26px;
  padding-bottom: 24px;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-legal-links a:hover {
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 76px;
  }

  .brand-logo {
    height: 92px !important;
    max-height: 92px !important;
  }

  .site-footer .brand-logo {
    height: 92px !important;
    max-height: 92px !important;
  }

  .main-nav {
    gap: 14px;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 6px;
  }

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

  .footer-contact,
  .footer-contact a {
    white-space: normal;
  }

  .site-footer {
    padding-bottom: 132px !important;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
