/* Variables CSS basadas en el design system de Figma */
:root {
  --color-orange: #f8ae49;
  --color-gold: #b17b33;
  --color-dark: #353434;
  --color-cream: #eae2db;
  --color-green: #4f7155;
  --color-white: #ffffff;
  --color-black: #000000;
  --font-lora: "Lora", serif;
  --font-work: "Work Sans", sans-serif;
  --swiper-pagination-color: #ffffff;
  --swiper-navigation-color: #ffffff;
}

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

body {
  font-family: var(--font-work);
  color: var(--color-black);
  line-height: normal;
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
}

.default-page h1,
.default-page h2,
.default-page h3,
.default-page h4,
.default-page h5,
.default-page h6,
.default-page ul,
.default-page p {
  margin-bottom: 1rem;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  font-family: var(--font-lora);
  line-height: normal;
}

h2 {
  font-size: 2.25rem;
}

.container {
  width: 90%;
  max-width: 1040px;
  margin-inline: auto;
}
.container.wide {
  max-width: 1152px;
}

/* Navbar Component */
.navbar-container {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  margin-inline: auto;
  padding-top: 2.38rem;
  padding-inline: 2rem;
  transition: all 0.4s;
}
.navbar-container.normal {
  position: sticky;
  background-color: var(--color-white);
  padding-block: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.mariposa-logo {
  transition: all 0.3s;
}
.navbar-container.normal .mariposa-logo {
  height: 35px;
}
.navbar-container.normal .navbar {
  background: transparent;
  box-shadow: none;
}
.navbar-container.normal .navbar a {
  color: var(--color-dark);
}

.navbar-container.normal .navbar li.current_page_item a,
.navbar-container.normal .navbar a:hover {
  color: var(--color-gold);
}

.navbar {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  display: flex;
  justify-self: flex-end;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

  border-radius: 1.25rem;
  background: rgba(0, 0, 0, 0.25);
  height: 2.5rem;
  padding: 0 1rem 0 2rem;
  gap: 1.5rem;
}

.navbar ul {
  display: flex;
  justify-self: flex-end;
  align-items: center;
  gap: 1.5rem;
}
.navbar ul li {
  display: inline;
}

.navbar .logo {
  font-family: var(--font-lora);
  font-weight: 600;
  color: var(--color-orange);
  font-size: 16px;
}

.navbar a {
  font-family: var(--font-lora);
  text-decoration: none;
  color: var(--color-white);
  font-size: 16px;
  transition: color 0.3s;
}

.navbar li.current_page_item a,
.navbar a:hover {
  color: var(--color-orange);
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  text-decoration: none;
  font-family: var(--font-work);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn-filled {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-filled:hover {
  background: var(--color-gold);
  transform: translateY(-2px);
}

.btn-outlined {
  background: transparent;
  color: var(--color-orange);
  border: 1px solid var(--color-orange);
}

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

/* Hero Section */
.hero {
  height: calc(100vh - 5rem);
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.background-video > video {
  background-size: cover;
  background-position: 50% 50%;
  position: absolute;
  margin: auto;
  width: 100%;
  height: 100%;
  right: -100%;
  bottom: -100%;
  top: -100%;
  left: -100%;
  object-fit: cover;
  z-index: -100;
}
.hero-slider {
  height: calc(100vh - 5rem);
  width: 100%;
  position: relative;
}

.hero-slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

.overlay ~ * {
  z-index: 1;
}

.hero-content {
  max-width: 540px;
}

.hero h1,
.hero-slider h1 {
  font-family: var(--font-lora);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--color-cream);
  margin-bottom: 24px;
}

.hero p,
.hero-slider p {
  font-size: 1rem;
  margin-bottom: 2rem;
  margin-left: 2rem;
  color: var(--color-white);
}

/* Content Sections */
.content-section {
  width: 90%;
  max-width: 1040px;
  margin-inline: auto;
  padding-block: 5rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.content-section.reverse {
  flex-direction: row-reverse;
}

.content-text {
  max-width: 24.5rem;
  flex: 1;
}

.content-text h2 {
  font-family: var(--font-lora);
  font-size: 36px;
  color: var(--color-gold);
  margin-bottom: 24px;
}

.content-text p {
  font-size: 16px;
  margin-bottom: 32px;
}

.content-image {
  width: 564px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Full width image section */
.image-fullwidth-section-1 {
  padding-block: 4rem;
  color: var(--color-cream);
  height: 32rem;
  display: flex;
  align-items: center;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
}

.image-fullwidth-section-2 {
  padding-block: 4rem;
  color: var(--color-cream);
  height: 28.75rem;
  display: flex;
  align-items: center;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.image-section-container {
  z-index: 1;
  width: 90%;
  max-width: 35.25rem;
  margin-inline: auto;
  text-align: center;
}

/* Special Sections */
.experience-section {
  background: var(--color-cream);
  text-align: center;
  padding-block: 7.5rem;
}

.experience-content {
  max-width: 1040px;
  width: 90%;
  margin: 0 auto;
}

.experience-image {
  width: 100%;
  height: 627px;
  background: #afafaf;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.experience-text {
  z-index: 1;
  position: relative;
  margin-top: -6.25rem;
  margin-inline: auto;
  background-color: var(--color-white);
  max-width: 760px;
  padding: 2.62rem 5rem;
}

/* Products Section */
.products-section {
  padding-block: 4rem;
}

.products-wrapper {
  display: flex;
  gap: 6.25rem;
}

.products-cards {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}

.product-card {
  width: 270px;
  background: var(--color-white);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-image {
  transform: translateY(0);
}
.product-card:hover .product-card-content {
  transform: translateY(-1rem);
  color: var(--color-black);
  font-weight: 700;
}

.product-card-image {
  width: 100%;
  height: 420px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transform: translateY(2rem);
  transition: all 0.3s ease;
}

.product-card-content {
  padding: 1.5rem;
  transform: translateY(-2rem);
  color: var(--color-white);
  transition: transform 0.3s ease;
}

.products-text {
  max-width: 26rem;
}

.products-text h2 {
  font-family: var(--font-lora);
  font-size: 2.25rem;
  margin-bottom: 7.5rem;
}

.products-text p {
  font-size: 1.25rem;
}

/* Catalog download CTA */
.catalog-download-cta {
  padding: 2.5rem 0 4.5rem;
}

.catalog-content-container {
  display: flex;
  align-items: center;
  padding: 4rem;
  position: relative;
  z-index: 1;
}

.catalog-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0rem;
  width: 0%;
  background-color: var(--color-white);
  transition: all 0.3s;
  overflow: hidden;
}

.catalog-form.active {
  padding: 2rem;
  width: 47%;
}

.catalog-form input[type="submit"],
.catalog-form button[type="submit"] {
  background: var(--color-green);
  color: var(--color-white);
  border: none;
  padding: 16px 32px;
  font-family: var(--font-work);
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.catalog-download-wrapper {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.catalog-download-content {
  padding-block: 6.5rem;
  display: flex;
  color: var(--color-white);
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 27rem;
  margin-inline: auto;
  position: relative;
}

.catalog-download-content h2 {
  text-transform: uppercase;
  font-size: 2.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Logo & images */
.logo-images-section {
  max-width: 1152px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, auto);
  position: relative;
}

.logo-images-section img {
  position: relative;
}

.logo-images-section .image-1 {
  right: 5rem;
}
.logo-images-section .image-3 {
  bottom: 5rem;
  z-index: -1;
}
.logo-images-section .image-4 {
  bottom: 5rem;
  left: 10rem;
}

.logo-images-section .logo {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  text-align: center;
  z-index: 1;
}

/* Footer */
.footer {
  z-index: 1;
  position: relative;
  background: var(--color-black);
  color: var(--color-white);
  padding: 64px;
}

.footer a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer a:hover {
  color: var(--color-gold);
}

.footer-content {
  max-width: 1152px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 42px;
  gap: 22px;
}

.footer-motto {
  font-family: var(--font-lora);
  font-size: 32px;
  max-width: 295px;
}

.footer-nav {
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  line-height: 2;
}

.footer-nav ul {
  list-style: none;
}

.footer-locations {
  max-width: 369px;
}

.location {
  margin-bottom: 19px;
}

.location h4 {
  font-family: var(--font-lora);
  font-size: 24px;
  margin-bottom: 12px;
}

.location-info {
  display: flex;
  gap: 12px;
  font-size: 0.875rem;
}

.footer-divider {
  height: 1px;
  background: var(--color-white);
  opacity: 0.3;
  margin: 42px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-media {
  display: flex;
  gap: 40px;
  align-items: center;
}

.social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--color-white);
  transition: color 0.3s;
}

.social-icon:hover {
  color: var(--color-orange);
}

.social-icon-circle {
  width: 40px;
  height: 40px;
  background: var(--color-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 20px;
}

.whatsapp-btn {
  color: var(--color-green) !important;
  background: var(--color-white);
  padding: 16px 32px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
  font-size: 1rem;
}

.whatsapp-btn:hover {
  background: #3a5a3f;
  color: var(--color-white) !important;
}

.footer-legal {
  display: flex;
  gap: 2rem;
  font-size: 0.687rem;
}

.footer-legal a {
  color: var(--color-white);
  text-decoration: none;
}

.foot {
  margin-top: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive */
@media (max-width: 970px) {
  :root {
    --swiper-navigation-size: 20px;
  }
  .hero-slider {
    height: 70vh;
  }

  .contact-main > div {
    width: 100% !important;
  }
  .hero-content {
    text-align: center;
    margin-inline: auto;
  }

  .catalog-download-content {
    padding-block: 2rem;
  }

  .catalog-content-container {
    flex-direction: column;
    padding-inline: 2rem;
  }

  .catalog-form {
    height: 0px;
    width: 100%;
  }

  .catalog-form.active {
    width: 100%;
    height: 319px;
  }

  .hero {
    padding: 60px 20px;
    height: auto;
  }

  .hero h1 {
    font-size: 28px;
  }

  .content-section {
    padding-block: 5rem;
    flex-direction: column;
    gap: 1.5rem;
  }

  .content-section.reverse {
    flex-direction: column;
  }

  .content-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
  }

  .experience-section {
    padding-block: 60px;
  }

  .experience-text {
    padding-inline: 1.5rem;
  }

  .products-section {
    padding-block: 2.5rem;
    flex-direction: column;
    gap: 1.5rem;
  }

  .products-wrapper {
    flex-direction: column;
    gap: 1.5rem;
  }

  .products-text {
    position: sticky;
    top: 3rem;
  }

  .products-cards {
    flex-direction: row;
    align-items: center;
  }

  .products-text h2 {
    margin-bottom: 2rem;
  }

  .logo-images-section img {
    width: 70%;
    padding-block: 4rem;
  }

  .footer {
    padding: 40px 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .foot {
    flex-direction: column;
    gap: 1rem;
  }
}

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

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

/* Interactive Elements */
.btn,
.product-card,
.social-icon {
  transition: all 0.3s ease;
}

.btn:active {
  transform: translateY(1px);
}

/* About */
/* Estilos adicionales específicos para la página Nosotros */
.about-hero {
  min-height: 655px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-cream);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 27rem;
}

.about-hero h1 {
  font-family: var(--font-lora);
  font-size: 2.25rem;
  color: var(--color-cream);
  line-height: normal;
  margin-bottom: 1.5rem;
}

.about-hero p {
  margin-bottom: 1rem;
}

/* Sección de Experiencia */
.experiencia-industria {
  padding-block: 6rem;
}

.experiencia-industria .images-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3.12rem;
}

.experiencia-industria img {
  position: relative;
  display: block;
}
.experiencia-industria img.left {
  top: 9.81rem;
}
.experiencia-industria img.right {
  top: 5.38rem;
}
.experiencia-industria h2 {
  text-align: center;
  max-width: 20.625rem;
  margin-inline: auto;
}

/* Sección de Valores */
.values-section {
  background: var(--color-white);
}

.values-section img {
  margin-top: -10rem;
  z-index: 1;
}

.values-img {
  position: relative;
  text-align: center;
  background-image: url('<?php echo get_theme_mod("about_hero_bg"); ?>');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 358px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-cream);
}
.values-container {
  padding-block: 68px;
  display: grid;
  grid-template-columns: 55fr 16.8fr;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
}

.value-item {
  padding-right: 1rem;
}

.value-item:not(:last-child) {
  border-right: solid 1px var(--color-gold);
}

.value-item h3 {
  font-family: var(--font-lora);
  font-size: 24px;
  color: var(--color-black);
  margin-bottom: 16px;
}

.value-item p {
  font-family: var(--font-work);
  font-size: 16px;
  line-height: normal;
  color: var(--color-black);
}

.value-divider {
  width: 1px;
  height: 211px;
  background: var(--color-gold);
  flex-shrink: 0;
}

/* Misión y Visión */
.mission-vision-section {
  background: var(--color-white);
}

.mission-row,
.vision-row {
  display: flex;
  align-items: center;
  gap: 120px;
  padding-block: 60px;
  max-width: 1280px;
  margin: 0 auto;
}

.vision-row {
  flex-direction: row-reverse;
}

.mission-vision-text {
  flex: 1;
  max-width: 392px;
}

.mission-vision-text h2 {
  font-family: var(--font-lora);
  font-size: 36px;
  color: var(--color-gold);
  margin-bottom: 24px;
}

.mission-vision-text p {
  font-size: 16px;
  line-height: normal;
  text-align: justify;
}

.mission-vision-image {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  overflow: hidden;
}

.mission-vision-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lo que nos distingue */
.distinguishes-section {
  padding-block: 64px;
  background: var(--color-white);
}

.distinguishes-section h2 {
  font-family: var(--font-lora);
  font-size: 36px;
  color: var(--color-dark);
  margin-bottom: 40px;
}

.distinguishes-section .carousel .swiper-slide {
  /* max-width: 564px; */
}

.distinguishes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.distinguish-card {
  background: var(--color-white);
  transition: transform 0.3s ease;
}

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

.distinguish-card-image {
  width: 100%;
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 18px;
}

.distinguish-card-image img {
  width: 100%;
  object-fit: cover;
}

.distinguish-card-content {
  padding: 24px;
  display: flex;
  gap: 24px;
}

.distinguish-number {
  font-family: var(--font-lora);
  font-size: 36px;
  color: var(--color-gold);
  font-weight: 600;
  min-width: 74px;
  text-align: right;
}

.distinguish-text h3 {
  font-family: var(--font-lora);
  font-size: 36px;
  color: var(--color-gold);
  margin-bottom: 18px;
}

.distinguish-text p {
  font-size: 16px;
  color: var(--color-dark);
}

/* Clientes Section */
.clients-section {
  padding-block: 120px;
  background: var(--color-white);
  display: flex;
  gap: 75px;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
  width: 90%;
}

.clients-text {
  max-width: 419px;
}

.clients-text h2 {
  font-family: var(--font-lora);
  font-size: 36px;
  color: var(--color-gold);
  margin-bottom: 24px;
}

.clients-text p {
  font-size: 16px;
  margin-bottom: 32px;
}

.clients-logos {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(50px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
}

.client-logo {
  width: 50px;
  height: 50px;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.client-logo:hover {
  transform: scale(1.05);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mobile-nav {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero {
    padding-block: 80px;
    min-height: 500px;
  }

  .about-hero h1 {
    font-size: 28px;
  }

  .values-container {
    grid-template-columns: 1fr;
  }

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

  .value-divider {
    display: none;
  }

  .mission-row,
  .vision-row {
    flex-direction: column;
    padding: 40px 20px;
    gap: 40px;
  }

  .vision-row {
    flex-direction: column;
  }

  .value-item:not(:nth-child(2)) {
    border-right: solid 1px var(--color-gold);
  }

  .mission-vision-image {
    width: 100%;
    height: 300px;
  }

  .distinguishes-section {
    padding-block: 40px;
  }

  .distinguishes-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .experiencia-industria img {
    position: static;
    width: 30%;
    height: auto;
    display: block;
  }

  .values-section img {
    display: none;
  }

  .distinguish-card-content {
    flex-direction: column;
    gap: 16px;
  }

  .distinguish-number {
    text-align: left;
  }

  .distinguish-text h3 {
    font-size: 28px;
  }

  .clients-text {
    text-align: center;
    margin-inline: auto;
  }

  .clients-section {
    flex-direction: column;
    align-items: center;
    padding-block: 60px;
    gap: 40px;
  }

  .clients-logos {
    grid-template-columns: repeat(5, minmax(50px, 1fr));
  }
}

@media (max-width: 685px) {
  .mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin-inline: auto;
  }

  .mobile-nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 1.5rem;
  }

  .mobile-nav svg {
    height: 24px;
  }
  .mobile-nav-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .navbar-container {
    color: var(--color-white);
    padding-block: 1rem;
    padding-inline: 0;
  }
  .navbar-container.normal {
    color: var(--color-black);
  }

  .navbar-container .mariposa-logo {
    height: 25px !important;
  }
  .navbar {
    display: none;
  }

  .mobile-nav-menu {
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: var(--color-gold);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 2rem;
    font-family: --var(font-lora);
    transform: translateX(100vw);
    transition: transform 0.4s ease;
    color: var(--color-black);
  }

  .mobile-nav-menu.active {
    transform: translateX(0);
  }

  .mobile-nav-menu a {
    color: var(--color-white);
    text-decoration: none;
  }

  .mobile-nav-menu svg {
    color: var(--color-white);
    position: absolute;
    top: 2rem;
    right: 2rem;
  }
}

/* Contacto */

/* Estilos específicos para la página de Contacto */
.contact-main {
  display: flex;
  min-height: 747px;
  background: var(--color-white);
}

.contact-main > div {
  width: 50%;
}

.contact-left {
  width: 640px;
  display: flex;
  flex-direction: column;
}

.contact-company-section {
  background: var(--color-cream);
  height: 50%;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}
.contact-company-content {
  padding: 4rem;
}

.contact-company-section h2 {
  font-family: var(--font-lora);
  font-size: 2rem;
  color: var(--color-white);
  line-height: normal;
  max-width: 16.8rem;
}

.contact-distributor-section {
  background: var(--color-green);
  padding: 4rem;
  height: 50%;
  display: flex;
  align-items: flex-end;
}

.contact-distributor-content h2 {
  font-family: var(--font-lora);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 12px;
  max-width: 320px;
  line-height: normal;
}

.contact-distributor-content p {
  font-family: var(--font-work);
  color: var(--color-white);
  font-size: 16px;
  line-height: normal;
}

.contact-right {
  flex: 1;
  padding: 77px 4.8rem 5rem 4.8rem;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.contact-title {
  font-family: var(--font-lora);
  font-size: 32px;
  color: var(--color-gold);
  text-align: right;
  margin-bottom: 60px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.contact-form button[type="submit"],
.contact-form input[type="submit"] {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 16px 32px;
  font-family: var(--font-work);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}
.contact-form button[type="submit"]:hover,
.contact-form input[type="submit"]:hover {
  background: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Loading state */
.contact-form button[type="submit"].loading,
.contact-form input[type="submit"].loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-form button[type="submit"].loading::after,
.contact-form input[type="submit"].loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 8px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 24px;
}

input,
textarea,
select {
  padding: 12px 16px;
  border: 1px solid #ddd;
  background: #f7f4f1; /* Sweet Cream color */
  border-radius: 4px;
  font-family: var(--font-work);
  font-size: 16px;
  color: #5c5c5c;
  transition: all 0.3s ease;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: var(--color-white);
  color: var(--color-dark);
}

input::placeholder,
textarea::placeholder {
  color: #5c5c5c;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%235c5c5c' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.form-select-small {
  width: 121px;
  flex-shrink: 0;
}

textarea {
  min-height: 43px;
  resize: vertical;
}

.whatsapp-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: flex-end;
  max-width: 265px;
}

.whatsapp-btn-contact {
  background: var(--color-green);
  color: var(--color-cream);
  padding: 16px 32px;
  border-radius: 4px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-work);
  font-weight: 500;
  transition: all 0.3s ease;
}

.whatsapp-btn-contact:hover {
  background: #3a5a3f;
  transform: translateY(-2px);
}

.whatsapp-number {
  font-family: var(--font-work);
  color: var(--color-dark);
  text-align: center;
  font-size: 16px;
  margin-top: 4px;
}

/* Form validation styles */
input.error,
select.error,
textarea.error {
  border-color: #e74c3c;
  background: #fdf2f2;
}

.error-message {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 4px;
  display: none;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-main {
    flex-direction: column;
    min-height: auto;
  }

  .contact-left {
    width: 100%;
  }

  .contact-company-section,
  .contact-distributor-section {
    height: auto;
  }

  .contact-company-section h1 {
    font-size: 28px;
    max-width: none;
  }

  .contact-distributor-content h2 {
    font-size: 22px;
    max-width: none;
  }

  .contact-right {
    padding: 40px 20px;
    max-width: none;
    gap: 40px;
  }

  .contact-title {
    text-align: left;
    font-size: 28px;
    margin-bottom: 40px;
  }

  .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .form-select-small {
    width: 100%;
  }

  .whatsapp-section {
    align-self: stretch;
    max-width: none;
  }
}

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

/* Animation classes */
.fade-in-left {
  animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
  animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
