@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}
html {
  scroll-behavior: smooth;
}
:root {
  --blue: #00112c;
  --aqua-green: #0eb8b5;
  --aqua-green-hover: #25b8a6;
  --white: #ffffff;
  --grey: #808896;
  --darkgrey: #4c586b;
  --border: rgba(45, 212, 192, 0.15);
  --nav-h: 68px;
  --color-accent: #0eb8b5;
  --color-blue-light: #011f37;
  --color-blue-dark: #00112c;
  --color-border: rgba(14, 184, 181, 0.25);
}

img {
  max-width: 100%;
  display: block;
}
.td-none {
  text-decoration: none;
}
body {
  font-family: sans-serif;
  line-height: 1.5;
}
main {
  overflow-x: hidden;
}

/* ==========================
   FONTS
========================== */
.ff-inter {
  font-family: "Inter", sans-serif;
}

/* ==========================
   FONT WEIGHT
========================== */

.fw-100 {
  font-weight: 100;
}
.fw-200 {
  font-weight: 200;
}
.fw-300 {
  font-weight: 300;
}
.fw-400 {
  font-weight: 400;
}
.fw-500 {
  font-weight: 500;
}
.fw-600 {
  font-weight: 600;
}
.fw-700 {
  font-weight: 700;
}
.fw-800 {
  font-weight: 800;
}
.fw-900 {
  font-weight: 900;
}

/* ==========================
   FONT STYLE
========================== */

.fst-normal {
  font-style: normal;
}

.fst-italic {
  font-style: italic;
}
.uppercase {
  text-transform: uppercase;
}

/* ==========================
   CONTAINER
========================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 16px;
}

/* ==========================
   DISPLAY
========================== */

.d-flex {
  display: flex;
}

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

.flex-wrap {
  flex-wrap: wrap;
}

.justify-start {
  justify-content: flex-start;
}

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

.justify-between {
  justify-content: space-between;
}

.align-start {
  align-items: flex-start;
}

.align-center {
  align-items: center;
}

.align-end {
  align-items: flex-end;
}

/* ==========================
   GAP
========================== */

.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.5rem;
}
.gap-6 {
  gap: 2rem;
}

/* ==========================
   MARGIN
========================== */

.m-0 {
  margin: 0;
}
.m-1 {
  margin: 0.25rem;
}
.m-2 {
  margin: 0.5rem;
}
.m-3 {
  margin: 0.75rem;
}
.m-4 {
  margin: 1rem;
}
.m-5 {
  margin: 1.5rem;
}

.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-5 {
  margin-top: 1.5rem;
}

.mx-auto {
  margin: auto !important;
}

.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.5rem;
}

/* ==========================
   PADDING
========================== */

.p-0 {
  padding: 0;
}
.p-1 {
  padding: 0.25rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.5rem;
}

.pt-1 {
  padding-top: 0.25rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-3 {
  padding-top: 0.75rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pt-5 {
  padding-top: 1.5rem;
}

.pb-1 {
  padding-bottom: 0.25rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pb-5 {
  padding-bottom: 1.5rem;
}

.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-5 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.my-4 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
/* ==========================
   FONT SIZE
========================== */

.fs-xs {
  font-size: 0.75rem;
}
.fs-sm {
  font-size: 0.875rem;
}
.fs-md {
  font-size: 1rem;
}
.fs-lg {
  font-size: 1.25rem;
}
.fs-xl {
  font-size: 1.5rem;
}
.fs-2xl {
  font-size: 2rem;
}
.fs-3xl {
  font-size: 3rem;
}

.lh-2xl {
  line-height: 3.2rem;
}
/* ==========================
   GRID
========================== */

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -12px;
}

.row > * {
  padding-inline: 12px;
}

.col {
  flex: 1;
}

.col-1 {
  width: 8.333%;
}
.col-2 {
  width: 16.666%;
}
.col-3 {
  width: 25%;
}
.col-4 {
  width: 33.333%;
}
.col-5 {
  width: 41.666%;
}
.col-6 {
  width: 50%;
}
.col-7 {
  width: 58.333%;
}
.col-8 {
  width: 66.666%;
}
.col-9 {
  width: 75%;
}
.col-10 {
  width: 83.333%;
}
.col-11 {
  width: 91.666%;
}
.col-12 {
  width: 100%;
}

/* ==========================
   TEXT
========================== */

.text-center {
  text-align: center;
}

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

.text-right {
  text-align: right;
}

.fw-normal {
  font-weight: 400;
}

.fw-bold {
  font-weight: 700;
}

/* ==========================
   MEDIA QUERIES
========================== */

/* Tablet */
@media (max-width: 992px) {
  .col-md-12 {
    width: 100%;
  }

  .col-md-6 {
    width: 50%;
  }

  .col-md-4 {
    width: 33.333%;
  }

  .hide-md {
    display: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .col-sm-12 {
    width: 100%;
  }

  .col-sm-6 {
    width: 50%;
  }

  .flex-sm-column {
    flex-direction: column;
  }

  .hide-sm {
    display: none;
  }

  .fs-3xl {
    font-size: 2rem;
  }

  .fs-2xl {
    font-size: 1.5rem;
  }
}
/* ─── BG ─────────────────────────────────────────── */
.bg-blue {
  background-color: var(--blue);
}

.bg-white {
  background-color: white;
}

.bg-grey {
  background-color: var(--grey);
}

.bg-darkgrey {
  background-color: var(--darkgrey);
}

/* ─── TEXT ─────────────────────────────────────────── */

.gradient-aqua {
  background: linear-gradient(to right, white, #0eb8b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-white {
  color: white !important;
}

.text-grey {
  color: var(--grey);
}

.text-darkgrey {
  color: var(--darkgrey);
}
.text-blue {
  color: var(--blue);
}
.text-aquagreen {
  color: var(--aqua-green) !important;
}

/* ─── NAV ─────────────────────────────────────────── */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  background: var(--blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  gap: 40px;
  z-index: 1000;
}

/* ─── LOGO ─────────────────────────────────────────── */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  max-width: 130px;
}

/* ─── DESKTOP LINKS ─────────────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a,
.nav-links > li > button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition:
    color 0.2s,
    background 0.2s;
  white-space: nowrap;
}

.chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s;
  flex-shrink: 0;
}
li.open .chevron {
  transform: rotate(180deg);
}

/* ─── DROPDOWN ───────────────────────────────────────── */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 100;
}
li.open > .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

/* ─── SUBMENU SECTION ────────────────────────────────── */
.sub-section {
  margin-bottom: 4px;
  border-radius: 8px;
}

.sub-section button {
  background: var(--grey);
}

.sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
  color: white;
  margin-bottom: 4px;
}

.sub-toggle .chevron {
  color: white;
}

.sub-section.open .sub-toggle .chevron {
  transform: rotate(180deg);
}

.sub-items {
  display: none;
  background-color: var(--darkgrey);
}

.sub-section.open .sub-items {
  display: block;
  border-radius: 8px;
}

.sub-items a {
  display: block;
  padding: 12px 15px;
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  transition:
    color 0.15s,
    background 0.15s;
}
.sub-items a:hover {
  color: var(--aqua-green);
  background: rgba(255, 255, 255, 0.05);
}
.sub-items a.active {
  color: var(--aqua-green);
  font-weight: 500;
}

/* ─── CONTACT BUTTON ─────────────────────────────────── */
.btn-contact {
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #07111c;
  background: var(--aqua-green);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.btn-contact:hover {
  background: var(--aqua-green-hover);
  transform: translateY(-1px);
}

/* ─── HAMBURGER ──────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 12px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ─── MOBILE DRAWER ──────────────────────────────────── */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  inset: auto 0 0 0;
  background: var(--blue);
  overflow-y: auto;
  z-index: 999;
  padding: 16px 20px 32px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  top: 50px;
}
.mobile-drawer.open {
  transform: translateX(0);
}

.mob-link {
  display: block;
  padding: 13px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  transition: color 0.15s;
}

.mob-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s;
}

.mob-section-title .chevron {
  color: var(--white);
}
.mob-section-title.open .chevron {
  transform: rotate(180deg);
}

.mob-sub-section {
  margin: 0;
}

.mob-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--aqua-green);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.mob-sub-header .chevron {
  color: var(--aqua-green);
}
.mob-sub-section.open .mob-sub-header .chevron {
  transform: rotate(180deg);
}

.mob-sub-items {
  display: none;
}
.mob-sub-section.open .mob-sub-items {
  display: block;
  list-style: none!important;
}

.mob-sub-items a {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
  transition: color 0.15s;
  list-style: none!important;
}

.mob-sub-items a.active {
  color: var(--aqua-green);
  font-weight: 500;
  list-style: none!important;
}

.mob-commodities-panel {
  display: none;
  border-radius: 8px;
  margin: 8px 0;
  overflow: hidden;
}
.mob-section-title.open + .mob-commodities-panel {
  display: block;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
  nav {
    padding: 0 20px;
    gap: 0;
  }
  .nav-links {
    display: none;
  }
  .btn-contact-desktop {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-drawer {
    display: block;
  }
  .logo {
    margin-right: auto;
  }
}

/* HERO */
.hero {
  padding-top: calc(var(--nav-h) + 150px);
  text-align: center;
  color: var(--white);
}

.hero .title {
  font-size: 60px;
  line-height: 66px;
}
@media (max-width: 992px) {
  .hero .title {
    font-size: 40px;
    line-height: 46px;
  }
  .hero .title br {
    display: none;
  }
}
.hero {
  position: relative;
  padding-bottom: 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("/wp-content/themes/blankslate/assets/circle-bg.png");
  background-position: center 270px;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.3;
  z-index: -1;
}
/* Máscara inferior del header */
.header {
  position: relative;
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, var(--blue) 100%);
}

/*video home*/

.section-video {
  margin: auto;
  display: flex;
  justify-content: center;
}
.video-home {
  width: 100%;
  max-width: 1200px;
}

.section-video {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.section-video video.video-home {
  opacity: 0.65;
  display: block;
  width: 100%;
}

.section-video::before,
.section-video::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 2;
  pointer-events: none;
}

.section-video::before {
  top: 30px;
  background: linear-gradient(to bottom, var(--blue) 0%, transparent 100%);
}

.section-video::after {
  bottom: 0;
  background: linear-gradient(to top, var(--blue) 0%, transparent 100%);
}

.carousel-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.carousel-home {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  max-width: 1000px;
  margin: auto;
}

.carousel-home .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 15s infinite;

  filter: brightness(0.7);
  transition: filter 0.4s ease;
}

.carousel-home:hover .slide {
  filter: brightness(1.1);
}

.carousel-home .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 15s infinite;
}

.carousel-home .slide1 {
  background-image: url("/wp-content/themes/blankslate/assets/beans.webp");
  animation-delay: 0s;
  background-position: right;
}

.carousel-home .slide2 {
  background-image: url("/wp-content/themes/blankslate/assets/corn.webp");
  animation-delay: 5s;
  background-position: right;
}

.carousel-home .slide3 {
  background-image: url("/wp-content/themes/blankslate/assets/sugar-cane.webp");
  animation-delay: 10s;
  background-position: right;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  43% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.container-carousel {
  padding: 30px 0px;
}
.slide {
  border-radius: 10px;
}
.label-comodity {
  display: inline-block;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 100%);
  padding: 0.5rem 1rem 0.5rem 3rem;
}
.slide {
  position: relative;
}
.label-comodity .fs-2xl {
  font-size: 40px;
  font-weight: 400;
}

.content-bottom-right {
  position: absolute;
  right: 20px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.label-comodity p,
.text-absolute {
  margin: 0;
}

.container-cards {
  padding: 50px 0px;
  display: flex;
  gap: 20px;
}

.container-cards .glass-card {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.glass-card {
  position: relative;
  padding: 24px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  z-index: 1;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(95deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 30%, rgba(14, 184, 181, 1) 70%, rgba(14, 184, 181, 1) 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.image-pencil {
  width: 100%;
  max-width: 450px;
}
@media (max-width: 992px) {
  .container-cards {
    display: flex;
    flex-direction: column;
  }
}

/*section contacto*/

.section-contacto {
  padding: 100px 0px;
}

.form-card {
  background: #b8c4d4;
  border-radius: 20px;
  padding: 2rem 1.75rem 1.75rem;
  max-width: unset;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

label {
  font-size: 14px;
  font-weight: 600;
  color: #1a2535;
  letter-spacing: 0.01em;
}

input,
select,
textarea {
  width: 100%;
  background: #d4dce8;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 14px;
  color: #1a2535;
  outline: none;
  transition: background 0.15s;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

input::placeholder,
select,
textarea::placeholder {
  color: #8fa0b8;
}

input:focus,
select:focus,
textarea:focus {
  background: #c8d4e4;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  cursor: pointer;
  color: #8fa0b8;
  padding-right: 2.5rem;
}

.select-wrapper select.has-value {
  color: #1a2535;
}

.select-wrapper::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #5b7fa6;
  pointer-events: none;
}

textarea {
  resize: none;
  height: 130px;
  line-height: 1.5;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: #2ec4b6;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition:
    background 0.18s,
    transform 0.1s;
  margin-top: 0.25rem;
}

.btn-submit:hover {
  background: #28b0a3;
}
.btn-submit:active {
  transform: scale(0.98);
}

.wpforms-container {
  margin: 0px !important;
}

#form input,
#form select,
#form textarea {
  width: 100% !important;
  max-width: unset !important;
  border-radius: 10px !important;
  border-color: transparent !important;
}

#form label {
  color: #1a2535;
  font-size: 14px;
  margin-bottom: 10px;
}

#wpforms-36-field_4-container {
  padding-top: 0px;
}

.grey-line {
  height: 1.5px;
  width: 95%;
  background-color: var(--grey);
  margin-top: 100px;
  margin-bottom: 20px;
}

footer {
  background: #0eb8b5;
  background: linear-gradient(95deg, rgba(14, 184, 181, 1) 0%, rgba(6, 82, 81, 1) 100%);
  padding: 50px 0px;
}

.footer-links {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5.2px);
  -webkit-backdrop-filter: blur(5.2px);
  padding: 15px;
  display: flex;
  gap: 20px;
  border-radius: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--aqua-green);
}

.footer-links {
  list-style: none;
}

.footer-links .has-dropdown > button {
  background-color: unset;
  color: white;
  border: none;
  font-size: 16px;
}

.footer-links .has-dropdown {
  position: relative;
}

.footer-links .has-dropdown > button {
  background-color: unset;
  color: white;
  border: none;
  font-size: 16px;
  padding: 0;
}

.footer-links .dropdown {
  position: absolute;
  bottom: 100%;
  top: auto;
  left: 0;
  right: auto;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  min-width: max-content;
}

.footer-links .sub-section {
  position: relative;
}

.footer-links .sub-items {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.footer-links .sub-section.open .sub-items {
  max-height: 500px;
}

@media (max-width: 768px) {
  .footer-links .dropdown {
    position: static;
    bottom: auto;
    top: auto;
    left: auto;
    right: auto;
    margin: 8px 0 0 0;
    transform: none;
    display: flex;
    flex-direction: column;
  }

  .footer-links .sub-items {
    display: flex !important;
    flex-direction: column;
    max-height: none !important;
    overflow: visible !important;
  }

  .footer-links .has-dropdown > button .chevron,
  .footer-links .sub-toggle .chevron {
    display: none;
  }

  .footer-links .has-dropdown > button,
  .footer-links .sub-toggle {
    pointer-events: none;
    cursor: default;
  }
}
@media (max-width: 768px) {
  .footer-links .dropdown {
    position: static;
    bottom: auto;
    top: auto;
    left: auto;
    right: auto;
    margin: 8px 0 0 0;
    transform: none;
    display: flex;
    flex-direction: column;
  }

  .footer-links .sub-items {
    display: flex !important;
    flex-direction: column;
  }

  .footer-links .has-dropdown > button .chevron,
  .footer-links .sub-toggle .chevron {
    display: none;
  }
}
@media (max-width: 768px) {
  .footer-links .dropdown {
    position: static;
    bottom: auto;
    top: auto;
    left: auto;
    right: auto;
    margin: 8px 0 0 0;
    transform: none;
    display: flex;
    flex-direction: column;
  }

  .footer-links .sub-items {
    display: flex !important;
    flex-direction: column;
    max-height: none !important;
    overflow: visible !important;
  }

  .footer-links .has-dropdown > button .chevron,
  .footer-links .sub-toggle .chevron {
    display: none;
  }

  footer li .dropdown,
  footer li .dropdown div,
  footer li .dropdown button {
    opacity: 1;
    background-color: unset;
    padding-left: 0px;
  }
}
.text-shadow {
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 1);
}
.hero p {
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 1);
}

@media (max-width: 992px) {
  .carousel-section {
    padding: 50px 0px;
  }
  .hero {
    padding-top: 120px;
    padding-bottom: 50px;
  }
  .section-video {
    height: unset;
  }
  footer {
    background: #0eb8b5;
    background: linear-gradient(164deg, rgba(14, 184, 181, 1) 0%, rgba(6, 82, 81, 1) 100%);
  }
  footer .container {
    display: flex;
    gap: 20px;
    flex-direction: column;
  }
  .footer-links {
    display: flex;
    flex-direction: column;
    background: unset;
    box-shadow: unset;
  }
  .section-video::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 50px;
    z-index: 2;
    pointer-events: none;
  }

  .section-video::after {
    height: 150px;
  }
  .carousel-section br,
  .hero br {
    display: none;
  }
  .hero .gradient-aqua {
    color: white;
  }
  .lh-2xl {
    line-height: 2.5rem;
  }
  .pt-2mob {
    padding-top: 20px;
  }
}

/*Animaciones*/

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

.fade-in {
  transform: translateY(40px);
}

/*Commodities*/

.bg-wheat {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 25%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 70%), url("/wp-content/themes/blankslate/assets/wheat.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}
.bg-sugar {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 25%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 70%),
    url("/wp-content/themes/blankslate/assets/sugar-cane.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.bg-soy {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 25%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 70%), url("/wp-content/themes/blankslate/assets/soy.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}
.bg-puffed {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 25%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 70%),
    url("/wp-content/themes/blankslate/assets/puffed-wheat.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.bg-soybeanmeal {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 25%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 70%), url("/wp-content/themes/blankslate/assets/beans.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.bg-corn {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 25%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 70%), url("/wp-content/themes/blankslate/assets/corn.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.commodities .hero {
  height: 500px;
  text-align: left;
  padding-top: 150px;
}

.commodities .hero h1 {
  font-size: 3rem;
  display: inline-block;
  font-size: 3rem;
  background: linear-gradient(to right, white, #0eb8b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.commodities .container-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.commodities .container-cards .glass-card {
  width: 100%;
}

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

/* Mobile */
@media (max-width: 768px) {
  .commodities .container-cards {
    grid-template-columns: 1fr;
  }
}

.text-green {
  color: #5ca22e !important;
}
.bg-green {
  background-color: #5ca22e !important;
}
.region-card {
  border-radius: 12px;
  border: 1px solid #d0d4de;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s;
}
.region-card.active {
  border-color: var(--blue);
}

.region-card.active .peso-row {
  background-color: #5c6980 !important;
}

.card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ── Columns ── */
.card-left,
.card-right {
  padding: 1.25rem;
  background: #e7edff;
  transition: background 0.15s;
}

.region-card.active .card-left,
.region-card.active .card-right {
  background: var(--blue);
}

/* ── Left content ── */
.region-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #185fa5;
  transition: color 0.15s;
}

.region-desc {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 14px;
  color: #555;
  transition: color 0.15s;
}
.region-card.active .region-desc {
  color: rgba(255, 255, 255, 0.85);
}

.peso-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #d8dbe6;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #333;
  transition:
    background 0.15s,
    color 0.15s;
}
.region-card.active .peso-row {
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
}
.peso-val {
  font-weight: 500;
  font-size: 18px;
}

.grade-label {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #666;
  transition: color 0.15s;
}
.region-card.active .grade-label {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Grade bar: always 4 equal columns ── */
.grade-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-radius: 4px;
  overflow: hidden;
  height: 28px;
}
.grade-seg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
}

/* ── Right content (stats) ── */
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 0.5px solid #c0c4ce;
  font-size: 13px;
  transition: border-color 0.15s;
}
.stat-row:last-child {
  border-bottom: none;
}

.region-card.active .stat-row {
  border-color: rgba(255, 255, 255, 0.25);
}

.stat-label {
  color: #666;
  transition: color 0.15s;
}
.region-card.active .stat-label {
  color: rgba(255, 255, 255, 0.85);
}

.stat-val {
  font-weight: 500;
  font-size: 15px;
  color: #111;
  transition: color 0.15s;
}
.region-card.active .stat-val {
  color: #fff;
}
.container-map {
  display: flex;
  align-items: flex-start;
  border-radius: 15px;
}

.col-6 {
  flex: 1;
}

/* Panel del mapa */
#map {
  height: 500px;
  margin-top: 40px;
}
.bg-map {
  position: sticky;
  top: 1rem;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #5d6980;
}

.bg-map > div {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.bg-map > div.active {
  display: block;
}

#region-nacional {
  background-image: url("/wp-content/themes/blankslate/assets/map/region-nacional.png");
  background-size: 70%;
  background-position: top;
}
#region-1 {
  background-image: url("/wp-content/themes/blankslate/assets/map/region-1.png");
  background-size: 70%;
  background-position: top;
}
#region-3 {
  background-image: url("/wp-content/themes/blankslate/assets/map/region-3.png");
  background-size: 70%;
  background-position: top;
}
#region-4 {
  background-image: url("/wp-content/themes/blankslate/assets/map/region-4.png");
  background-size: 70%;
  background-position: top;
}
#region-iin {
  background-image: url("/wp-content/themes/blankslate/assets/map/region-iin.png");
  background-size: 70%;
  background-position: top;
}
#region-iis {
  background-image: url("/wp-content/themes/blankslate/assets/map/region-iis.png");
  background-size: 70%;
  background-position: top;
}
#region-nea {
  background-image: url("/wp-content/themes/blankslate/assets/map/region-nea.png");
  background-size: 70%;
  background-position: top;
}
#region-noa {
  background-image: url("/wp-content/themes/blankslate/assets/map/region-noa.png");
  background-size: 70%;
  background-position: top;
}
#region-vn {
  background-image: url("/wp-content/themes/blankslate/assets/map/region-vn.png");
  background-size: 70%;
  background-position: top;
}
#region-vs {
  background-image: url("/wp-content/themes/blankslate/assets/map/region-vs.png");
  background-size: 70%;
  background-position: top;
}

/* ── Cards ── */
.cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.region-card {
  border-radius: 12px;
  border: 1px solid #d0d4de;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s;
  margin-bottom: 15px;
}

.card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.card-left,
.card-right {
  padding: 1.25rem;
  background: #e8eaf0;
  transition: background 0.15s;
}

.region-card.active .card-left,
.region-card.active .card-right {
  background: var(--blue);
}

/* Textos */
.region-title {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 6px;
  color: #185fa5;
  transition: color 0.15s;
}

.region-desc {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 14px;
  color: #555;
  transition: color 0.15s;
}
.region-card.active .region-desc {
  color: rgba(255, 255, 255, 0.85);
}

.peso-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #d8dbe6;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #333;
  transition:
    background 0.15s,
    color 0.15s;
}
.region-card.active .peso-row {
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
}
.peso-val {
  font-weight: 500;
  font-size: 18px;
}

.grade-label {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #666;
  transition: color 0.15s;
}
.region-card.active .grade-label {
  color: rgba(255, 255, 255, 0.85);
}

.grade-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-radius: 4px;
  overflow: hidden;
  height: 28px;
}
.grade-seg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
}

/* Stats */
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 0.5px solid #c0c4ce;
  font-size: 13px;
  transition: border-color 0.15s;
}
.stat-row:last-child {
  border-bottom: none;
}

.stat-label {
  color: #666;
  transition: color 0.15s;
}
.region-card.active .stat-label {
  color: rgba(255, 255, 255, 0.85);
}

.stat-val {
  font-weight: 500;
  font-size: 15px;
  color: #111;
  transition: color 0.15s;
}
.region-card.active .stat-val {
  color: #fff;
}

#map {
  height: 500px;
  overflow: hidden;
}

.cards-region {
  background-color: #e7edff;
  padding: 10px;
  height: 500px;
  overflow-y: auto;
}

.cards-region {
  overflow-y: auto;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #00112c #e7edff;
}

/* Chrome, Edge y Safari */
.cards-region::-webkit-scrollbar {
  width: 8px;
}

.cards-region::-webkit-scrollbar-track {
  background: #e7edff;
  border-radius: 10px;
}

.cards-region::-webkit-scrollbar-thumb {
  background: #e7edff;
  border-radius: 10px;
}

.cards-region::-webkit-scrollbar-thumb:hover {
  background: #e7edff;
}
/* Oculto por defecto (desktop) */
.carousel-nav {
  display: none;
}

.grade-label {
  color: #00112c;
  margin-bottom: 8px;
}

.grade-table {
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #d5d8de;
}

.grade-header,
.grade-values {
  display: flex;
}

.grade-header-cell,
.grade-value-cell {
  flex: 1;
  text-align: center;
  padding: 2px;
  font-size: 12px;
}

.grade-header-cell {
  background: #fff;
  color: #6b7280;
  border-right: 1px solid #d5d8de;
  font-weight: 500;
}
.grade-header-cell:last-child {
  border-right: none;
}

.grade-value-cell {
  background: #00112c;
  color: #fff;
  font-weight: 600;
}

.text-green {
  color: #5ca22e;
}

.data-table-wrap {
  background: var(--color-blue-dark);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  font-family: inherit;
}

.data-table-title {
  background: var(--color-blue-light);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  text-align: center;
  padding: 16px 12px;
  border: 1px solid var(--color-border);
  font-size: 14px;
}

.data-table th {
  color: #fff;
  font-weight: 600;
  background: var(--color-blue-dark);
}

.data-table td {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 16px;
  background: var(--color-blue-dark);
}

.card-download {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  max-width: 400px;
  margin: auto;
}
.card-download p {
  line-height: 1.8rem;
}
.card-download img {
  width: 100%;
  max-width: 300px;
  margin: auto;
}
@media (min-width: 768px) {
  .card-download {
    display: none;
  }
}
@media (max-width: 768px) {
  .bg-map {
    display: none;
  }

  .container-map {
    display: block;
  }

  .cards-region {
    width: 100%;
    max-width: 100%;
    flex: none;
    height: auto;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 16px;
    box-sizing: border-box;
  }

  .cards-region::-webkit-scrollbar {
    display: none;
  }

  .region-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    scroll-snap-align: center;
    margin: 0;
    padding: 0 16px;
  }

  /* Navegación del carousel */
  .carousel-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    margin-top: 12px;
    padding-bottom: 8px;
  }

  .carousel-arrow {
    background: #00112c;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s;
  }

  .carousel-arrow:disabled {
    opacity: 0.3;
    cursor: default;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    transition: background 0.2s;
  }

  .carousel-dot.active {
    background: #a7b919;
  }

  .region-card.active .card-right,
  .region-card.active .card-left {
    background: #e8eaf0;
  }

  .region-card.active .region-desc,
  .region-card.active .stat-label,
  .region-card.active .stat-val,
  .region-card.active .grade-label {
    color: #555;
  }

  .card-inner {
    display: flex;
    flex-direction: column;
  }

  #map {
    height: 500px;
    overflow: unset;
  }

  .region-card.active,
  .region-card {
    border: unset;
  }

  #map .cards-region {
    border-radius: 20px;
    background: #e8eaf0;
  }

  .card-left,
  .card-right {
    padding: 20px 0;
  }
  .data-table-wrap {
    display: none;
  }

  .section-contacto .d-flex {
    flex-direction: column;
  }
  .commodities .hero {
    height: 600px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
  }
  .bg-puffed {
    background-image:
      linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 25%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.35) 70%),
      url(/wp-content/themes/blankslate/assets/puffed-wheat.jpg);
  }

  .bg-soy {
    background-image:
      linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 25%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.35) 70%), url(/wp-content/themes/blankslate/assets/soy.jpg);
  }
  .bg-corn {
    background-image:
      linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 25%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.35) 70%), url(/wp-content/themes/blankslate/assets/corn.webp);
  }
  .bg-sugar {
    background-image:
      linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 25%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.35) 70%),
      url(/wp-content/themes/blankslate/assets/sugar-cane.webp);
  }
  .commodities .container-cards {
    gap: 15px;
  }
  .section-contacto .grey-line {
    display: none;
  }
  .section-contacto .text-grey {
    padding-bottom: 30px;
  }
  .column-mobile {
    display: flex;
    flex-direction: column;
  }
}
.widget-area {
  display: none;
}
