/* Sofia Commodities — versión HTML limpia
   Reconstrucción del sitio original (WordPress + Elementor) con CSS propio.
   Cortes: escritorio > 1024px, tablet 768-1024px, teléfono < 768px. */

/* ---------------------------------------------------------------- tokens */

:root {
  --teal: #00a8a3;
  --teal-dark: #007a76;
  --navy: #000029;
  --ink: #333333;
  --body: #6b6b6b;
  --cream: #f9f7f5;
  --line: #dedede;
  --menu: #ededed;
  --muted: #999999;
  --ancho: 1302px;
}

/* ------------------------------------------------------------------ base */

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--body);
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-transform: capitalize;
}

p {
  margin: 0 0 1.5em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--teal);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

button {
  font: inherit;
  color: inherit;
}

strong {
  font-weight: 600;
}

hr {
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.shell {
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100000;
  padding: 12px 24px;
  background: #fff;
  color: var(--ink);
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* --------------------------------------------------------------- botones */

.button {
  display: inline-block;
  padding: 12px 24px;
  border: 0;
  border-radius: 3px;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: pointer;
}

.button:hover,
.button:focus {
  background: var(--teal-dark);
  color: #fff;
}

.button-md {
  padding: 15px 30px;
  border-radius: 4px;
}

.button-lg {
  padding: 20px 40px;
  border-radius: 5px;
}

.button-outline {
  border: 1px solid var(--teal);
  background: transparent;
  color: var(--teal);
}

.button-outline:hover,
.button-outline:focus {
  background: var(--teal);
  color: #fff;
}

/* ---------------------------------------------------------- barra superior */

.topbar {
  position: relative;
  z-index: 1101;
  background: var(--navy);
}

.topbar-row {
  display: flex;
  align-items: center;
}

.topbar-links {
  display: flex;
  align-items: center;
  flex: 0 0 50%;
  padding: 12px 30px;
}

.topbar-links li {
  position: relative;
}

.topbar-links li:not(:last-child) {
  margin-right: 18px;
}

.topbar-links li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 2px;
  height: 2px;
  margin-top: -1px;
  background: var(--teal);
}

.topbar-links a {
  display: flex;
  align-items: center;
  min-height: 24px;
  color: var(--line);
  font-size: 13px;
  transition: color 0.3s;
}

.topbar-links a:hover {
  color: var(--teal);
}

.languages {
  margin: 0;
  color: var(--teal);
}

/* GTranslate dibuja los enlaces como «.glink» y marca el idioma activo con
   «.gt-current-lang»; el aspecto es el mismo que tenía el selector a mano. */
.languages a {
  color: var(--teal);
  font-weight: 300;
}

.languages .gt-current-lang {
  font-weight: 700;
}

/* Al traducir, Google inyecta una barra arriba y empuja el cuerpo. La barra la
   esconde el propio script de GTranslate; esto sólo evita el salto del cuerpo. */
body.translated-ltr,
body.translated-rtl {
  top: 0 !important;
}

.languages-topbar {
  flex: 0 0 50%;
  padding: 12px 30px;
  text-align: right;
}

.languages-header {
  display: none;
}

/* -------------------------------------------------------------- encabezado */

.site-header {
  position: relative;
  z-index: 999;
  padding: 0 30px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 101px;
}

.brand {
  display: block;
  margin-top: -4px;
}

.brand img {
  display: block;
  width: 150px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5.5px;
  border: 0;
  border-radius: 3px;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
}

.menu-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.main-menu {
  display: flex;
  align-items: center;
}

.main-menu > li {
  position: relative;
}

.main-menu > li:not(:first-child) {
  margin-left: 21px;
}

.main-menu > li:not(:last-child) {
  margin-right: 21px;
}

.main-menu > li > a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 4px 0;
  color: var(--menu);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  transition: color 0.3s;
}

.main-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  opacity: 0;
  transition: 0.3s cubic-bezier(0.58, 0.3, 0.005, 1);
}

.main-menu > li > a:hover,
.main-menu > li > a:focus {
  color: #fff;
}

.main-menu > li > a:hover::after,
.main-menu > li > a:focus::after {
  opacity: 1;
}

.main-menu .caret {
  width: 13px;
  height: 11px;
  margin-left: 10px;
  fill: currentColor;
}

.menu-item-phone-only {
  display: none;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 100%;
  border: solid rgba(255, 255, 255, 0);
  border-width: 16px 24px 16px 8px;
  border-radius: 0 0 4px 4px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 48px -12px rgba(0, 0, 0, 0.1);
  visibility: hidden;
  /* Mismos tiempos que el original: 250 ms para abrir, 500 ms para cerrar. */
  transition: visibility 0s linear 0.5s;
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
  visibility: visible;
  transition-delay: 0.25s;
}

.has-submenu.open > .submenu {
  visibility: visible;
  transition-delay: 0s;
}

.submenu a {
  display: block;
  padding: 10px 20px;
  border-left: 8px solid transparent;
  color: var(--teal);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
  transition: color 0.3s;
}

.submenu a:hover,
.submenu a:focus {
  color: var(--teal);
}

.search-toggle,
.panel-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.search-toggle {
  width: 28px;
  height: 28px;
  margin-left: 39px;
  border-radius: 3px;
}

.search-toggle svg {
  width: 15.4px;
  height: 15.4px;
  fill: currentColor;
}

.header-contact {
  margin-left: 45px;
}

.panel-toggle {
  width: 19px;
  height: 19px;
  margin-left: 24px;
  margin-bottom: 4px;
}

.panel-toggle svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* ------------------------------------------------------------------ portada */

.hero {
  position: relative;
  z-index: 1;
  margin-top: -200px;
  padding-top: 53px;
  background: var(--ink);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 89, 0.75);
  opacity: 0.6;
  mix-blend-mode: multiply;
}

.hero-shell {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 30px 0;
}

.hero-spacer {
  height: 150px;
  flex: none;
}

.hero-title {
  margin: 0;
  color: #fff;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.1em;
  text-transform: none;
}

.hero-title span {
  display: block;
}

.hero-title-a {
  width: calc(30% + 120px);
  margin-top: 75px;
  margin-left: 20%;
  text-align: left;
}

.hero-title-b {
  width: calc(30% + 230px);
  margin-top: 5px;
  margin-left: calc(50% - 230px);
  text-align: right;
  text-transform: capitalize;
}

.hero-lead {
  margin: 0 0 1.5em 16%;
  padding-top: 28px;
  width: 67.333%;
  color: #fff;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.6em;
  text-align: center;
}

.hero-cards {
  display: flex;
  flex: none;
}

/* ----------------------------------------------------------- tarjetas flip */

.flip-card {
  position: relative;
  flex: 1 1 0;
  height: 280px;
  overflow: hidden;
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 48px;
  color: #fff;
  transition: transform 0.6s ease-in-out;
}

.flip-front {
  justify-content: flex-end;
  background: rgba(255, 255, 255, 0);
  text-align: center;
  transform: none;
}

.flip-back {
  justify-content: center;
  background: var(--navy);
  text-align: left;
  transform: translateY(100%);
}

.flip-card:hover .flip-front,
.flip-card:focus-within .flip-front,
.flip-card.flipped .flip-front {
  transform: translateY(-100%);
}

.flip-card:hover .flip-back,
.flip-card:focus-within .flip-back,
.flip-card.flipped .flip-back {
  transform: none;
}

.flip-inner {
  width: 100%;
}

.flip-icon {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto 26px;
}

.flip-title {
  margin: 8px 0 16px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4em;
}

.flip-back .flip-title {
  margin: 0 0 16px;
  line-height: 1.3em;
}

.flip-list {
  margin: 0 0 24px;
  color: var(--menu);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.flip-list li::before {
  content: "• ";
}

.flip-button {
  border: 1px solid var(--teal);
  background: rgba(255, 255, 255, 0);
  color: #fff;
}

.flip-button:hover,
.flip-button:focus {
  background: var(--teal);
  color: #fff;
}

/* ------------------------------------------------------------------ cifras */

.figures {
  position: relative;
  z-index: 200;
  padding: 80px 0;
  background: var(--cream);
}

.figures-grid {
  display: flex;
  flex-wrap: wrap;
}

.figure {
  padding: 10px;
  text-align: center;
}

.figure:nth-child(1) {
  width: 14%;
}

.figure:nth-child(2),
.figure:nth-child(3) {
  width: 35.965%;
}

.figure:nth-child(4) {
  width: 14.07%;
}

.figure-number {
  margin: 0;
  color: var(--line);
  font-size: 58px;
  font-weight: 700;
  line-height: 1em;
}

.figure-label {
  margin: -30px 0 0;
  color: var(--teal);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4em;
}

/* --------------------------------------------------------------- cobertura */

.coverage {
  padding: 40px 0 50px;
}

.coverage .shell {
  padding: 10px;
}

.coverage-map {
  margin: 0;
  text-align: center;
}

.coverage-map img {
  display: block;
  margin: 0 auto;
}

.coverage-rule {
  margin: 25px 0;
  border-top: 1px solid var(--line);
}

.coverage-actions {
  margin: 0 0 0 20%;
  padding: 10px;
  text-align: left;
}

.coverage-actions .button {
  margin-right: 48px;
}

.coverage-actions .button:last-child {
  margin-right: 0;
}

/* ---------------------------------------------------------- video institucional */

.promo {
  background-image: url("../images/video-institucional.jpg");
  background-position: center center;
  background-size: cover;
}

.promo-grid {
  display: flex;
  align-items: center;
  min-height: 400px;
}

.promo-title {
  width: 30%;
  padding: 30px;
  color: var(--teal);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1em;
}

.promo-play {
  display: flex;
  justify-content: center;
  width: 39.332%;
  margin: 0;
  padding: 30px;
}

.play-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.play-button img {
  display: block;
  width: 100px;
  height: 100px;
  opacity: 0.9;
  transition: transform 0.3s;
}

.play-button:hover img,
.play-button:focus img {
  transform: scale(1.1);
}

.promo-action {
  width: 30%;
  margin: 0;
  padding: 30px 80px 30px 30px;
  text-align: right;
}

/* -------------------------------------------------------------------- blog */

.blog {
  padding: 96px 0;
}

.blog .shell {
  padding: 30px;
}

.blog-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin-bottom: 48px;
}

.blog-head-text {
  position: relative;
  width: 50%;
}

.blog-watermark {
  position: absolute;
  top: -49px;
  left: -5px;
  z-index: 0;
  width: 100%;
  color: var(--menu);
  font-size: 100px;
  font-weight: 900;
  letter-spacing: -5px;
  line-height: 1.1em;
  text-transform: uppercase;
  pointer-events: none;
}

.blog-eyebrow {
  position: relative;
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  line-height: 1.5em;
  text-transform: uppercase;
}

.blog-title {
  position: relative;
  margin: 0;
  max-width: 800px;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1em;
}

.blog-all {
  width: 50%;
  margin: 0;
  text-align: right;
}

.blog-all-link {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 15px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.5em;
  text-transform: uppercase;
}

.blog-arrow {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.blog-all-link:hover .blog-arrow {
  animation: wobble-horizontal 1s ease-in-out;
}

.post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  row-gap: 96px;
}

.post {
  display: flex;
}

.post-image {
  flex: 0 0 40%;
  margin-right: 48px;
  align-self: flex-start;
  overflow: hidden;
}

.post-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 2;
  object-fit: cover;
  transition: transform 0.3s;
}

.post-image:hover img {
  transform: scale(1.05);
}

.post-text {
  flex: 1 1 auto;
}

.post-title {
  margin: 0 0 9px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4em;
}

.post-title a {
  color: var(--ink);
  transition: color 0.3s;
}

.post-title a:hover {
  color: var(--teal);
}

.post-meta {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.5em;
  text-transform: uppercase;
}

.post-excerpt {
  margin: 0 0 24px;
  font-size: 16px;
}

.post-more {
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.5em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.post-more:hover {
  color: var(--teal);
}

/* --------------------------------------------------------------------- pie */

.site-footer {
  padding: 96px 0 10px;
  background: var(--navy);
  color: #fff;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
}

.footer-art {
  width: 23%;
  padding: 30px;
}

.footer-art img {
  display: block;
  width: 239px;
  max-width: 100%;
}

.footer-col {
  width: 18%;
  padding: 30px;
}

.footer-col:last-child {
  width: 17.983%;
}

.footer-branches {
  width: 23%;
}

.footer-title {
  margin: 0 0 32px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4em;
}

.footer-address {
  margin-bottom: 12px;
  color: #fff;
}

.footer-address li {
  display: flex;
  align-items: flex-start;
}

.footer-address li:not(:last-child) {
  padding-bottom: 2px;
}

.footer-address li + li {
  margin-top: 2px;
}

.footer-address a {
  display: flex;
  align-items: flex-start;
  color: #fff;
  transition: color 0.3s;
}

.footer-address a:hover {
  color: var(--teal);
}

.footer-address-alt {
  margin-bottom: 0;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-icon {
  flex: none;
  width: 17.5px;
  height: 14px;
  margin-top: 5px;
  color: #fff;
  fill: currentColor;
}

.footer-address span {
  padding-left: 5px;
}

.footer-links a {
  display: block;
  color: var(--line);
  line-height: 2em;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-rule {
  margin: 35px 10px 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-rule-wide {
  margin: 39px 30px;
}

.footer-sign {
  display: flex;
  align-items: center;
}

.footer-brand {
  width: 18.28%;
  padding: 30px;
}

.footer-brand img {
  display: block;
  width: 160px;
  max-width: 100%;
}

.footer-claim {
  width: 62.097%;
  /* -2px: cancela el margen inferior del párrafo sin descentrarlo del logo. */
  margin: 0 0 -2px;
  padding: 30px;
  color: var(--teal);
  font-weight: 400;
  letter-spacing: 1.2px;
  text-align: center;
}

.footer-legal {
  display: flex;
  align-items: center;
  padding: 10px;
}

.footer-copy {
  display: inline-block;
  color: var(--muted);
  font-size: 13px;
  line-height: 24px;
}

.footer-legal-links {
  display: flex;
  margin-left: -16px;
}

.footer-legal-links li {
  margin: 0 16px;
}

.footer-legal-links a {
  color: var(--muted);
  font-size: 13px;
  line-height: 24px;
  transition: color 0.3s;
}

.footer-legal-links a:hover {
  color: #fff;
}

/* ------------------------------------------------------- panel de enlaces */

.quick-panel {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.quick-panel[hidden] {
  display: none;
}

.quick-panel-box {
  position: absolute;
  top: 0;
  right: 0;
  width: 470px;
  max-width: 100%;
  height: 100%;
  padding-block: 30px;
  padding-inline: 53.5px;
  box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
  animation: entrar-panel 0.4s;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  /* «safe» evita que, en pantallas bajas, el centrado recorte el logo contra el
     borde de arriba: ahí arranca desde arriba y se puede desplazar, como el original. */
  justify-content: center;
  justify-content: safe center;
  background: var(--navy);
  text-align: center;
}

.quick-panel-close {
  position: absolute;
  top: 45px;
  left: 40px;
  width: 15px;
  height: 15px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.quick-panel-close svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.quick-panel-logo {
  width: 115px;
  margin: 0 auto 24px;
}

.quick-panel-text {
  margin: 0 0 32px;
  color: #fff;
  font-size: 16px;
}

.quick-panel-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.quick-panel-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.8s;
}

.quick-panel-gallery li {
  overflow: hidden;
}

.quick-panel-gallery li:hover img {
  transform: scale(1.1);
}

.quick-panel-links {
  display: flex;
  justify-content: center;
  gap: 38px;
  margin-bottom: 48px;
}

.quick-panel-links a {
  color: #fff;
  font-size: 15px;
  transition: color 0.3s;
}

.quick-panel-links a:hover {
  color: var(--teal);
}

.quick-panel-social {
  margin: 0 0 16px;
}

.quick-panel-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 21px;
  line-height: 0.6em;
}

.quick-panel-icon {
  flex: none;
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* ---------------------------------------------------------------- buscador */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 15%;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: scale(0);
  transition: 0.3s;
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.search-form {
  width: 100%;
}

.search-form input {
  width: 100%;
  padding: 0;
  border: solid #fff;
  border-width: 0 0 1px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  outline: 0;
}

.search-close {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 15px;
  height: 15px;
  margin-top: -8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--body);
  cursor: pointer;
}

.search-close svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* ------------------------------------------------------------ video modal */

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5%;
  background: rgba(0, 0, 0, 0.87);
}

.video-lightbox[hidden] {
  display: none;
}

.video-lightbox-frame {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
}

.video-lightbox-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.video-lightbox-close svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* --------------------------------------------------------- botón WhatsApp */

.whatsapp-float {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  padding: 14px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 11px rgba(0, 0, 0, 0.5);
  line-height: 0;
}

.whatsapp-float img {
  display: block;
  width: 40px;
  height: 40px;
}

/* --------------------------------------------------------- aviso de cookies */

.cookie-bar {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 9999;
  width: 460px;
  max-width: calc(100% - 30px);
  padding: 25px;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 -1px 10px rgba(172, 171, 171, 0.3);
  color: var(--ink);
  font-size: 15px;
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-text {
  margin: 0 0 15px;
  font-size: 14.6667px;
  line-height: 18px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin: 0;
}

.cookie-settings,
.cookie-accept {
  padding: 9px 12px;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  cursor: pointer;
}

.cookie-settings {
  background: #dedfe0;
  color: var(--ink);
}

.cookie-accept {
  background: var(--teal);
  color: #fff;
}

/* ------------------------------------------------------------ animaciones */

.animate {
  animation-duration: 1.25s;
  animation-fill-mode: both;
}

.animate-slow {
  animation-duration: 2s;
}

/* Sin JavaScript no se ocultan: el contenido siempre queda visible. */
.js .reveal {
  visibility: hidden;
}

.reveal.animate {
  visibility: visible;
}

.slideInLeft {
  animation-name: slideInLeft;
}

.slideInRight {
  animation-name: slideInRight;
}

.fadeIn {
  animation-name: fadeIn;
}

.fadeInUp {
  animation-name: fadeInUp;
}

.fadeInLeft {
  animation-name: fadeInLeft;
}

.fadeInDown {
  animation-name: fadeInDown;
}

@keyframes slideInLeft {
  from {
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translateZ(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translateZ(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes entrar-panel {
  from {
    transform: translateX(100%);
  }
  to {
    transform: none;
  }
}

@keyframes wobble-horizontal {
  16.65% {
    transform: translateX(8px);
  }
  33.3% {
    transform: translateX(-6px);
  }
  49.95% {
    transform: translateX(4px);
  }
  66.6% {
    transform: translateX(-2px);
  }
  83.25% {
    transform: translateX(1px);
  }
  100% {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate,
  .reveal {
    animation: none !important;
    visibility: visible;
  }

  .flip-front,
  .flip-back {
    transition-duration: 0s;
  }
}

/* ================================================== páginas interiores === */

/* ------------------------------------------------------------- portadilla */

.banner {
  position: relative;
  margin-top: -111px;
  background-position: center center;
  background-size: cover;
}

.banner-agribusiness {
  background-image: url("../images/agribusiness-banner.jpg");
}

.banner-conventional {
  background-image: url("../images/conventional-banner.jpg");
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: var(--navy);
  opacity: 0.49;
}

.banner-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px;
  padding: 30px;
}

.banner-title {
  margin: 2% 0 0;
  color: #fff;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1em;
}

.banner-lead {
  margin: 2% 0 0;
  color: #fff;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 1.4px;
  line-height: 1.4em;
  text-transform: none;
}

/* Marca de posición para los enlaces del menú (#sourcing, #storage, #sale). */
.anchor {
  display: block;
  height: 0;
}

/* ----------------------------------------------------- bloques de servicio */

.service {
  padding: 96px 0;
  background: #fff;
}

.service-alt {
  background: var(--cream);
}

.service-grid {
  display: flex;
  align-items: stretch;
}

.service-media {
  display: flex;
  align-items: center;
  width: 45.231%;
  padding: 30px;
}

.service-media img {
  width: 100%;
  height: 69vh;
  object-fit: cover;
  object-position: center center;
}

.service-body {
  position: relative;
  width: 47%;
  margin-left: 7.102%;
  padding: 30px;
}

.service-reverse .service-media {
  order: 2;
}

.service-reverse .service-body {
  order: 1;
  margin-left: 0;
  margin-right: 7.102%;
}

.service-watermark {
  position: absolute;
  top: -36px;
  left: 26px;
  z-index: 0;
  width: 100%;
  color: var(--menu);
  font-size: 90px;
  font-weight: 900;
  letter-spacing: -5px;
  line-height: 1.1em;
  text-transform: uppercase;
  pointer-events: none;
}

.service-eyebrow {
  position: relative;
  margin: 0 0 24px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  line-height: 1.5em;
  text-transform: uppercase;
}

.service-title {
  position: relative;
  margin: 0 0 24px;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1em;
}

.service-items {
  position: relative;
}

.service-item {
  display: flex;
  align-items: center;
}

.service-icon {
  display: flex;
  flex: 0 0 16%;
  align-items: center;
}

.service-icon svg {
  box-sizing: content-box;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  fill: currentColor;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.service-icon:hover svg {
  border-color: #fff;
  background: var(--teal);
  color: #fff;
}

.service-detail {
  flex: 0 0 84%;
  padding: 10px;
}

.service-item-title {
  margin: 7px 0 8px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4em;
}

.service-detail p {
  /* 1.5em del párrafo menos los 21px que el original le resta al contenedor. */
  margin: 0 0 3px;
}

.service-item:first-child {
  margin-bottom: 8px;
}

/* -------------------------------------------------------------- productos */

.products {
  padding: 96px 0 0;
  background: #fff;
}

.products-head {
  display: flex;
}

.products-head-text {
  position: relative;
  width: 47.4%;
  padding: 30px;
}

.products-head-link {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 33.33%;
  margin-left: 18.84%;
  padding: 30px;
}

/* Encabezado de bloque: la palabra de fondo, el ojal y el título. Lo comparten las
   dos páginas de producto y «About Us». */
.block-watermark {
  position: absolute;
  top: -49px;
  left: -5px;
  z-index: 0;
  width: 100%;
  color: var(--menu);
  font-size: 100px;
  font-weight: 900;
  letter-spacing: -5px;
  line-height: 1.1em;
  text-transform: uppercase;
  pointer-events: none;
}

.block-eyebrow {
  position: relative;
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  line-height: 1.5em;
  text-transform: uppercase;
}

.block-title {
  position: relative;
  margin: 0;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1em;
}

.product-grid {
  margin-top: 50px;
}

/* La grilla va partida en filas de cuatro, como en el original: cada fila entra
   por su cuenta cuando aparece en pantalla. */
.product-row {
  display: flex;
  flex-wrap: wrap;
}

.product {
  width: 25%;
  padding: 20px;
}

.product-card {
  display: block;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.banner-organic {
  background-image: url("../images/organic-banner.jpg");
}

/* Cinta «Organic» de las fichas: mismas medidas y giros que el original. */
.product-card {
  position: relative;
}

.product-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 150px;
  height: 150px;
  overflow: hidden;
  transform: rotate(90deg);
  pointer-events: none;
}

.product-ribbon span {
  display: block;
  width: 200%;
  margin-top: 35px;
  background: #000;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  line-height: 2;
  text-align: center;
  text-transform: uppercase;
  transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
}


.product-media {
  position: relative;
  display: block;
  min-height: 130px;
  overflow: hidden;
}

.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s;
  will-change: transform;
}

.product-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: background-color 1.5s;
}

/* Al pasar por cualquier parte de la ficha la foto se acerca un 20 % y se tiñe de
   verde; las dos transiciones duran lo mismo (1,5 s), como en el original. */
.product-card:hover .product-media img,
.product-card:focus .product-media img {
  transform: scale(1.2);
}

.product-card:hover .product-veil,
.product-card:focus .product-veil {
  background-color: rgba(0, 168, 163, 0.5);
}

.product-content {
  display: block;
  padding: 10px 0 0;
  text-align: center;
}

.product-name {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4em;
}

.product-more {
  display: inline-block;
  padding: 10px 20px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.5em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.product-card:hover .product-more {
  color: var(--teal-dark);
}

.products-cta .shell {
  display: flex;
  justify-content: flex-end;
  padding: 10px;
}

.products-cta .link-arrow-wrap {
  margin: 50px 20px 100px 0;
}

/* -------------------------------------------------------- enlace con flecha */

.link-arrow-wrap {
  margin: 0;
}

.link-arrow {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 15px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.5em;
  text-transform: uppercase;
}

.link-arrow-icon {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.link-arrow:hover .link-arrow-icon {
  animation: wobble-horizontal 1s ease-in-out;
}

/* ================================================================ about us ==== */

.banner-about {
  background-image: url("../images/about-banner.jpg");
  background-position: 0 -184px;
}

/* ------------------------------------------------------------- our company */

.company {
  padding: 96px 0;
}

.company-shell {
  display: flex;
  align-items: center;
}

.company-text {
  position: relative;
  width: 45.385%;
  padding: 30px;
}

.company-title {
  position: relative;
  margin: 0 0 32px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1em;
  /* Los títulos del sitio van capitalizados; éste no (el original lo desactiva). */
  text-transform: none;
}

.company-lead {
  margin: 0 0 32px;
}

.check-list,
.note-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  margin-bottom: 32px;
  padding: 10px;
}

.check-list li,
.note-list li {
  display: flex;
  align-items: flex-start;
}

/* Los 3 px de separación del original, repartidos como los reparte Elementor. */
.check-list li {
  padding-bottom: 1.5px;
}

.check-list li:last-child {
  padding-bottom: 0;
}

.check-list li + li {
  margin-top: 1.5px;
}

.check-icon,
.note-icon {
  flex: none;
  width: 17.5px;
  height: 14px;
  margin: 5px 3.5px 0 0;
  color: var(--teal);
  fill: currentColor;
}

.note-list li {
  color: var(--muted);
}

.company-actions {
  display: flex;
  align-items: center;
  margin: 0;
}

.button-plain {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--teal);
}

.button-plain:hover,
.button-plain:focus {
  color: var(--teal);
}

.button-icon {
  width: 14px;
  height: 14px;
  margin-right: 7px;
  vertical-align: -2px;
  fill: currentColor;
}

.company-actions .button {
  margin-right: 24px;
}

.company-actions .button:last-child {
  margin-right: 0;
}

.company-rule {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

/* El pase de fotos del original: tres imágenes que se funden cada 3,5 s con un
   acercamiento lento («ken burns»). Aquí es CSS puro, sin JavaScript. */
.company-slideshow {
  position: relative;
  width: 46.16%;
  height: 485px;
  margin-left: 5.685%;
  overflow: hidden;
  background: url("../images/about-diapositiva-1.jpg") center center / cover;
}

.company-slide {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  opacity: 0;
  animation: pase-diapositiva 10.5s infinite;
}

.company-slide-1 {
  background-image: url("../images/about-diapositiva-1.jpg");
}

.company-slide-2 {
  background-image: url("../images/about-diapositiva-2.png");
  animation-delay: 3.5s;
}

.company-slide-3 {
  background-image: url("../images/about-diapositiva-3.jpg");
  animation-delay: 7s;
}

@keyframes pase-diapositiva {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  4.76% {
    opacity: 1;
  }
  33.33% {
    opacity: 1;
  }
  38.1% {
    opacity: 0;
    transform: scale(1.06);
  }
  60% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

/* ---------------------------------------------------------------- our team */

.team {
  padding: 128px 0 0;
  background: var(--cream);
}

.team .shell {
  padding: 10px 10px 0;
}

.team-head {
  position: relative;
}

.team-head .block-title {
  max-width: 800px;
}

.team-lead {
  margin: 0 0 53px;
  padding: 36px 0 0;
  font-size: 21px;
  line-height: 1.4em;
}

.team-rows {
  background: var(--cream);
}

.team-row {
  display: flex;
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.member {
  width: 33.333%;
  padding: 30px 70px;
}

.member-photo {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 24px;
  transition: transform 0.3s ease-out;
}

.member-photo:hover {
  transform: translateY(-8px);
}

.member-name {
  margin: 0 0 0 16px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4em;
}

.member-role {
  margin: 0 0 0 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  /* La caja mide 24 px —el interlineado del cuerpo— aunque el texto sea de 11 px:
     así el nombre y el cargo quedan a la misma altura que en el original. */
  line-height: 24px;
  text-transform: uppercase;
}

/* ------------------------------------------------------- worldwide coverage */

.worldwide {
  padding: 128px 0;
}

.worldwide .shell {
  padding: 10px;
}

.worldwide-head {
  position: relative;
  width: 69.969%;
  margin: 0 0 48px;
}

.worldwide-head .block-title {
  max-width: 800px;
}

.worldwide-map {
  margin: -78px 0 0;
  text-align: center;
}

.worldwide-map img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ================================================================= contact ==== */

.banner-contact {
  background-image: url("../images/contact-banner.jpg");
  background-position: center left;
}

.contact {
  padding: 96px 0 0;
}

.contact-shell {
  display: flex;
  align-items: stretch;
}

/* Los anchos salen medidos del original: Elementor declara 46,3 / 4,5 / 50,8 %,
   que suman más de 100, y el navegador los reparte a 45,5 / 4,5 / 50 %. */
.contact-text {
  position: relative;
  width: 45.546%;
  padding: 30px;
}

.contact-title {
  position: relative;
  margin: 0 0 24px;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1em;
  text-transform: none;
}

.contact .block-eyebrow {
  width: fit-content;
  margin-bottom: 24px;
}

.contact-lead {
  /* En em: en teléfono el texto crece a 20 px y el hueco crece con él. */
  margin: 0 0 1.5em;
}

.offices {
  display: flex;
  justify-content: space-between;
}

.office {
  width: 45%;
}

.office-city {
  margin: 8px 0 16px;
  font-size: 16px;
  font-weight: 700;
}

.office-address,
.office-phone {
  margin: 0 0 24px;
}

.office-phone a {
  color: var(--teal);
}

.office-phone a:hover,
.office-phone a:focus {
  color: var(--teal-dark);
}

/* ------------------------------------------------------------- formulario */

.contact-form {
  display: flex;
  flex-direction: column;
  width: 50%;
  margin-left: 4.454%;
  /* 25 = los 30 de la columna menos los 5 que lleva cada campo. */
  padding: 30px 25px;
}

/* ------------------------------------------------ estado del formulario de contacto */

.formulario__estado {
  width: 100%;
  margin: 0;
  padding: 0 5px;
  color: var(--ink);
  font-size: 14px;
}

.formulario__estado:empty {
  display: none;
}

.formulario__estado--error {
  color: #c0392b;
}

.formulario__estado--cargando::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  border: 2px solid var(--line);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: girar .8s linear infinite;
}

.contact-form .button:disabled {
  opacity: .6;
  cursor: wait;
}

@keyframes girar {
  to { transform: rotate(360deg); }
}

.field {
  width: 100%;
  margin: 0 0 31px;
  padding: 0 5px;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 8px 16px;
  border: 1.6px solid var(--menu);
  border-radius: 3px;
  background: #fff;
  color: #1f2124;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
}

.field textarea {
  /* Alto medido del original (no coincide con el de cuatro renglones). */
  height: 97.2px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #1f2124;
  opacity: 0.6;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--teal);
  outline: none;
}

/* Los 109 px de aire antes del botón son los que el original reserva para el campo
   del reCAPTCHA (78 px + 31 de separación). Aquí no se carga reCAPTCHA, pero el hueco
   se mantiene para que la maqueta quede igual; si se quita, el botón sube. */
.field-send {
  width: 33.333%;
  margin-top: 109px;
  margin-bottom: 0;
}

.field-send .button {
  width: 100%;
  min-height: 40px;
  padding: 0 24px;
}

/* ------------------------------------------------------- mapa de contacto */

/* Sin clave de Google Maps se ve esta franja con las dos oficinas; con clave,
   assets/js/mapa.js la reemplaza por .map-canvas con el mapa real. */
.map {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  margin-top: 50px;
  background: var(--cream);
}

.map-canvas {
  width: 100%;
  height: 480px;
}

.map-offices {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 0;
  padding: 30px;
  list-style: none;
}

/* La ficha imita el globo de información del original. */
.map-office,
.map-info {
  width: 330px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 7px 1px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.map-office-title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.map-office-body::after {
  display: table;
  clear: both;
  content: "";
}

.map-office-photo {
  float: left;
  width: 100px;
  height: 100px;
  margin: 0 10px 0 0;
}

.map-office-body p {
  margin: 0;
  text-align: left;
}

/* ============================================================== legal info ==== */

/* Esta portadilla no lleva foto: gris oscuro con el mismo velo azul. */
.banner-legal {
  background-color: var(--ink);
}

.legal {
  padding: 0 0 64px;
}

/* En columna flexible para que los márgenes no se fundan entre sí: en el original
   cada párrafo y cada filete son widgets sueltos y sus separaciones se suman. */
.legal-shell {
  display: flex;
  flex-direction: column;
  padding: 64px 30px 30px;
}

.legal-title {
  margin: 3px 0 30px;
  color: #000059;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3em;
  text-transform: none;
}

.legal-subtitle {
  margin: 0 0 10px;
  color: var(--body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5em;
  text-transform: none;
}

.legal p {
  margin: 0 0 24px;
}

/* El último párrafo va pegado al espaciador, sin margen (como en el original). */
.legal-shell > p:last-of-type {
  margin-bottom: 0;
}

.legal a {
  color: var(--teal);
}

.legal a:hover,
.legal a:focus {
  color: var(--teal-dark);
}

.legal-rule {
  margin: 50px 0;
  border: 0;
  border-top: 1px solid var(--muted);
}

.legal-space {
  height: 100px;
}

/* Filete de ancho completo que separa la página del pie. */
.legal-edge {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.cookie-table {
  width: 100%;
  margin: 0 0 44px;
  border-collapse: collapse;
  font-size: 14.4px;
  line-height: 1.5em;
}

.cookie-table th,
.cookie-table td {
  padding: 15px;
  border: 0.8px solid rgba(128, 128, 128, 0.5);
  text-align: left;
  vertical-align: top;
}

.cookie-table thead th {
  text-align: center;
}

.cookie-table tbody th,
.cookie-table td {
  background: rgba(128, 128, 128, 0.07);
}

.cookie-table td {
  font-weight: 300;
}

/* ==================================================================== blog ==== */

.banner-blog {
  background-image: url("../images/blog-banner.jpg");
}

.news {
  padding: 96px 0;
}

.news-shell {
  padding: 30px;
}

.news-head {
  position: relative;
  width: 50%;
  margin-bottom: 48px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 60px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-card {
  display: flex;
  flex-direction: column;
}

/* La miniatura mantiene 2:1 y recorta la foto, como el original. */
.post-card-media {
  position: relative;
  display: block;
  padding-bottom: 50%;
  overflow: hidden;
}

.post-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-text {
  margin: 20px 0 19px;
  padding: 0 30px;
}

.post-card-title {
  margin: 19px 0 25px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2em;
}

.post-card-title a {
  color: var(--ink);
  transition: color 0.3s;
}

.post-card-title a:hover,
.post-card-title a:focus {
  color: var(--teal);
}

.post-card-excerpt {
  margin: 0 0 26px;
  color: #777;
}

.post-card-more {
  display: inline-block;
  margin-bottom: 19px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 2;
  text-transform: uppercase;
  transition: color 0.3s;
}

.post-card-more:hover,
.post-card-more:focus {
  color: var(--teal);
}

.post-card-meta {
  margin: auto 0 0;
  padding: 15px 30px;
  border-top: 1px solid #eaeaea;
  color: #a4a4a4;
  font-size: 12px;
  line-height: 1.4em;
}

/* ============================================================ nota del blog ==== */

/* Franja que asoma detrás del encabezado transparente. */
.article-top {
  height: 111px;
  margin-top: -111px;
  background: url("../images/nota-cabecera.jpg") center center / cover;
}

.article-rule {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-head {
  padding: 24px 0;
}

.article-shell {
  display: flex;
}

/* Anchos y sangrías medidos del original: el cuerpo arranca en el 2,3 % del
   contenedor y mide 60,14 %; la barra lateral cambia de sangría entre el bloque
   del título y el del contenido. */
.article-main {
  width: 60.14%;
  margin-left: 2.3%;
  padding: 30px 0;
}

.article-aside {
  width: 28.4%;
  margin-left: 6.45%;
  padding: 30px 0;
}

.article-title {
  margin: 0;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1em;
}

.article-date {
  margin: 0;
}

.article {
  padding: 0 0 64px;
}

.article .article-main {
  padding: 64px 0 30px;
}

.article .article-aside {
  width: 23.2%;
  margin-left: 8.06%;
  padding: 48px 0 30px;
}

.article-photo {
  margin: 0 0 48px;
  text-align: center;
}

.article-photo img {
  max-width: 100%;
  height: auto;
}

.article-lead + p,
.article-photo + .article-lead {
  margin-top: 0;
}

.article-lead {
  margin: 0 0 24px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4em;
  text-transform: none;
}

.article p {
  margin: 0 0 24px;
}

.article-share {
  margin: 24px 0 0;
  text-align: center;
}

.article-share-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.article-share-link:hover,
.article-share-link:focus {
  color: var(--teal);
}

.article-share-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ------------------------------------------------------------ barra lateral */

.aside-search {
  display: flex;
  min-height: 48px;
  margin-bottom: 48px;
}

.aside-search input {
  flex: 1;
  min-width: 0;
  padding: 8px 16px;
  border: 1.6px solid var(--menu);
  border-radius: 3px 0 0 3px;
  background: #fff;
  color: #1f2124;
  font-family: inherit;
  font-size: 15px;
}

.aside-search input:focus {
  border-color: var(--teal);
  outline: none;
}

.aside-search .button {
  border-radius: 0 3px 3px 0;
}

/* El filete cruza por detrás del título, que va sobre un fondo crema. */
.aside-head {
  position: relative;
  margin-bottom: 24px;
}

.aside-head::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  border-top: 1px solid var(--line);
  content: "";
}

.aside-title {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 12px 24px 8px 0;
  background: var(--cream);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4em;
}

.aside-posts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-posts a {
  color: var(--body);
  line-height: 1.5em;
  transition: color 0.3s;
}

.aside-posts a:hover,
.aside-posts a:focus {
  color: var(--teal);
}

/* ------------------------------------------------------ resultados de búsqueda */

.search-results {
  width: 100%;
  max-width: 600px;
  margin: 24px auto 0;
  max-height: 45vh;
  overflow-y: auto;
  text-align: left;
}

.search-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.search-list a {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.search-list a:hover,
.search-list a:focus {
  color: var(--teal);
}

.search-list span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.4em;
}

.search-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* =============================================================== error 404 ==== */

.error {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 30px;
  background: url("../images/error-banner.jpg") 50% 0 / cover;
  text-align: center;
}

.error-overlay {
  position: absolute;
  inset: 0;
  background: var(--navy);
  opacity: 0.7;
}

.error-box {
  position: relative;
  width: 100%;
  max-width: 817px;
}

.error-title {
  margin: 0 0 24px;
  color: #fff;
  font-size: 78px;
  font-weight: 700;
  line-height: 1.1em;
  text-transform: none;
}

.error-text {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 48px;
  color: #fff;
}

.error-search {
  display: flex;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.error-search input {
  flex: 1;
  min-width: 0;
  height: 62px;
  padding: 0 20.67px;
  border: 2px solid var(--menu);
  border-radius: 3px 0 0 3px;
  background: transparent;
  /* El original escribe en gris oscuro sobre el velo azul; se lee poco, pero es
     lo que hace hoy. Cambiar a #fff si se prefiere. */
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
}

.error-search input::placeholder {
  color: var(--ink);
  opacity: 0.7;
}

.error-search input:focus {
  border-color: var(--teal);
  outline: none;
}

.error-search button {
  flex: none;
  width: 62px;
  height: 62px;
  padding: 0;
  border: 0;
  border-radius: 0 3px 3px 0;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.error-search button:hover,
.error-search button:focus {
  background: var(--teal-dark);
}

.error-search button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.error-results {
  max-width: 500px;
  margin: 24px auto 0;
  max-height: 30vh;
}

/* Sin resultados no ocupa nada, para que el bloque quede centrado como el original. */
.error-results:empty {
  margin: 0;
}


/* ============================================================== tablet ==== */

@media (max-width: 1024px) {
  .shell {
    max-width: 1024px;
  }

  .topbar-links {
    flex: 0 0 65%;
  }

  .languages-topbar {
    display: none;
  }

  .site-header {
    padding: 0;
  }

  .header-row {
    min-height: 0;
    padding: 16px 30px;
  }

  .brand img {
    width: 150px;
  }

  .menu-toggle {
    display: flex;
    order: 1;
  }

  .main-nav {
    /* El panel cae 10px por debajo del botón, como en el sitio original. */
    position: absolute;
    top: calc(100% - 6px);
    left: 0;
    z-index: 30;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: max-height 0.3s, transform 0.3s;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 0 48px -12px rgba(0, 0, 0, 0.1);
  }

  .main-nav.open {
    max-height: 100vh;
    transform: scaleY(1);
  }

  .main-menu {
    display: block;
    padding: 16px 24px 16px 8px;
  }

  .main-menu > li,
  .main-menu > li:not(:first-child),
  .main-menu > li:not(:last-child) {
    margin: 0;
  }

  .main-menu > li > a {
    justify-content: space-between;
    padding: 10px 31px;
    color: var(--teal);
  }

  .main-menu > li > a::after {
    display: none;
  }

  .main-menu > li > a:hover,
  .main-menu > li > a:focus {
    color: var(--teal-dark);
  }

  .submenu {
    position: static;
    display: none;
    visibility: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
  }

  .has-submenu:hover > .submenu,
  .has-submenu:focus-within > .submenu {
    display: none;
  }

  .has-submenu.open > .submenu {
    display: block;
  }

  .submenu a {
    padding: 10px 31px;
    border: 0;
    font-size: 12.75px;
  }

  .search-toggle {
    order: 2;
    margin-left: 36px;
  }

  .header-contact,
  .panel-toggle {
    display: none;
  }

  .languages-header {
    display: block;
    order: 3;
    margin-left: 33px;
  }

  .hero {
    margin-top: -126px;
  }

  .hero-title-a {
    width: calc(100% + 120px);
    margin-top: 0;
    margin-left: 0;
  }

  .hero-title-b {
    width: 100%;
    margin-top: 10px;
    margin-left: 0;
  }

  .hero-lead {
    width: 100%;
    margin-left: 0;
  }

  .flip-card {
    height: 281px;
    cursor: pointer;
  }

  .flip-front,
  .flip-back {
    padding: 24px;
  }

  .flip-title {
    font-size: 16px;
  }

  .figures {
    padding: 40px 0 60px;
  }

  .figure:nth-child(1),
  .figure:nth-child(2),
  .figure:nth-child(3),
  .figure:nth-child(4) {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .figure:nth-child(1) .figure-number,
  .figure:nth-child(4) .figure-number {
    font-size: 70px;
  }

  .figure:nth-child(2) .figure-number,
  .figure:nth-child(3) .figure-number {
    font-size: 48px;
  }

  .coverage-actions {
    margin-left: 0;
  }

  .coverage-actions .button {
    margin-right: 24px;
  }

  .promo {
    background-position: top left;
    padding: 48px 0;
  }

  .promo-grid {
    min-height: 0;
  }

  .promo-title {
    width: 45%;
  }

  .promo-play {
    width: 12%;
    padding: 0;
  }

  .promo-action {
    width: 43%;
    padding: 0;
    text-align: center;
  }

  .blog {
    padding: 48px 0;
  }

  .blog-head {
    display: block;
    margin-bottom: 24px;
    padding: 0;
  }

  .blog-head-text,
  .blog-all {
    width: 100%;
  }

  .blog-title {
    font-size: 38px;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-image {
    flex-basis: 41%;
  }

  .post-image img {
    aspect-ratio: 1 / 0.97;
  }

  .banner-shell {
    min-height: 300px;
  }

  .banner-title {
    font-size: 38px;
  }

  .service {
    padding: 48px 0;
  }

  .service-media {
    width: 38%;
    padding: 0;
    text-align: end;
  }

  .service-media img {
    /* Como en el original: la foto se desborda de su columna y alinea su borde
       derecho con el de la columna. */
    width: 667px;
    max-width: none;
    margin-left: calc(100% - 667px);
  }

  .service-body {
    width: 58%;
    margin-left: 2%;
  }

  .service-reverse .service-body {
    margin-left: 0;
    margin-right: 2%;
  }

  .service-watermark {
    top: -32px;
    left: -5px;
    font-size: 75px;
  }

  .service-title {
    font-size: 38px;
  }

  .service-detail {
    flex: 0 0 51%;
  }

  .products {
    padding: 48px 0;
  }

  .block-watermark {
    top: -23px;
    font-size: 63px;
  }

  .block-title {
    font-size: 38px;
  }

  .product {
    width: 100%;
  }

  .footer-art {
    width: 33.33%;
  }

  .footer-col,
  .footer-col:last-child {
    width: 33.33%;
  }

  .footer-col.footer-branches {
    width: 66.66%;
    margin-bottom: 32px;
  }

  .footer-brand {
    width: 30%;
  }

  .footer-claim {
    width: 70%;
  }

  /* ------------------------------------------------------------- about us */

  .banner-about {
    background-position: center center;
  }

  /* En esta página la marca de agua no se achica en tablet. */
  .page-about .block-watermark {
    top: -49px;
    font-size: 100px;
  }

  .company {
    padding: 86px 0 48px;
  }

  .company-shell {
    display: block;
  }

  .company-text {
    width: 100%;
  }

  .company-slideshow {
    width: auto;
    height: 260px;
    margin: 30px;
  }

  .team {
    padding: 86px 0 0;
  }

  .team-lead {
    margin-bottom: 31px;
  }

  .team-row {
    padding: 0;
  }

  .member {
    padding: 20px;
  }

  .worldwide {
    padding: 86px 0;
  }

  .worldwide-head {
    width: 100%;
    margin-bottom: 24px;
  }

  .worldwide-map {
    margin-top: 0;
    padding: 0 20px;
  }

  /* -------------------------------------------------------------- contact */

  .banner-contact {
    background-position: center center;
  }

  /* Como en «About Us», acá la marca de agua no se achica en tablet. */
  .page-contact .block-watermark {
    top: -49px;
    font-size: 100px;
  }

  .contact-title {
    font-size: 38px;
  }

  .contact {
    padding: 48px 0;
  }

  .contact-text {
    width: 51%;
  }

  .contact-form {
    width: 44%;
    margin-left: 4.5%;
  }

  /* ------------------------------------------------------------- error 404 */

  /* En tablet el título ocupa todo el ancho disponible, sin el tope de 817 px. */
  .error-box {
    max-width: none;
  }

  /* ------------------------------------------------------------------ blog */

  .news {
    padding: 48px 0;
  }

  .news-head {
    width: 100%;
    margin-bottom: 24px;
  }

  .post-card-media {
    padding-bottom: 80%;
  }

  /* ------------------------------------------------------------ nota del blog */

  .article {
    padding: 48px 0;
  }

  .article .article-main {
    padding: 0 20px 20px;
  }
}

/* ============================================================== teléfono == */

@media (max-width: 767px) {
  .shell {
    max-width: 767px;
  }

  .topbar {
    display: none;
  }

  .header-row {
    padding: 16px 15px;
  }

  .brand img {
    width: 151px;
  }

  .languages-header {
    margin-left: 45px;
  }

  .main-menu > li > a {
    font-size: 20px;
  }

  .submenu a {
    font-size: 17px;
  }

  .menu-item-phone-only {
    display: block;
  }

  .search-toggle {
    display: none;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-shell {
    padding: 0;
  }

  .hero-title {
    font-size: 34px;
    padding: 0 10px;
  }

  .hero-title-a {
    width: 100%;
  }

  .hero-title-b {
    margin-top: 0;
    padding-top: 10px;
  }

  .hero-lead {
    padding: 28px 0 0;
    font-size: 22px;
  }

  .hero-cards {
    display: block;
  }

  .flip-card {
    height: 235px;
    width: 100%;
  }

  .figures {
    padding: 30px 0;
  }

  .figure:nth-child(1),
  .figure:nth-child(2),
  .figure:nth-child(3),
  .figure:nth-child(4) {
    width: 100%;
    padding: 20px 0;
  }

  .figure:nth-child(1) .figure-number,
  .figure:nth-child(4) .figure-number {
    font-size: 60px;
  }

  .figure:nth-child(2) .figure-number,
  .figure:nth-child(3) .figure-number {
    font-size: 44px;
  }

  .coverage {
    padding: 40px 0 0;
  }

  .coverage-actions .button {
    margin: 0 25px 24px 0;
    padding: 15px 10px;
  }

  .coverage-actions .button:last-child {
    margin-right: 0;
  }

  .promo {
    background-position: center left;
  }

  .promo-grid {
    display: block;
    text-align: center;
  }

  .promo-title,
  .promo-play,
  .promo-action {
    width: 100%;
    text-align: center;
  }

  .promo-action {
    padding: 30px 0;
  }

  .promo-title {
    font-size: 32px;
  }

  .blog-watermark {
    text-align: center;
  }

  .blog-eyebrow,
  .blog-title,
  .blog-all {
    text-align: center;
  }

  .blog-all-link {
    flex-direction: column;
  }

  .post {
    display: block;
  }

  .post-image {
    float: left;
    width: 29%;
    margin-right: 48px;
  }

  .post-image img {
    aspect-ratio: 1 / 1.25;
  }

  .post-text {
    overflow: hidden;
  }

  .site-footer {
    padding: 48px 0;
  }

  .footer-grid {
    justify-content: center;
    text-align: center;
  }

  .footer-art {
    display: none;
  }

  .banner-agribusiness {
    padding-top: 60px;
  }

  .banner-title,
  .banner-lead {
    margin-top: 20%;
    text-align: center;
  }

  .service {
    padding: 30px 0 0;
  }

  /* En teléfono el texto va primero y la foto al final, en los tres bloques. */
  .service-grid {
    display: flex;
    flex-direction: column;
  }

  .service-media,
  .service-reverse .service-media {
    order: 2;
    width: 100%;
    padding: 0;
  }

  .service-body,
  .service-reverse .service-body {
    order: 1;
  }

  .service-media img {
    width: 100%;
    max-width: 100%;
    height: 180px;
    margin-left: 0;
  }

  .service-body {
    width: 100%;
    margin: 0;
    padding: 30px;
    text-align: center;
  }

  .service-reverse .service-body {
    margin: 0;
  }

  .service-watermark {
    top: 1px;
    left: -2px;
    font-size: 44px;
    letter-spacing: -2px;
    text-align: center;
  }

  .service-title {
    text-align: center;
  }

  .service-item {
    display: block;
    text-align: center;
  }

  .service-icon {
    justify-content: center;
    padding: 32px 32px 0;
  }

  .products-head-link {
    display: none;
  }

  .products-head-text {
    width: 100%;
    padding: 30px;
    text-align: center;
  }

  .block-watermark {
    top: -25px;
    left: 0;
    font-size: 64px;
    text-align: center;
  }

  /* En teléfono el original oculta el espaciador de 50px de la cabecera. */
  .product-grid {
    margin-top: 30px;
  }

  .product-card {
    margin-bottom: 12px;
  }

  .product-media {
    min-height: 200px;
  }

  .product-content {
    padding: 24px 0 0;
  }

  .products-cta .shell {
    justify-content: center;
  }

  .products-cta .link-arrow-wrap {
    margin: 0 0 60px;
  }

  /* En teléfono la flecha va arriba del texto, como en la portada. */
  .link-arrow {
    flex-direction: column;
  }

  .footer-branches,
  .footer-col,
  .footer-col:last-child,
  .footer-col.footer-branches {
    width: 100%;
    margin-bottom: 48px;
    padding: 0 30px;
  }

  .footer-col:nth-child(3) {
    padding: 0;
  }

  .footer-col:last-child {
    margin-bottom: 0;
  }

  .footer-title {
    margin-bottom: 16px;
    text-align: center;
  }

  .footer-branches .footer-title {
    margin-bottom: 32px;
  }

  .footer-address li,
  .footer-address a {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-sign {
    display: block;
    text-align: center;
  }

  .footer-brand,
  .footer-claim {
    width: 100%;
  }

  .footer-brand {
    padding: 30px;
  }

  .footer-claim {
    margin-bottom: 0;
    padding: 0;
  }

  .footer-legal {
    align-items: flex-start;
    padding: 0 30px;
  }

  .footer-copy {
    margin-bottom: 16px;
  }

  .footer-brand img {
    margin: 0 auto;
  }

  .quick-panel-box {
    width: 100%;
    padding-inline: calc(5% + 30px);
  }

  .search-overlay {
    padding: 0 10%;
  }

  .search-form input {
    font-size: 28px;
  }

  .search-close {
    right: 10px;
  }

  /* ------------------------------------------------------------- about us */

  /* La marca de agua de esta página es un poco mayor que la de los productos. */
  .page-about .block-watermark {
    top: -25px;
    left: -11px;
    font-size: 68px;
    text-align: center;
  }

  .page-about .worldwide-head .block-watermark {
    top: -49px;
    left: -5px;
  }

  .page-about .block-eyebrow {
    text-align: center;
  }

  .company-title {
    font-size: 26px;
  }

  .check-list li {
    padding-bottom: 11px;
  }

  .check-list li + li {
    margin-top: 11px;
  }

  .company-actions {
    justify-content: center;
  }

  /* En teléfono los dos botones van juntos y centrados; el primero lleva el
     margen abajo, que es lo que descoloca 15 px al segundo en el original. */
  .company-actions .button:first-child {
    margin: 0 0 24px;
  }

  .team {
    padding: 64px 0 0;
  }

  .team-head {
    padding: 0 20px;
  }

  .team-lead {
    margin-bottom: 60px;
  }

  .team-head .block-title {
    text-align: center;
  }

  .team-row {
    display: block;
  }

  .member {
    width: 100%;
    padding: 20px 40px;
    text-align: center;
  }

  .worldwide {
    padding: 64px 0;
  }

  .worldwide-head .block-title {
    text-align: center;
  }

  /* -------------------------------------------------------------- contact */

  .contact {
    padding: 48px 0 0;
  }

  .contact-shell {
    display: block;
  }

  .contact-text,
  .contact-form {
    width: 100%;
    margin-left: 0;
  }

  .page-contact .block-watermark {
    top: -13px;
    left: 3px;
    font-size: 69px;
    text-align: center;
  }

  .contact-text {
    text-align: center;
  }

  .contact .block-eyebrow {
    margin-inline: auto;
  }

  .contact-lead {
    font-size: 20px;
    line-height: 24px;
  }

  .offices {
    flex-direction: column;
  }

  .office {
    width: 100%;
  }

  .field-send {
    width: 100%;
  }

  .map-offices {
    display: block;
    padding: 30px 20px;
  }

  .map-office {
    width: 100%;
  }

  .map-office + .map-office {
    margin-top: 24px;
  }

  /* ----------------------------------------------------------- legal info */

  .legal-shell {
    padding: 30px;
  }

  /* La tabla se sale 10 px a cada lado, como en el original. */
  .cookie-table {
    width: calc(100% + 20px);
    margin-left: -10px;
  }

  /* ------------------------------------------------------------------ blog */

  .news-grid {
    grid-template-columns: 1fr;
  }

  .post-card-media {
    padding-bottom: 50%;
  }

  /* ------------------------------------------------------------ nota del blog */

  .article-shell {
    display: block;
  }

  .article-main,
  .article-aside,
  .article .article-main,
  .article .article-aside {
    width: 100%;
    margin-left: 0;
    padding: 20px;
  }

  .article-title {
    font-size: 38px;
  }

  /* ------------------------------------------------------------- error 404 */

  .error-title {
    font-size: 40px;
  }
}
