

@font-face {
  font-family: 'Maven Pro';
  src: url('../fonts/MavenPro-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 800;
}


:root {
  --color-teal: #00567d;
  --color-dark-purple: #57005e;
  --color-bright-purple: #74007d;
  --color-medium-green: #71a850;
  --color-light-gray: #f2f2f2;
  --color-white: #ffffff;
  --color-dark-text: #333333;
  --font-family: 'Maven Pro', sans-serif;
  --section-padding: 5rem 2rem;

  /* Font Sizes */
  --font-size-sm: 1.75rem;
  --font-size-md: 2.25rem;
  --font-size-lg: 4rem;
}

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

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

body {
  font-family: var(--font-family);
  color: var(--color-dark-text);
  background-color: var(--color-white);
  line-height: 1.6;
  font-size: var(--font-size-md);
  font-weight: 500;
}

body.no-scroll {
  overflow: hidden;
}

h1, h2, h3 {
  font-weight: 500;
  line-height: 1.2;
}

h2 { font-size: var(--font-size-lg); }
h3 { font-size: var(--font-size-md); }

strong {
  font-weight: 700;
}

em {
  font-style: italic;
  font-weight: 500;
}

button, input, select, textarea {
    font-family: var(--font-family);
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.container--constrained {
  max-width: 1400px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2rem;
  background-color: var(--color-medium-green);
  color: var(--color-white);
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: var(--font-size-sm);
  text-align: center;
  line-height: 1.25;
}

.btn:hover {
  background-color: #5a8a3f;
}

.btn:disabled {
  background-color: #a0a0a0;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-arrow {
  vertical-align: middle;
  margin-left: 30px;
  filter: brightness(0) invert(1);
  height: 6rem;
  animation: bounce-rotated 2s infinite ease-in-out;
}

/* --- Header --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 2rem 0;
  transition: padding 0.5s ease-in-out, background-color 0.5s ease-in-out;
}
.main-header.scrolled {
  padding: 1rem 0;
  background-color: rgba(0, 86, 127, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  padding: 0 3rem;
}
.logo-img {
  height: 180px;
  display: block;
  transition: height 0.5s ease-in-out, filter 0.5s ease-in-out;
}
.main-header.scrolled .logo-img {
    height: 90px;
    filter: brightness(0) invert(1);
}
.main-nav a {
  color: var(--color-teal);
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 600;
  transition: color 0.5s ease-in-out, text-shadow 0.5s ease-in-out;
  font-size: var(--font-size-md);
}

.main-nav a:hover {
  color: var(--color-dark-purple);
}

.main-header.scrolled .main-nav a {
  color: var(--color-white);
  text-shadow: none;
}
.main-header.scrolled .main-nav a:hover {
  color: #ddd;
}

.header-cta {
  display: none;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  display: block;
  overflow: hidden;
  height: auto;
}
.hero-bg-img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-bg-img--mobile {
    display: none;
}

.hero-cta {
  position: absolute;
  bottom: 15%;
  left: 10vw;
  z-index: 10;
  padding: 1.2rem 2.2rem;
  font-size: 1.75rem;
  min-width: 420px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.hero-cta .btn-arrow {
  height: 5rem;
}

.brands-header .btn {
  height: 100px;
  padding: 1rem 2rem;
}

.brands-header .btn .btn-arrow {
  height: 4.5rem;
}


/* --- Problems & Solutions Sections (Full Width) --- */
.problems-section, .solutions-section {
  text-align: center;
  padding: 0; /* Remove padding from section itself */
  line-height: 0; /* Prevent whitespace from banner image */
}

.section-banner {
  width: 100%;
  height: auto;
  display: block;
}

.section-content-wrapper {
  padding: 5rem 0;
  color: var(--color-white);
  line-height: 1.6; /* Restore line-height for content */
}

.problems-section .section-content-wrapper {
  background: url('/images/Landing-MC-Runrate_Fondo-M.png') no-repeat center center/cover;
}

.solutions-section .section-content-wrapper {
  background: url('/images/Landing-MC-Runrate_Fondo-V.png') no-repeat center center/cover;
}

.problems-list, .solutions-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: left;
  max-width: 950px;
  margin: 0 auto;
}
.problem-item, .solutions-list-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: var(--font-size-md);
}
.problem-item img, .solutions-list-item img {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
}

/* --- Brands Section --- */
.brands-section {
  padding: 4rem 2rem;
  background-color: var(--color-light-gray);
}
.brands-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.brands-header h2 {
    color: var(--color-teal);
}
.brands-header .btn {
  margin-left: auto;
}

.brands-carousel-wrapper {
  position: relative;
}
.brands-carousel {
  position: relative;
  overflow: hidden;
}
.brands-carousel-inner {
  display: flex;
}
.brand-logo-wrapper {
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    flex-shrink: 0;
}
.brand-logo {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.carousel-nav img {
    height: 75px;
    width: auto;
}

.carousel-prev {
  left: -60px;
}
.carousel-next {
  right: -60px;
}
.carousel-nav:hover {
  transform: translateY(-50%) scale(1.1);
}
.carousel-next img {
  transform: rotate(180deg);
}

/* --- Testimonials Section --- */
.testimonials-section {
  padding: var(--section-padding);
  background-color: var(--color-light-gray);
  padding-top: 4rem;
}
.testimonial {
  display: flex;
  align-items: flex-end;
  gap: 3rem;
  margin-bottom: 6rem;
}
.testimonial:last-child { margin-bottom: 0; }
.testimonial-img {
  width: 350px;
  height: 350px;
  object-fit: contain;
  flex-shrink: 0;
}
.testimonial-quote-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  flex-grow: 1;
}
.quote-icon {
  width: 160px;
  height: auto;
  flex-shrink: 0;
}
.testimonial-quote-content {
  max-width: 950px;
  text-align: right;
  color: var(--color-teal);
}
.testimonial-quote-content p {
  font-size: var(--font-size-md);
  font-weight: 500;
}
.testimonial-author {
  margin-top: 1.5rem;
  font-size: var(--font-size-md);
  font-style: normal;
}
.testimonial-author strong { font-weight: 600; }
.testimonial-author span {
  display: block;
  font-size: var(--font-size-sm);
}

/* --- Pre-CTA Section --- */
.pre-cta-section {
    background-color: var(--color-dark-purple);
    color: var(--color-white);
    padding: 4rem 2rem 0;
    text-align: center;
}
.pre-cta-section .container--constrained {
  padding: 0 1rem;
}
.pre-cta-section h2 {
    font-size: var(--font-size-lg);
    line-height: 1.4;
}
.pre-cta-arrow {
  display: block;
  margin: 2rem auto 0;
  height: 7rem;
  animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

@keyframes bounce-rotated {
  0%, 20%, 50%, 80%, 100% {
    transform: rotate(-90deg) translateY(0);
  }
  40% {
    transform: rotate(-90deg) translateY(10px);
  }
  60% {
    transform: rotate(-90deg) translateY(5px);
  }
}

@keyframes bounce-vertical-down {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(8px);
  }
  60% {
    transform: translateY(4px);
  }
}

@keyframes bounce-arrow-down {
  0%, 20%, 50%, 80%, 100% {
    transform: rotate(-90deg) translateY(0);
  }
  40% {
    transform: rotate(-90deg) translateY(8px);
  }
  60% {
    transform: rotate(-90deg) translateY(4px);
  }
}

/* --- New Banner Section --- */
.new-banner-section {
  padding: 0;
  line-height: 0; /* Remove whitespace below image */
}
.new-banner-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

/* --- CTA Form Section --- */
.cta-form-section {
  background-color: var(--color-teal);
  padding: 0;
}
.cta-form-section .container {
    padding: 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  margin: 0 auto;
  background-color: var(--color-teal);
  border-radius: 10px;
  overflow: hidden;
  max-width: 1400px;
  padding: 0 1rem;
}

.cta-image-column {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 0;
}
.cta-img {
  width: 100%;
  object-fit: contain;
  display: block;
  margin-top: auto;
}

.cta-form-column {
  position: relative;
  padding: 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-white);
}

.form-title {
    color: var(--color-white);
    font-size: var(--font-size-md);
    font-weight: 600;
    padding: 0;
    text-align: left;
    max-width: none;
    margin: 0 0 2rem 0;
}
.form-title--mobile {
    display: none;
}

#contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group--inline {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

.form-group--inline label {
    width: 160px;
    flex-shrink: 0;
    margin-bottom: 0;
    text-align: left;
    font-size: var(--font-size-md);
    font-weight: 600;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-size: var(--font-size-md);
}

body #contact-form .form-group input:not([type="checkbox"]),
body #contact-form .form-group select {
  width: 100%;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: var(--font-size-sm);
  background-color: var(--color-light-gray);
  color: var(--color-teal);
  flex-grow: 1;
  height: 65px;
}
.form-group select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300567d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.1em;
  padding-right: 3.5rem;
}
.form-group input::placeholder,
.form-group select:invalid {
    color: var(--color-teal);
    opacity: 1;
}

body #contact-form .form-group select,
body #contact-form .form-group select:invalid {
    color: var(--color-dark-text);
}

.form-group option {
    background-color: var(--color-white);
    color: var(--color-dark-text);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-bright-purple);
  box-shadow: 0 0 0 3px rgba(116, 0, 125, 0.3);
}

.form-group-privacy {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.form-group-privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-medium-green);
  cursor: pointer;
  margin-top: -2px; /* Small adjustment for better vertical alignment with text */
}
.form-group-privacy label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-light-gray);
  line-height: 1.4;
  margin-bottom: 0;
  cursor: pointer;
}
.form-group-privacy label a {
  color: var(--color-white);
  text-decoration: underline;
  font-weight: 600;
}
.form-group-privacy label a:hover {
  text-decoration: none;
}

@media (min-width: 769px) {
  body #contact-form .form-group input::placeholder {
    color: transparent;
  }
}

.form-actions {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: 0;
  flex-wrap: wrap;
}

#turnstile-container {
  flex-shrink: 0;
  width: 300px;
  height: 65px;
  transition: width 0.3s ease, height 0.3s ease;
  position: relative;
  z-index: 2;
}

.form-actions .btn {
  flex-shrink: 0;
  width: 300px;
  height: 65px;
  padding: 0 1.5rem;
  font-size: var(--font-size-sm);
}

/* --- Footer --- */
.main-footer {
  padding: 0.75rem 2rem;
  background-color: var(--color-light-gray);
}
.main-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.main-footer .logo-img { height: 120px; }
.footer-links a, .main-footer > .container > a {
  color: var(--color-teal);
  text-decoration: none;
  margin: 0 1.5rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
  transition: color 0.3s ease;
}
.footer-links a:hover, .main-footer > .container > a:hover { 
    color: var(--color-dark-purple);
}

/* --- Thank You Page (gracias.html) --- */
.thank-you-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
  background-color: #EFEFEF;
  color: var(--color-teal);
}
.thank-you-container .logo-img {
  height: 180px;
  margin-bottom: 3rem;
  filter: none;
}
.thank-you-icon {
  height: 100px;
  width: auto;
  margin: 2rem 0;
}
.thank-you-icon--mobile {
  display: none;
}
.thank-you-container h1 {
  font-size: var(--font-size-lg);
  color: var(--color-teal);
  font-weight: 600;
  margin-bottom: 2rem;
  border: none;
  padding: 0;
  width: 100%;
  max-width: 900px;
}
.thank-you-container p {
  max-width: 900px;
  margin-bottom: 1.5rem;
  font-size: var(--font-size-md);
  font-weight: 500;
  line-height: 1.5;
}
.thank-you-container p:last-of-type {
  margin-bottom: 3rem;
}
.thank-you-container .btn {
  margin-bottom: 4rem;
  min-width: 350px;
  font-size: var(--font-size-md);
  padding: 1.2rem 2rem;
}
.thank-you-container .social-links {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 4rem;
  align-items: center;
}
.thank-you-container .social-links a {
  display: inline-block;
  background-color: transparent;
  border-radius: 0;
  transition: transform 0.3s ease;
}
.thank-you-container .social-links a img {
  height: 100px;
  width: auto;
  filter: none;
  display: block;
}
.thank-you-container .social-links a:hover {
  transform: scale(1.1);
}
.thank-you-container .privacy-link {
  color: var(--color-teal);
  font-weight: 600;
  text-decoration: none;
  font-size: var(--font-size-sm);
}
.thank-you-container .privacy-link:hover {
  text-decoration: underline;
}


/* --- Cookie Consent Banner --- */
#cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: calc(100% - 40px);
  max-width: 450px;
  background-color: rgba(0, 44, 63, 0.95);
  color: var(--color-white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  font-size: 1rem;
}
#cookie-consent-banner p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}
#cookie-consent-banner a {
  color: #aaeaff;
  text-decoration: underline;
  font-weight: 600;
}
#cookie-consent-banner a:hover {
  color: var(--color-white);
}
.cookie-consent-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}
.cookie-consent-actions .btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 6px;
  height: auto;
  min-width: 100px;
  border: 2px solid transparent;
}
.cookie-consent-actions .btn.btn-accept {
  background-color: var(--color-medium-green);
}
.cookie-consent-actions .btn.btn-accept:hover {
  background-color: #5a8a3f;
}
.cookie-consent-actions .btn.btn-reject {
  background-color: transparent;
  border-color: var(--color-light-gray);
  color: var(--color-light-gray);
}
.cookie-consent-actions .btn.btn-reject:hover {
  background-color: rgba(255,255,255,0.1);
  color: var(--color-white);
  border-color: var(--color-white);
}

/* --- WhatsApp Floating Button --- */
@keyframes fab-enter {
  from {
    transform: scale(0) translateY(50px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2001; /* Above cookie banner */
  background: #25d366; /* Fallback */
  background: linear-gradient(45deg, #28d569, #20b55b);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), bottom 0.4s ease-in-out;
  text-decoration: none;
  animation: fab-enter 0.5s 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) backwards;
  border: 2px solid var(--color-white);
}

.whatsapp-fab:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
}

/* --- Toast Notifications --- */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 350px;
  pointer-events: none;
}

.toast {
  background-color: var(--color-dark-text);
  color: var(--color-white);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: 1rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(120%);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.error {
  background-color: #d9534f;
}

.toast.success {
  background-color: var(--color-medium-green);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero-bg-img--desktop {
    display: none;
  }
  .hero-bg-img--mobile {
    display: block;
  }
  
  .hero-cta {
    display: none;
  }
  
  .cta-form-section {
    padding: 0;
  }
  .cta-grid { 
    grid-template-columns: 1fr;
  }
  .cta-image-column { 
    display: none;
  }
  .form-title--desktop {
    display: none;
  }
  .form-title--mobile {
    display: block;
    text-align: center;
    padding: 2rem 1rem 0;
    font-size: var(--font-size-md);
    margin-bottom: 1.5rem;
  }
  .cta-form-column {
    padding: 0 0 2rem;
  }
 
  .form-group--inline {
      flex-direction: column;
      align-items: stretch;
      gap: 0.5rem;
  }
  .form-group--inline label {
      width: auto;
      flex-shrink: 1;
      margin-bottom: 0.5rem;
      text-align: left;
  }
  
  .testimonial { 
    flex-direction: row; 
    align-items: center; 
    gap: 1.5rem;
    margin-bottom: 4rem; 
  }
  .testimonial-img {
    width: 150px;
    height: 150px;
  }

  .testimonials-section { padding: 4rem 1rem; }

  .brands-header {
    justify-content: center;
    text-align: center;
  }
  .brands-header h2 {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  /* --- START: Added/Moved Styles for Tablet CTA --- */
  .main-nav {
    display: none;
  }

  .header-cta {
    display: inline-flex;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    height: auto;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
  }
  .header-cta .btn-arrow {
    height: 2rem;
    margin-left: 0.8rem;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease-in-out;
    animation: bounce-arrow-down 2s infinite ease-in-out;
  }
  
  .header-cta.hide-on-scroll {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px) scale(0.9);
  }

  /* Hide in-page CTAs and use header CTA instead */
  .brands-header .btn {
    display: none;
  }
  /* --- END: Added/Moved Styles for Tablet CTA --- */
}

@media (max-width: 768px) {
  :root { 
    --font-size-sm: 0.8rem; 
    --font-size-md: 1.0rem; 
    --font-size-lg: 1.5rem; 
  }
  
  .btn {
    padding: 0.8rem 1.2rem;
  }
  .btn-arrow {
    height: 2.8rem;
    margin-left: 0.8rem;
  }
  
  .main-header { 
    padding: 1rem 0;
  }
  .main-header .container { 
    padding: 0 1.5rem; 
  }
  .logo-img { height: 60px; }
  
  .main-header.scrolled .logo-img {
    height: 60px; /* Keep size consistent on scroll */
  }

  /* Styles for Header CTA shrink on smaller screens */
  .header-cta {
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
  }
  .header-cta .btn-arrow {
    height: 1.6rem;
    margin-left: 0.6rem;
  }
  
  .hero-cta {
    bottom: 8%;
    width: 85%;
    max-width: 320px;
    padding: 1rem 1.2rem;
    font-size: 1.1rem;
  }
  .hero-cta .btn-arrow {
    height: 3rem;
  }
  
  .section-content-wrapper {
      padding: 3rem 0;
  }
  
  .problems-list, .solutions-list {
    gap: 1rem;
  }

  .problem-item, .solutions-list-item {
    line-height: 1.3;
  }
  
  .brands-section {
      padding: 1.5rem 1rem 2.5rem;
  }
  .brands-header {
      margin-bottom: 2rem;
  }
  
  .testimonials-section {
      padding: 2rem 1rem;
  }
  .testimonial {
      margin-bottom: 3rem;
      gap: 1rem;
  }
  .testimonial-img { 
    width: 125px; 
    height: 125px;
  }
  
  .testimonial-quote-wrapper {
    position: relative;
    flex-grow: 1;
    padding-left: 0.5rem;
  }
  
  .quote-icon {
    position: absolute;
    top: -0.5rem;
    left: 0;
    width: 90px;
    height: auto;
    z-index: 0;
    color: var(--color-teal);
  }

  .testimonial-quote-content {
    position: relative;
    z-index: 1;
  }
  
  .pre-cta-arrow {
    height: 6rem;
  }

  .form-title--mobile {
    font-size: var(--font-size-lg);
  }

  body #contact-form .form-group input:not([type="checkbox"]),
  body #contact-form .form-group select {
    height: 50px;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    color: var(--color-teal);
  }
  
  body #contact-form .form-group select,
  body #contact-form .form-group select:invalid {
      color: var(--color-teal);
  }

  .form-group--inline label {
    display: none;
  }
  .form-group--inline {
    gap: 0;
  }

  .main-footer {
    padding: 0.75rem 1rem;
  }
  .main-footer .container {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .main-footer .logo-link {
    display: none;
  }
  .main-footer > .container > a[href*="microcomp.com.mx"] {
    order: 1;
    margin: 0;
    display: none;
  }
  .main-footer .footer-links {
    order: 2;
  }
  .main-footer .footer-links a {
    margin: 0;
  }

  .carousel-nav {
    background: rgba(255, 255, 255, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }
  .carousel-nav:hover {
    transform: translateY(-50%) scale(1.1);
    background-color: rgba(255, 255, 255, 0.9);
  }
  .carousel-nav img {
    height: 20px;
  }
  .carousel-prev {
    left: 0.5rem;
  }
  .carousel-next {
    right: 0.5rem;
  }
  
  .form-actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .form-actions .btn {
      font-size: var(--font-size-md);
      height: auto;
      padding-top: 0.9rem;
      padding-bottom: 0.9rem;
  }
  #turnstile-container {
    width: 300px;
    height: 65px;
  }
  
  .thank-you-container .logo-img { height: 120px; }
  .thank-you-icon {
    height: 128px; /* 60% larger */
    margin: 1.2rem 0; /* Reduced spacing */
  }
  .thank-you-icon--desktop {
    display: none;
  }
  .thank-you-icon--mobile {
    display: block;
    /* Change icon color to blue/teal */
    filter: hue-rotate(95deg) saturate(0.6) brightness(0.8);
  }
  .thank-you-container .social-links { gap: 1.5rem; }
  .thank-you-container .social-links a img { height: 80px; }

  #cookie-consent-banner {
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    padding: 1rem;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    gap: 1rem;
  }
  .cookie-consent-actions {
    width: 100%;
    justify-content: space-between;
  }
  .cookie-consent-actions .btn {
    flex-grow: 1;
  }

  .whatsapp-fab {
    width: 55px;
    height: 55px;
    right: 15px;
    bottom: 15px;
  }
  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
  .whatsapp-fab.cookie-banner-active {
    bottom: 140px;
  }
}

@media (max-width: 480px) {
  :root { --section-padding: 3rem 1rem; }
  .problem-item, .solutions-list-item { gap: 1rem; }
  .cta-form-column { padding: 1.5rem 1.5rem 1.5rem; }

  .cookie-consent-actions {
    flex-direction: column;
  }

  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    width: auto;
  }

  .whatsapp-fab.cookie-banner-active {
    bottom: 190px;
  }
}