/* ===== APEX COACHING — SHARED STYLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #C9A84C;
  --gold-light: #E4C97A;
  --gold-pale: #F7F0DE;
  --gold-border: rgba(201,168,76,0.25);
  --black: #0A0A0B;
  --near-black: #111113;
  --white: #FFFFFF;
  --off-white: #F8F7F4;
  --warm-white: #FAF9F6;
  --gray-50: #F5F4F1;
  --gray-100: #EDECEA;
  --gray-200: #D5D3CE;
  --gray-300: #B5B3AE;
  --gray-400: #8F8D87;
  --gray-500: #6A6864;
  --gray-600: #4A4845;
  --gray-700: #302F2C;
  --gray-800: #1C1B19;
  --font: 'Inter', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --nav-h: 72px;
  --radius: 16px;
  --shadow: 0 4px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 60px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--gray-700); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; object-fit: cover; }
a { text-decoration: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* LAYOUT */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap-sm { max-width: 840px; margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }

/* TYPOGRAPHY */
.h1 { font-family: var(--serif); font-size: clamp(3rem,6vw,5.5rem); font-weight: 900; line-height: 1.0; letter-spacing: -0.03em; }
.h2 { font-size: clamp(2rem,4vw,3.25rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.4rem,2.5vw,2rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.h4 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; }
.italic-gold { font-style: italic; color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--gray-500); line-height: 1.75; }
.label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-400); }
.gold-line { width: 44px; height: 3px; background: var(--gold); border-radius: 2px; margin: 18px 0 26px; }
.gold-line-c { margin-left: auto; margin-right: auto; }

/* BADGE */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--gold-pale); color: var(--gold); border: 1px solid var(--gold-border); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 9px; font-size: 14px; font-weight: 700; cursor: pointer; border: none; transition: all 0.22s; letter-spacing: 0.01em; white-space: nowrap; font-family: var(--font); }
.btn-gold { background: var(--gold); color: var(--black); box-shadow: 0 4px 18px rgba(201,168,76,0.38); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.5); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #1a1a1d; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-outline { background: transparent; color: var(--gray-700); border: 1.5px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }
.btn-lg { padding: 16px 34px; font-size: 15px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

/* CARDS */
.card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: all 0.3s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-gold { border-color: var(--gold-border); background: linear-gradient(135deg, #fff 0%, var(--gold-pale) 100%); }

/* FORMS */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-500); }
.form-input, .form-select, .form-textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--gray-200); border-radius: 10px; font-size: 14px; font-family: var(--font); color: var(--gray-700); background: var(--white); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,168,76,0.1); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-300); }
.form-select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238F8D87' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form-textarea { resize: none; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-success { display: none; padding: 14px 18px; border-radius: 10px; background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; font-size: 14px; font-weight: 600; text-align: center; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--gray-400); line-height: 1.6; }
.form-consent input { margin-top: 2px; accent-color: var(--gold); }
.form-consent a { color: var(--gold); }

/* STARS */
.stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; }

/* WHATSAPP */
.wa-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 700; background: #25D366; color: #fff; transition: all 0.2s; }
.wa-btn:hover { background: #20bd5c; transform: translateY(-1px); }

/* ===== NAVBAR ===== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s;
}
#nav.scrolled { border-color: var(--gray-100); box-shadow: 0 4px 30px rgba(0,0,0,0.07); }
.nav-wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; letter-spacing: -0.03em; color: var(--black); }
.nav-logo-mark { width: 34px; height: 34px; background: var(--gold); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; color: var(--black); }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { padding: 8px 13px; font-size: 14px; font-weight: 500; color: var(--gray-600); border-radius: 7px; transition: all 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--black); background: var(--gray-50); }
.nav-links a.active { font-weight: 700; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: all 0.3s; }
#mob-nav { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--white); z-index: 999; padding: 20px 24px; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); overflow-y: auto; }
#mob-nav.open { transform: translateX(0); }
.mob-links { list-style: none; display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.mob-links a { display: block; padding: 14px 16px; font-size: 17px; font-weight: 600; color: var(--gray-800); border-radius: 10px; border-bottom: 1px solid var(--gray-100); }
.mob-links a:hover { background: var(--gray-50); color: var(--gold); }

/* ===== FOOTER ===== */
#footer { background: var(--black); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { font-size: 21px; font-weight: 900; color: var(--white); letter-spacing: -0.03em; margin-bottom: 12px; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.38); line-height: 1.7; max-width: 260px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); font-size: 12px; font-weight: 700; transition: all 0.2s; }
.footer-social a:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-divider { height: 1px; background: rgba(255,255,255,0.06); margin-bottom: 26px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.22); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.28); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ===== MOBILE CTA BAR ===== */
#mob-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; background: var(--white); border-top: 1px solid var(--gray-100); padding: 10px 16px; gap: 10px; box-shadow: 0 -8px 30px rgba(0,0,0,0.08); }

/* ===== CHAT ===== */
#chat-btn { position: fixed; bottom: 26px; right: 26px; z-index: 800; width: 54px; height: 54px; border-radius: 50%; background: var(--gold); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 28px rgba(201,168,76,0.5); font-size: 22px; transition: all 0.3s; }
#chat-btn:hover { transform: scale(1.1); }
#chat-panel { position: fixed; bottom: 92px; right: 26px; z-index: 800; width: 315px; background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100); overflow: hidden; transform: scale(0.9) translateY(16px); transform-origin: bottom right; opacity: 0; pointer-events: none; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); }
#chat-panel.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
.chat-head { background: var(--black); padding: 16px 20px; display: flex; align-items: center; gap: 12px; }
.chat-av { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 900; color: var(--black); font-size: 15px; flex-shrink: 0; }
.chat-name { font-size: 14px; font-weight: 800; color: var(--white); margin-bottom: 2px; }
.chat-status { font-size: 11px; color: rgba(255,255,255,0.45); display: flex; align-items: center; gap: 5px; }
.chat-dot { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; }
.chat-body { padding: 18px 20px; }
.chat-bubble { background: var(--gray-50); border-radius: 14px 14px 14px 4px; padding: 12px 15px; font-size: 14px; color: var(--gray-700); line-height: 1.6; margin-bottom: 14px; }
.chat-actions { display: flex; flex-direction: column; gap: 8px; }
.chat-action { padding: 11px 15px; border-radius: 9px; font-size: 13px; font-weight: 600; border: none; cursor: pointer; text-align: left; transition: all 0.2s; text-decoration: none; display: block; font-family: var(--font); }
.chat-action-g { background: var(--gold); color: var(--black); }
.chat-action-g:hover { background: var(--gold-light); }
.chat-action-o { background: var(--white); color: var(--gray-700); border: 1.5px solid var(--gray-200); }
.chat-action-o:hover { border-color: var(--gold); color: var(--gold); }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(40px); }
.fade-in { opacity: 0; }
.stagger { opacity: 0; transform: translateY(32px); }

/* ===== PAGE HERO ===== */
.page-hero { padding-top: calc(var(--nav-h) + 60px); padding-bottom: 60px; background: var(--off-white); border-bottom: 1px solid var(--gray-100); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-right .btn:not(.btn-sm) { display: none; }
  .hamburger { display: flex; }
  #mob-cta { display: flex; }
  #chat-btn { bottom: 74px; right: 14px; }
  #chat-panel { right: 14px; bottom: 138px; width: calc(100vw - 28px); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
