/* =============================================
   PEYTO — Design System & Styles
   Brand: #E91E84 (Magenta/Pink)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary: #E91E84;
  --primary-dark: #C4186E;
  --primary-light: #FF4DA6;
  --primary-glow: rgba(233, 30, 132, 0.25);
  --primary-subtle: rgba(233, 30, 132, 0.08);

  --dark: #0F0F1A;
  --dark-2: #1A1A2E;
  --dark-3: #2D2D44;
  --gray-900: #1f1f2e;
  --gray-800: #2a2a3d;
  --gray-700: #3d3d54;
  --gray-600: #5a5a72;
  --gray-500: #7a7a92;
  --gray-400: #9e9eb4;
  --gray-300: #c4c4d4;
  --gray-200: #e2e2ec;
  --gray-100: #f0f0f6;
  --gray-50: #f8f8fc;
  --white: #ffffff;

  --gradient-primary: linear-gradient(135deg, #2D2D44 0%, #3d3d54 50%, #1A1A2E 100%);
  --gradient-dark: linear-gradient(180deg, #0F0F1A 0%, #1A1A2E 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(15,15,26,0.95) 0%, rgba(130,130,180,0.08) 100%);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
  --shadow-glow: 0 0 40px rgba(130, 130, 160, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { font-size: 1.05rem; color: var(--gray-600); }

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
  position: relative;
  padding-left: 40px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: var(--gray-400);
  transform: translateY(-50%);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 16px auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, #E91E84, #c4186e);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(233, 30, 132, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #c4186e, #a0135a);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(233, 30, 132, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Header CTA — white outline */
.navbar-cta {
  background: transparent !important;
  border: 2px solid rgba(255,255,255,0.5) !important;
  box-shadow: none !important;
  padding: 12px 28px !important;
}

.navbar-cta:hover {
  border-color: rgba(255,255,255,0.9) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

/* About + Contact form buttons — black */
#about-cta,
#form-submit {
  background: var(--dark) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}
#about-cta:hover,
#form-submit:hover {
  background: var(--dark-2) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

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

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}

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

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo img {
  height: 100px;
  width: auto;
  transition: var(--transition);
}

.navbar.scrolled .navbar-logo img {
  height: 68px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-menu a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.navbar-menu a:hover { color: var(--white); }
.navbar-menu a:hover::after { width: 100%; }
.navbar-menu a.active { color: var(--white); }
.navbar-menu a.active::after { width: 100%; }

.navbar-cta {
  margin-left: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

/* Animated rings background — inspired by Peyto logo circles */
.hero-rings {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

/* Ring 1 — large, slow, right side */
.hero-ring:nth-child(1) {
  width: 900px; height: 900px;
  top: -20%; right: -15%;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.06);
  animation: ring-drift-1 25s infinite alternate ease-in-out;
}
/* Ring 2 — medium, right */
.hero-ring:nth-child(2) {
  width: 700px; height: 700px;
  top: -10%; right: -8%;
  border-width: 3px;
  border-color: rgba(255, 255, 255, 0.08);
  animation: ring-drift-2 20s infinite alternate ease-in-out;
}
/* Ring 3 — smaller, right */
.hero-ring:nth-child(3) {
  width: 500px; height: 500px;
  top: 5%; right: 2%;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.1);
  animation: ring-drift-3 18s infinite alternate ease-in-out;
}
/* Ring 4 — bottom left, large */
.hero-ring:nth-child(4) {
  width: 800px; height: 800px;
  bottom: -30%; left: -20%;
  border-width: 2px;
  border-color: rgba(130, 130, 160, 0.06);
  animation: ring-drift-4 22s infinite alternate ease-in-out;
}
/* Ring 5 — bottom left, medium */
.hero-ring:nth-child(5) {
  width: 600px; height: 600px;
  bottom: -20%; left: -12%;
  border-width: 3px;
  border-color: rgba(130, 130, 160, 0.08);
  animation: ring-drift-5 19s infinite alternate ease-in-out;
}
/* Ring 6 — center, subtle large */
.hero-ring:nth-child(6) {
  width: 1200px; height: 1200px;
  top: -40%; left: 20%;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.03);
  animation: ring-drift-6 30s infinite alternate ease-in-out;
}
/* Ring 7 — small accent top-left */
.hero-ring:nth-child(7) {
  width: 300px; height: 300px;
  top: 15%; left: 5%;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.07);
  animation: ring-drift-7 15s infinite alternate ease-in-out;
}
/* Ring 8 — tiny accent */
.hero-ring:nth-child(8) {
  width: 180px; height: 180px;
  top: 60%; right: 20%;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.09);
  animation: ring-drift-8 12s infinite alternate ease-in-out;
}

@keyframes ring-drift-1 {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { transform: translate(-30px, 40px) rotate(15deg) scale(1.05); }
}
@keyframes ring-drift-2 {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { transform: translate(20px, -30px) rotate(-10deg) scale(0.95); }
}
@keyframes ring-drift-3 {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-15px, 20px) rotate(20deg); }
}
@keyframes ring-drift-4 {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { transform: translate(40px, -20px) rotate(-12deg) scale(1.04); }
}
@keyframes ring-drift-5 {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(25px, -35px) rotate(8deg); }
}
@keyframes ring-drift-6 {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-20px, 15px) rotate(5deg); }
}
@keyframes ring-drift-7 {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { transform: translate(20px, 30px) rotate(-25deg) scale(1.1); }
}
@keyframes ring-drift-8 {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { transform: translate(-25px, -15px) rotate(30deg) scale(0.9); }
}

/* Gradient glow blobs behind rings */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.hero-glow-1 {
  width: 500px; height: 500px;
  top: -10%; right: -5%;
  background: rgba(130, 130, 180, 0.08);
  animation: glow-pulse-1 8s infinite alternate ease-in-out;
}

.hero-glow-2 {
  width: 400px; height: 400px;
  bottom: -10%; left: -5%;
  background: rgba(130, 130, 180, 0.08);
  animation: glow-pulse-2 10s infinite alternate ease-in-out;
}

.hero-glow-3 {
  width: 300px; height: 300px;
  top: 30%; left: 40%;
  background: rgba(130, 130, 180, 0.05);
  animation: glow-pulse-3 12s infinite alternate ease-in-out;
}

@keyframes glow-pulse-1 {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.15); }
}
@keyframes glow-pulse-2 {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.1); }
}
@keyframes glow-pulse-3 {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 0.6; transform: scale(1.2); }
}

.hero-content {
  padding: 140px 0 80px;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
}

.hero-content h1 span {
  background: linear-gradient(135deg, #E91E84 0%, #FF6BB5 50%, #C4186E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
}

.hero-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}

.hero-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-card h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.hero-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.hero-card a {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-card a:hover { gap: 10px; }

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle 15s infinite ease-in-out;
}

@keyframes float-particle {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  25% { transform: translate(100px, -200px) scale(1.5); opacity: 0.6; }
  50% { transform: translate(-50px, -400px) scale(1); opacity: 0.2; }
  75% { transform: translate(150px, -300px) scale(1.8); opacity: 0.5; }
}

/* Hero scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scroll-dot 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scroll-dot {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--white);
  padding: 40px 0;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.stats-bar .container {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--gray-200);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  background: var(--dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ---------- Services Section ---------- */
.services {
  padding: 120px 0;
  background: var(--gray-50);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(130,130,180,0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h4 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ---------- About / Expert section ---------- */
.about-split {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

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

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: var(--transition-slow);
  filter: saturate(0.6);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(15,15,26,0.15), transparent);
}

.about-text .section-label { margin-bottom: 16px; }

.about-text h2 { margin-bottom: 24px; }

.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.about-feature .check {
  width: 24px;
  height: 24px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ---------- About Peyto Name Section ---------- */
.about-peyto {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.about-peyto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-peyto-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-peyto-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  filter: saturate(0.6);
}

.about-peyto-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(130,130,180,0.06) 0%, transparent 60%);
  z-index: 1;
}

/* ---------- Investment Calculator ---------- */
.calculator {
  padding: 120px 0;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.calculator::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(130,130,180,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.calculator::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(130,130,180,0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.calculator-header {
  text-align: center;
  margin-bottom: 64px;
}

.calculator-header h2 { color: var(--white); }
.calculator-header .section-subtitle { color: rgba(255,255,255,0.6); }

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.calc-form {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.calc-group {
  margin-bottom: 28px;
}

.calc-group label {
  display: block;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.calc-group .range-value {
  float: right;
  color: var(--primary-light);
  font-weight: 700;
}

.calc-group input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.calc-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E91E84, #c4186e);
  box-shadow: 0 0 12px rgba(233, 30, 132, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.calc-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(233, 30, 132, 0.5);
}

.calc-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.calc-group select:focus {
  border-color: var(--gray-500);
}

.calc-group select option {
  background: var(--dark);
  color: var(--white);
}

.calc-results {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.calc-result-title {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 32px;
  font-family: var(--font-sans);
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.result-row:last-child {
  border-bottom: none;
  padding-top: 24px;
  margin-top: 8px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.result-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

.result-value {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.result-row:last-child .result-value {
  font-size: 1.6rem;
  background: var(--white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.calc-chart {
  margin-top: 32px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  padding: 24px;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.chart-bar-group {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 100%;
  padding: 0 10px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(135deg, #3d3d54, #5a5a72);
  border-radius: 3px 3px 0 0;
  min-height: 4px;
  transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.7;
}

.chart-bar:hover { opacity: 1; }

/* ---------- Team Section — Horizontal Cards ---------- */
.team {
  padding: 120px 0;
  background: var(--white);
}

.team-header {
  text-align: center;
  margin-bottom: 64px;
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: hidden;
}

/* Advisor Card — Full Width Horizontal */
.advisor-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  min-height: 300px;
  position: relative;
}

/* First card gets overflow visible for the decorative circle */
#team-haas {
  overflow: visible;
}

.advisor-decor-circle {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 400px;
  height: 400px;
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
  transition: transform 0.1s ease-out;
}

.advisor-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Left side — White with photo */
.advisor-photo-side {
  background: var(--gray-50);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.advisor-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  border: 3px solid var(--gray-200);
}

.advisor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advisor-photo-side h4 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.advisor-role {
  color: var(--gray-500);
  font-weight: 600;
  font-size: 0.78rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.advisor-quals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.advisor-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gray-200);
  color: var(--gray-700);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

/* Right side — Dark with two columns */
.advisor-info-side {
  background: var(--dark);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr;
  gap: 32px;
  align-items: center;
}

.advisor-bio {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.85;
}

.advisor-contact-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.advisor-qr {
  text-align: center;
}

.advisor-qr img {
  width: 130px;
  height: 130px;
  border-radius: var(--radius-sm);
  background: white;
  padding: 6px;
}

.advisor-qr span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
}

.advisor-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.advisor-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

.advisor-link:hover {
  background: rgba(255,255,255,0.18);
  color: var(--white);
}



/* ---------- Cooperation Section ---------- */
.cooperation {
  padding: 120px 0;
  background: var(--gray-50);
}

.coop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 64px;
}

.coop-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.coop-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.coop-card h3 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.coop-card h3 .icon {
  width: 44px;
  height: 44px;
  background: var(--dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.coop-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.coop-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.coop-list li::before {
  content: '✓';
  color: var(--gray-600);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Contact Section ---------- */
.contact {
  padding: 120px 0;
  background: var(--white);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info h2 {
  margin-bottom: 24px;
}

.contact-info p {
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail-icon {
  width: 52px;
  height: 52px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.contact-detail-text span {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.contact-form {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--dark);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gray-500);
  box-shadow: 0 0 0 4px rgba(122, 122, 146, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
}

.form-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--dark);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.form-consent label {
  font-size: 0.85rem;
  color: var(--gray-500);
  cursor: pointer;
}

.form-consent label a {
  color: var(--dark);
  text-decoration: underline;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.show { display: block; }

.form-success .success-icon {
  width: 72px;
  height: 72px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 70px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h5 {
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ---------- Animations (scroll reveal) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ---------- Counter animation ---------- */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 9999;
  transform: translateY(100%);
  transition: var(--transition-slow);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

.cookie-banner p a { color: var(--primary-light); text-decoration: underline; }

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .advisor-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .calculator-wrapper { grid-template-columns: 1fr; }
  .about-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
    transition: var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }

  .navbar-menu.open { right: 0; }
  .navbar-menu a { font-size: 1.2rem; }
  .navbar-cta { margin-left: 0; margin-top: 16px; }
  .hamburger { display: flex; }

  .hero-content h1 { font-size: 2.2rem; }
  .hero-cards { grid-template-columns: 1fr; }

  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
    padding: 28px 24px;
  }

  .stat-item:nth-child(2)::after { display: none; }

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

  .about-grid,
  .about-peyto-grid,
  .contact-grid,
  .coop-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img,
  .about-peyto-image img { height: 300px; }

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

  .form-row { grid-template-columns: 1fr; }

  .cookie-banner { flex-direction: column; text-align: center; }

  .hero-buttons { flex-direction: column; align-items: flex-start; }

  /* Hero — more breathing room on mobile */
  .hero { min-height: 85vh; padding: 100px 0 60px; }
  .hero-content h1 { font-size: 2rem; line-height: 1.2; }
  .hero-content p { font-size: 0.9rem; margin-bottom: 28px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  /* Smaller body text on mobile */
  body { font-size: 14px; }
  .section-subtitle { font-size: 0.9rem; }
  .about-text p,
  .about-peyto-text p,
  .coop-list li,
  .contact-info p { font-size: 0.85rem; }

  /* Advisor cards — fully stacked on mobile */
  .advisor-card {
    grid-template-columns: 1fr;
  }

  .advisor-photo-side {
    padding: 32px 24px;
  }

  .advisor-info-side {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 20px;
  }

  .advisor-bio {
    font-size: 0.85rem;
    line-height: 1.7;
  }

  .advisor-contact-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .advisor-qr img {
    width: 110px;
    height: 110px;
  }

  .advisor-links {
    flex-direction: row;
    gap: 10px;
  }

  .advisor-link {
    padding: 10px 20px;
    font-size: 0.82rem;
    flex: 1;
  }

  .advisor-decor-circle {
    width: 200px;
    height: 200px;
    top: -40px;
    right: -30px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-bar .container { grid-template-columns: 1fr; }
  .stat-item::after { display: none !important; }
  .contact-form { padding: 28px 20px; }
  .coop-card { padding: 28px 24px; }
  .hero-content h1 { font-size: 1.7rem; }
}

/* ---------- Print Styles ---------- */
@media print {
  .navbar, .back-to-top, .cookie-banner, .hero-particles, .scroll-indicator { display: none !important; }
  .hero { min-height: auto; padding: 40px 0; }
  body { color: #000; }
}
