/* IMPORTACIÓN DE FUENTES LOCALES */
@font-face {
  font-family: 'Albert Sans';
  src: url('./fonts/AlbertSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Albert Sans';
  src: url('./fonts/AlbertSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Albert Sans';
  src: url('./fonts/AlbertSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Albert Sans';
  src: url('./fonts/AlbertSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Albert Sans';
  src: url('./fonts/AlbertSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Albert Sans';
  src: url('./fonts/AlbertSans-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Albert Sans';
  src: url('./fonts/AlbertSans-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Indikator';
  src: url('./fonts/Indikator-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Indikator';
  src: url('./fonts/Indikator-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Myriad Pro';
  src: url('./fonts/MyriadPro-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/*ESCALADO RESPONSIVO */
:root {
  /* Escalado Principal */
  --viewport-width: 100vw;
  --base-viewport: 1920px;
  --scale-factor: clamp(0.35, calc(var(--viewport-width) / var(--base-viewport)), 1);
  
  /* Base Spacing Values (px) */
  --base-spacing-xs: 8px;
  --base-spacing-sm: 16px;
  --base-spacing-md: 24px;
  --base-spacing-lg: 32px;
  --base-spacing-xl: 48px;
  --base-spacing-xxl: 64px;
  --base-spacing-mega: 96px;
  --base-spacing-umega: 106px;
  
  /* Spacing System */
  --spacing-xs: clamp(6px, calc(var(--base-spacing-xs) * var(--scale-factor)), 8px);
  --spacing-sm: clamp(12px, calc(var(--base-spacing-sm) * var(--scale-factor)), 16px);
  --spacing-md: clamp(18px, calc(var(--base-spacing-md) * var(--scale-factor)), 24px);
  --spacing-lg: clamp(24px, calc(var(--base-spacing-lg) * var(--scale-factor)), 32px);
  --spacing-xl: clamp(36px, calc(var(--base-spacing-xl) * var(--scale-factor)), 48px);
  --spacing-xxl: clamp(48px, calc(var(--base-spacing-xxl) * var(--scale-factor)), 64px);
  --spacing-mega: clamp(72px, calc(var(--base-spacing-mega) * var(--scale-factor)), 96px);
  --spacing-umega: clamp(72px, calc(var(--base-spacing-umega) * var(--scale-factor)), 106px);
  
  /* Base Typography Values (px) */
  --base-font-sm: 14px;
  --base-font-md: 16px;
  --base-font-lg: 20px;
  --base-font-xl: 28px;
  --base-font-xxl: 40px;
  --base-font-hero: 60px;
  --base-font-mega: 78px;
  
  /* Typography Scale */
  --font-sm: clamp(12px, calc(var(--base-font-sm) * var(--scale-factor)), 14px);
  --font-md: clamp(14px, calc(var(--base-font-md) * var(--scale-factor)), 16px);
  --font-lg: clamp(16px, calc(var(--base-font-lg) * var(--scale-factor)), 20px);
  --font-xl: clamp(22px, calc(var(--base-font-xl) * var(--scale-factor)), 28px);
  --font-xxl: clamp(30px, calc(var(--base-font-xxl) * var(--scale-factor)), 40px);
  --font-hero: clamp(45px, calc(var(--base-font-hero) * var(--scale-factor)), 60px);
  --font-mega: clamp(68px, calc(var(--base-font-mega) * var(--scale-factor)), 78px);
  
  /* Legacy Variables - Mantener compatibilidad */
  --font-hero-large: var(--font-mega);
  --font-hero-medium: var(--font-xl);
  --font-section-title: var(--font-hero);
  --font-body-large: var(--font-lg);
  --font-body-normal: var(--font-md);
  
  /* Button System */
  --button-height: clamp(32px, calc(40px * var(--scale-factor)), 40px);
  --button-padding: calc(var(--spacing-xs)) calc(var(--spacing-sm));
  --button-border-radius: clamp(24px, calc(30px * var(--scale-factor)), 30px);
  
  /* Container System */
  --container-width: 83.33%;
  --container-padding: var(--spacing-md);
  
  /* Breakpoints */
  --breakpoint-mobile: 768px;
  --breakpoint-tablet: 1024px;
  --breakpoint-desktop: 1200px;
}

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

body {
  font-family: "Albert Sans", "Segoe UI", Roboto, sans-serif;
  color: #ffffff;
  background-color: #000;
}

html {
  scroll-behavior: smooth;
}

.main-content {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)), url('./assets/hero-fd-bg.png');
  background-size: cover;
  background-position: center justify;
  background-attachment: scroll;
  background-repeat: no-repeat;
  color: #ffffff;
  min-height: 200vh;
}

.about-section-content {
  background-color: #ffffff;
  color: #ffffff;
}

.contact-section-content {
  background-image: url('./assets/contact-bg.png');
  background-position: -3rem top;
  background-size: calc(100% + 6rem) auto;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-color: #ffffff;
  color: #565656;
}

.container {
  max-width: 83.33%;
  margin: 0 auto;
}

/* Header */
.header {
  padding: var(--spacing-xl) 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-xl) 0;
}

.header-logo {
  display: flex;
  align-items: center;
  height: 64px;
}

.header-logo svg {
  height: 100%;
  width: auto;
}

.logo::before {
  content: "D";
  background: #6eddb8;
  color: #000;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
  border: 1px solid #ffffff;
  border-radius: 25px;
  background-color: #000;
  gap: var(--spacing-sm);
  padding: 0.5rem 1rem;
  align-items: center;
  margin-left: auto;
  margin-right: 1rem;
  height: var(--button-height);
  box-sizing: border-box;
}

.nav-links a {
  color: #ffffffa4;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background: rgba(110, 221, 184, 0.1);
}

.cta-button {
  display: inline-flex;
  color: #000;
  background: #ffffff;
  height: var(--button-height);
  padding: var(--button-padding);
  border-radius: var(--button-border-radius);
  font-weight: 600;
  align-items: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #60c2a1;
  transform: translateY(-2px);
}

.idioms {
  color: #ffffff;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

/* Section Titles */
.section-title {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  padding: var(--button-padding);
  border: 3px solid #ffffff;
  border-radius: 10px;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: bold;
  margin-bottom: 2rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  position: relative;
}

.hero .container {
  color: #ffffff;
}

.hero-content {
  margin: auto;
  width: 100%;
  padding-top: var(--spacing-umega);
}

.hero-cta-button {
  display: inline-flex;
  color: #000;
  background: #6EDDB8;
  height: var(--button-height);
  padding: 1rem 0.3rem 1rem 1.2rem;
  border-radius: var(--button-border-radius);
  gap: var(--spacing-lg);
  font-weight: 600;
  font-size: 1.1rem;
  align-items: center;
  margin: var(--spacing-lg) 0 var(--spacing-lg) 0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-cta-button:hover {
  background: #60c2a1;
  transform: translateY(-2px);
}

.btn-arrow {
  width: clamp(1.5rem, calc(2rem * var(--scale-factor)), 2rem);
  height: clamp(1.5rem, calc(2rem * var(--scale-factor)), 2rem);
  transition: transform 0.3s ease;
}

.hero .highlight {
  color: #6eddb8;
}

.hero-pretitle {
  font-size: clamp(1rem, 2vw, 4rem);
  color: #6eddb8;
  display: inline-block;
  margin-bottom: 1.5rem;
  padding-top: var(--spacing-xxl);
}

.hero h1 {
  font-size: clamp(3.1rem, 3vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-xl);
}

.hero h2 {
  font-size: var(--font-xxl);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: var(--spacing-xl);
}

.hero p {
  font-size: var(--font-lg);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
  opacity: 0.9;
}

.hero-faster-decisions {
  text-align: center;
}

.hero-faster-decisions h1 {
  margin-top: 350px;
  font-size: clamp(4.5rem, 5vw, 4rem);
}

.hero-faster-decisions em {
  font-style: italic;
  font-weight: 200;
}

/* Faster Decisions Section ----------- */
.faster-decisions {
  min-height: 100vh;
  padding: 26rem 0 8rem 0rem;
}

.faster-decisions .container {
  color: #ffffff;
}

.expertise-section {
  border-radius: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.expertise-section h3 {
  font-size: clamp(3.5rem, 4vw, 3rem);
  margin-bottom: 1rem;
  text-align: center;
}

.expertise-section p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.6;
  margin: 1rem;
  font-weight: 200;
  text-align: center;
}

/* About Section */
.about {
  padding: var(--spacing-mega) var(--spacing-lg);
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  position: relative;
  z-index: 5;
}

.about .container {
  color: #ffffff;
}

.about-content {
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.about h1 {
  font-size: clamp(2rem, 2vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 3rem;
}

.about h2 {
  font-size: clamp(4rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.about-content p {
  line-height: 1.6;
  font-size: 1.1rem;
  margin-top: 2rem;
  max-width: 800px;
}

.about .highlight {
  color: #6eddb8;
}

.about-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: auto;
  background-image: url('./assets/cards-center.png');
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
  justify-self: center;

}

.about-values-grid .value-card {
  border-radius: 61px;
  height: 14rem;
  width: 500px;
  padding: var(--spacing-lg) var(--spacing-mega);
  border: 1px solid #6eddb8;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* about Individual value card backgrounds */
.rooted-agriculture {
  background-image: url('./assets/card-ria-bg.png');
}
.from-data-grain {
  color: #000;
  background-image: url('./assets/card-fdtg-bg.png');
}
.technology-motion {
  background-image: url('./assets/card-tim-bg.png');
}
.passion-action {
  background-image: url('./assets/card-pia-bg.png');
}

.value-card h4 {
  color: #ffffff;
  font-size: 3rem;
  line-height: 0.8;
  max-width: 15rem;
  justify-self: end;
  text-align: right;
}

.value-card p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1;
  font-weight: 400;
  max-width: 16rem;
  justify-self: end;
  text-align: right;
}
.rooted-agriculture p,
.rooted-agriculture h4 {
  margin-right: 2rem;
}

.technology-motion p,
.technology-motion h4 {
  margin-right: 2rem;
}

.from-data-grain p,
.from-data-grain h4 {
  color: #000;
  justify-self: start;
  text-align: left;
  margin-left: 2rem;
}
.passion-action p,
.passion-action h4 {
  justify-self: start;
  text-align: left;
  margin-left: 2rem;
}

.from-data-grain p {
  font-weight: 800;
}


/* Adjustments for screens around 1209x584 resolution */
@media (max-width: 1209px) and (min-width: 1190px) {
  /* Hero section text adjustments */
  .hero-content h1 {
    font-size: clamp(2rem, 3.5vw, 4rem);
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  /* Hero faster decisions text */
  .hero-faster-decisions h1 {
    font-size: clamp(3.5rem, 4.5vw, 3.8rem);
    margin-top: 200px;
  }
  
  /* Faster decisions section */
  .faster-decisions h1 {
    font-size: clamp(3.5rem, 3.8vw, 2.8rem);
  }
  
  .faster-decisions p {
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  }
  
  /* About section titles */
  .about h1 {
    font-size: clamp(3rem, 3.5vw, 2.5rem);
  }
  
  /* Feature cards */
  .feature-card h3 {
    font-size: 2.5rem;
  }
  
  .feature-card p {
    font-size: 0.95rem;
  }
  
  /* Value cards */
  .value-card h4 {
    font-size: 2.5rem;
  }
  
  .value-card p {
    font-size: 0.95rem;
  }
  
  /* Optimus section */
  .optimus-content h1 {
    font-size: clamp(3rem, 3.5vw, 2.8rem);
  }
  
  .optimus-content p {
    font-size: 1rem;
  }
}


/* Optimus Section */
.optimus {
  background-color: #000;
  background-image: url('./assets/suit-bg.png');
  background-position: center top;
  background-attachment: scroll;
  background-repeat: no-repeat;
}

.optimus-image {
  display: flex;
  flex-direction: column;
  justify-self: left;
  margin-bottom: 2rem;
  min-height: 50rem;
}

.main-logo {
  content: url("./assets/SVG/optimus-main-logo.svg");
  width: 500px;
  height: 400px;
  margin-top: 12rem;
  margin-bottom: 1rem;
}


.optimus .container h2 {
  margin-top: 8rem;
  font-weight: 300;
  font-size: 2rem;
}

.optimus .highlight {
  color: #6eddb8;
}

.suit-secondary-content {
  margin: none;
  background-image: url('./assets/suit-second-bg.png');
  background-size: cover;
  background-position: center top;
  background-attachment: scroll;
  background-repeat: no-repeat;
}

.optimus .dron-container {
  padding-top: 0.2rem;
  background-color: #ffffff;
  overflow: visible;
}

.suit-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  margin: auto;
  position: relative;
  overflow: visible;
}

.suit-grid-container {
  position: relative;
  margin-bottom: 6rem;
}

.drone-image {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.suit-inline-grid {
  display: grid;
  grid-auto-flow: column;
  position: relative;
  z-index: 1;
}

.suit-value-card {
  padding: var(--spacing-md);
  border-radius: 1rem;
  border: 1px solid #ffffff;
  background-color: #000;
  min-height: 220px;
  padding: 2rem 6rem;
}

.suit-plant {
  position: relative;
  overflow: visible;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.plant-image {
  border-radius: 1rem;
  width: 100%;
  min-height: 113%;
  object-fit: cover;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
}

.color-card {
  padding: 4rem;
  text-align: justify;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  background-color: #6eddb8;
}

/* Feature Card Section */
.features {
  padding: var(--spacing-mega) var(--spacing-lg);
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

.features .container {
  margin: 0 auto;
  padding-top: 5rem;
  color: #565656;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: 5rem;
  place-items: center;
}

/* Responsive features en columna */
@media (max-width: 1189px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-card {
    max-width: 600px;
    margin: 0 auto;
  }
}

.feature-card {
  border-radius: 20px;
  max-width: min-content;
  margin: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 24px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border-radius: 2rem 2rem 4rem 4rem;
  padding-bottom: 2rem;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-logo {
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-icon {
  height: 15rem;
  width: 15rem;
  margin: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-card h3 {
  margin: 1rem;
  padding-top: 1rem;
  font-size: 1.3rem;
  text-align: left;
}

.features-grid p {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 1rem;
  text-align: left;
}


/* Unified Ecosystem Section */
.unified-ecosystem {
  padding: 2rem 2rem;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

.unified-ecosystem .highlight {
  color: #52a386;
}
.unified-ecosystem h2 {
  font-size: clamp(2rem, 3vw, 2rem);
  margin-bottom: 2rem;
}

/* Contact Section */
.contact {
  padding: var(--spacing-mega) var(--spacing-lg);
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

.contact-layout {
  display: flex;
  justify-content: flex-end;
}

.contact-right {
  width: 100%;
  max-width: 50%;
}

.contact-right h2 {
  font-size: 10rem;
  color: #ffffff;
  text-align: right;
}

.contact-right p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: #ffffff;
  text-align: right;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h4 {
  color: #6eddb8;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #ffffff;
  opacity: 0.8;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-content {
  color: #ffffff;
  background: #53593c18;
  backdrop-filter: blur(5px);
  border-radius: 4rem;
  padding: 3rem;
  justify-self: end;
  width: 90%;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.contact-form {
  text-align: left;
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.0);
  color: #ffffff;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6eddb8;
  background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  padding-left: 2rem;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: #6eddb8;
}

.checkmark {
  margin: 0;
}

.form-submit {
  display: inline-flex;
  color: #000;
  background: #6EDDB8;
  height: var(--button-height);
  padding: 1rem 0.3rem 1rem 1.2rem;
  border-radius: var(--button-border-radius);
  gap: 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  align-items: center;
  margin-bottom: 2rem;
  text-decoration: none;
  border: none;
}

.form-submit:hover {
  background: #60c2a1;
  cursor: pointer;
}


/* Ajuste para texto "Faster Decisions" en pantallas grandes */
@media (min-width: 1240px) {
  .hero-faster-decisions {
    margin-top: 230px;
  }
}

@media (max-width: 900px) {
  .nav-links{
    display: none; /* Ocultar navegación en mobile */
  }

  .cta-button {
    margin-left: auto;
  }
}

/* Escalado global para mobile */
@media (max-width: 768px) {
  html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100%;
  }
  
  body {
    margin: 0;
    padding: 0;
    transform: scale(0.8);
    transform-origin: 0 0; 
    width: 125%;
    min-height: 125vh;
    overflow-x: hidden;
    position: relative;
    left: 0;
    top: 0;
  }
  
  .nav-links {
    display: none; /* Ocultar navegación en mobile */
  }
  
  .idioms {
    order: 2; /* Idiomas al final */
    margin-left: 0; /* Sin margen izquierdo adicional */
  }

  .hero-content {
    padding-top: var(--spacing-lg);
  }

  /* Reducir tamaños de texto del hero en mobile */
  .hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }
  
  .hero h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  
  .hero-pretitle {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
  }
  
  .hero p {
    font-size: clamp(0.9rem, 4vw, 1rem);
  }
  
  .hero-faster-decisions h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }
  
  /* Mayor espaciado para "Faster Decisions" en mobile */
  .hero-faster-decisions {
    margin-top: calc(var(--spacing-mega) * 3);
  }
  
  /* Ajustar icono del botón Contact Us en mobile */
  .btn-arrow {
    width: clamp(1.2rem, 4vw, 1.5rem);
    height: clamp(1.2rem, 4vw, 1.5rem);
  }

  /* About values grid - ajustes para mobile escalado */
  .about-values-grid .value-card {
    width: 100% !important;
    max-width: 400px;
    height: auto;
    min-height: 12rem;
    text-align: left;
  }
  
  .value-card h4 {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    text-align: left;
  }
  
  .value-card p {
    font-size: clamp(0.9rem, 3.5vw, 1rem) !important;
    text-align: left;
  }

  /* Background attachments para mejor performance */
  .hero,
  .faster-decisions,
  .features,
  .about,
  .optimus,
  .unified-ecosystem,
  .contact {
    background-attachment: scroll;
  }

  .faster-decisions {
    background-position: center -0.5rem;
    background-size: cover;
  }

  .contact-section-content {
    background-position: -3rem top;
    background-size: calc(100% + 6rem) auto;
  }

  /* Mantener grids pero ajustar gaps */
  .values-grid,
  .platform-features {
    gap: var(--spacing-md);
  }

  /* Contact layout - mantener estructura */
  .contact-layout {
    justify-content: center;
  }

  .contact-right {
    max-width: 100%;
  }

  /* Form - mantener 2 columnas en mobile también */
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xs);
  }
}

/* Ajuste para rango intermedio mobile-tablet */
@media (max-width: 769px) and (min-width: 561px) {
  .hero-faster-decisions {
    margin-top: var(--spacing-mega);
  }
}

/* Escalado intermedio para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
  html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100%;
  }
  
  body {
    margin: 0;
    padding: 0;
    transform: scale(0.9);
    transform-origin: 0 0;
    width: 111.11%; 
    min-height: 111.11vh;
    overflow-x: hidden;
    position: relative;
    left: 0;
    top: 0;
  }
}

/* Adjustments for screens smaller than 1835px */
@media (max-width: 1835px) {

  .hero-faster-decisions h1 {
    margin-top: 120px;
  }
}

/* Tablet Adjustments - Ajustes mínimos */
@media (max-width: 1375px) and (min-width: 768px) {
  .nav-container {
    padding: var(--spacing-lg) 0;
  }

  .hero-content {
    padding-top: var(--spacing-xl);
  }

  .faster-decisions {
    background-position: center -1rem;
  }
  
  .contact-section-content {
    background-position: -3rem top;
    background-size: calc(100% + 6rem) auto;
  }
  
  .contact-layout {
    padding: 0 var(--spacing-lg);
  }
  
  .contact-right {
    max-width: 80%;
  }
}

/* About Values Grid - Responsive para pantallas menores a 1200px */
@media (max-width: 1190px) {
  /* Hero background centrado en pantallas menores */
  .main-content {
    background-position: center center;
  }
  
  .about-values-grid {
    grid-template-columns: 1fr;
    background-image: none;
    gap: var(--spacing-lg);
    max-width: 600px;
  }
  
  .about-values-grid .value-card {
    width: 500px;
    margin: 0 auto;
  }
}

/* Section spacing */
section {
  scroll-margin-top: 0;
}
