:root {
  /* Colors */
  --yellow: #fab901;
  --dark-bg: #1e1e1e;
  --text-dark: #333333;
  --text-gray: #555555;
  --white: #ffffff;
  --form-bg: #fdfdfd;
  --input-border: #e0e0e0;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);

  /* Fluid Typography (Senior UX practice) */
  --fs-h1: clamp(2.2rem, 8vw, 4rem);
  --fs-h2: clamp(1.8rem, 5vw, 2.8rem);
  --fs-h3: clamp(1.2rem, 3vw, 1.8rem);
  --fs-body: clamp(0.95rem, 1vw + 0.5rem, 1.1rem);
  --fs-small: 0.875rem;

  /* Spacing Tokens */
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 2rem;
  --space-l: 4rem;
  --space-xl: 6rem;
}

html {
  scroll-behavior: smooth;
  font-size: 16px; /* Base for rem */
}

body {
  font-family: 'Neo Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--yellow);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Original body was here, merged above */

.container {
  width: min(100% - 2.5rem, 1200px); /* Responsive max-width */
  margin-inline: auto;
  padding: 0;
}

/* Header */
.topbar {
  background: var(--white);
  /* Reverted to white */
  padding: 1.4375rem 0;
}

/* Make header container full-width so logo can sit at left edge */
.topbar .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-left: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand-logo {
  height: 48px;
  display: block;
  margin-left: 5.25rem;
}

/* Layout Structure */
.main-content-layout {
  width: 100%;
  position: relative;
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
}

/* Grid Column assignments for Desktop */
.hero-left-area,
.why-us-area,
.process-area,
.onboarding-area {
  grid-column: 1;
}

.form-column {
  grid-column: 2;
  grid-row: 1 / 10;
  background: var(--yellow);
  position: relative;
  padding-right: clamp(1.25rem, 8vw, 9.375rem);
}

.sticky-wrapper {
  position: sticky;
  top: 40px;
  padding: 2.5rem 0.25rem 3rem 3rem;
  display: flex;
  justify-content: center;
}

.title-top {
  margin-left: 1.25rem
}

/* Hero Left Area */
.hero-left-area {
  background: var(--yellow);
  padding: var(--space-m) 0 var(--space-l) clamp(1.25rem, 8vw, 9.375rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 94px);
  gap: var(--space-m);
  overflow: hidden;
}

/* Why Us Area */
.why-us-area {
  background: #F4F7FB;
  padding: 4.375rem 0.3125rem 5.9375rem 0.3125rem;
  /* Left edge padding added */
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-m);
  position: relative;
  width: 100%;
  color: var(--text-dark);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.9375rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 400px); /* Responsive width */
  height: 0.375rem;
  background: var(--yellow);
  border-radius: 100px;
}

.process-area .section-title::after {
  width: min(80%, 400px);
}

/* Removed accidental desktop edit */

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-gray);
  max-width: 850px;
  margin: 2.1875rem auto 3.75rem;
  line-height: 1.5;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-left: 1.25rem;
  padding-top: 3.125rem;
  gap: 1.875rem;
  padding-right: 2.5rem;
  /* Only right padding needed now */
}

.why-card {
  background: var(--white);
  padding: 3.75rem 4.1875rem 2.6875rem;
  /* Top padding increased to leave space for text */
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
  position: relative;
  /* For absolute positioning of icon */
  margin-top: 2.5rem;
  /* Space for the half-out icon */
}

.why-card:hover {
  transform: translateY(-5px);
}

.why-icon-wrap {
  width: 70px;
  height: 70px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -35px;
  /* Half out */
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 20px rgba(250, 185, 1, 0.3);
}

.why-icon-wrap img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* Make icons white to match reference */
}

.why-card h3 {
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 0.9375rem;
  color: var(--text-dark);
}

.why-card p {
  font-size: 1.3125rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Hero Typography */
.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-title {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.hero-title .highlight {
  display: inline-block;
  background: var(--dark-bg);
  color: var(--white);
  padding: 0.2em 0.6em;
  border-radius: 0.5rem;
  margin-top: 0.4rem;
  width: fit-content;
  font-size: 0.9em; /* Scales relative to h1 */
}

.hero-copy {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  /* Responsive font size */
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-dark);
  max-width: 800px;
  margin: 0;
  margin-left: 1.25rem;
}

.hero-subcopy {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-top: 0.9375rem;
  margin-left: 1.25rem;
}

/* Visual Area */
.hero-visual {
  position: relative;
  width: 100%;
}

.laptop-container {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  z-index: 100;
  /* Elevated group */
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 722px;
  height: 7px;
  background: var(--yellow);
  border-radius: 2px;
}

.laptop-img {
  width: 100%;
  max-width: 930px;
  height: auto;
  max-height: 50vh;
  /* Prevent image from pushing content out of viewport */
  object-fit: contain;
  z-index: 99;
  /* Elevated to front */
  position: relative;
  animation: floatLaptop 5s ease-in-out infinite;
}

@keyframes floatLaptop {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* Base Composed Laptop Styles (Hidden on Desktop) */
.composed-laptop-container {
  display: none;
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 3.75rem auto 2.5rem;
  z-index: 100;
  /* Elevated group */
}

.laptop-main {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 99;
  /* Elevated to front */
}

.floating-card-hero {
  position: absolute;
  background: #FCF3CF;
  /* Updated background color */
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.625rem 0.875rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  z-index: 110;
  /* Higher than laptop image */
  width: max-content;
}

.floating-card-hero .card-icon {
  width: 28px;
  height: 28px;
  background: var(--yellow);
  margin-left: 0; /* moved further left as requested */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.floating-card-hero .card-icon img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.floating-card-hero .card-text span {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #333;
  line-height: 1;
}

.floating-card-hero .card-text small {
  font-size: 0.625rem;
  color: #666;
}

/* Connector Lines */
.connector-line {
  position: absolute;
  background: #BCC1C8;
  height: 1px;
  z-index: -1;
}

/* Positions for Mobile/Tablet */
.card-tl {
  top: -20px;
  left: -30px;
}

.card-tr {
  top: 40px;
  right: -40px;
}

.card-bl {
  bottom: 40px;
  left: -40px;
}

.card-br {
  bottom: -10px;
  right: -30px;
}


/* Line Positions */
.line-tl {
  width: 40px;
  top: 50%;
  right: -40px;
  transform: rotate(1deg);
}

.line-tr {
  width: 40px;
  top: 50%;
  left: -40px;
  transform: rotate(-1deg);
}

.line-bl {
  width: 40px;
  top: 50%;
  right: -40px;
  transform: rotate(-1deg);
}

.line-br {
  width: 40px;
  top: 50%;
  left: -40px;
  transform: rotate(1deg);
}

/* Form Card */
.hero-form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 0.9375rem 1.875rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  width: 90%;
  font-family: 'Neo Sans Pro', sans-serif;
}

.hero-form-card h2 {
  font-size: 1.4375rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.375rem;
  color: var(--text-dark);
}

.hero-form-card p {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 1.875rem;
}

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

.hero-form-card input,
.hero-form-card select,
.hero-form-card textarea {
  width: 100%;
  padding: 1.25rem 1.375rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  font-family: 'Neo Sans Pro', sans-serif;
  font-size: 1rem;
  color: #333;
  background: var(--white);
  transition: all 0.25s ease;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--dark-bg);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'Neo Sans Pro', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.625rem;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
}

/* Responsive */
@media (max-width: 1100px) {
  .layout-grid {
    grid-template-columns: 1fr;
  }

  .form-column {
    background: var(--yellow);
    padding: 2.5rem 0;
  }

  .sticky-wrapper {
    position: relative;
    top: 0;
    padding: 2.5rem 0;
  }

  .hero-form-card {
    margin: 0 auto;
  }

  .container {
    padding: 0 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.375rem;
  }

  .hero-title .highlight {
    font-size: 2.125rem;
  }

  .laptop-container {
    flex-direction: column;
    padding: 1.25rem 0;
  }

  .laptop-img {
    width: 90%;
    margin-bottom: 1.875rem;
  }
}

/* Process Section Area */
.process-area {
  background: var(--white);
  padding: 5.625rem 9.375rem 7.5rem 9.375rem;
  /* Symmetric horizontal padding */
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 3.125rem auto 3.125rem;
  line-height: 1.6;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  /* Center the cards within the list */
}

.process-item {
  height: 228px;
  max-width: 900px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 3.75rem;
  background: var(--white);
  border: 1px solid #E7E7E7;
  border-radius: 24px;
  padding: 1.25rem 3.75rem;
  /* Reduced vertical padding to fit content */
  transition: none;
  position: relative;
  overflow: visible;
  /* To allow badge to show outside */
}

/* Remove hover effect */
.process-item:hover {
  border-color: #E7E7E7;
  box-shadow: none;
}

.process-item:nth-child(even) {
  flex-direction: row-reverse;
  text-align: right;
}

.process-item:nth-child(even) .process-content {
  align-items: flex-end;
}

.process-content {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.process-badge {
  position: absolute;
  top: -23px;
  background: var(--yellow);
  color: var(--white);
  padding: 0.5rem 2rem;
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(250, 185, 1, 0.2);
  z-index: 2;
}

/* Alternate badge position */
.process-item:nth-child(odd) .process-badge {
  left: 30px;
}

.process-item:nth-child(even) .process-badge {
  right: 30px;
}

.process-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  margin: 0;
}

.process-content p {
  font-size: 1.25rem;
  /* Adjusted to match reference balance */
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
}

.process-visual {
  flex: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.process-visual img {
  max-height: 170px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Responsive updates */
@media (max-width: 1100px) {
  .process-area {
    padding: 5rem 2.5rem;
  }

  .process-list {
    padding-right: 0;
  }

  .process-item,
  .process-item:nth-child(even) {
    flex-direction: column;
    height: auto;
    width: 100%;
    text-align: center;
    gap: 0.625rem;
    padding: 2.1875rem 0.9375rem 1.25rem;
  }

  .process-content,
  .process-item:nth-child(even) .process-content {
    align-items: center;
  }

  .process-content h3 {
    white-space: normal;
  }
}

/* Onboarding Section Area */
.onboarding-area {
  background: #F4F7FB;
  padding: 6.25rem 9.375rem 7.5rem 9.375rem;
}

.onboarding-area .section-title::after {
  width: 280px;
  /* Proportional to this title */
  height: 7px;
  bottom: -10px;
}

.onboarding-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9375rem;
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  text-align: center;
  max-width: 600px;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.step-number {
  background: var(--yellow);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
}

.step-item h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.step-item p {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
}

.step-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.3125rem 0;
}

.step-arrow img {
  width: 24px;
  height: auto;
  object-fit: contain;
}

/* Ensure right sidebar extends to the end */
.layout-grid {
  min-height: 100vh;
}

/* Projects Section */
.projects-section {
  background: var(--white);
  padding: 3.75rem 0 7.5rem;
  width: 100%;
}

.projects-container {
  max-width: 1200px;
  /* Centered container for the grid */
  margin: 0 auto;
  padding: 0 2.5rem;
}

.projects-section .section-title {
  margin-bottom: 3.75rem;
}

.projects-section .section-title::after {
  width: 400px;
  height: 4px;
  bottom: -15px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.875rem;
  margin-top: 3.125rem;
}

.project-card {
  position: relative;
  border-radius: 0px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  /* Keep them square as in reference */
  background: #f0f0f0;
}

.mobile-clone {
  display: none !important;
  /* Hide on desktop */
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.9);
  /* Dark overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  color: var(--white);
}

.project-card:hover .project-overlay,
.project-card.show-overlay .project-overlay {
  opacity: 1;
}

.overlay-content {
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.project-card:hover .overlay-content,
.project-card.show-overlay .overlay-content {
  transform: translateY(0);
}

.overlay-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--white);
  white-space: normal;
  /* Allow multi-line if needed, though they are short */
}

.project-line {
  width: 60px;
  height: 4px;
  background: var(--yellow);
  margin-bottom: 1.25rem;
}

.overlay-content p {
  font-size: 0.9375rem;
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.9;
  color: var(--white);
}

/* Responsive projects */
@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-section {
    padding: 3.75rem 0;
  }
}

/* Idea Section (Hagámoslo realidad) */
.idea-section {
  background: var(--yellow);
  padding: 7.5rem 0 0;
  /* No bottom padding to let arrow touch footer */
  width: 100%;
  overflow: hidden;
  position: relative;
}

.idea-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem 0.625rem;
  /* Added bottom padding to raise content */
  gap: 6.25rem;
  position: relative;
  z-index: 5;
}

.bg-arrow {
  position: absolute;
  bottom: -110px;
  left: 52.5%;
  transform: translateX(-50%);
  width: 174%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.idea-left {
  flex: 1.2;
  margin-bottom: 3.75rem;
  /* Raise the left part specifically */
  position: relative;
  z-index: 6;
}

.idea-badge {
  background: #2D2D2D;
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1.875rem;
}

.idea-title {
  font-size: 2.8125rem;
  font-weight: 600;
  color: #2D2D2D;
  line-height: 1.05;
  margin-bottom: 1.5625rem;
  text-transform: uppercase;
}

.idea-title .white-text {
  color: var(--white);
}

.idea-desc {
  font-size: 1.25rem;
  color: #2D2D2D;
  opacity: 0.85;
  line-height: 1.5;
  margin-bottom: 2.8125rem;
  max-width: 580px;
}

.idea-features {
  display: flex;
  align-items: center;
  gap: 1.875rem;
  margin-bottom: 3.125rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon-wrap {
  background: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.feature-icon-wrap img {
  width: 25px;
  height: auto;
}

.feature-item span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2D2D2D;
  line-height: 1.2;
}

.divider {
  width: 1px;
  height: 45px;
  background: #2D2D2D;
  opacity: 0.15;
}

.btn-solicitar {
  background: #2D2D2D;
  color: var(--white);
  padding: 1.25rem 2.8125rem;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-solicitar:hover {
  background: #1a1a1a;

  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.idea-right {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 520px;
  /* Square container for visuals */
  display: flex;
  justify-content: center;
  align-items: center;
}


.monitor-rocket-container {
  position: relative;
  z-index: 2;
  width: 80%;
  /* Reduced to 80% as requested */
  margin-bottom: 5.25rem;
}

.main-visual {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.floating-card-manual {
  position: absolute;
  z-index: 3;
  background: var(--white);
  padding: 0.75rem 1.125rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}

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

.card-title {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #2D2D2D;
  line-height: 1.2;
}

.card-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.card-icon-wrap img {
  width: 20px;
  height: auto;
}

.card-top-left {
  top: 15%;
  left: -25%;
  animation-delay: 0s;
}

.card-top-right {
  top: 35%;
  right: -25%;
  flex-direction: row-reverse;
  /* Flip icon/text for right side if needed, or keep same */
  animation-delay: 1.5s;
}

.card-bottom {
  bottom: 5%;
  left: -5%;
  animation-delay: 0.75s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Footer Section */
.main-footer {
  background: #333333;
  color: var(--white);
  padding: 5rem 0 3.125rem;
  width: 100%;
  font-family: 'Neo Sans Pro', sans-serif;
}

.footer-container {
  width: 100%;
  max-width: 100%;
  padding: 0 9.375rem;
  margin: 0;
}

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

.footer-col h4 {
  color: #F8B600;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  text-transform: none;
  /* Changed from uppercase to Title Case */
}

.footer-logo {
  height: 48px;
  /* Matched to navbar logo height */
  margin-bottom: 1.5625rem;
  margin-left: 1.25rem;
  /* Matched to navbar logo alignment */
  display: block;
}

.branding p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #FFFFFF;
  opacity: 1;
  margin-left: 1.25rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.9375rem;
}

.footer-col ul li a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.9375rem;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--yellow);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #FFFFFF;
  opacity: 1;
}

.contact-list i {
  color: var(--white);
  width: 18px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.875rem;
}

.social-links a {
  color: var(--white);
  font-size: 1.375rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  color: var(--yellow);
  transform: translateY(-3px);
}

.copyright {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #FFFFFF;
  opacity: 1;
  /* Keeping a slight opacity for hierarchy, but set to white base */
}

/* Responsive Footer */
@media (max-width: 1200px) {
  .footer-container {
    padding: 0 2.5rem;
  }
}

@media (max-width: 992px) {
  .footer-container {
    padding: 0 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .footer-container {
    padding: 0 1.25rem;
  }

  .footer-logo {
    margin-left: 0;
    margin-right: auto;
    margin-left: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-list li {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-col h4 {
    margin-bottom: 1.25rem;
  }
}

/* Responsive Idea Section */
@media (max-width: 1100px) {
  .idea-flex {
    flex-direction: column;
    text-align: center;
    gap: 5rem;
  }

  .idea-title {
    margin: 0 auto 1.5625rem;
    font-size: 2.625rem;
  }

  .idea-desc {
    margin: 0 auto 2.8125rem;
  }

  .idea-features {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .visual-wrapper {
    max-width: 450px;
    height: 450px;
  }
}

/* Form Validation & Feedback */
.hero-form-card input:focus:invalid,
.hero-form-card textarea:focus:invalid {
  border-color: #ff4d4d;
  box-shadow: 0 0 5px rgba(255, 77, 77, 0.2);
}

.form-feedback {
  margin-top: 0.9375rem;
  font-size: 0.875rem;
  text-align: center;
  min-height: 20px;
  transition: all 0.3s ease;
}

.form-feedback.success {
  color: #28a745;
  background: #e8f5e9;
  padding: 0.625rem;
  border-radius: 8px;
  border: 1px solid #c8e6c9;
}

/* ==========================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================== */

/* Tablet Breakpoint (max-width: 992px) - Standardizing some desktop behaviors */
@media (max-width: 992px) {
  .container {
    padding: 0 2.5rem;
  }
}

/* Laptop / Small Desktop Optimization (1025px - 1600px) */
@media (min-width: 1025px) and (max-width: 1600px) {
  .container {
    padding: 0 5rem;
  }

  .laptop-img {
    width: 90%;
    max-width: 930px;
    height: auto;
    max-height: 50vh;
    object-fit: contain;
    z-index: 1;
    animation: floatLaptop 5s ease-in-out infinite;
  }

  .hero-left-area {
    padding: 1.875rem 1.25rem 2.5rem 5rem !important;
    min-height: calc(100vh - 94px);
    justify-content: flex-start !important;
    gap: 0.9375rem !important;
  }

  .form-column {
    padding-right: 5rem !important;
  }

  .layout-grid {
    grid-template-columns: 1.5fr 1fr !important;
  }

  .hero-title {
    font-size: 2.75rem !important;
  }

  .hero-title .highlight {
    font-size: 2.375rem !important;
    padding: 0.625rem 0.9375rem !important;
    margin-top: 0.5rem !important;
  }

  .projects-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2.5rem;
  }
  .process-area {
    background: var(--white);
    padding: 5.625rem 3.375rem 7.5rem 3.375rem;
}

  .idea-section {
    background: var(--yellow);
    padding: 2.1875rem 0 0;
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  .hero-copy {
    font-size: 1.125rem !important;
    max-width: 95% !important;
    margin-bottom: 0.625rem !important;
  }

  .hero-form-card {
    padding: 1.25rem 1.5625rem !important;
    margin: 1.25rem 0rem;
    width: 100% !important;
    max-width: 440px !important;
  }

  .hero-form-card h2 {
    font-size: 1.25rem !important;
    margin-bottom: 0.25rem !important;
  }

  .hero-form-card p {
    font-size: 0.875rem !important;
    margin-bottom: 0.9375rem !important;
  }

  .form-group {
    margin-bottom: 0.625rem !important;
  }

  .hero-form-card input,
  .hero-form-card select,
  .hero-form-card textarea {
    padding: 0.625rem 0.875rem !important;
    font-size: 0.875rem !important;
  }

  .btn-submit {
    padding: 0.75rem !important;
    font-size: 0.875rem !important;
    margin-top: 0.3125rem !important;
  }

  .composed-laptop-container {
    transform: scale(0.85);
    transform-origin: top left;
    margin-top: 0 !important;
  }
}

/* Tablet Breakpoint (768px) */
@media (max-width: 768px) {
  .desktop-hidden-image {
    display: none !important;
  }

  .composed-laptop-container {
    display: block;
  }

  /* Force full viewport constraint only in responsive modes */
  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
  }

  .layout-grid {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* Reordering for Mobile/Tablet */
  .hero-left-area {
    order: 1 !important;
  }

  .form-column {
    order: 2 !important;
  }

  .why-us-area {
    order: 3 !important;
  }

  .process-area {
    order: 4 !important;
  }

  .onboarding-area {
    order: 5 !important;
  }

  .brand-logo {
    margin: 0 !important;
    height: 40px;
  }

  /* Custom Mobile Typography */
  .hero-left-area {
    padding: 2.1875rem 0.625rem;
    min-height: auto;
    text-align: left !important;
    overflow-x: hidden;
  }

  .hero-title {
    font-size: 1.625rem !important;
    text-align: left !important;
    align-items: flex-start !important;
    margin-bottom: 1.25rem;
  }

  .hero-title .highlight {
    font-size: 1.625rem !important;
    padding: 0.5rem 0.75rem;
    width: fit-content !important;
    margin: 0;
  }

  .hero-copy {
    font-size: 1.0625rem !important;
    line-height: 1.5;
    text-align: left !important;
    max-width: 100%;
    margin: 1.25rem 0;
  }

  .hero-copy br {
    display: none;
  }

  .hero-subcopy {
    text-align: left !important;
    margin: 0;
    margin-left: 0.625rem;
    font-size: 1.0625rem;
    font-weight: bold;
  }

  .section-title {
    font-size: 1.3125rem !important;
    margin-bottom: 1.875rem;
    text-align: center;
  }

  .why-card h3,
  .process-item h3,
  .step-item h3 {
    font-size: 1.125rem !important;
  }

  .why-card p,
  .process-item p,
  .step-item p {
    font-size: 0.875rem !important;
  }


  .form-column {
    padding: 2.5rem 0;
    padding-right: 0;
    /* Reset desktop side padding */
    width: 100% !important;
    max-width: 100% !important;
    grid-column: auto !important;
    /* Reset grid positions */
    grid-row: auto !important;
  }

  .hero-left-area,
  .why-us-area,
  .process-area,
  .onboarding-area {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: auto !important;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-area {
    padding: 3.75rem 0.9375rem;
  }

  .process-item {
    display: grid !important;
    grid-template-columns: 1fr 100px;
    gap: 0.625rem;
    height: auto;
    padding: 2.1875rem 0.9375rem 1.25rem;
    text-align: left;
    align-items: center;
    position: relative;
  }

  .process-content {
    display: contents;
    /* Makes h3 and p direct grid items */
  }

  .process-item h3 {
    grid-column: 1 / span 2;
    font-size: 1.0625rem !important;
    font-weight: 700;
    margin-bottom: 0.3125rem;
    color: #333;
    line-height: 1.3;
  }

  .process-content p {
    grid-column: 1;
    grid-row: 2;
    /* Explicit row */
    font-size: 0.9375rem !important;
    line-height: 1.4;
    color: #555;
    margin: 0;
  }

  .process-visual {
    grid-column: 2;
    grid-row: 2;
    /* Explicit row */
    width: 100px;
    height: auto;
  }

  .process-visual img {
    width: 100%;
    height: auto;
  }

  .process-badge {
    position: absolute;
    top: -15px;
    left: 15px;
    font-size: 0.8125rem;
    padding: 0.25rem 0.9375rem;
    border-radius: 8px;
  }

  /* Reverse layout for even items to match Image 1 */
  .process-item:nth-child(even) {
    grid-template-columns: 100px 1fr;
  }

  .process-item:nth-child(even) .process-visual {
    grid-column: 1;
    grid-row: 2;
  }

  .process-item:nth-child(even) .process-content p {
    grid-column: 2;
    grid-row: 2;
  }

  .process-item:nth-child(even) .process-badge {
    left: auto;
    right: 15px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .idea-flex {
    flex-direction: column;
    text-align: center;
    gap: 3.75rem;
  }

  .bg-arrow {
    width: 200%;
    bottom: -50px;
  }
}

/* Mobile Breakpoint (480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .title-top {
    margin-left: 0.625rem;
    font-size: 1.625rem;
  }

  .hero-text-content {
    gap: 0;
  }

  .brand-logo {
    margin: 0 auto;
  }

  .hero-title {
    align-items: center;
    text-align: center;
    font-size: 2.8125rem;
  }

  .hero-title .highlight {
    font-size: 1.5rem;
    padding: 0.625rem;
    width: 100%;
    margin-top: 0.375rem;
    border-radius: 7px;
  }

  .card-title {
    font-size: 0.8125rem !important;
    font-weight: 400 !important;
    color: #2D2D2D;
    line-height: 1.1 !important;
  }

  .hero-copy {
    font-size: 1rem;
    text-align: center;
    max-width: 100%;
    margin: 0 0.625rem 1.25rem;
  }

  .hero-copy br {
    display: none;
  }

  .why-us-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center cards horizontally */
    gap: 3.125rem;
    padding-top: 2.5rem;
    margin-left: 0;
    padding-right: 0;
  }

  .why-card {
    width: 95%;
    /* Take more width on smaller screens */
    max-width: 380px;
    /* Slightly larger as requested */
    padding: 2.5rem 0.5625rem 1.875rem;
    /* 15px side padding as requested */
    margin: 1.5rem auto 0;
    border-radius: 15px;
  }

  .projects-section .section-title::after {
    width: 250px;
    height: 4px;
    bottom: -15px;
  }

  .why-icon-wrap {
    width: 60px;
    height: 60px;
    top: -30px;
  }

  .why-icon-wrap img {
    width: 30px;
    height: 30px;
  }

  .why-card h3 {
    font-size: 1.1875rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.625rem;
  }

  .why-card p {
    font-size: 1.0625rem !important;
    line-height: 1.5;
    color: #444;
  }

  .why-us-area .section-title::after {
    width: 360px !important;
    /* Reduced width as requested for mobile */
    height: 4px;
    bottom: -10px;
  }

  .branding p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #FFFFFF;
    opacity: 1;
    margin-left: 0;
  }

  .onboarding-area {
    padding: 3.75rem 1.25rem;
    text-align: center;
  }

  .onboarding-area .section-title::after {
    width: 200px !important;
    /* Shorter line for mobile */
    height: 4px;
    bottom: -10px;
  }

  .onboarding-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    padding-top: 1.875rem;
  }

  .step-item {
    max-width: 100%;
    margin-bottom: 0.3125rem;
  }

  .step-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 0.875rem;
  }

  .step-item h3 {
    font-size: 1.1875rem !important;
    font-weight: 700;
  }

  .step-item p {
    font-size: 0.9375rem !important;
    line-height: 1.4;
    max-width: 90%;
    margin: 0 auto;
    color: #444;
  }


  .step-arrow img {
    transform: none !important;
    /* Reset rotation if base image already points down or adjust as needed */
    width: 28px;
    margin: 0.625rem auto;
    opacity: 0.8;
  }

  /* Slider for Projects on Mobile */
  .projects-slider-wrapper {
    overflow: hidden;
    margin: 0 -1.25rem;
    padding: 0 1.25rem;
  }

  .projects-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
    scrollbar-width: none;
    /* Firefox */
  }

  .projects-grid::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }

  .project-card {
    min-width: 100%;
    scroll-snap-align: start;
    aspect-ratio: 1 / 1;
  }

  .mobile-clone {
    display: block !important;
    /* Show only on mobile for loop */
  }

  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
  }

  .dot {
    width: 10px;
    height: 10px;
    border: 2px solid var(--yellow);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .dot.active {
    background: var(--yellow);
  }

  .idea-section {
    padding: 3.75rem 0 0;
  }

  .idea-flex {
    flex-direction: column;
    text-align: left;
    /* Left align text */
    gap: 2.5rem;
    padding: 0 1.25rem;
  }

  .idea-left {
    margin-bottom: 2.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align items to the left */
  }

  .idea-title {
    font-size: 2rem !important;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    text-align: left;
  }

  .idea-desc {
    font-size: 1rem !important;
    font-weight: 600;
    margin-bottom: 1.875rem;
    max-width: 100%;
    text-align: left;
    color: #333333;
  }

  .idea-features {
    display: grid !important;
    grid-template-columns: 1fr 1px 1fr;
    /* Add column for divider */
    gap: 0.9375rem;
    text-align: left;
    margin-bottom: 2.5rem;
    width: 100%;
    align-items: center;
  }

  .feature-item {
    gap: 0.5rem;
  }

  .feature-item span {
    font-size: 0.875rem !important;
    font-weight: 400;
  }

  .feature-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .feature-item:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
  }

  .feature-item:nth-child(3) {
    grid-column: 1 / span 3;
    grid-row: 2;
    margin-top: 0.625rem;
  }

  .idea-features .divider {
    display: block !important;
    width: 1px;
    height: 35px;
    background: #2D2D2D;
    opacity: 0.50;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .btn-solicitar {
    width: 85%;
    max-width: 100%;
    padding: 0.9375rem;
    font-size: 1.25rem;
    text-align: center;
  }

  .idea-right {
    width: 100%;
    padding-bottom: 0.75rem;
  }

  .bg-arrow {
    width: 150%;
    /* Reduced size to fit better behind the monitor */
    bottom: -15px;
    opacity: 0.6;
    /* Slight transparency for background feel */
  }

  .visual-wrapper {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 1;
  }

  /* Manual adjustments for idea floating cards */
  .floating-card-manual {
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    gap: 0.5rem;
  }

  .floating-card-manual .card-title {
    font-size: 0.625rem !important;
  }

  .card-top-left {
    top: -10%;
    left: -8%;
  }

  .card-top-right {
    top: 2%;
    right: -5%;
  }

  .card-bottom {
    bottom: 22;
    left: 22%;
    transform: translateX(-50%);
    width: 65%;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Side by side for Secciones and Contáctenos */
    text-align: left;
    gap: 1.25rem 1.25rem;
  }

  .footer-col:first-child {
    grid-column: 1 / span 2;
    margin-bottom: 0.625rem;
  }

  .footer-logo {
    margin-left: 0;
    margin-right: auto;
    height: 45px;
  }

  .footer-col p {
    font-size: 1rem !important;
    text-align: left;
    max-width: 100%;
  }

  .footer-col h4 {
    font-size: 1.125rem !important;
    color: var(--yellow);
    margin-bottom: 0.9375rem;
    text-align: left;
  }

  .footer-links li,
  .contact-list li {
    font-size: 1rem !important;
    justify-content: flex-start;
    margin-bottom: 0.625rem;
  }

  .social-col {
    grid-column: 1 / span 2;
    margin-top: 0.625rem;
  }

  .social-links {
    justify-content: flex-start;
    gap: 1.5625rem;
    margin-bottom: 1.25rem;
  }

  .social-links i {
    font-size: 1.5rem;
  }

  .copyright {
    text-align: left;
    font-size: 0.875rem !important;
    border-top: none;
    padding-top: 0;
  }
}

/* Specific adjustments for the composed hero visual on very small screens */
@media (max-width: 480px) {
  .composed-laptop-container {
    max-width: 300px;
    margin-top: 2.5rem;
  }

  .floating-card-hero {
    padding: 0.5rem 0.875rem !important;
    background: #FEF9E7 !important;
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    position: absolute;
    z-index: 10;
    /* Above laptop */
  }

  .floating-card-hero .card-icon {
    width: 30px;
    height: 30px;
  }

  .floating-card-hero .card-text {
    line-height: 1.1 !important;
  }

  .floating-card-hero .card-text span {
    font-size: 0.8125rem !important;
    font-weight: 600;
    color: #333;
  }

  .floating-card-hero .card-text small {
    font-size: 0.8125rem !important;
    color: #666;
  }

  /* Idea Section Manual Cards Mobile Spacing */
  .floating-card-manual .card-text {
    line-height: 1.1 !important;
  }

  .floating-card-manual .card-title {
    font-size: 0.8125rem !important;
    line-height: 1.1 !important;
  }

  /* Reduce negative margins further to prevent screen overflow */
  .card-tl {
    left: -47px;
    /* Added px */
    top: -59px;
  }

  .process-area .section-title::after {
    width: 345px;
    height: 4px;
    bottom: -15px;
  }

  .card-tr {
    right: -49px;
    top: -47px;
  }

  .card-bl {
    left: -21px;
    bottom: -74px;
  }

  .card-br {
    right: -25px;
    bottom: -87px;
  }

  .composed-laptop-container {
    max-width: 280px;
    margin: 5rem auto 7.5rem;
    display: block;
    position: relative;
  }

  .laptop-main {
    position: relative;
    z-index: 5;
    /* In front of lines, behind cards */
  }

  .connector-line {
    display: block;
    position: absolute;
    pointer-events: none;
    z-index: -1;
    /* Back to background */
    background: none !important;
  }

  .connector-line img {
    width: 100%;
    height: auto;
    display: block;
  }

  .connector-line::before,
  .connector-line::after {
    display: none !important;
  }

  .line-tl {
    width: 100px;
    top: 103%;
    left: 20px;
  }

  .line-tr {
    width: 134px;
    top: 102%;
    left: 1px;
  }

  .line-bl {
    width: 100px;
    top: -174%;
    left: 25px;
  }

  .line-br {
    width: 119px;
    top: -160%;
    left: -18px;
  }

  /* Mobile-only Form Adjustments */
  .hero-form-card {
    width: 92% !important;
    padding: 1.5625rem 1.25rem !important;
    border-radius: 20px !important;
    margin: 0 auto !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    /* Modern mobile font */
  }

  .hero-form-card h2 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    color: #333 !important;
  }

  .hero-form-card p {
    font-size: 0.9375rem !important;
    margin-bottom: 1.5625rem !important;
    color: #666 !important;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.875rem !important;
    padding: 0.75rem 0.9375rem !important;
    border-radius: 10px !important;
    border: 1px solid #E0E0E0 !important;
    background: #FAFAFA !important;
  }

  .btn-submit {
    width: 100% !important;
    padding: 0.875rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    margin-top: 0.625rem !important;
    text-transform: uppercase !important;
  }
}

/* ==========================================
   EXCLUSIVO TABLET (769px - 1024px)
   ========================================== */
@media (min-width: 769px) and (max-width: 1024px) {

  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
  }

  .topbar {
    width: 100% !important;
  }

  .main-content-layout,
  .layout-grid {
    background: transparent !important;
    background-color: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Explicit Ordering for Tablet Stack */
  .hero-left-area {
    order: 1 !important;
  }

  .form-column {
    order: 2 !important;
  }

  .why-us-area {
    order: 3 !important;
  }

  .process-area {
    order: 4 !important;
  }

  .onboarding-area {
    order: 5 !important;
  }

  .projects-section {
    order: 6 !important;
  }

  .idea-section {
    order: 7 !important;
  }

  /* Full Width Reset */
  .hero-left-area,
  .why-us-area,
  .process-area,
  .onboarding-area,
  .projects-section,
  .idea-section,
  .form-column {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .card-tr {
    top: 0px;
    right: -133px;
  }

  .line-br {
    width: 32px;
    top: -142%;
    left: -40px;
    transform: rotate(1deg);
  }

  .card-br {
    bottom: -22px;
    right: -105px;
  }

  .line-bl {
    width: 4px;
    top: -178%;
    right: 78px;
    transform: rotate(-1deg);
  }

  .hero-subcopy {
    font-size: 1.6875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-top: 0.9375rem;
    margin-left: 1.25rem;
  }

  .idea-title {
    margin: 0 auto 1.5625rem;
    font-size: 2.9375rem;
  }

  .idea-desc {
    font-size: 1.625rem;
    color: #2D2D2D;
    opacity: 0.85;
    line-height: 1.5;
    margin-bottom: 2.8125rem;
    max-width: 580px;
  }

  .hero-left-area {
    padding: 6rem 2rem !important;
    text-align: center !important;
    min-height: auto !important;
    background-color: var(--yellow) !important;
  }

  .feature-item span {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D2D2D;
    line-height: 1.2;
  }

  .form-column {
    padding: 4rem 2rem !important;
    background-color: var(--yellow) !important;
  }

  .card-bl {
    bottom: 40px;
    left: -40px;
  }

  .branding p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #FFFFFF;
    opacity: 1;
    margin-left: 1.25rem;
  }

  .footer-col ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.3125rem;
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  .floating-card-hero .card-text small {
    font-size: 0.9375rem;
    color: #666;
  }

  .floating-card-hero .card-text span {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #333;
    line-height: 1;
  }

  .hero-form-card h2 {
    font-size: 1.875rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0.375rem;
    color: var(--text-dark);
  }

  .why-us-area,
  #servicios {
    background-color: #F4F7FB !important;
    background: #F4F7FB !important;
    display: block !important;
    width: 100% !important;
  }

  .process-area {
    background-color: var(--white) !important;
    background: var(--white) !important;
  }

  .onboarding-area {
    background-color: #F4F7FB !important;
    background: #F4F7FB !important;
  }

  .projects-section {
    background-color: var(--white) !important;
    background: var(--white) !important;
  }

  .idea-section {
    background-color: var(--yellow) !important;
    background: var(--yellow) !important;
  }

  .hero-text-content {
    align-items: center !important;
    max-width: 800px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: clamp(3rem, 8vw, 4.5rem) !important;
    line-height: 1.1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-title .highlight {
    font-size: 0.85em !important;
    margin-top: 1rem !important;
    padding: 0.75rem 1.5rem !important;
  }

  .hero-copy {
    font-size: 1.9rem !important;
    max-width: 40ch !important;
    margin: 2rem auto !important;
  }

  .composed-laptop-container {
    display: block !important;
    max-width: 500px !important;
    width: 80% !important;
    margin: 4rem auto 6rem !important;
  }

  .desktop-hidden-image {
    display: none !important;
  }

  .hero-form-card {
    max-width: 600px !important;
    margin: 0 auto !important;
    padding: 3rem !important;
    border-radius: 2rem !important;
  }

  .sticky-wrapper {
    position: relative !important;
    top: 0 !important;
    padding: 0 !important;
  }

  /* Ensure all white sections take full width with no yellow strip */
  .why-us-area,
  .process-area,
  .projects-section {
    background: var(--white) !important;
    width: 100% !important;
    padding: 6rem 2rem !important;
  }

  .why-us-area {
    background: var(--color-bg-light) !important;
  }

  .why-us-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem !important;
    width: 100% !important;
  }

  .process-item {
    flex-direction: column !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
  }
}

/* ==========================================
   OPTIMIZACIÓN PARA PANTALLAS ULTRA-CORTAS
   Específico para 1326x560 y similares
   ========================================== */
@media (min-width: 1025px) and (max-height: 650px) {

  /* Reducción global de espaciado de secciones */
  .hero-left-area,
  .why-us-area,
  .process-area,
  .onboarding-area,
  .projects-section,
  .idea-section {
    padding-top: 1.875rem !important;
    padding-bottom: 1.875rem !important;
  }

  /* Ajustes del Hero (Izquierda) */
  .hero-left-area {
    min-height: auto !important;
    padding-left: 5rem !important;
    gap: 0.625rem !important;
  }

  .hero-title {
    font-size: 2.375rem !important;
  }

  .hero-title .highlight {
    font-size: 2.125rem !important;
    padding: 0.5rem 0.75rem !important;
    margin-top: 0.5rem !important;
  }

  .hero-copy {
    font-size: 1.125rem !important;
    max-width: 85% !important;
    margin-bottom: 0.3125rem !important;
  }

  .hero-subcopy {
    font-size: 1.125rem !important;
    margin-top: 0.3125rem !important;
  }

  /* Ajuste de la Imagen Principal (Laptop) */
  .laptop-img {
    max-height: 35vh !important;
    width: auto !important;
  }

  /* Ajustes del Formulario (Derecha) */
  .sticky-wrapper {
    top: 20px !important;
    padding: 2.4375rem 0 0 0 !important;
  }

  .hero-form-card {
    transform: scale(0.78);
    transform-origin: top center;
    padding: 0.9375rem 1.25rem !important;
    margin: 0 auto !important;
  }

  .hero-form-card h2 {
    font-size: 1.1875rem !important;
  }

  .hero-form-card p {
    font-size: 0.875rem !important;
    margin-bottom: 0.9375rem !important;
  }

  .form-group {
    margin-bottom: 0.5rem !important;
  }

  .hero-form-card input,
  .hero-form-card select,
  .hero-form-card textarea {
    padding: 0.625rem 0.875rem !important;
    font-size: 0.875rem !important;
  }

  .btn-submit {
    padding: 0.625rem !important;
    font-size: 0.875rem !important;
    margin-top: 0.3125rem !important;
  }

  /* Ajustes de Títulos de Sección */
  .section-title {
    font-size: 1.75rem !important;
    margin-bottom: 1.25rem !important;
  }

  .section-title::after {
    width: 200px !important;
    height: 4px !important;
    bottom: -10px !important;
  }

  .section-subtitle {
    font-size: 1rem !important;
    margin: 1.25rem auto 1.875rem !important;
  }

  /* Ajustes de Grillas y Cards */
  .why-us-grid {
    gap: 1.25rem !important;
    padding-top: 1.875rem !important;
  }

  .why-card {
    padding: 2.5rem 1.875rem 1.5625rem !important;
    margin-top: 1.875rem !important;
  }

  .why-card p {
    font-size: 1rem !important;
  }

  .process-item {
    height: auto !important;
    padding: 1.25rem 2.5rem !important;
    gap: 1.875rem !important;
  }

  .process-content h3 {
    font-size: 1.1rem !important;
  }
  

  .process-content p {
    font-size: 1rem !important;
  }

  .process-visual img {
    max-height: 120px !important;
  }

  .process-badge {
    padding: 0.3125rem 1.25rem !important;
    font-size: 1rem !important;
    top: -15px !important;
  }
}