/* ============================================================
   Rosario Bioenergy S.A. — hoja de estilos estática
   Reconstrucción fiel del diseño original (WordPress + Elementor)
   Sin frameworks. CSS moderno: custom properties, grid, flexbox.
   ============================================================ */

/* ---------- Tipografías autohospedadas ---------- */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;          /* fuente variable: cubre 300/400/500/600/700 */
  font-display: swap;
  src: url('../fonts/roboto-var-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/roboto-slab-latin.woff2') format('woff2');
}

/* ---------- Variables de diseño (kit de colores del original) ---------- */
:root {
  --c-primary: #333333;        /* color primario / fondos oscuros */
  --c-secondary: #F2F3F4;      /* gris claro (textos sobre oscuro, fondos) */
  --c-text: #333333;           /* texto general */
  --c-accent: #D83135;         /* rojo institucional */
  --c-white: #ffffff;
  --c-card-title: #E2E2E2;     /* título de tarjeta de novedades */
  --c-arrow: #47525273;        /* flechas del carrusel de logos */
  --shadow-img: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  --radius-img: 20px;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background-color: var(--c-white);
  color: var(--c-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; }
main { overflow: hidden; display: block; }

.container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Utilidad: oculto en todos los dispositivos (igual que el original,
   que marca algunas secciones con elementor-hidden-*). Para volver a
   mostrar una sección basta quitar esta clase en el HTML. */
.hidden-all { display: none !important; }
.hidden { display: none !important; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: relative;
  background-color: var(--c-primary);
  padding: 20px 0 30px;
  z-index: 100;
}
.site-header .header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.site-header .logo img { height: 65px; width: auto; object-fit: contain; }

.site-header .nav-desktop { display: none; }
.site-header .nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-header .nav-desktop a {
  position: relative;
  color: var(--c-secondary);
  font-size: 1rem;
  padding: 10px;
  transition: color 0.2s;
}
/* puntero "subrayado" del original */
.site-header .nav-desktop a::after {
  content: '';
  position: absolute;
  left: 10px; right: 10px; bottom: 2px;
  height: 2px;
  background-color: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.site-header .nav-desktop a:hover { color: var(--c-accent); }
.site-header .nav-desktop a:hover::after { transform: scaleX(1); }
.site-header .nav-desktop a.active { color: var(--c-accent); }

.menu-toggle {
  color: var(--c-accent);
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
}
.menu-toggle svg { width: 28px; height: 28px; fill: currentColor; stroke: currentColor; }

.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background-color: var(--c-primary);
  border-top: 1px solid rgba(242, 243, 244, 0.12);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  z-index: 99;
}
.nav-mobile ul { padding: 4px 0 10px; }
.nav-mobile li + li a { border-top: 1px solid rgba(242, 243, 244, 0.08); }
.nav-mobile a {
  display: block;
  padding: 14px 24px;
  color: var(--c-secondary);
  font-size: 1.05rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.nav-mobile a:hover, .nav-mobile a:active {
  color: var(--c-accent);
  border-left-color: var(--c-accent);
  background: rgba(216, 49, 53, 0.10);
}
@media (prefers-reduced-motion: no-preference) {
  .nav-mobile:not(.hidden) { animation: menu-in 0.22s ease; }
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 1025px) {
  .site-header .nav-desktop { display: block; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 50px;
  background-image: url('../img/hero-planta.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
/* el navegador usa WebP si lo soporta */
@supports (background-image: url('x.webp')) {
  .hero { background-image: url('../img/hero-planta.webp'); }
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--c-primary);
  opacity: 0.2;
}
@media (min-width: 1025px) {
  .hero { background-attachment: fixed; }
}
.hero .hero-content {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
}
.hero .slogan { width: 383px; max-width: 100%; height: auto; }

/* versión EN: dos títulos en lugar de la imagen del eslogan */
.hero .hero-title {
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #F2F3F4;
  line-height: 1.2;
}
.hero .hero-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 23px;
  font-weight: 600;
  color: var(--c-secondary);
  line-height: 1.3;
  margin-top: 0.5rem;
}
@media (max-width: 1024px) { .hero { padding: 20px; } }
@media (max-width: 767px)  { .hero { padding: 15px; } }

/* ============================================================
   SECCIONES "Nuestra Empresa" / "Nuestra Planta"
   ============================================================ */
.split {
  padding: 4rem 0;
}
.split .cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
}
/* La imagen va a la derecha (empresa) o a la izquierda (planta) */
.split .col-img { flex: 1 1 100%; }
.split .col-text { flex: 1 1 100%; }
@media (min-width: 768px) {
  .split .col-img { flex: 0 0 52%; }
  .split .col-text { flex: 0 0 41%; }
  .split.img-right .col-img { order: 2; }
  .split.img-right .col-text { order: 1; }
}
/* en móvil la imagen de "Nuestra Empresa" queda debajo del texto
   (flex-wrap-mobile: wrap-reverse del original) */
@media (max-width: 767px) {
  .split.img-right .col-img { order: 2; }
  .split.img-right .col-text { order: 1; }
}
.split .col-img img {
  width: 100%;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-img);
}
.split h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  text-transform: capitalize;
  color: var(--c-accent);
}
.split p {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--c-text);
  margin-top: 1rem;
}
.split .btn { margin-top: 1.5rem; }
@media (max-width: 1024px) {
  .split h2 { font-size: 25px; }
  .split p { margin-top: 0.75rem; }
}
@media (max-width: 767px) {
  .split h2 { font-size: 22px; }
}

/* Botón "Ver más" / "Learn more" */
.btn {
  display: inline-block;
  background-color: var(--c-accent);
  color: var(--c-secondary);
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: var(--shadow-img);
  transition: background-color 0.2s, color 0.2s;
}
.btn:hover, .btn:focus {
  background-color: var(--c-secondary);
  color: var(--c-accent);
}

/* ============================================================
   CARRUSEL DE LOGOS (clientes / partners)
   ============================================================ */
.logos {
  padding: 2rem 0 4rem;
}
.logos .logos-wrapper { position: relative; }
.logos .logos-viewport { overflow: hidden; }
.logos .logos-track {
  display: flex;
  align-items: center;
  transition: transform 0.5s ease;
}
.logos .logo-slide {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}
.logos .logo-slide img {
  max-height: 90px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.logos .logos-prev,
.logos .logos-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--c-arrow);
  font-size: 30px;
  padding: 0.25rem;
}
.logos .logos-prev svg, .logos .logos-next svg {
  width: 30px; height: 30px; fill: #475252; opacity: 0.45;
}
.logos .logos-prev { left: 0; }
.logos .logos-next { right: 0; }

/* ============================================================
   GEI — contador de ahorro de emisiones
   Dos columnas en desktop (imagen | panel), apiladas en mobile.
   ============================================================ */
.gei {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.gei-img {
  flex: 1 1 50%;
  min-height: 480px;
  background-image: url('../img/gei-fondo.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
@supports (background-image: url('x.webp')) {
  .gei-img { background-image: url('../img/gei-fondo.webp'); }
}
.gei-panel {
  flex: 1 1 50%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--c-primary);
  box-shadow: -20px 0 52px 0 rgba(0, 0, 0, 0.31);
}
.gei-panel .gei-inner {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.gei-counter { padding: 30px 10px 10px; }
/* número arriba, título debajo (column-reverse como Elementor) */
.gei-counter .counter {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
}
.gei-counter .counter-number {
  font-family: 'Roboto', sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  color: var(--c-accent);
  text-align: center;
}
.gei-counter .counter-title {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 2.5;
  color: var(--c-secondary);
  text-align: center;
}
.gei-headings { width: 100%; }
.gei-headings h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--c-secondary);
  text-align: center;
  white-space: pre-line;
}
.gei-headings .gei-note {
  font-size: 13px;
  margin-top: 0.75rem;
}
@media (min-width: 1200px) {
  .gei-counter .counter-number { font-size: 60px; }
}
@media (max-width: 1024px) {
  .gei-counter .counter-number { font-size: 36px; }
  .gei-headings h2 { font-size: 16px; }
}
@media (max-width: 767px) {
  .gei { flex-direction: column; }
  .gei-img { min-height: 235px; flex-basis: auto; }
  .gei-panel {
    min-height: 280px;
    flex-basis: auto;
    box-shadow: 0 -12px 32px 0 rgba(0, 0, 0, 0.25);
  }
  .gei-counter { padding: 19px; }
  .gei-counter .counter-number { font-size: 35px; }
  .gei-headings h2 { font-size: 15px; line-height: 1.3em; }
}

/* ============================================================
   NOVEDADES (oculta en el original con elementor-hidden-*)
   ============================================================ */
.novedades {
  padding: 4rem 0 6rem;
}
.novedades h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  text-transform: capitalize;
  color: var(--c-accent);
  text-align: center;
}
.novedades .news-wrapper { margin-top: 2em; }
.novedades .news-viewport { overflow: hidden; }
.novedades .news-track {
  display: flex;
  transition: transform 0.5s ease;
}
.novedades .news-slide {
  flex-shrink: 0;
  padding: 1rem 15px;
}
.news-card {
  position: relative;
  background-color: #fff;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.news-card:hover { transform: translateY(-10px); }
.news-card .card-img img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.16);
}
.news-card .card-title {
  position: absolute;
  left: 0; bottom: 0;
  right: 0;
  background-color: var(--c-primary);
  padding: 17px;
}
.news-card .card-title a,
.news-card .card-title h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 22px;
  color: var(--c-card-title);
}
.news-card .card-arrow {
  position: absolute;
  top: 0; right: 0;
  background-color: var(--c-accent);
  padding: 14px 12px;
  box-shadow: -6px 5px 10px 0 rgba(0, 0, 0, 0.23);
  display: flex;
}
.news-card .card-arrow svg { height: 20px; width: auto; fill: var(--c-secondary); }
.news-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 21px;
}
.news-pagination button {
  width: 12px; height: 12px;
  border-radius: 50%;
  background-color: var(--c-primary);
  opacity: 0.4;
}
.news-pagination button.active { opacity: 1; background-color: var(--c-accent); }
@media (max-width: 767px) {
  .news-card .card-img img { height: 310px; }
}

/* ============================================================
   LOGÍSTICA Y COMERCIALIZACIÓN
   ============================================================ */
.logistica {
  background-color: var(--c-secondary);
  padding: 4rem 0;
}
.logistica h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--c-accent);
  text-align: center;
}
.logistica .cols {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.logistica .col-video { flex: 1 1 100%; }
.logistica .col-text { flex: 1 1 100%; }
@media (min-width: 768px) {
  /* row-reverse del original: video a la derecha, texto a la izquierda */
  .logistica .col-video { flex: 1 1 42%; order: 2; }
  .logistica .col-text { flex: 0 0 48%; order: 1; }
}
.logistica video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-img);
}
.logistica p {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--c-primary);
  margin-top: 1rem;
}
@media (max-width: 1024px) {
  .logistica h2 { font-size: 25px; }
}
@media (max-width: 767px) {
  .logistica h2 { font-size: 22px; }
}

/* ============================================================
   PÁGINAS INTERNAS (Institucional / Producción)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 312px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem 1.25rem;
  background-image: url('../img/hero-internas.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
@supports (background-image: url('x.webp')) {
  .page-hero { background-image: url('../img/hero-internas.webp'); }
}
.page-hero.has-pills { min-height: 467px; }
.page-hero h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 48px;
  font-weight: 300;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.page-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1140px;
}
.page-pills a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--c-secondary);
  color: var(--c-text);
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: var(--shadow-img);
  transition: background-color 0.2s, color 0.2s;
}
.page-pills a:hover,
.page-pills a:focus {
  background-color: var(--c-accent);
  color: var(--c-secondary);
}
.page-pills a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .page-hero { min-height: 240px; padding: 2rem 1rem; }
  .page-hero.has-pills { min-height: 320px; }
  .page-hero h1 { font-size: 32px; }
  .page-pills a { font-size: 14px; padding: 10px 16px; }
}

.inner-section {
  padding: 4rem 0;
}
.inner-section h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--c-accent);
  margin-bottom: 1.5rem;
}
.inner-section p {
  font-size: 16px;
  margin-top: 0.85rem;
  color: var(--c-text);
}
.inner-section p:first-of-type { margin-top: 0; }
.inner-section h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--c-text);
  margin: 0.5rem 0 0.75rem;
}
.inner-section-dark {
  background-color: var(--c-primary);
}
.inner-section-dark h2 { color: var(--c-accent); }
.inner-section-dark p,
.inner-section-dark a { color: var(--c-secondary); }
.inner-section-dark a:hover { color: #ffffff; }
.inner-section-muted { background-color: var(--c-secondary); }
#Empresa, #Principios, #Objetivos, #Planta, #Ubicacion {
  scroll-margin-top: 1rem;
}

/* Nuestra Empresa: 4 tarjetas (video + texto) */
.empresa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .empresa-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1025px) {
  .empresa-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
.empresa-card video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-img);
  background: #111;
}
.empresa-card .empresa-card-body { padding-top: 1rem; }
.empresa-card h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 0.75rem;
}
.empresa-card p {
  font-size: 14px;
  margin-top: 0.7rem;
  line-height: 1.55;
}

/* Split texto + video / diagrama */
.inner-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
}
.inner-split .col-media { flex: 1 1 100%; }
.inner-split .col-text { flex: 1 1 100%; }
@media (min-width: 768px) {
  .inner-split .col-media { flex: 0 0 42%; }
  .inner-split .col-text { flex: 1 1 50%; }
  .inner-split.media-right .col-media { order: 2; }
  .inner-split.media-right .col-text { order: 1; }
}
.inner-split video,
.inner-split .col-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-img);
  background: #111;
}
.inner-split .col-media img {
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.inner-split .formula {
  font-size: 14px;
  letter-spacing: 0.01em;
  margin: 1rem 0;
}

.inner-list {
  margin: 1rem 0 0 1.1rem;
  list-style: disc;
}
.inner-list li {
  font-size: 16px;
  margin: 0.4rem 0;
  padding-left: 0.25rem;
}
.inner-list-num {
  list-style: decimal;
  margin: 1rem 0 0 1.25rem;
}

.inner-lede {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.inner-lede h2 { text-align: center; }
.inner-lede p { text-align: center; }

.inner-map {
  height: 300px;
  background: #d9d9d9;
}
.inner-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Post / archivo (novedades) */
.page-header-simple {
  padding: 4rem 1.25rem;
}
.page-header-simple h1 {
  font-family: 'Roboto Slab', 'Roboto', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--c-text);
  max-width: 1140px;
  margin-inline: auto;
}

@media (max-width: 1024px) {
  .inner-section { padding: 3rem 0; }
  .inner-section h2 { font-size: 25px; }
}
@media (max-width: 767px) {
  .inner-section { padding: 2.5rem 0; }
  .inner-section h2 { font-size: 22px; }
  .inner-split video { aspect-ratio: 16 / 10; }
}

/* ============================================================
   CONTACTO (pie de todas las páginas)
   ============================================================ */
.contacto {
  position: relative;
  min-height: 629px;
  display: flex;
  align-items: stretch;
  background-image: url('../img/contacto-fondo.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
@supports (background-image: url('x.webp')) {
  .contacto { background-image: url('../img/contacto-fondo.webp'); }
}
.contacto .contacto-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 60px;
}
.contacto .info-col { flex: 0 0 100%; max-width: 420px; }
.contacto .form-col { flex: 0 0 100%; max-width: 420px; }
@media (min-width: 1025px) {
  .contacto .info-col { flex: 0 0 28%; }
  .contacto .form-col { flex: 0 0 24%; }
}
.contacto h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--c-secondary);
  margin-bottom: 30px;
}
.contacto .info-panel {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  padding: 30px;
}
.icon-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.icon-box .icon svg { width: 32px; height: 32px; }
.icon-box h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #FFFFFF;
}
.icon-box p {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: var(--c-secondary);
}

/* Formulario (estilos del original: inputs blancos sin borde) */
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  background: white;
  margin-bottom: 1rem;
  border-radius: 0;
  border: none;
  padding: 10px 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: var(--c-text);
}
.contact-form input:focus, .contact-form textarea:focus {
  box-shadow: none !important;
  border: none;
  outline: none;
}
.contact-form textarea { resize: vertical; min-height: 180px; }
.contact-form .submit {
  display: block;
  background: var(--c-accent);
  color: white;
  width: 100%;
  margin: 0 auto;
  padding: 5px;
  font-size: 1rem !important;
  border: none;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
}
.contact-form .submit:disabled { opacity: 0.6; cursor: wait; }
/* honeypot anti-spam: fuera de pantalla */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-status {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 1.2em;
  padding: 8px 10px;
  border-radius: 4px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}
.form-status:empty {
  padding: 0;
  min-height: 0;
}
.form-status.error {
  color: #ffffff;
  background: rgba(216, 49, 53, 0.62);
}
.form-status.ok {
  color: #ffffff;
  background: rgba(46, 125, 50, 0.9);
}

@media (max-width: 1024px) {
  .contacto { min-height: 606px; }
  .contacto .contacto-inner { flex-direction: column; padding: 50px; }
  .contacto .info-col, .contacto .form-col { flex: 1 1 auto; width: 100%; max-width: 500px; }
}
@media (max-width: 767px) {
  .contacto .contacto-inner { gap: 20px; padding: 20px; }
  .contacto h2 { font-size: 24px; text-align: center; margin-bottom: 10px; }
  .contacto .info-panel { gap: 30px; }
}

/* ============================================================
   PIE DE PÁGINA (barra inferior)
   ============================================================ */
.site-footer {
  background-color: var(--c-primary);
  padding: 20px 0 30px;
}
.site-footer .footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-footer .logo img { height: 70px; width: auto; object-fit: contain; }
.site-footer nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-footer nav a {
  color: var(--c-secondary);
  font-size: 1rem;
  padding: 10px;
  transition: color 0.2s;
}
.site-footer nav a:hover { color: var(--c-accent); }
@media (max-width: 1024px) {
  .site-footer { border-top: 1px solid var(--c-secondary); }
}
@media (max-width: 767px) {
  .site-footer .footer-inner {
    flex-direction: column;
    align-items: center;
  }
  .site-footer nav ul {
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }
  .site-footer nav a { padding: 8px 4px; display: block; }
}

/* ============================================================
   Animaciones de entrada (reemplazo de AOS / Elementor)
   ============================================================ */
[data-aos] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos="fade-up"]    { transform: translateY(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"]  { transform: translateX(30px); }
[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-aos] { opacity: 1; transform: none; transition: none; }
  .logos .logos-track, .novedades .news-track { transition: none; }
}
