:root {
  /* Corporate Palette */
  --bg-creme: #F6EBDA;
  --bg-beige: #F0CCAA;
  --primary-orange: #D69865;
  --secondary-green: #BAB58D;
  --accent-blue: #CAD3D0;
  --text-dark: #2D2B1D;
  --text-muted: #5A584D;
  --white: #FFFFFF;

  /* Typography */
  --font-main: 'Source Sans 3', sans-serif;
  --font-heading: 'Lexend', sans-serif;

  /* Spacing & Borders */
  --radius-lg: 24px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 30px rgba(45, 43, 29, 0.05);
  --shadow-strong: 0 20px 50px rgba(45, 43, 29, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-only {
  display: none !important;
}

@media (max-width: 900px) {
  .mobile-only {
    display: block !important;
  }
}

.mobile-sticky-cta {
  display: none;
}

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #C08554;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(214, 152, 101, 0.3);
}

.btn-header {
  font-size: 0.95rem;
  padding: 12px 24px;
  background-color: var(--primary-orange);
  color: var(--white);
  border-radius: var(--radius-md);
}

.btn-header:hover {
  background-color: #C08554;
  transform: translateY(-2px);
}

.section {
  padding: 80px 5%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Forms */
form .form-group {
  margin-bottom: 20px;
  text-align: left;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-dark);
}

.required {
  color: var(--primary-orange);
  margin-left: 4px;
}

form input[type="text"],
form input[type="tel"],
form input[type="email"],
form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #E5E0D8;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  background: #FCFAF8;
  font-size: 1rem;
  transition: var(--transition);
}

form input:focus,
form select:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(214, 152, 101, 0.1);
  background: white;
}

.input-with-prefix {
  display: flex;
  align-items: center;
  background: #FCFAF8;
  border: 1px solid #E5E0D8;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.input-with-prefix .prefix {
  padding: 14px 16px;
  background: #FFFFFF;
  border-right: 1px solid #E5E0D8;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.input-with-prefix input {
  border: none;
  border-radius: 0;
  background: transparent;
  flex: 1;
}

.input-with-prefix input:focus {
  box-shadow: none;
}

.input-with-prefix:focus-within {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(214, 152, 101, 0.1);
  background: white;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  text-align: left;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary-orange);
  cursor: pointer;
}

.checkbox-group label {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.4;
  cursor: pointer;
}

.checkbox-group a {
  color: #0000EE;
  text-decoration: underline;
  font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 4 - 30px * 4));
  }
}

.animate-fade-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Testimonials Carousel */
.testimonials-section {
  background-color: var(--bg-creme);
  padding: 80px 0;
  overflow: hidden;
}

.testimonials-section h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
}

.testimonials-track-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* Masks to fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  width: 350px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.testimonial-header img {
  height: 25px;
}

.testimonial-score {
  font-weight: 700;
  color: #E85B43;
  /* Orange/Red from screenshot */
  font-size: 1.1rem;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-dark);
}

/* Navbar & Logo */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo-adecua {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -0.05em;
  color: var(--text-dark);
  text-decoration: none;
  line-height: 1;
}

.logo-adecua.light {
  color: var(--white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
    /* Space for fixed bottom CTA */
  }

  .btn-header {
    width: auto;
    border-radius: var(--radius-md);
    position: relative;
    box-shadow: none;
    padding: 14px 28px;
  }

  .mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }

  .mobile-sticky-cta.visible {
    transform: translateY(0);
  }

  .mobile-sticky-cta .btn {
    width: 100%;
    border-radius: 0;
    padding: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .section {
    padding: 60px 20px;
  }

  h1 {
    font-size: 2.5rem;
  }
}

/* Official Adecua Footer Styles */
.footer-section-2 {
  background-color: #1A1A1A;
  color: white;
  padding: 80px 5% 40px;
  font-family: var(--font-main);
}

.footer-section-2 .main-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo-wrapper {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  height: 45px;
  margin-bottom: 20px;
}

.footer-claim {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.footer-body {
  color: #BABABA;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-body.smaller {
  font-size: 0.85rem;
}

.footer-container {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-contact-column {
  display: flex;
  flex-direction: column;
  min-width: 150px;
}

.footer-column-heading {
  color: #777;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-link {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 12px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary-orange);
}

.bottom-footer {
  max-width: 1200px;
  margin: 60px auto 0;
  padding-top: 30px;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.bottom-footer-links {
  display: flex;
  gap: 24px;
}

@media (max-width: 768px) {
  .footer-container {
    gap: 30px;
  }

  .footer-section-2 {
    padding-bottom: 100px;
    /* Space for fixed button */
  }
}