:root {
  --color-primary: #2D6A4F;
  --color-primary-light: #40916C;
  --color-primary-dark: #1B4332;
  --color-secondary: #F4A261;
  --color-secondary-light: #FFBA7A;
  --color-accent: #E76F51;
  --color-bg: #F8F6F1;
  --color-bg-alt: #EEF4F0;
  --color-bg-dark: #1B3A2D;
  --color-text: #1A2E22;
  --color-text-muted: #4A6358;
  --color-text-light: #7A9688;
  --color-white: #FDFCF9;
  --color-border: #D4E6DA;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 48px;
  --radius-blob: 60% 40% 70% 30% / 50% 60% 40% 50%;

  --shadow-sm: 0 2px 8px rgba(45,106,79,0.08), 0 1px 3px rgba(45,106,79,0.05);
  --shadow-md: 0 6px 24px rgba(45,106,79,0.12), 0 2px 8px rgba(45,106,79,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 48px rgba(45,106,79,0.15), 0 6px 16px rgba(45,106,79,0.09), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-card: 0 4px 20px rgba(45,106,79,0.10), 0 1px 6px rgba(45,106,79,0.06);
  --shadow-btn: 0 4px 16px rgba(45,106,79,0.30), 0 2px 6px rgba(45,106,79,0.18);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --transition-fast: 180ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  --font-heading: 'Gabarito', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-text);
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p { color: var(--color-text-muted); line-height: 1.75; }

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

.container-wide {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-pad { padding: var(--space-2xl) 0; }
.section-pad-lg { padding: var(--space-3xl) 0; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  min-height: 48px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition-fast);
  border-radius: inherit;
}

.btn:hover::after { background: rgba(255,255,255,0.10); }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,106,79,0.38), 0 3px 8px rgba(45,106,79,0.22);
}

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-text);
  box-shadow: 0 4px 16px rgba(244,162,97,0.35), 0 2px 6px rgba(244,162,97,0.20);
}

.btn-secondary:hover {
  background: var(--color-secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,162,97,0.45), 0 3px 8px rgba(244,162,97,0.28);
}

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

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

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-primary { background: rgba(45,106,79,0.12); color: var(--color-primary-dark); }
.tag-secondary { background: rgba(244,162,97,0.18); color: #C47A2A; }
.tag-accent { background: rgba(231,111,81,0.12); color: var(--color-accent); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248,246,241,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(248,246,241,0.97);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo img, .nav-logo svg {
  height: 40px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  line-height: 1.1;
}

.nav-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
  background: rgba(45,106,79,0.07);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(45,106,79,0.07);
  border-radius: 50px;
  padding: 0.25rem 0.5rem;
}

.lang-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 0.25rem 0.5rem;
  border-radius: 50px;
  transition: all var(--transition-fast);
  letter-spacing: 0.04em;
  min-height: 28px;
  display: flex;
  align-items: center;
}

.lang-btn:hover { color: var(--color-primary); }

.lang-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.lang-divider {
  color: var(--color-border);
  font-size: 0.75rem;
}

.nav-cta { display: none; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.hamburger:hover { background: rgba(45,106,79,0.08); }

.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 999;
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-menu-links a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu-links a:hover {
  background: rgba(45,106,79,0.07);
  color: var(--color-primary);
  padding-left: 1.5rem;
}

.mobile-menu-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nav-cta { display: inline-flex; }
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  background: linear-gradient(145deg, #EEF4F0 0%, #F8F6F1 40%, #FDF6EE 100%);
}

.hero-blob-1 {
  position: absolute;
  top: -10%;
  right: -8%;
  width: clamp(300px, 50vw, 650px);
  height: clamp(300px, 50vw, 650px);
  background: radial-gradient(ellipse at center, rgba(64,145,108,0.18) 0%, rgba(64,145,108,0.06) 55%, transparent 75%);
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  animation: blobFloat1 12s ease-in-out infinite;
  z-index: 0;
}

.hero-blob-2 {
  position: absolute;
  bottom: -5%;
  left: -5%;
  width: clamp(250px, 40vw, 500px);
  height: clamp(250px, 40vw, 500px);
  background: radial-gradient(ellipse at center, rgba(244,162,97,0.14) 0%, rgba(244,162,97,0.05) 55%, transparent 75%);
  border-radius: 45% 55% 40% 60% / 60% 40% 60% 40%;
  animation: blobFloat2 15s ease-in-out infinite;
  z-index: 0;
}

.hero-blob-3 {
  position: absolute;
  top: 40%;
  left: 30%;
  width: clamp(150px, 20vw, 300px);
  height: clamp(150px, 20vw, 300px);
  background: radial-gradient(ellipse at center, rgba(45,106,79,0.09) 0%, transparent 70%);
  border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%;
  animation: blobFloat3 18s ease-in-out infinite;
  z-index: 0;
}

@keyframes blobFloat1 {
  0%, 100% { border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%; transform: translate(0,0) scale(1); }
  33% { border-radius: 50% 50% 40% 60% / 55% 45% 55% 45%; transform: translate(-15px, 20px) scale(1.03); }
  66% { border-radius: 40% 60% 65% 35% / 35% 65% 35% 65%; transform: translate(10px, -15px) scale(0.97); }
}

@keyframes blobFloat2 {
  0%, 100% { border-radius: 45% 55% 40% 60% / 60% 40% 60% 40%; transform: translate(0,0); }
  40% { border-radius: 55% 45% 60% 40% / 40% 60% 40% 60%; transform: translate(20px, -25px); }
  70% { border-radius: 35% 65% 45% 55% / 55% 45% 55% 45%; transform: translate(-10px, 15px); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(30px, -20px) rotate(15deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: var(--space-xl) 0;
}

.hero-text { max-width: 640px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow-line {
  width: 40px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
}

.hero-eyebrow span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.hero-headline .highlight {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.hero-headline .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(244,162,97,0.35);
  border-radius: 3px;
  z-index: -1;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  max-width: fit-content;
}

.hero-trust-icon {
  width: 40px;
  height: 40px;
  background: rgba(45,106,79,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.hero-trust-text p {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
  line-height: 1.3;
}

.hero-trust-text span {
  font-size: 0.72rem;
  color: var(--color-text-light);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 540px;
}

.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%;
  background: rgba(45,106,79,0.08);
  z-index: 0;
  animation: blobFloat1 10s ease-in-out infinite;
}

.hero-img-main {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 50% 50% 45% 55% / 45% 45% 55% 55%;
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow: var(--shadow-lg);
}

.hero-float-card {
  position: absolute;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.125rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.hero-float-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hero-float-card-icon.green { background: rgba(45,106,79,0.12); color: var(--color-primary); }
.hero-float-card-icon.orange { background: rgba(244,162,97,0.18); color: #C47A2A; }

.hero-float-card p {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  line-height: 1.3;
}

.hero-float-card span {
  font-size: 0.68rem;
  color: var(--color-text-light);
  display: block;
  font-weight: 400;
}

.hero-float-1 { top: 8%; left: -5%; animation: floatCard 6s ease-in-out infinite; }
.hero-float-2 { bottom: 12%; right: -5%; animation: floatCard 6s ease-in-out infinite 3s; }

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

@media (min-width: 1024px) {
  .hero-content { grid-template-columns: 1fr 1fr; }
  .hero-float-1 { left: -8%; }
  .hero-float-2 { right: -8%; }
}

/* ============================================================
   WAVE DIVIDERS
   ============================================================ */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  display: block;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  margin-bottom: var(--space-lg);
}

.section-header.centered { text-align: center; }

.section-header .tag { margin-bottom: 1rem; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title .accent { color: var(--color-primary); }

.section-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 560px;
}

.section-header.centered .section-desc { margin: 0 auto; }

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-section {
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) 0;
}

.problem-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(64,145,108,0.15) 0%, transparent 65%);
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
}

.problem-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(244,162,97,0.10) 0%, transparent 65%);
  border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
}

.problem-section .section-title { color: var(--color-white); }
.problem-section .section-desc { color: rgba(255,255,255,0.7); }
.problem-section .tag-primary { background: rgba(64,145,108,0.25); color: #74C69D; }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.problem-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
}

.problem-card:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.problem-icon {
  width: 52px;
  height: 52px;
  background: rgba(244,162,97,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-secondary);
  margin-bottom: 1.25rem;
}

.problem-card h4 { color: var(--color-white); margin-bottom: 0.625rem; font-size: 1.05rem; }
.problem-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin: 0; }

@media (min-width: 640px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   SOLUTION / TOOLS SECTION (ZIGZAG)
   ============================================================ */
.zigzag-section { padding: var(--space-2xl) 0; }

.zigzag-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.zigzag-item:last-child { margin-bottom: 0; }

.zigzag-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.zigzag-img-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.zigzag-img-wrap::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50% 50% 45% 55% / 45% 55% 45% 55%;
  z-index: 0;
  transition: all var(--transition-slow);
}

.zigzag-item:nth-child(1) .zigzag-img-wrap::before { background: rgba(45,106,79,0.10); }
.zigzag-item:nth-child(2) .zigzag-img-wrap::before { background: rgba(244,162,97,0.12); }
.zigzag-item:nth-child(3) .zigzag-img-wrap::before { background: rgba(231,111,81,0.09); }

.zigzag-img {
  position: relative;
  z-index: 1;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.zigzag-item:nth-child(1) .zigzag-img { border-radius: 55% 45% 50% 50% / 45% 50% 50% 55%; }
.zigzag-item:nth-child(2) .zigzag-img { border-radius: 45% 55% 55% 45% / 55% 45% 55% 45%; }
.zigzag-item:nth-child(3) .zigzag-img { border-radius: 50% 50% 45% 55% / 50% 55% 45% 50%; }

.tool-number {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  color: rgba(45,106,79,0.08);
  line-height: 1;
  margin-bottom: -1rem;
  display: block;
}

.zigzag-text { max-width: 520px; }

.tool-features {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tool-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.tool-feature:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(45,106,79,0.2);
}

.tool-feature-icon {
  width: 32px;
  height: 32px;
  background: rgba(45,106,79,0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.tool-feature p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.55;
}

.tool-feature strong { color: var(--color-text); }

@media (min-width: 1024px) {
  .zigzag-item { grid-template-columns: 1fr 1fr; }
  .zigzag-item.reverse .zigzag-visual { order: 2; }
  .zigzag-item.reverse .zigzag-text { order: 1; }
  .zigzag-text { max-width: 100%; }
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section {
  background: var(--color-bg-alt);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.why-section::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(45,106,79,0.07) 0%, transparent 65%);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.why-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-card:hover::before { transform: scaleX(1); }

.why-card:nth-child(2)::before { background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-light)); }
.why-card:nth-child(3)::before { background: linear-gradient(90deg, var(--color-accent), #F4845F); }
.why-card:nth-child(4)::before { background: linear-gradient(90deg, #52B788, #74C69D); }

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50% 50% 45% 55% / 50% 45% 55% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: border-radius var(--transition-slow);
}

.why-card:hover .why-icon { border-radius: 45% 55% 50% 50% / 55% 50% 45% 55%; }

.why-card:nth-child(1) .why-icon { background: rgba(45,106,79,0.12); color: var(--color-primary); }
.why-card:nth-child(2) .why-icon { background: rgba(244,162,97,0.15); color: #C47A2A; }
.why-card:nth-child(3) .why-icon { background: rgba(231,111,81,0.12); color: var(--color-accent); }
.why-card:nth-child(4) .why-icon { background: rgba(82,183,136,0.12); color: #52B788; }

.why-card h4 { font-size: 1.1rem; margin-bottom: 0.625rem; }
.why-card p { font-size: 0.9rem; margin: 0; line-height: 1.65; }

@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   CERTIFICATION / BADGES SECTION
   ============================================================ */
.badges-section {
  padding: var(--space-xl) 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.badge-item:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.badge-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50% 50% 45% 55% / 50% 45% 55% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.badge-item:nth-child(1) .badge-icon-wrap { background: rgba(45,106,79,0.12); color: var(--color-primary); }
.badge-item:nth-child(2) .badge-icon-wrap { background: rgba(244,162,97,0.15); color: #C47A2A; }
.badge-item:nth-child(3) .badge-icon-wrap { background: rgba(231,111,81,0.12); color: var(--color-accent); }
.badge-item:nth-child(4) .badge-icon-wrap { background: rgba(82,183,136,0.12); color: #52B788; }

.badge-text h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.badge-text p {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.4;
}

@media (min-width: 640px) { .badges-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   WHAT YOU BUILD SECTION
   ============================================================ */
.build-section {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}

.build-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.build-card {
  background: var(--color-white);
  border-radius: 40% 60% 55% 45% / 40% 45% 55% 60%;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.build-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  opacity: 0.06;
  transition: all var(--transition-slow);
}

.build-card:nth-child(1)::after { background: var(--color-primary); }
.build-card:nth-child(2)::after { background: var(--color-secondary); }
.build-card:nth-child(3)::after { background: var(--color-accent); }

.build-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: var(--shadow-lg);
}

.build-card:hover::after { transform: scale(3); opacity: 0.08; }

.build-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.build-card:nth-child(1) .build-number { color: var(--color-primary-light); }
.build-card:nth-child(2) .build-number { color: var(--color-secondary); }
.build-card:nth-child(3) .build-number { color: var(--color-accent); }

.build-card h4 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.build-card p { font-size: 0.9rem; margin: 0; line-height: 1.65; }

@media (min-width: 768px) { .build-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   FUNCTIONS SECTION
   ============================================================ */
.functions-section {
  background: var(--color-bg-alt);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.functions-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.functions-visual {
  position: relative;
}

.functions-img {
  width: 100%;
  max-width: 500px;
  border-radius: 45% 55% 50% 50% / 50% 45% 55% 50%;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
  display: block;
}

.functions-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.func-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  background: var(--color-white);
  border-radius: 50px;
  border: 1px solid var(--color-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.func-chip:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
}

.func-chip i { font-size: 0.75rem; color: var(--color-primary); transition: color var(--transition-fast); }
.func-chip:hover i { color: var(--color-white); }

@media (min-width: 1024px) {
  .functions-content { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   AGENDA / SCHEDULE SECTION
   ============================================================ */
.agenda-section {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}

.agenda-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.agenda-day {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.agenda-day-header {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.agenda-day:nth-child(1) .agenda-day-header { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)); }
.agenda-day:nth-child(2) .agenda-day-header { background: linear-gradient(135deg, #C47A2A, var(--color-secondary)); }

.agenda-day-header h3 { color: var(--color-white); font-size: 1.2rem; }
.agenda-day-header p { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin: 0; }

.agenda-day-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.25);
  line-height: 1;
  flex-shrink: 0;
}

.agenda-items { padding: 1.5rem 2rem; }

.agenda-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.agenda-item:last-child { border-bottom: none; }

.agenda-time {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
  padding-top: 0.1rem;
  min-width: 70px;
}

.agenda-item-content h5 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.agenda-item-content p {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (min-width: 1024px) { .agenda-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: var(--space-2xl) 0;
  background: var(--color-primary-dark);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(64,145,108,0.25) 0%, transparent 65%);
  border-radius: 60% 40% 50% 50% / 45% 55% 45% 55%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(244,162,97,0.15) 0%, transparent 65%);
  border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
}

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

.cta-section .section-title { color: var(--color-white); }
.cta-section .section-desc { color: rgba(255,255,255,0.75); max-width: 100%; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.75);
  padding: var(--space-2xl) 0 var(--space-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: var(--space-xl);
}

.footer-brand .nav-logo-text { color: var(--color-white); }
.footer-brand .nav-logo-text span { color: rgba(255,255,255,0.55); }

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover { color: var(--color-secondary); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.footer-contact-item i {
  color: var(--color-secondary);
  font-size: 0.9rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

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

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition-fast);
}

.footer-legal a:hover { color: var(--color-secondary); }

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ============================================================
   INTERNAL PAGES - SHARED
   ============================================================ */
.page-hero {
  background: linear-gradient(145deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  padding: calc(72px + var(--space-xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(45,106,79,0.10) 0%, transparent 65%);
  border-radius: 60% 40% 50% 50% / 45% 55% 45% 55%;
  pointer-events: none;
}

.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.05rem; max-width: 580px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
}

.breadcrumb a { color: var(--color-primary); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--color-primary-dark); }
.breadcrumb span { color: var(--color-text-light); }
.breadcrumb i { font-size: 0.6rem; color: var(--color-text-light); }

/* ============================================================
   DONDE ESTAMOS PAGE
   ============================================================ */
.map-section { padding: var(--space-2xl) 0; }

.map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.map-wrap iframe { display: block; width: 100%; height: 400px; border: none; }

.map-info-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.map-info-card h3 { margin-bottom: 1.5rem; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-detail:last-child { border-bottom: none; }

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(45,106,79,0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.contact-detail-text span {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}

.contact-detail-text a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.contact-detail-text a:hover { color: var(--color-primary-dark); }

@media (min-width: 1024px) { .map-grid { grid-template-columns: 3fr 2fr; } }

/* ============================================================
   PARA EQUIPOS PAGE
   ============================================================ */
.teams-section { padding: var(--space-2xl) 0; }

.teams-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.team-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

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

.team-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.team-card-body { padding: 1.75rem; }
.team-card-body h4 { margin-bottom: 0.75rem; }
.team-card-body p { font-size: 0.9rem; margin: 0; }

@media (min-width: 768px) { .teams-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .teams-grid { grid-template-columns: repeat(3, 1fr); } }

.in-company-section {
  background: var(--color-bg-alt);
  padding: var(--space-2xl) 0;
}

.in-company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.in-company-img {
  width: 100%;
  max-width: 500px;
  border-radius: 50% 50% 45% 55% / 45% 55% 50% 50%;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
  display: block;
}

.in-company-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.in-company-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.in-company-item-icon {
  width: 36px;
  height: 36px;
  background: rgba(45,106,79,0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.in-company-item p { font-size: 0.88rem; margin: 0; line-height: 1.55; }

@media (min-width: 1024px) { .in-company-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   CALENDARIO PAGE
   ============================================================ */
.calendar-section { padding: var(--space-2xl) 0; }

.calendar-intro {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  margin-bottom: 3rem;
}

.calendar-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.calendar-intro-img {
  width: 100%;
  border-radius: 50% 50% 45% 55% / 45% 55% 50% 50%;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}

.format-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.format-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

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

.format-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.format-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50% 50% 45% 55% / 50% 45% 55% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.format-card:nth-child(1) .format-card-icon { background: rgba(45,106,79,0.12); color: var(--color-primary); }
.format-card:nth-child(2) .format-card-icon { background: rgba(244,162,97,0.15); color: #C47A2A; }

.format-card h4 { font-size: 1.15rem; }
.format-card p { font-size: 0.9rem; line-height: 1.65; }

.format-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.format-detail-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.875rem;
  background: var(--color-bg);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.format-detail-chip i { color: var(--color-primary); font-size: 0.72rem; }

@media (min-width: 768px) {
  .format-cards { grid-template-columns: repeat(2, 1fr); }
  .calendar-intro-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: var(--space-2xl) 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1.125rem;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: all var(--transition-fast);
  outline: none;
  min-height: 48px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(45,106,79,0.10);
}

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

.form-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.form-checkbox-label a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-info-col { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.contact-info-card h4 { margin-bottom: 1.25rem; }

@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; } }

/* ============================================================
   THANKS PAGE
   ============================================================ */
.thanks-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) 0;
  background: linear-gradient(145deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.thanks-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.thanks-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(45,106,79,0.08) 0%, transparent 65%);
  border-radius: 50%;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  background: rgba(45,106,79,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-primary);
  margin: 0 auto 1.5rem;
}

.thanks-card h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
.thanks-card p { margin-bottom: 2rem; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-section { padding: var(--space-2xl) 0; }

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-content p { margin-bottom: 1rem; font-size: 0.95rem; }

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.legal-date {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) { .legal-content { padding: 3.5rem 4rem; } }

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1rem;
  right: 1rem;
  z-index: 9999;
  background: var(--color-text);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.30), 0 8px 20px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.10);
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
  max-width: 480px;
}

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

.cookie-banner h5 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.cookie-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

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

.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.cookie-btn {
  padding: 0.6rem 1.125rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  min-height: 40px;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.cookie-btn-accept { background: var(--color-primary); color: var(--color-white); }
.cookie-btn-accept:hover { background: var(--color-primary-light); }
.cookie-btn-reject { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.8); }
.cookie-btn-reject:hover { background: rgba(255,255,255,0.18); }
.cookie-btn-customize { background: transparent; color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.25); }
.cookie-btn-customize:hover { border-color: rgba(255,255,255,0.5); color: var(--color-white); }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.cookie-modal.open { opacity: 1; pointer-events: auto; }

.cookie-modal-inner {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.cookie-modal-inner h4 { margin-bottom: 0.5rem; }
.cookie-modal-inner > p { font-size: 0.88rem; margin-bottom: 1.5rem; }

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  gap: 1rem;
}

.cookie-category:last-of-type { border-bottom: none; }

.cookie-category-info h6 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.cookie-category-info p { font-size: 0.8rem; color: var(--color-text-muted); margin: 0; }

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--color-border);
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition-fast);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider { background: var(--color-primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-switch input:disabled + .toggle-slider { background: var(--color-primary); opacity: 0.6; cursor: not-allowed; }

.cookie-modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: var(--space-sm); }

.text-muted { color: var(--color-text-muted); }
.text-primary { color: var(--color-primary); }

.divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-lg) 0;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}