/* ============================================
   SIGMA ECO DESARROLLO — Estilos principales
   Diseño moderno, profesional, con animaciones
   ============================================ */

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

:root {
  /* Paleta */
  --green-900: #062B1B;
  --green-800: #0D4B2E;
  --green-700: #15633E;
  --green-600: #1B8C5A;
  --green-500: #2BAE6E;
  --green-400: #4DCD8B;
  --green-300: #7DD181;
  --green-100: #E6F5EC;
  --green-50:  #F1FAF4;

  --orange-600: #E55A2B;
  --orange-500: #FF6B35;
  --orange-400: #FF8C5C;
  --gold-500: #FFB627;

  --ink-900: #0E1B14;
  --ink-800: #1A2A21;
  --ink-700: #2A3A30;
  --ink-600: #4A5A50;
  --ink-500: #6B7A70;
  --ink-400: #9AA8A0;
  --ink-300: #C3CDC7;
  --ink-200: #E2E8E4;
  --ink-100: #F1F4F2;
  --ink-50:  #F8FAF9;

  --white: #FFFFFF;
  --black: #000000;

  /* Tipografía */
  --font-sans: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', 'Georgia', serif;

  /* Radios */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Sombras */
  --shadow-xs: 0 1px 2px rgba(13, 75, 46, 0.06);
  --shadow-sm: 0 4px 14px rgba(13, 75, 46, 0.08);
  --shadow-md: 0 12px 32px rgba(13, 75, 46, 0.10);
  --shadow-lg: 0 24px 60px rgba(13, 75, 46, 0.14);
  --shadow-xl: 0 40px 90px rgba(13, 75, 46, 0.18);

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container: 1240px;
  --nav-h: 80px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

/* Evitar que cualquier texto largo fuerce overflow horizontal */
.container, .about-grid, .contact-grid, .services-grid, .why-grid, .sectors-grid, .hero-content,
.section-title, .section-lead, .section-text, .service-card p, .why-item p, .process-content p {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  text-wrap: pretty;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-800);
  background: var(--ink-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--green-600); color: var(--white); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-100); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--green-600), var(--green-800));
  border-radius: var(--r-full);
}

/* --- Utilidades --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Reglas globales para evitar cortes de palabra feos */
h1, h2, h3, h4, h5, h6, p, span, a, li, button, input, textarea, label, small, strong {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  text-wrap: pretty;
}

.section {
  padding: 120px 0;
  position: relative;
}

.gradient-text {
  background: linear-gradient(135deg, var(--green-600) 0%, var(--green-800) 60%, var(--green-900) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.gradient-text-italic {
  background: linear-gradient(120deg, var(--orange-500) 0%, var(--gold-500) 50%, var(--green-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-tag i { font-size: 0.55rem; }
.section-tag.light {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--ink-600);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  text-wrap: pretty;
}
.section-subtitle.light { color: rgba(255,255,255,0.85); }

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  white-space: nowrap;
  isolation: isolate;
  text-align: center;
  justify-content: center;
}
.btn i { transition: transform 0.4s var(--ease-out); }
.btn:hover i { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(13, 75, 46, 0.6);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  z-index: -1;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -10px rgba(13, 75, 46, 0.7);
}
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-3px);
}

.btn-light {
  background: var(--white);
  color: var(--green-800);
  box-shadow: var(--shadow-md);
}
.btn-light:hover {
  background: var(--green-50);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-content {
  text-align: center;
  color: var(--white);
}
.preloader-logo svg {
  width: 80px; height: 80px;
  margin: 0 auto 18px;
}
.preloader-text {
  font-size: 0.95rem;
  letter-spacing: 1px;
  opacity: 0.9;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* --- Cursor follower --- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--green-600);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--green-600);
  transition: transform 0.25s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.cursor-ring.hovering {
  width: 60px; height: 60px;
  background: rgba(27, 140, 90, 0.1);
  border-color: var(--orange-500);
}
@media (max-width: 1024px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* --- Scroll progress --- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green-400), var(--green-600), var(--orange-500));
  z-index: 9000;
  transition: width 0.1s linear;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.0);
  backdrop-filter: blur(0);
  transition: all 0.4s var(--ease-out);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px -10px rgba(13, 75, 46, 0.15);
}
.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  height: 54px;
  flex-shrink: 0;
  overflow: visible;
}
.nav-logo img {
  height: 54px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: opacity 0.3s var(--ease-out);
}
.nav-logo .nav-logo-dark { display: none; }
.nav-logo .nav-logo-light { display: block; }
.navbar.scrolled .nav-logo .nav-logo-light { display: none; }
.navbar.scrolled .nav-logo .nav-logo-dark { display: block; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  position: relative;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.3s ease;
  border-radius: var(--r-sm);
}
.navbar.scrolled .nav-link { color: var(--ink-700); }
.nav-link:hover, .nav-link.active { color: var(--white); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: var(--green-700); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--orange-500);
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover::after,
.nav-link.active::after { width: 24px; }

.nav-cta {
  margin-left: 12px;
  padding: 12px 22px;
  background: var(--white);
  color: var(--green-800);
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 6px 18px -8px rgba(0,0,0,0.3);
}
.nav-cta:hover {
  background: var(--green-800);
  color: var(--white);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease-out);
  border-radius: 2px;
}
.navbar.scrolled .nav-toggle span { background: var(--ink-800); }
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    width: 88%;
    max-width: 380px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 8px;
    transform: translateX(120%);
    transition: transform 0.5s var(--ease-out);
    box-shadow: -20px 0 50px -10px rgba(0,0,0,0.2);
    overflow-y: auto;
    visibility: hidden;
  }
  .nav-menu.open { transform: translateX(0); visibility: visible; }
  .nav-menu .nav-link {
    color: var(--ink-800);
    font-size: 1.05rem;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--ink-100);
  }
  .nav-menu .nav-link::after { display: none; }
  .nav-cta {
    margin: 16px 0 0;
    background: var(--green-700);
    color: var(--white);
    width: 100%;
    justify-content: center;
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  animation: heroZoom 25s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1.1) translateX(0); }
  100% { transform: scale(1.18) translateX(-2%); }
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(13, 75, 46, 0.4) 0%, transparent 60%),
    linear-gradient(135deg, rgba(6, 43, 27, 0.85) 0%, rgba(13, 75, 46, 0.75) 50%, rgba(13, 75, 46, 0.5) 100%);
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 32px 32px;
  opacity: 0.6;
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
}

.hero-particles {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  animation: float 15s linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateY(-20px) translateX(80px); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 1000px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--green-300);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(125, 209, 129, 0.7);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(125, 209, 129, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(125, 209, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 209, 129, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: heroLineIn 1s var(--ease-out) forwards;
}
.hero-title-line:nth-child(1) { animation-delay: 0.2s; }
.hero-title-line:nth-child(2) { animation-delay: 0.4s; }
.hero-title-line:nth-child(3) { animation-delay: 0.6s; }
.hero-accent {
  background: linear-gradient(120deg, #7DD181 0%, #B5E853 40%, #FFB627 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
  filter: drop-shadow(0 2px 20px rgba(125, 209, 129, 0.4));
}
@keyframes heroLineIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-description {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin-bottom: 40px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1s var(--ease-out) 0.8s forwards;
}
@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 70px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1s var(--ease-out) 1s forwards;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 24px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 880px;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease-out) 1.2s forwards;
  margin-bottom: 8px;
}
.hero-stat { min-width: 0; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}
.hero-stat-suffix {
  font-size: 0.7em;
  color: var(--orange-400);
  font-weight: 600;
  font-style: italic;
  margin-left: 2px;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  opacity: 0.75;
  transition: opacity 0.3s;
}
.hero-scroll:hover { opacity: 1; }
.hero-scroll-text {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 50%;
  background: var(--orange-500);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 100%; }
}

@media (max-width: 768px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .hero-scroll { display: none; }
}

/* --- About --- */
.about {
  background: linear-gradient(180deg, var(--ink-50) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(27, 140, 90, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-grid > * { min-width: 0; }
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
}

.about-images {
  position: relative;
  height: 600px;
  width: 100%;
}
.about-image-main {
  position: absolute;
  top: 0; left: 0;
  width: 75%;
  height: 75%;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-image-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.about-image-main:hover img { transform: scale(1.05); }
.about-image-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-800);
  box-shadow: var(--shadow-md);
  max-width: calc(100% - 48px);
  white-space: nowrap;
}
.about-image-tag i { color: var(--green-600); }

.about-image-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 60%;
  height: 50%;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--white);
}
.about-image-secondary img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.about-image-secondary:hover img { transform: scale(1.05); }

.about-floating-card {
  position: absolute;
  top: 30%; right: -10px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  max-width: 240px;
  animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.about-floating-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: var(--white);
  border-radius: 12px;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.about-floating-card strong { display: block; font-size: 0.9rem; color: var(--ink-900); }
.about-floating-card span { font-size: 0.75rem; color: var(--ink-500); }

@media (max-width: 600px) {
  .about-images { height: 460px; max-width: 480px; margin: 0 auto; }
}

.about-content { min-width: 0; max-width: 100%; }
.about-content .section-tag { margin-bottom: 20px; }
.about-content > * { min-width: 0; max-width: 100%; }

.section-lead {
  font-size: 1.15rem;
  color: var(--ink-700);
  margin-bottom: 18px;
  line-height: 1.7;
}
.section-lead strong { color: var(--green-800); }
.section-text {
  font-size: 1rem;
  color: var(--ink-600);
  margin-bottom: 36px;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 600px) {
  .about-features { grid-template-columns: 1fr; }
}
.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-200);
  transition: all 0.4s var(--ease-out);
}
.about-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}
.about-feature-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 12px;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.about-feature:hover .about-feature-icon {
  background: var(--green-700);
  color: var(--white);
}
.about-feature h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--ink-900);
  font-weight: 700;
}
.about-feature p {
  font-size: 0.85rem;
  color: var(--ink-500);
  line-height: 1.5;
}

/* --- Services --- */
.services {
  background: var(--white);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 20%; left: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 1;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-200);
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  padding: 2px;
  background: linear-gradient(135deg, var(--green-400), var(--green-700));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.service-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.service-card:hover .service-image img { transform: scale(1.08); }
.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 43, 27, 0.6) 100%);
}

.service-body {
  padding: 28px 26px 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.service-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-500), var(--green-800));
  color: var(--white);
  border-radius: 16px;
  font-size: 1.4rem;
  margin-top: -56px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 24px -8px rgba(13, 75, 46, 0.5);
  transition: transform 0.4s var(--ease-bounce);
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.service-card p {
  color: var(--ink-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.service-list {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-700);
  line-height: 1.4;
}
.service-list li i {
  color: var(--green-600);
  font-size: 0.75rem;
  margin-top: 4px;
  flex-shrink: 0;
  background: var(--green-100);
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
}

/* --- Process / Methodology --- */
.process {
  background: linear-gradient(180deg, var(--white) 0%, var(--ink-50) 100%);
  position: relative;
}
.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 80px;
  width: 2px;
  background: linear-gradient(180deg, var(--green-300), var(--green-600), var(--orange-500));
  z-index: 0;
}
@media (max-width: 768px) {
  .process-timeline::before { left: 30px; }
}

.process-step {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .process-step { gap: 20px; }
}

.process-number {
  flex-shrink: 0;
  width: 80px; height: 80px;
  display: grid; place-items: center;
  background: var(--white);
  border: 3px solid var(--green-600);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-700);
  box-shadow: 0 0 0 8px var(--white), 0 0 0 10px rgba(27, 140, 90, 0.2);
  position: relative;
  transition: all 0.4s var(--ease-out);
}
@media (max-width: 768px) {
  .process-number { width: 60px; height: 60px; font-size: 1.3rem; }
}
.process-step:hover .process-number {
  background: var(--green-700);
  color: var(--white);
  transform: scale(1.08) rotate(5deg);
}

.process-content {
  background: var(--white);
  padding: 32px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-200);
  flex-grow: 1;
  transition: all 0.4s var(--ease-out);
}
.process-step:hover .process-content {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}
@media (max-width: 600px) {
  .process-content { padding: 24px; }
}
.process-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 8px;
}
.process-content p {
  color: var(--ink-600);
  margin-bottom: 16px;
  line-height: 1.6;
}
.process-content ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 600px) {
  .process-content ul { grid-template-columns: 1fr; }
}
.process-content ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink-700);
  padding: 8px 12px;
  background: var(--green-50);
  border-radius: var(--r-sm);
}
.process-content ul li i {
  color: var(--green-600);
  font-size: 0.85rem;
}

/* --- Why us --- */
.why {
  position: relative;
  padding: 120px 0;
  color: var(--white);
  overflow: hidden;
}
.why-bg {
  position: absolute; inset: 0;
  z-index: -1;
}
.why-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.8);
}
.why-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6, 43, 27, 0.95) 0%, rgba(13, 75, 46, 0.85) 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.why-grid > * { min-width: 0; }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .why-grid { grid-template-columns: 1fr; } }

.why-item {
  padding: 36px 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease-out);
}
.why-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-8px);
  border-color: rgba(125, 209, 129, 0.4);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.3);
}
.why-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-500), var(--green-800));
  color: var(--white);
  border-radius: 18px;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: transform 0.4s var(--ease-bounce);
}
.why-item:hover .why-icon { transform: rotate(-10deg) scale(1.1); }
.why-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.why-item p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--ink-50);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-content {
  background-size: cover;
  background-position: center;
  border-radius: var(--r-xl);
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  isolation: isolate;
}
.cta-content-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 43, 27, 0.88) 0%, rgba(13, 75, 46, 0.82) 50%, rgba(13, 75, 46, 0.7) 100%);
  z-index: 1;
}
.cta-content-inner {
  position: relative;
  z-index: 2;
  padding: 70px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-content-inner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 182, 39, 0.18) 0%, transparent 60%);
  border-radius: 50%;
  z-index: -1;
}
.cta-content-inner::after {
  content: '';
  position: absolute;
  bottom: -50%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(27, 140, 90, 0.2) 0%, transparent 60%);
  border-radius: 50%;
  z-index: -1;
}
.cta-text { position: relative; z-index: 2; max-width: 720px; }
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}
.cta-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
}
@media (max-width: 768px) {
  .cta-content-inner { flex-direction: column; align-items: flex-start; padding: 40px 30px; }
}

/* --- Sectors --- */
.sectors {
  background: var(--ink-50);
  position: relative;
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.sector-card {
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-200);
  text-align: center;
  transition: all 0.4s var(--ease-out);
  perspective: 1000px;
}
.sector-card:hover {
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  transform: translateY(-6px) rotateX(4deg);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.sector-icon {
  width: 70px; height: 70px;
  display: grid; place-items: center;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 20px;
  font-size: 1.6rem;
  margin: 0 auto 18px;
  transition: all 0.4s var(--ease-out);
}
.sector-card:hover .sector-icon {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  transform: rotateY(180deg);
}
.sector-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink-900);
  transition: color 0.3s;
}
.sector-card:hover h4 { color: var(--white); }
.sector-card p {
  font-size: 0.85rem;
  color: var(--ink-500);
  line-height: 1.5;
  transition: color 0.3s;
}
.sector-card:hover p { color: rgba(255,255,255,0.8); }

/* --- Contact --- */
.contact {
  background: linear-gradient(180deg, var(--ink-50) 0%, var(--white) 100%);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-300), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: stretch;
}
.contact-grid > * { min-width: 0; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 20px;
  padding: 40px 36px;
  background: linear-gradient(160deg, var(--green-700) 0%, var(--green-900) 100%);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 100%;
}
.contact-info::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255, 182, 39, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.contact-info::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(27, 140, 90, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.contact-info-header {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.contact-info-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.contact-info-header p {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(6px);
}
.contact-info-card:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(125, 209, 129, 0.4);
  transform: translateX(4px);
}
.contact-info-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-500), var(--green-800));
  color: var(--white);
  border-radius: 50%;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 6px 14px -4px rgba(0,0,0,0.3);
}
.contact-info-card:hover .contact-info-icon {
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  transform: scale(1.08);
}
.contact-info-value {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  word-break: normal;
  overflow-wrap: anywhere;
  flex: 1;
  min-width: 0;
}
.contact-info-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0 4px;
  margin-top: auto;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-info-footer i {
  color: var(--green-300);
  font-size: 0.95rem;
}


/* --- Form --- */
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-200);
  position: relative;
}
.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 4px;
  background: linear-gradient(90deg, var(--green-400), var(--green-700));
  border-radius: 0 0 4px 4px;
}
@media (max-width: 600px) { .contact-form { padding: 30px 22px; } }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-sm);
  background: var(--ink-50);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s;
  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 4px rgba(27, 140, 90, 0.1);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--orange-500);
  background: rgba(255, 107, 53, 0.05);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--orange-500);
  min-height: 18px;
  font-weight: 500;
}

.form-actions { margin-top: 24px; }
.form-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--ink-500);
  margin-top: 14px;
  justify-content: center;
}
.form-hint i { color: var(--green-600); }

#submitBtn {
  position: relative;
}
#submitBtn .spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#submitBtn.loading .spinner { display: inline-block; }
#submitBtn.loading i, #submitBtn.loading span { opacity: 0.6; }

/* --- Footer --- */
.footer {
  background: var(--ink-900);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-600), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img.footer-logo {
  height: 60px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  transition: color 0.3s, padding 0.3s;
}
.footer-col a:hover { color: var(--green-300); padding-left: 6px; }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}
.footer-contact i {
  color: var(--green-300);
  width: 16px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-mini i { animation: heartbeat 1.5s ease-in-out infinite; }
.footer-mini a { color: var(--green-300); font-weight: 600; transition: color 0.3s; }
.footer-mini a:hover { color: var(--white); }
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white);
  font-size: 1.9rem;
  z-index: 900;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transition: all 0.3s var(--ease-out);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 18px 40px -8px rgba(37, 211, 102, 0.7);
}
.whatsapp-float .fa-whatsapp {
  position: relative;
  z-index: 2;
}
.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.6);
  animation: whatsappPulse 2s ease-out infinite;
  z-index: 1;
}
.whatsapp-pulse-2 { animation-delay: 1s; }
@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.8); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink-900);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%; right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--ink-900);
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

@media (max-width: 600px) {
  .whatsapp-float { width: 56px; height: 56px; font-size: 1.6rem; bottom: 20px; right: 20px; }
  .whatsapp-tooltip { display: none; }
}

/* --- Back to top --- */
.back-to-top {
  position: fixed;
  bottom: 104px; /* whatsapp (28) + size (64) + 12 gap */
  right: 28px;
  width: 48px; height: 48px;
  background: var(--ink-800);
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1rem;
  z-index: 899;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-md);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--green-700);
  transform: translateY(-4px);
}
@media (max-width: 600px) {
  .back-to-top { bottom: 88px; right: 20px; width: 44px; height: 44px; font-size: 0.95rem; }
}

/* --- AOS custom --- */
[data-aos] { will-change: transform, opacity; }

/* --- Toast notification --- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: var(--ink-900);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  z-index: 9999;
  box-shadow: var(--shadow-xl);
  transition: transform 0.4s var(--ease-bounce);
  max-width: 90%;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: linear-gradient(135deg, var(--green-600), var(--green-800)); }
.toast.error { background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); }
.toast i { font-size: 1.1rem; }

/* ============================================
   RESPONSIVE OVERRIDES — Mobile first polish
   ============================================ */

/* --- Accesibilidad: focus visible para teclado --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Reducir movimiento si el usuario lo prefiere --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-bg-image { animation: none !important; }
  .particle { display: none !important; }
}

/* --- Pantallas medianas (tablets portrait) --- */
@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 50px; }
  .about-images { height: 520px; }
  .process-timeline::before { left: 40px; }
  .process-number { width: 70px; height: 70px; font-size: 1.4rem; }
  .process-step { gap: 24px; }
  .why { padding: 80px 0; }
  .cta-content-inner { padding: 50px 40px; }
}

/* --- Tablets pequeñas / móviles grandes --- */
@media (max-width: 768px) {
  :root { --nav-h: 70px; }
  .container { padding: 0 20px; }

  .section { padding: 70px 0; }
  .section-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .section-subtitle { font-size: 1rem; }

  /* Hero en móvil */
  .hero { min-height: 100svh; padding-top: calc(var(--nav-h) + 20px); padding-bottom: 40px; }
  .hero-title { font-size: clamp(2rem, 9vw, 3rem); margin-bottom: 20px; }
  .hero-title-line { letter-spacing: -0.03em; }
  .hero-description { font-size: 0.98rem; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 50px; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
    padding-top: 32px;
  }
  .hero-stat-num { font-size: 2.1rem; }
  .hero-stat-label { font-size: 0.78rem; }
  .hero-badge { font-size: 0.78rem; padding: 8px 16px; }

  /* About en móvil */
  .about-grid { gap: 50px; }
  .about-images { height: 440px; margin: 0 auto; max-width: 480px; }
  .about-floating-card { right: -4px; padding: 12px 16px; max-width: 210px; }
  .about-floating-icon { width: 40px; height: 40px; font-size: 1rem; }
  .about-floating-card strong { font-size: 0.82rem; }
  .about-floating-card span { font-size: 0.7rem; }
  .about-feature { padding: 18px; }
  .about-feature-icon { width: 40px; height: 40px; font-size: 1rem; }
  .about-feature h4 { font-size: 0.95rem; }
  .about-feature p { font-size: 0.82rem; }
  .section-lead { font-size: 1.05rem; }
  .section-text { font-size: 0.95rem; }

  /* Services en móvil */
  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-card { border-radius: 18px; }
  .service-image { height: 180px; }
  .service-body { padding: 24px 22px 28px; }
  .service-icon { width: 50px; height: 50px; font-size: 1.25rem; margin-top: -50px; }
  .service-card h3 { font-size: 1.25rem; }
  .service-card p { font-size: 0.9rem; }
  .service-list li { font-size: 0.85rem; }

  /* Process en móvil */
  .process-timeline { padding-left: 0; }
  .process-timeline::before { left: 30px; }
  .process-step { gap: 16px; margin-bottom: 32px; }
  .process-number { width: 56px; height: 56px; font-size: 1.2rem; box-shadow: 0 0 0 6px var(--white), 0 0 0 8px rgba(27, 140, 90, 0.2); }
  .process-content { padding: 24px 22px; }
  .process-content h3 { font-size: 1.2rem; }
  .process-content ul { grid-template-columns: 1fr; gap: 8px; }
  .process-content ul li { font-size: 0.82rem; padding: 6px 10px; }

  /* Why en móvil */
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-item { padding: 28px 22px; }
  .why-icon { width: 56px; height: 56px; font-size: 1.3rem; margin-bottom: 18px; }
  .why-item h3 { font-size: 1.15rem; }
  .why-item p { font-size: 0.9rem; }

  /* CTA en móvil */
  .cta-content-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 40px 28px;
    gap: 24px;
  }
  .cta-text h2 { font-size: 1.45rem; }
  .cta-text p { font-size: 0.95rem; }

  /* Sectors en móvil */
  .sectors-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .sector-card { padding: 24px 18px; }
  .sector-icon { width: 56px; height: 56px; font-size: 1.3rem; }
  .sector-card h4 { font-size: 0.95rem; }
  .sector-card p { font-size: 0.8rem; }

  /* Contact en móvil */
  .contact-grid { gap: 32px; }
  .contact-info { padding: 28px 22px; gap: 14px; }
  .contact-info-header h3 { font-size: 1.25rem; }
  .contact-info-header p { font-size: 0.88rem; }
  .contact-info-card { padding: 12px 14px; gap: 12px; }
  .contact-info-icon { width: 40px; height: 40px; font-size: 0.95rem; }
  .contact-info-value { font-size: 0.88rem; }
  .contact-info { padding: 20px 14px; gap: 14px; }
  .contact-info-icon { width: 50px; height: 50px; font-size: 1.15rem; }
  .contact-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
  .form-group input, .form-group select, .form-group textarea { padding: 12px 14px; font-size: 0.92rem; }
  .form-hint { font-size: 0.78rem; }

  /* Footer en móvil */
  .footer { padding: 60px 0 24px; }
  .footer-grid { gap: 36px; margin-bottom: 40px; }
  .footer-brand img { height: 44px; }
  .footer-col h5 { font-size: 0.92rem; margin-bottom: 16px; }
  .footer-col a { font-size: 0.88rem; }
  .footer-contact li { font-size: 0.88rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Nav en móvil */
  .nav-logo { height: 44px; }
  .nav-logo img { height: 44px; max-width: 200px; }
  .nav-cta { font-size: 0.88rem; padding: 10px 18px; }
}

/* --- Móviles pequeños (iPhone SE, etc) --- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.65rem; line-height: 1.18; }
  .section-subtitle { font-size: 0.95rem; }
  .section-tag { font-size: 0.75rem; padding: 6px 12px; }

  .hero-title { font-size: 2rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .hero-stat-num { font-size: 1.7rem; }
  .hero-stat-label { font-size: 0.72rem; }
  .hero-actions .btn { padding: 14px 22px; font-size: 0.88rem; }
  .hero-badge { font-size: 0.72rem; padding: 8px 14px; }

  .about-images { height: 380px; }
  .about-image-tag { font-size: 0.75rem; padding: 8px 14px; max-width: calc(100% - 24px); }
  .about-image-tag span { white-space: normal; }

  .service-image { height: 160px; }
  .service-body { padding: 22px 18px 24px; }
  .service-icon { width: 46px; height: 46px; font-size: 1.15rem; margin-top: -46px; }

  .process-number { width: 50px; height: 50px; font-size: 1.1rem; }
  .process-content { padding: 20px 18px; }

  .why-item { padding: 24px 18px; }
  .cta-content-inner { padding: 32px 22px; }
  .sectors-grid { grid-template-columns: 1fr; }

  .contact-form { padding: 24px 18px; }
  .contact-info { padding: 24px 18px; gap: 12px; }
  .contact-info-header h3 { font-size: 1.15rem; }
  .contact-info-header p { font-size: 0.85rem; }
  .contact-info-card { padding: 10px 12px; gap: 10px; }
  .contact-info-icon { width: 38px; height: 38px; font-size: 0.9rem; }
  .contact-info-value { font-size: 0.82rem; }
  .contact-info-footer { font-size: 0.78rem; padding: 12px 0 0; }

  .whatsapp-float {
    width: 52px; height: 52px;
    font-size: 1.5rem;
    bottom: 16px; right: 16px;
  }
  .back-to-top {
    width: 40px; height: 40px;
    font-size: 0.9rem;
    right: 76px; bottom: 16px;
  }
}

/* --- Pantallas muy grandes --- */
@media (min-width: 1500px) {
  .container { max-width: 1400px; }
  .section { padding: 140px 0; }
  .section-title { font-size: 3.6rem; }
}

/* --- Pantallas anchas pero bajas (laptops) --- */
@media (max-height: 700px) and (min-width: 980px) {
  .hero { min-height: 100vh; padding: 100px 0 40px; }
  .hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); }
  .hero-stats { margin-top: 32px; padding-top: 28px; }
}

/* --- Touch devices: deshabilitar hover effects --- */
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none !important; }
  .service-card:hover { transform: none; }
  .why-item:hover { transform: none; }
  .nav-cta:hover { transform: none; }
}

/* --- Impresión --- */
@media print {
  .navbar, .whatsapp-float, .back-to-top, .hero-particles, .preloader { display: none !important; }
  body { color: black; background: white; }
  .section { padding: 30px 0; page-break-inside: avoid; }
}
