/* 
   CO-DE / Confianza en el Desarrollo
   Custom Design System & Stylesheet
*/

/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Sora:wght@400;500;600;700;800&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
  --color-primary: #62F6B3;
  --color-primary-rgb: 98, 246, 179;
  --color-primary-soft: #A6EBCD;
  --color-teal-dark: #054B52;
  --color-teal-dark-rgb: 5, 75, 82;
  --color-blue-deep: #073B52;
  --color-blue-deep-rgb: 7, 59, 82;
  --color-bg-light: #EBEDED;
  --color-white: #FFFFFF;
  --color-text-dark: #021F26;
  --color-text-muted: #4e6569;
  
  --font-title: 'Sora', 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 4px 6px -1px rgba(2, 31, 38, 0.05), 0 2px 4px -1px rgba(2, 31, 38, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(2, 31, 38, 0.08), 0 4px 6px -2px rgba(2, 31, 38, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(2, 31, 38, 0.1), 0 10px 10px -5px rgba(2, 31, 38, 0.04);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: 1.25;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-teal-dark) 0%, var(--color-blue-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent {
  color: var(--color-teal-dark);
  position: relative;
  display: inline-block;
}

.text-accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(var(--color-primary-rgb), 0.4);
  z-index: -1;
  border-radius: 4px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.4);
}

.btn-primary:hover {
  background-color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.3);
}

.btn-outline {
  border-color: var(--color-teal-dark);
  color: var(--color-teal-dark);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--color-teal-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(var(--color-teal-dark-rgb), 0.15);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-teal-dark);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.btn-white:hover {
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.4);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* --- STRUCTURE / CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-bg-white {
  background-color: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  background-color: rgba(var(--color-primary-rgb), 0.25);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* --- HEADER / NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(235, 237, 237, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(5, 75, 82, 0.06);
  transition: var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-teal-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
}

/* Burger Button */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1010;
}

.burger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-dark);
  margin: 6px 0;
  transition: var(--transition-normal);
  transform-origin: 0 0;
}

/* --- HERO SECTION --- */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  min-height: 95vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, rgba(var(--color-primary-rgb), 0.15) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(var(--color-teal-dark-rgb), 0.04) 0%, transparent 40%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 10;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-teal-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-tagline::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-primary);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  font-weight: 400;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Graphic elements */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphics-container {
  width: 100%;
  max-width: 450px;
  height: 450px;
  position: relative;
}

.circles-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: spinSlow 30s linear infinite;
  opacity: 0.85;
}

.hero-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(5, 75, 82, 0.1);
  padding: 1.25rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 20;
  animation: float 6s ease-in-out infinite;
}

.hero-badge-1 {
  top: 15%;
  right: -5%;
}

.hero-badge-2 {
  bottom: 15%;
  left: -5%;
  animation-delay: -3s;
}

.badge-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(var(--color-primary-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal-dark);
}

.badge-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.badge-text p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Animations */
@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

/* --- SERVICES SECTION --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid rgba(5, 75, 82, 0.06);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--color-primary);
  transition: var(--transition-normal);
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background-color: rgba(var(--color-primary-rgb), 0.12);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  transition: var(--transition-normal);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  transition: var(--transition-fast);
}

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

/* Hover effects */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(5, 75, 82, 0.12);
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--color-teal-dark);
  color: var(--color-primary);
  transform: scale(1.05);
}

.service-card:hover h3 {
  color: var(--color-teal-dark);
}

/* --- "CÓMO TRABAJAMOS" SECTION --- */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, 
              rgba(5, 75, 82, 0.05) 0%, 
              var(--color-teal-dark) 20%, 
              var(--color-primary) 80%, 
              rgba(98, 246, 179, 0.05) 100%);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 2rem 3rem;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 2.75rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 4px solid var(--color-teal-dark);
  z-index: 10;
  transition: var(--transition-normal);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -12px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -12px;
}

.timeline-card {
  background-color: var(--color-white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(5, 75, 82, 0.06);
  position: relative;
  transition: var(--transition-normal);
}

.timeline-number {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(var(--color-primary-rgb), 0.35);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.timeline-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Hover timeline effects */
.timeline-item:hover .timeline-dot {
  background-color: var(--color-primary);
  border-color: var(--color-blue-deep);
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(var(--color-primary-rgb), 0.6);
}

.timeline-item:hover .timeline-card {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 75, 82, 0.15);
}

/* --- BENEFITS SECTION --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.benefit-card {
  text-align: center;
  padding: 1.5rem;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(var(--color-primary-rgb), 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal-dark);
  margin: 0 auto 1.5rem auto;
  font-size: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.benefits-box {
  background: linear-gradient(135deg, var(--color-teal-dark) 0%, var(--color-blue-deep) 100%);
  color: var(--color-white);
  padding: 3rem;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  box-shadow: var(--shadow-lg);
}

.benefits-box-content {
  flex: 1.2;
}

.benefits-box-content h3 {
  color: var(--color-white);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.benefits-box-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.benefits-box-action {
  flex: 0.8;
  display: flex;
  justify-content: flex-end;
}

/* --- SOLUTIONS / CASES SECTION --- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.solution-tag-card {
  background-color: var(--color-bg-light);
  border: 1px solid rgba(5, 75, 82, 0.08);
  padding: 1.75rem 1.25rem;
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  cursor: default;
}

.solution-tag-card svg {
  width: 32px;
  height: 32px;
  color: var(--color-teal-dark);
  margin-bottom: 1rem;
  transition: var(--transition-fast);
}

.solution-tag-card span {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.solution-tag-card:hover {
  background-color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.solution-tag-card:hover svg {
  color: var(--color-primary);
  transform: scale(1.1);
}

/* --- CTA INTERMEDIO SECTION --- */
.cta-intermedio {
  background: linear-gradient(135deg, var(--color-teal-dark) 0%, var(--color-blue-deep) 100%);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-intermedio::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border: 2px solid rgba(var(--color-primary-rgb), 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.cta-intermedio::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border: 4px solid rgba(var(--color-primary-rgb), 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.cta-intermedio h2 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.cta-intermedio p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

/* --- CONTACT FORM SECTION --- */
.contact-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: flex-start;
}

.form-wrapper {
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(5, 75, 82, 0.06);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.form-control {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(5, 75, 82, 0.15);
  background-color: #F8F9F9;
  outline: none;
  transition: var(--transition-fast);
  color: var(--color-text-dark);
}

.form-control:focus {
  border-color: var(--color-teal-dark);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(var(--color-teal-dark-rgb), 0.1);
}

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

/* Honeypot field (hidden from users) */
.hpt-field {
  display: none !important;
  visibility: hidden !important;
}

/* Form status feedback */
.form-feedback {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
  animation: slideDown 0.3s ease;
}

.form-feedback.success {
  display: block;
  background-color: rgba(37, 211, 102, 0.1);
  color: #1b8740;
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.form-feedback.error {
  display: block;
  background-color: rgba(235, 87, 87, 0.1);
  color: #c53030;
  border: 1px solid rgba(235, 87, 87, 0.25);
}

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

/* Right Column Direct Contact */
.direct-contact-container {
  padding-top: 1rem;
}

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

.contact-info-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

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

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(var(--color-primary-rgb), 0.2);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.contact-info-text p, .contact-info-text a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.contact-info-text a:hover {
  color: var(--color-teal-dark);
}

.quick-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --- FOOTER SECTION --- */
.footer {
  background-color: var(--color-text-dark);
  color: var(--color-white);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h4 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-logo {
  margin-bottom: 1.25rem;
}

.footer-logo img {
  height: 42px;
  filter: brightness(0) invert(1) drop-shadow(0 0 1px #62F6B3);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-title {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  display: inline-block;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(3px);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}

/* --- ANIMATIONS & INTERSECTION OBSERVER CLASS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* delay classes for lists */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* --- RESPONSIVE MEDIA QUERIES --- */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-grid {
    gap: 2rem;
  }
}

@media (max-width: 968px) {
  .section {
    padding: 4.5rem 0;
  }
  
  .hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1; /* graphic on top in mobile for impact */
  }
  
  .hero-graphics-container {
    max-width: 320px;
    height: 320px;
  }
  
  .hero-badge-1 {
    right: -10px;
    top: 5%;
  }
  
  .hero-badge-2 {
    left: -10px;
    bottom: 5%;
  }

  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 55px;
    padding-right: 0;
    text-align: left !important;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-dot {
    left: 10px !important;
    right: auto !important;
  }
  
  .benefits-box {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
  }
  
  .benefits-box-action {
    justify-content: center;
    width: 100%;
  }
  
  .contact-section {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .burger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 3rem 3rem 3rem;
    gap: 2rem;
    box-shadow: -10px 0 30px rgba(2, 31, 38, 0.15);
    transition: var(--transition-normal);
    z-index: 1005;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-actions {
    display: none; /* inside navigation or handled differently */
  }
  
  .nav-menu .btn {
    width: 100%;
    margin-top: 1.5rem;
  }
  
  .burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .burger.open span:nth-child(2) {
    opacity: 0;
  }
  
  .burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-wrapper {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
