/* ========================================
   B47 Ranch — Stylesheet
   Forest Green + Off-White, Vibrant Modern
   ======================================== */

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

:root {
  --green-900: #0B2218;
  --green-800: #1B4332;
  --green-700: #2D6A4F;
  --green-600: #40916C;
  --green-500: #52B788;
  --green-400: #74C69D;
  --green-300: #95D5B2;
  --green-200: #B7E4C7;
  --green-100: #D8F3DC;
  --green-50:  #EFFCF3;
  --cream:     #F5F0E8;
  --cream-light:#FAF7F0;
  --cream-dark:#EDE8DC;
  --text-dark:  #0B1D14;
  --text-mid:   #2C3E35;
  --text-light: #5A7D6A;
  --accent-lime: #A8D08D;
  --accent-coral: #E07A5F;
  --accent-gold: #E9C46A;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(11,34,24,0.06);
  --shadow-md: 0 8px 30px rgba(11,34,24,0.10);
  --shadow-lg: 0 20px 60px rgba(11,34,24,0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--cream-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
}

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

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

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

/* --- REVEAL ANIMATION (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250,247,240,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(27,67,50,0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(250,247,240,0.96);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-logo-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--green-800);
  background: var(--green-800);
  color: var(--green-100);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: -0.02em;
}

.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--green-800);
  letter-spacing: -0.02em;
  margin-left: 2px;
}

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

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.938rem;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-600);
  border-radius: 2px;
  transition: width var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--green-800) !important;
  color: var(--green-100) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--green-700) !important;
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-800);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--cream-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--green-800);
  padding: 8px;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mobile-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
}

.mobile-link:hover {
  background: var(--green-100);
  color: var(--green-800);
}

.mobile-cta {
  margin-top: 16px;
  background: var(--green-800);
  color: var(--green-100) !important;
  border-radius: var(--radius-md);
  padding: 14px 32px;
}

.mobile-cta:hover {
  background: var(--green-700);
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--green-800);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--green-500);
  top: -200px;
  right: -100px;
}

.shape-2 {
  width: 350px;
  height: 350px;
  background: var(--accent-lime);
  bottom: 10%;
  left: -80px;
  border-radius: var(--radius-xl);
  transform: rotate(25deg);
  opacity: 0.15;
}

.shape-3 {
  width: 180px;
  height: 180px;
  background: var(--accent-gold);
  top: 30%;
  left: 15%;
  border-radius: var(--radius-lg);
  transform: rotate(45deg);
  opacity: 0.18;
}

.shape-4 {
  width: 120px;
  height: 120px;
  background: var(--accent-coral);
  top: 20%;
  right: 30%;
  border-radius: 50%;
  opacity: 0.2;
}

.shape-5 {
  width: 250px;
  height: 250px;
  background: var(--green-300);
  bottom: -50px;
  right: 20%;
  border-radius: var(--radius-xl);
  transform: rotate(15deg);
  opacity: 0.1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  width: 100%;
}

/* Main hero card */
.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green-600), var(--accent-lime), var(--accent-gold));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  color: var(--green-700);
  font-size: 0.813rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-headline .accent {
  color: var(--green-700);
  position: relative;
}

.hero-headline .accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--green-200);
  border-radius: 3px;
  z-index: -1;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}

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

/* Stat cards */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
}

.stat-card-1::before { background: var(--green-500); }
.stat-card-2::before { background: var(--accent-gold); }
.stat-card-3::before { background: var(--accent-coral); }
.stat-card-4::before { background: var(--green-400); }

.stat-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-card-1 .stat-icon { background: var(--green-100); color: var(--green-700); }
.stat-card-2 .stat-icon { background: #FEF3C7; color: #92400E; }
.stat-card-3 .stat-icon { background: #FED7AA; color: #9A3412; }
.stat-card-4 .stat-icon { background: var(--green-100); color: var(--green-600); }

.stat-body {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 0.813rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* Hero wave */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  color: var(--cream-light);
  height: 80px;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.938rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--green-800);
  color: var(--green-100);
  border-color: var(--green-800);
}

.btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  box-shadow: 0 8px 24px rgba(27,67,50,0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-200);
}

.btn-secondary:hover {
  background: var(--green-50);
  border-color: var(--green-400);
}

.btn-white {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--green-50);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* --- SECTIONS COMMON --- */
section {
  padding: 100px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-600);
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--green-500);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.section-title .accent {
  color: var(--green-700);
  position: relative;
}

.section-desc {
  font-size: 1.063rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 48px;
}

/* --- SERVICES --- */
.services {
  background: var(--cream-light);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(27,67,50,0.06);
}

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

.service-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--green-300));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card:nth-child(2) .service-card-accent {
  background: linear-gradient(90deg, var(--accent-gold), #FDE68A);
}

.service-card:nth-child(3) .service-card-accent {
  background: linear-gradient(90deg, var(--accent-coral), #FCA5A5);
}

.service-card:nth-child(4) .service-card-accent {
  background: linear-gradient(90deg, var(--green-400), var(--green-200));
}

.service-card:nth-child(5) .service-card-accent {
  background: linear-gradient(90deg, #818CF8, #C4B5FD);
}

.service-card:nth-child(6) .service-card-accent {
  background: linear-gradient(90deg, var(--accent-lime), var(--green-300));
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition), transform var(--transition);
}

.service-card:hover .service-icon {
  background: var(--green-800);
  color: var(--green-100);
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.188rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 0.938rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- ABOUT --- */
.about {
  background: var(--cream);
  overflow: hidden;
}

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

.about-visual {
  position: relative;
}

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

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,34,24,0.35) 100%);
  border-radius: var(--radius-xl);
}

.about-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--green-800);
  color: var(--green-100);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.afc-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.afc-label {
  font-size: 0.813rem;
  opacity: 0.75;
  margin-top: 2px;
}

.about-content .section-desc {
  margin-bottom: 28px;
}

.about-content p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.value-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-item span {
  font-size: 0.938rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* --- WHY --- */
.why {
  background: var(--green-800);
  position: relative;
  overflow: hidden;
}

.why .section-label {
  color: var(--green-300);
}

.why .section-label::before {
  background: var(--green-400);
}

.why .section-title {
  color: var(--white);
}

.why .section-title .accent {
  color: var(--green-300);
}

.why .reveal p {
  color: var(--green-200);
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 12px;
}

.why-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.why-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--green-600);
  line-height: 1;
  flex-shrink: 0;
  min-width: 56px;
}

.why-text h4 {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.why-text p {
  font-size: 0.938rem;
  color: var(--green-300);
  line-height: 1.7;
}

/* Geometric visual */
.why-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.why-geo {
  position: relative;
  width: 320px;
  height: 320px;
}

.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.geo-ring-1 {
  width: 320px;
  height: 320px;
  border-color: rgba(116,198,157,0.2);
  animation: spin-slow 20s linear infinite;
}

.geo-ring-2 {
  width: 230px;
  height: 230px;
  border-color: rgba(168,208,141,0.3);
  animation: spin-slow 14s linear infinite reverse;
}

.geo-ring-3 {
  width: 140px;
  height: 140px;
  border-color: rgba(233,196,106,0.4);
  animation: spin-slow 10s linear infinite;
}

.geo-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: var(--green-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(82,183,136,0.4);
}

@keyframes spin-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- CTA BANNER --- */
.cta-banner {
  background: var(--green-700);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cta-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.cta-shape-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-lime);
  top: -150px;
  left: -100px;
}

.cta-shape-2 {
  width: 250px;
  height: 250px;
  background: var(--accent-gold);
  bottom: -80px;
  right: 10%;
  border-radius: var(--radius-xl);
  transform: rotate(30deg);
}

.cta-shape-3 {
  width: 120px;
  height: 120px;
  background: var(--accent-coral);
  top: 20%;
  right: 25%;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.cta-desc {
  font-size: 1.063rem;
  color: var(--green-200);
  line-height: 1.7;
  margin-bottom: 36px;
}

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

/* --- CONTACT --- */
.contact {
  background: var(--cream-light);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

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

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

.cd-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cd-label {
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.cd-value {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.cd-link {
  color: var(--green-700);
  font-weight: 500;
  transition: color var(--transition);
}

.cd-link:hover {
  color: var(--green-500);
  text-decoration: underline;
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(27,67,50,0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.938rem;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--cream-light);
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(82,183,136,0.15);
  background: var(--white);
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 16px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 8px;
}

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

.fs-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fs-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}

.fs-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* --- FOOTER --- */
.footer {
  background: var(--green-900);
  color: var(--green-200);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(216,243,220,0.1);
}

.footer-brand p {
  font-size: 0.938rem;
  color: var(--green-300);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 2px;
}

.footer-logo-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  background: var(--green-600);
  color: var(--green-100);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: -0.02em;
}

.footer-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--green-100);
  letter-spacing: -0.02em;
  margin-left: 2px;
}

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

.footer-col h4 {
  font-size: 0.813rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-400);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a,
.footer-col ul li {
  font-size: 0.938rem;
  color: var(--green-300);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.813rem;
  color: var(--green-600);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-card {
    flex: 1;
    min-width: 160px;
  }

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

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

  .about-visual {
    order: -1;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-card {
    padding: 32px 28px;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .hero-stats {
    flex-direction: column;
  }

  .stat-card {
    min-width: auto;
  }

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

  .about-values {
    grid-template-columns: 1fr;
  }

  .why-visual {
    min-height: 280px;
  }

  .why-geo {
    width: 240px;
    height: 240px;
  }

  .geo-ring-1 { width: 240px; height: 240px; }
  .geo-ring-2 { width: 170px; height: 170px; }
  .geo-ring-3 { width: 100px; height: 100px; }

  .contact-form-wrap {
    padding: 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}
