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

:root {
  --green-900: #042f23;
  --green-800: #064e3b;
  --green-700: #047857;
  --green-600: #059669;
  --green-500: #10b981;
  --green-400: #34d399;
  --green-100: #d1fae5;
  --green-50:  #ecfdf5;
  --cream:     #F5F0E8;
  --cream-light:#FAF7F0;
  --cream-dark:#E8E0D0;
  --amber:     #D97706;
  --amber-light:#FCD34D;
  --amber-50:  #FFFBEB;
  --text-dark:  #1a1a1a;
  --text-mid:   #3d3d3d;
  --text-light: #6b6b6b;
  --white:      #ffffff;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.1);
  --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);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.2;
  color: var(--text-dark);
}

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

a {
  color: var(--green-700);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--green-600); }

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

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(4, 120, 87, 0.08);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(245, 240, 232, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green-800);
}
.logo:hover { color: var(--green-700); }

.logo-text {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-icon {
  flex-shrink: 0;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 8px 16px;
  color: var(--text-mid);
  font-size: 0.938rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.main-nav a:hover {
  color: var(--green-700);
  background: var(--green-50);
}

.nav-cta {
  background: var(--green-700) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  margin-left: 8px;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--green-800) !important;
  color: var(--white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--green-800);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--green-50) 50%, var(--cream) 100%);
  overflow: hidden;
}

/* Geometric decorations */
.geo {
  position: absolute;
  pointer-events: none;
  user-select: none;
}
.geo-circle-1 {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4,120,87,0.07) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.geo-circle-2 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,119,6,0.08) 0%, transparent 70%);
  bottom: 100px;
  left: -60px;
}
.geo-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 60px 104px 60px;
  border-color: transparent transparent rgba(4,120,87,0.08) transparent;
  top: 200px;
  right: 60px;
  transform: rotate(15deg);
}
.geo-dots {
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(4,120,87,0.2) 2px, transparent 2px);
  background-size: 16px 16px;
  bottom: 200px;
  right: 120px;
  opacity: 0.6;
}
.geo-square {
  width: 80px;
  height: 80px;
  border: 3px solid rgba(217,119,6,0.2);
  border-radius: var(--radius-md);
  top: 300px;
  left: 40px;
  transform: rotate(30deg);
}

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

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  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-700), var(--green-500), var(--amber));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-700);
  font-size: 0.813rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-card h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 20px;
  color: var(--green-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

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

/* Stats */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 10px;
}

.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);
  animation: float-card 3s ease-in-out infinite;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.stat-card--1 { animation-delay: 0s; border-left: 4px solid var(--green-700); }
.stat-card--2 { animation-delay: 0.5s; border-left: 4px solid var(--amber); }
.stat-card--3 { animation-delay: 1s; border-left: 4px solid var(--green-500); }

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.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-50); color: var(--green-700); }
.stat-card--2 .stat-icon { background: var(--amber-50); color: var(--amber); }
.stat-card--3 .stat-icon { background: var(--green-50); color: var(--green-500); }

.stat-number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.813rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.938rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
}
.btn-primary:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4,120,87,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-700);
}
.btn-outline:hover {
  background: var(--green-700);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-outline-light:hover {
  background: var(--cream);
  color: var(--green-800);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-icon { flex-shrink: 0; }

/* ========== SECTION TAG ========== */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-tag--light {
  color: var(--cream);
  background: rgba(255,255,255,0.15);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  color: var(--green-900);
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 1.063rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== SERVICES ========== */
.services {
  padding: 100px 0;
  background: var(--cream);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-card--accent {
  background: var(--green-700);
  border-color: transparent;
}
.service-card--accent::before {
  background: var(--amber);
}
.service-card--accent:hover {
  box-shadow: 0 20px 60px rgba(4,120,87,0.3);
}

.service-card-accent {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--green-100);
  opacity: 0.5;
  pointer-events: none;
}
.service-card--accent .service-card-accent {
  background: rgba(255,255,255,0.1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green-700);
}
.service-card--accent .service-icon {
  background: rgba(255,255,255,0.15);
  color: var(--cream);
}

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.188rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.service-card--accent h3 { color: var(--cream); }

.service-card > p {
  font-size: 0.938rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-card--accent > p { color: rgba(245,240,232,0.8); }

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.service-features li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  margin-top: 7px;
}
.service-features--light li { color: rgba(245,240,232,0.85); }
.service-features--light li::before { background: var(--amber-light); }

/* ========== ABOUT ========== */
.about {
  padding: 100px 0;
  background: var(--cream-light);
  overflow: hidden;
}

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

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4,120,87,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.about-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--green-700);
  color: var(--cream);
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  z-index: 2;
}
.afc-number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--amber-light);
}
.afc-label {
  display: block;
  font-size: 0.813rem;
  opacity: 0.9;
  margin-top: 6px;
  line-height: 1.4;
}

.about-deco {
  position: absolute;
  top: -30px;
  left: -30px;
  z-index: -1;
  opacity: 0.6;
}

.about-content {
  padding: 20px 0;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 24px;
  color: var(--green-900);
  letter-spacing: -0.02em;
}

.about-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-text strong {
  color: var(--text-dark);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-700);
}
.value-item strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.value-item span {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ========== SECTOR BANNER ========== */
.sector-banner {
  position: relative;
  padding: 100px 0;
  background: var(--green-700);
  overflow: hidden;
}

.geo-sector {
  position: absolute;
  pointer-events: none;
  user-select: none;
}
.geo-sector-circle-1 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.06);
  top: -100px;
  left: -100px;
}
.geo-sector-circle-2 {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -60px;
  right: 50px;
}
.geo-sector-dots {
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.15) 2px, transparent 2px);
  background-size: 14px 14px;
  top: 60px;
  right: 80px;
}

.sector-content {
  position: relative;
  z-index: 1;
}
.sector-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--cream);
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: -0.02em;
}

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

.sector-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.sector-item:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.sector-item-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--amber-light);
}

.sector-item h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.063rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}
.sector-item p {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.7);
  line-height: 1.6;
}

/* ========== CTA ========== */
.cta-section {
  padding: 80px 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-deco {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.4;
  pointer-events: none;
}

.cta-content {
  max-width: 560px;
}
.cta-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  color: var(--green-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cta-content p {
  font-size: 1.063rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ========== CONTACT ========== */
.contact {
  padding: 100px 0;
  background: var(--cream-light);
}

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

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--green-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 36px;
}

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

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-700);
}
.contact-detail strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.938rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.contact-detail p {
  font-size: 0.938rem;
  color: var(--text-light);
  line-height: 1.6;
}
.contact-detail a {
  color: var(--green-700);
  font-weight: 600;
}
.contact-detail a:hover {
  color: var(--green-600);
  text-decoration: underline;
}

.contact-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact-map-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.map-link {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-700);
  color: var(--cream);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.813rem;
  font-weight: 600;
  transition: all var(--transition);
}
.map-link:hover {
  background: var(--green-800);
  color: var(--cream);
  text-decoration: none;
}

/* Form */
.contact-form-wrapper {
  position: relative;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--green-500));
}

.contact-form-card h3 {
  font-size: 1.5rem;
  color: var(--green-900);
  margin-bottom: 6px;
}
.form-subtitle {
  font-size: 0.938rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.938rem;
  font-family: 'Inter', sans-serif;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--cream-light);
  color: var(--text-dark);
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-legal {
  margin-top: 4px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.813rem;
  color: var(--text-light);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--green-700);
}
.checkbox-label a {
  color: var(--green-700);
  text-decoration: underline;
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show {
  display: block;
  animation: fadeIn 0.4s ease;
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--green-700);
}
.form-success h4 {
  font-size: 1.25rem;
  color: var(--green-800);
  margin-bottom: 8px;
}
.form-success p {
  font-size: 0.938rem;
  color: var(--text-light);
  line-height: 1.6;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--green-900);
  color: var(--cream);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}

.geo-footer-dots {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 2px, transparent 2px);
  background-size: 20px 20px;
  top: 40px;
  right: 60px;
  pointer-events: none;
}

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

.logo-light .logo-text {
  color: var(--cream);
}
.logo-light:hover .logo-text {
  color: var(--amber-light);
}

.footer-brand p {
  font-size: 0.938rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.813rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-light);
  margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li a {
  color: rgba(245,240,232,0.6);
  font-size: 0.938rem;
  transition: all var(--transition);
}
.footer-links li a:hover {
  color: var(--cream);
  text-decoration: none;
  padding-left: 4px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.5;
}
.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.6;
}
.footer-contact a {
  color: rgba(245,240,232,0.6);
}
.footer-contact a:hover {
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.813rem;
  color: rgba(245,240,232,0.4);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--green-800);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .stat-card {
    flex: 1;
    min-width: 160px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-visual {
    max-width: 500px;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .cta-container {
    flex-direction: column;
    text-align: center;
  }
  .cta-actions {
    justify-content: center;
  }
}

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

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 1000;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .main-nav a {
    padding: 14px 16px;
    font-size: 1rem;
  }
  .nav-cta {
    margin-left: 0 !important;
    text-align: center;
    margin-top: 12px;
  }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-card { padding: 32px 24px; }
  .hero-card h1 { font-size: 1.65rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

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

  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .about-floating-card {
    right: 10px;
    bottom: -10px;
    padding: 18px 24px;
  }
  .afc-number { font-size: 2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-card { padding: 24px 20px; }
  .hero-stats { flex-direction: column; }
  .stat-card { flex: none; }
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
