/* =========================================================
   LOGMINE — STYLE.CSS
   Sitio trilingüe ES / EN / FR
   Colores: #712e63 / #e1fa01 / #f5f5f5
========================================================= */

/* 00 — BRAND FONTS */

@font-face {
  font-family: 'Klaxon Smooth';
  src: url('../fonts/Klaxon-Smooth.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Seravek';
  src: url('../fonts/Seravek.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 01 — VARIABLES */

:root {

--font-heading: 'Oxanium', 'Arial Black', Impact, sans-serif;

  --font-body: 'Seravek', 'Inter', Arial, sans-serif;

  --purple: #712e63;
  --purple-dark: #251024;
  --lime: #e1fa01;
  --white: #f5f5f5;
  --ink: #08070b;
  --muted: #b8b2bd;
  --card: #151018;
  --line: rgba(255, 255, 255, 0.10);

  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  --radius: 22px;
}

/* 02 — RESET / BASE */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
.logo-link,
.eyebrow,
.btn,
.main-nav a,
.hero-stats strong,
.card-number,
.service-number,
.site-footer h4 {
  font-family: var(--font-heading);
}

.container {
  width: min(90%, 1180px);
  margin: auto;
}

.section {
  padding: 90px 0;
}

.light {
  background: #110c14;
}

.section h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}

.section p {
  color: #c9c1cc;
  line-height: 1.75;
  font-size: 16px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 20px;
}

.eyebrow {
  display: inline-block;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 16px;
}

/* 03 — HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 7, 11, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 168px;
  max-height: 62px;
  object-fit: contain;
  display: block;
  transform: scale(1.6);
  transform-origin: left center;
}


.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a {
  font-size: 14px;
  color: #d8d1dc;
  transition: 0.25s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
}

.main-nav a.active:not(.btn) {
  border-bottom: 2px solid var(--lime);
  padding-bottom: 6px;
}

.lang-switch {
  display: flex;
  gap: 6px;
}

.lang-switch a {
  font-size: 12px;
  font-weight: 800;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d8d1dc;
}

.lang-switch a.active {
  background: var(--lime);
  color: #161016;
  border-color: var(--lime);
}

/* 04 — BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: #1b1020 !important;
  font-weight: 900;
  padding: 14px 22px;
  box-shadow: 0 16px 38px rgba(225, 250, 1, 0.17);
  transition: 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.small-btn {
  padding: 10px 16px;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
  border: 1px solid var(--line);
  box-shadow: none;
}

/* 05 — HERO */

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(225, 250, 1, 0.20), transparent 27%),
    radial-gradient(circle at 15% 40%, rgba(113, 46, 99, 0.65), transparent 32%),
    linear-gradient(135deg, #08070b, #1b0c1b 55%, #09070a);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -160px;
  bottom: -180px;
  background: var(--purple);
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -2.4px;
  margin-bottom: 24px;
}

.hero p {
  font-size: 20px;
  line-height: 1.7;
  color: #d8d1dc;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 52px;
}

.hero-stats div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
}

.hero-stats strong {
  display: block;
  font-size: 24px;
  color: #fff;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: #c9c1cc;
  font-size: 13px;
}

.page-hero {
  min-height: 430px;
  text-align: left;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
}

/* 06 — LAYOUTS */

.split,
.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 62px;
  align-items: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 34px;
}

/* 07 — CARDS */

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #19101d, #0e0a10);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: 0.25s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 250, 1, 0.35);
}

.card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -38px;
  top: -38px;
  background: rgba(225, 250, 1, 0.10);
  border-radius: 50%;
  filter: blur(24px);
}

.card-number {
  display: inline-flex;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

/* 08 — FEATURE BAND */

.feature-band {
  background: linear-gradient(135deg, var(--purple), #32162e);
  position: relative;
  overflow: hidden;
}

.feature-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(225, 250, 1, 0.25), transparent 28%);
}

.feature-band .container {
  position: relative;
  z-index: 2;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.feature-list div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.feature-list h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* 09 — CTA */

.cta,
.cta-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(225, 250, 1, 0.17), transparent 30%),
    #09070a;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, #1a101d, #0d0910);
  padding: 48px;
}

/* 10 — ABOUT / NOSOTROS */

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.statement-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(225, 250, 1, 0.10), transparent 34%),
    linear-gradient(145deg, rgba(113, 46, 99, 0.35), rgba(10, 10, 14, 0.95));
  border: 1px solid rgba(245, 245, 245, 0.08);
  border-radius: 24px;
  padding: 42px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.statement-card h2 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}

.statement-card p {
  color: #cbd5e1;
  line-height: 1.7;
}

.values-section {
  background:
    radial-gradient(circle at 15% 15%, rgba(113, 46, 99, 0.28), transparent 32%),
    #07070b;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-item {
  background: rgba(245, 245, 245, 0.035);
  border: 1px solid rgba(245, 245, 245, 0.08);
  border-radius: 18px;
  padding: 28px;
  transition: 0.3s ease;
}

.value-item:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 250, 1, 0.28);
  background: rgba(245, 245, 245, 0.055);
}

.value-item h3 {
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 20px;
}

.value-item p {
  color: #cbd5e1;
  line-height: 1.6;
}

/* 11 — SERVICES / SERVICIOS */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 38px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(225, 250, 1, 0.08), transparent 30%),
    linear-gradient(145deg, #19101d, #0e0a10);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 250, 1, 0.34);
}

.service-number {
  display: inline-flex;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  margin-bottom: 22px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.service-card p {
  color: #c9c1cc;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-card li {
  color: #f5f5f5;
  font-size: 14px;
  line-height: 1.45;
  padding-left: 18px;
  position: relative;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.mini-list span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(225, 250, 1, 0.22);
  background: rgba(225, 250, 1, 0.06);
  color: #f5f5f5;
  font-size: 14px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.scope-grid div {
  padding: 28px;
  border-radius: 20px;
  background: rgba(245, 245, 245, 0.035);
  border: 1px solid var(--line);
  transition: 0.25s ease;
}

.scope-grid div:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 250, 1, 0.28);
}

.scope-grid h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  margin-bottom: 12px;
}

.scope-grid p {
  color: #c9c1cc;
  line-height: 1.65;
}

/* 12 — FOOTER */

.site-footer {
  padding: 70px 0 24px;
  background: #060507;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 34px;
}

.footer-logo {
  width: 155px;
  margin-bottom: 18px;
}

.site-footer p,
.site-footer span {
  display: block;
  color: #a9a1ad;
  line-height: 1.65;
  margin-bottom: 9px;
}

.site-footer h4 {
  font-size: 13px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 16px;
}

.site-footer a {
  display: block;
  color: #cfc7d3;
  margin-bottom: 9px;
}

.footer-email {
  color: var(--lime) !important;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 22px;
  text-align: center;
}

/* 13 — WHATSAPP */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: #1b1020;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.30);
  z-index: 60;
}

/* 14 — RESPONSIVE */

@media (max-width: 980px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .split,
  .split-layout,
  .grid,
  .footer-grid,
  .mission-vision-grid,
  .values-grid,
  .services-grid,
  .scope-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .brand-logo {
    width: 140px;
  }

  .hero {
    min-height: auto;
    padding: 86px 0;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-stats,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .cta-box {
    display: block;
    padding: 32px;
  }

  .cta-box .btn {
    margin-top: 22px;
    width: 100%;
  }

  .statement-card {
    padding: 32px 26px;
  }

  .statement-card h2 {
    font-size: 28px;
  }
}


/* 15 — PROJECTS / PROYECTOS */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 38px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background:
    radial-gradient(circle at 90% 10%, rgba(225, 250, 1, 0.07), transparent 30%),
    linear-gradient(145deg, #19101d, #0e0a10);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 250, 1, 0.34);
}

.featured-project {
  background:
    radial-gradient(circle at 85% 15%, rgba(225, 250, 1, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(113, 46, 99, 0.72), #0e0a10);
}

.project-tag {
  display: inline-flex;
  color: #1b1020;
  background: var(--lime);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.project-card h3 {
  font-family: var(--font-heading);
  font-size: 25px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.project-card p {
  color: #c9c1cc;
  line-height: 1.65;
  margin-bottom: 22px;
}

.project-client {
  display: block;
  color: #f5f5f5;
  font-size: 13px;
  line-height: 1.5;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: auto;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.clients-grid span {
  display: flex;
  align-items: center;
  min-height: 86px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(245, 245, 245, 0.035);
  border: 1px solid var(--line);
  color: #f5f5f5;
  font-family: var(--font-heading);
  font-size: 18px;
  transition: 0.25s ease;
}

.clients-grid span:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 250, 1, 0.28);
  background: rgba(245, 245, 245, 0.055);
}

@media (max-width: 980px) {
  .projects-grid,
  .clients-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
  }
}


/* 16 — MACHINERY / MAQUINARIA */

.machinery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 38px;
}

.machinery-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  background:
    radial-gradient(circle at 88% 12%, rgba(225, 250, 1, 0.08), transparent 32%),
    linear-gradient(145deg, #19101d, #0e0a10);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.machinery-card:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 250, 1, 0.34);
}

.machinery-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--lime);
  color: #1b1020;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 900;
}

.machinery-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.machinery-card p {
  color: #c9c1cc;
  line-height: 1.65;
}

.equipment-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.equipment-benefits div {
  padding: 28px;
  border-radius: 20px;
  background: rgba(245, 245, 245, 0.035);
  border: 1px solid var(--line);
  transition: 0.25s ease;
}

.equipment-benefits div:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 250, 1, 0.28);
}

.equipment-benefits h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  margin-bottom: 12px;
}

.equipment-benefits p {
  color: #c9c1cc;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .machinery-grid,
  .equipment-benefits {
    grid-template-columns: 1fr;
  }

  .machinery-card {
    min-height: auto;
  }
}


/* 17 — CONTACT / CONTACTO */

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 110px;
}

.contact-info h2,
.contact-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.contact-info > p {
  color: #c9c1cc;
  line-height: 1.75;
  margin-bottom: 34px;
}

.contact-detail {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-detail span {
  display: block;
  color: var(--lime);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-detail p,
.contact-detail a {
  color: #f5f5f5;
  line-height: 1.65;
}

.contact-detail a:hover {
  color: var(--lime);
}

.contact-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(225, 250, 1, 0.09), transparent 32%),
    linear-gradient(145deg, #19101d, #0e0a10);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  color: #f5f5f5;
  font-size: 14px;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  outline: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: #f5f5f5;
  padding: 14px 15px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: 0.25s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 245, 245, 0.45);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(225, 250, 1, 0.55);
  background: rgba(255, 255, 255, 0.075);
}

.form-group select option {
  background: #110c14;
  color: #f5f5f5;
}

.contact-form button {
  width: fit-content;
  cursor: pointer;
}

.hidden-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
  }
}

@media (max-width: 620px) {
  .contact-card {
    padding: 30px 24px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form button {
    width: 100%;
  }
}


/* 18 — TEXT LINKS */

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--lime);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.text-link:hover {
  color: #ffffff;
}

/* 19 — VISUAL IMAGE BLOCKS */

.hero-with-visual {
  min-height: 720px;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 54px;
  align-items: center;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(245, 245, 245, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  background: #151018;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.05);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 7, 11, 0.72), transparent 55%),
    radial-gradient(circle at 85% 15%, rgba(225, 250, 1, 0.22), transparent 32%);
}

.hero-visual-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  max-width: 280px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(8, 7, 11, 0.78);
  border: 1px solid rgba(245, 245, 245, 0.12);
  backdrop-filter: blur(12px);
}

.hero-visual-badge strong {
  display: block;
  color: var(--lime);
  font-family: var(--font-heading);
  font-size: 15px;
  margin-bottom: 6px;
}

.hero-visual-badge span {
  color: #f5f5f5;
  font-size: 14px;
  line-height: 1.45;
}

.visual-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 58px;
  align-items: center;
}

.visual-split.reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.image-panel {
  position: relative;
  min-height: 430px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(245, 245, 245, 0.10);
  background: #151018;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 7, 11, 0.58), transparent 58%),
    radial-gradient(circle at 85% 15%, rgba(113, 46, 99, 0.35), transparent 34%);
}

.image-panel-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(8, 7, 11, 0.76);
  border: 1px solid rgba(245, 245, 245, 0.12);
  backdrop-filter: blur(12px);
}

.image-panel-caption strong {
  display: block;
  color: var(--lime);
  font-family: var(--font-heading);
  font-size: 15px;
  margin-bottom: 6px;
}

.image-panel-caption span {
  display: block;
  color: #f5f5f5;
  line-height: 1.5;
  font-size: 14px;
}

.service-card.has-image {
  padding: 0;
}

.service-card.has-image .service-image {
  height: 190px;
  overflow: hidden;
}

.service-card.has-image .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card.has-image .service-content {
  padding: 28px 30px 32px;
}

.image-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 18px;
  margin-top: 44px;
}

.image-strip img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 22px;
  border: 1px solid rgba(245, 245, 245, 0.10);
  box-shadow: var(--shadow);
}

.image-strip img:nth-child(2) {
  height: 320px;
  margin-top: -30px;
}

@media (max-width: 980px) {
  .hero-grid,
  .visual-split,
  .visual-split.reverse {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual img,
  .image-panel,
  .image-panel img {
    min-height: 360px;
  }

  .image-strip {
    grid-template-columns: 1fr;
  }

  .image-strip img,
  .image-strip img:nth-child(2) {
    height: 260px;
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .hero-visual,
  .hero-visual img,
  .image-panel,
  .image-panel img {
    min-height: 300px;
  }

  .hero-visual-badge,
  .image-panel-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}


/* 20 — PROJECT IMAGE CARDS */

.project-card-image {
  padding: 0;
}

.project-image {
  height: 205px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.05);
}

.project-content {
  padding: 28px 30px 32px;
}


/* 21 — MACHINERY VISUAL ADJUSTMENTS */

.compact-benefits {
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}

.compact-benefits div {
  padding: 22px;
}

.compact-benefits h3 {
  font-size: 19px;
}


/* 22 — CONTACT VISUAL ADJUSTMENTS */

.contact-form-wrapper {
  max-width: 980px;
}

.contact-form-wrapper .section-heading {
  margin-bottom: 34px;
}

.contact-mini-list {
  margin-top: 28px;
}


/* 23 — FINAL RESPONSIVE / OVERRIDES */

@media (max-width: 980px) {
  .hero-grid,
  .visual-split,
  .visual-split.reverse,
  .split,
  .split-layout,
  .grid,
  .footer-grid,
  .mission-vision-grid,
  .values-grid,
  .services-grid,
  .scope-grid,
  .projects-grid,
  .clients-grid,
  .machinery-grid,
  .equipment-benefits,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-with-visual {
    min-height: auto;
    padding: 86px 0;
  }

  .hero-visual,
  .hero-visual img,
  .image-panel,
  .image-panel img {
    min-height: 360px;
  }

  .project-card,
  .machinery-card {
    min-height: auto;
  }

  .contact-info {
    position: static;
  }

  .image-strip {
    grid-template-columns: 1fr;
  }

  .image-strip img,
  .image-strip img:nth-child(2) {
    height: 260px;
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
    padding: 78px 0;
  }

  .page-hero {
    min-height: auto;
    padding: 78px 0;
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 56px);
    letter-spacing: -1.4px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-stats,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .brand-logo {
    width: 140px;
  }

  .main-nav {
    gap: 14px;
  }

  .cta-box {
    display: block;
    padding: 32px;
  }

  .cta-box .btn {
    width: 100%;
    margin-top: 22px;
  }

  .contact-card {
    padding: 30px 24px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form button {
    width: 100%;
  }

  .statement-card {
    padding: 32px 26px;
  }

  .statement-card h2 {
    font-size: 28px;
  }

  .hero-visual,
  .hero-visual img,
  .image-panel,
  .image-panel img {
    min-height: 300px;
  }

  .hero-visual-badge,
  .image-panel-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 980px) {
  .header-actions {
    margin-left: auto;
  }
}

/* 24 — THEME TOGGLE / LIGHT MODE */

.theme-toggle {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 250, 1, 0.38);
}

.theme-icon {
  position: absolute;
  font-size: 20px;
  line-height: 1;
  transition: 0.25s ease;
}

.theme-icon-sun {
  opacity: 0;
  transform: rotate(-60deg) scale(0.6);
}

.theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle.is-light .theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle.is-light .theme-icon-moon {
  opacity: 0;
  transform: rotate(60deg) scale(0.6);
}

/* LIGHT THEME */

html[data-theme="light"] {
  --white: #251024;
  --ink: #f7f7f4;
  --muted: #5f5363;
  --card: #ffffff;
  --line: rgba(37, 16, 36, 0.14);
  --shadow: 0 24px 70px rgba(37, 16, 36, 0.10);
}

html[data-theme="light"] body {
  background: #f7f7f4;
  color: #251024;
}

html[data-theme="light"] .site-header {
  background: rgba(247, 247, 244, 0.86);
  border-bottom: 1px solid rgba(37, 16, 36, 0.12);
}

html[data-theme="light"] .main-nav a,
html[data-theme="light"] .lang-switch a {
  color: #3d3140;
}

html[data-theme="light"] .main-nav a:hover,
html[data-theme="light"] .main-nav a.active {
  color: var(--purple);
}

html[data-theme="light"] .theme-toggle {
  background: #ffffff;
  color: var(--purple);
  border-color: rgba(37, 16, 36, 0.14);
}

html[data-theme="light"] .hero {
  background:
    radial-gradient(circle at 82% 20%, rgba(225, 250, 1, 0.35), transparent 26%),
    radial-gradient(circle at 15% 40%, rgba(113, 46, 99, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff, #f7f7f4 58%, #eee9ef);
}

html[data-theme="light"] .hero::before {
  background-image:
    linear-gradient(rgba(113, 46, 99, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 46, 99, 0.07) 1px, transparent 1px);
}

html[data-theme="light"] .hero::after {
  opacity: 0.18;
}

html[data-theme="light"] .hero p,
html[data-theme="light"] .section p,
html[data-theme="light"] .service-card p,
html[data-theme="light"] .project-card p,
html[data-theme="light"] .machinery-card p,
html[data-theme="light"] .equipment-benefits p,
html[data-theme="light"] .scope-grid p,
html[data-theme="light"] .value-item p,
html[data-theme="light"] .statement-card p,
html[data-theme="light"] .contact-info > p {
  color: #5f5363;
}

html[data-theme="light"] .light {
  background: #ffffff;
}

html[data-theme="light"] .card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .project-card,
html[data-theme="light"] .machinery-card,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .statement-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(225, 250, 1, 0.20), transparent 32%),
    linear-gradient(145deg, #ffffff, #f4f0f5);
  border-color: rgba(37, 16, 36, 0.12);
  box-shadow: var(--shadow);
}

html[data-theme="light"] .feature-band {
  background: linear-gradient(135deg, #712e63, #4b1c42);
  color: #f5f5f5;
}

html[data-theme="light"] .feature-band p {
  color: #eee7ef;
}

html[data-theme="light"] .feature-list div {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="light"] .values-section {
  background:
    radial-gradient(circle at 15% 15%, rgba(113, 46, 99, 0.12), transparent 32%),
    #f7f7f4;
}

html[data-theme="light"] .value-item,
html[data-theme="light"] .scope-grid div,
html[data-theme="light"] .equipment-benefits div,
html[data-theme="light"] .clients-grid span {
  background: #ffffff;
  border-color: rgba(37, 16, 36, 0.12);
  box-shadow: 0 18px 45px rgba(37, 16, 36, 0.06);
}

html[data-theme="light"] .value-item h3,
html[data-theme="light"] .scope-grid h3,
html[data-theme="light"] .equipment-benefits h3,
html[data-theme="light"] .clients-grid span,
html[data-theme="light"] .project-client,
html[data-theme="light"] .contact-detail p,
html[data-theme="light"] .contact-detail a {
  color: #251024;
}

html[data-theme="light"] .hero-stats div {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(37, 16, 36, 0.12);
}

html[data-theme="light"] .hero-stats strong {
  color: var(--purple);
}

html[data-theme="light"] .hero-stats span {
  color: #5f5363;
}

html[data-theme="light"] .mini-list span {
  background: rgba(113, 46, 99, 0.06);
  border-color: rgba(113, 46, 99, 0.16);
  color: #251024;
}

html[data-theme="light"] .secondary-btn {
  background: #ffffff;
  color: var(--purple) !important;
  border-color: rgba(37, 16, 36, 0.14);
}

html[data-theme="light"] .cta,
html[data-theme="light"] .cta-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(225, 250, 1, 0.28), transparent 30%),
    #ffffff;
}

html[data-theme="light"] .cta-box {
  background: linear-gradient(145deg, #ffffff, #f4f0f5);
  border-color: rgba(37, 16, 36, 0.12);
}

html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group select,
html[data-theme="light"] .form-group textarea {
  background: #ffffff;
  color: #251024;
  border-color: rgba(37, 16, 36, 0.14);
}

html[data-theme="light"] .form-group label {
  color: #251024;
}

html[data-theme="light"] .form-group input::placeholder,
html[data-theme="light"] .form-group textarea::placeholder {
  color: rgba(37, 16, 36, 0.45);
}

html[data-theme="light"] .form-group select option {
  background: #ffffff;
  color: #251024;
}

html[data-theme="light"] .site-footer {
  background: #251024;
  color: #f5f5f5;
}

html[data-theme="light"] .site-footer p,
html[data-theme="light"] .site-footer span,
html[data-theme="light"] .site-footer a {
  color: #d9d0dc;
}

html[data-theme="light"] .footer-email {
  color: var(--lime) !important;
}

html[data-theme="light"] .whatsapp-float {
  background: var(--purple);
  color: #f5f5f5;
}


/* LOGMINE — HERO BANNER UNIFICADO */

.hero-banner {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 8, 14, 0.84) 0%, rgba(18, 10, 22, 0.74) 45%, rgba(18, 10, 22, 0.42) 100%),
    url('../img/logmine-hero.webp') center center / cover no-repeat;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(225, 250, 1, 0.10), transparent 28%),
    radial-gradient(circle at 15% 30%, rgba(113, 46, 99, 0.28), transparent 30%);
  pointer-events: none;
}

.hero-banner .hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 110px 0 90px;
}

.hero-banner h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-banner p {
  font-size: 19px;
  line-height: 1.75;
  color: #ddd6e2;
  max-width: 760px;
}

.hero-banner .hero-actions {
  margin-top: 30px;
}

.hero-banner .hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.hero-banner .hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
}

.hero-banner .hero-stats strong {
  display: block;
  font-size: 24px;
  color: #fff;
}

.hero-banner .hero-stats span {
  display: block;
  margin-top: 6px;
  color: #d3ccd7;
  font-size: 13px;
}

html[data-theme="light"] .hero-banner {
  background:
    linear-gradient(90deg, rgba(247, 247, 244, 0.92) 0%, rgba(247, 247, 244, 0.78) 42%, rgba(247, 247, 244, 0.34) 100%),
    url('../img/logmine-hero.webp') center center / cover no-repeat;
}

html[data-theme="light"] .hero-banner p {
  color: #5f5363;
}

html[data-theme="light"] .hero-banner .hero-stats div {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(37, 16, 36, 0.14);
}

html[data-theme="light"] .hero-banner .hero-stats strong {
  color: var(--purple);
}

html[data-theme="light"] .hero-banner .hero-stats span {
  color: #5f5363;
}

@media (max-width: 980px) {
  .hero-banner {
    min-height: auto;
  }

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

@media (max-width: 620px) {
  .hero-banner .hero-content {
    padding: 90px 0 70px;
  }

  .hero-banner p {
    font-size: 17px;
  }

  .hero-banner .hero-stats {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   25 — HERO BANNERS POR PÁGINA / REFINAMIENTO VISUAL FINAL
   Ajustes agregados después de revisión oscuro / claro.
========================================================= */

/* Banners horizontales con imagen de fondo */
.page-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(8, 7, 11, 0.86) 0%, rgba(18, 10, 22, 0.76) 44%, rgba(18, 10, 22, 0.46) 100%),
    var(--page-hero-image, url('../img/logmine-hero.webp')) center center / cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 22%, rgba(225, 250, 1, 0.12), transparent 28%),
    radial-gradient(circle at 14% 35%, rgba(113, 46, 99, 0.34), transparent 32%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 74px 74px, 74px 74px;
  pointer-events: none;
  z-index: 1;
  mask-image: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  right: auto;
  bottom: auto;
  border-radius: 0;
  filter: none;
  opacity: 1;
  background: linear-gradient(to bottom, rgba(8, 7, 11, 0.10), rgba(8, 7, 11, 0.22));
  z-index: 1;
  pointer-events: none;
}

.page-hero .hero-content {
  position: relative;
  z-index: 3;
  padding: 110px 0 90px;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 24px;
  max-width: 860px;
}

.page-hero p {
  font-size: 19px;
  line-height: 1.75;
  color: #eee8f1;
  max-width: 760px;
}

.page-hero-about,
.hero-banner-about {
  --page-hero-image: url('../img/logmine-historia.webp');
}

.page-hero-services,
.hero-banner-services {
  --page-hero-image: url('../img/logmine-servicios.webp');
}

.page-hero-projects,
.hero-banner-projects {
  --page-hero-image: url('../img/logmine-proyectos.webp');
}

.page-hero-machinery,
.hero-banner-machinery {
  --page-hero-image: url('../img/logmine-maquinaria.webp');
}

.page-hero-contact,
.hero-banner-contact {
  --page-hero-image: url('../img/logmine-contacto.webp');
}

/* Home banner: se conserva como banner horizontal */
.hero-banner {
  min-height: 620px;
}

.hero-banner .hero-content {
  max-width: 880px;
}

.hero-banner h1 {
  max-width: 880px;
}

/* =========================================================
   26 — MODO CLARO REFORZADO
========================================================= */

html[data-theme="light"] {
  --white: #241226;
  --ink: #f6f4f7;
  --muted: #4a3f4e;
  --card: #ffffff;
  --line: rgba(37, 16, 36, 0.18);
  --shadow: 0 22px 58px rgba(37, 16, 36, 0.12);
}

html[data-theme="light"] body {
  background: #f6f4f7;
  color: #241226;
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(37, 16, 36, 0.14);
  box-shadow: 0 12px 36px rgba(37, 16, 36, 0.06);
}

html[data-theme="light"] .main-nav a,
html[data-theme="light"] .lang-switch a {
  color: #332837;
}

html[data-theme="light"] .main-nav a:hover,
html[data-theme="light"] .main-nav a.active {
  color: var(--purple);
}

html[data-theme="light"] .main-nav a.active:not(.btn) {
  border-bottom-color: var(--purple);
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .text-link,
html[data-theme="light"] .contact-detail span {
  color: var(--purple);
}

html[data-theme="light"] .text-link:hover {
  color: #4b1c42;
}

html[data-theme="light"] .section p,
html[data-theme="light"] .hero p,
html[data-theme="light"] .hero-banner p,
html[data-theme="light"] .page-hero p,
html[data-theme="light"] .service-card p,
html[data-theme="light"] .project-card p,
html[data-theme="light"] .machinery-card p,
html[data-theme="light"] .equipment-benefits p,
html[data-theme="light"] .scope-grid p,
html[data-theme="light"] .value-item p,
html[data-theme="light"] .statement-card p,
html[data-theme="light"] .contact-info > p {
  color: #413647;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] .section h2,
html[data-theme="light"] .service-card h3,
html[data-theme="light"] .project-card h3,
html[data-theme="light"] .machinery-card h3,
html[data-theme="light"] .equipment-benefits h3,
html[data-theme="light"] .scope-grid h3,
html[data-theme="light"] .value-item h3 {
  color: #241226;
}

/* Hero claro con imagen: menos lavado y más legible */
html[data-theme="light"] .hero-banner {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 247, 251, 0.82) 42%, rgba(250, 247, 251, 0.34) 100%),
    url('../img/logmine-hero.webp') center center / cover no-repeat;
}

html[data-theme="light"] .page-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 247, 251, 0.82) 43%, rgba(250, 247, 251, 0.36) 100%),
    var(--page-hero-image, url('../img/logmine-hero.webp')) center center / cover no-repeat;
}

html[data-theme="light"] .page-hero::before,
html[data-theme="light"] .hero-banner::before {
  background:
    radial-gradient(circle at 86% 20%, rgba(225, 250, 1, 0.22), transparent 26%),
    radial-gradient(circle at 14% 34%, rgba(113, 46, 99, 0.10), transparent 32%),
    linear-gradient(rgba(113, 46, 99, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 46, 99, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 74px 74px, 74px 74px;
}

html[data-theme="light"] .page-hero::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.16));
}

html[data-theme="light"] .page-hero h1,
html[data-theme="light"] .hero-banner h1 {
  color: #241226;
  text-shadow: 0 2px 22px rgba(255, 255, 255, 0.34);
}

html[data-theme="light"] .page-hero p,
html[data-theme="light"] .hero-banner p {
  color: #3f3544;
}

/* Tarjetas claras con más separación y lectura */
html[data-theme="light"] .light {
  background: #ffffff;
}

html[data-theme="light"] .card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .project-card,
html[data-theme="light"] .machinery-card,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .statement-card {
  background:
    radial-gradient(circle at 92% 10%, rgba(225, 250, 1, 0.14), transparent 28%),
    linear-gradient(145deg, #ffffff, #f4eff5);
  border-color: rgba(37, 16, 36, 0.15);
  box-shadow: 0 22px 58px rgba(37, 16, 36, 0.11);
}

html[data-theme="light"] .card:hover,
html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .project-card:hover,
html[data-theme="light"] .machinery-card:hover,
html[data-theme="light"] .scope-grid div:hover,
html[data-theme="light"] .equipment-benefits div:hover,
html[data-theme="light"] .value-item:hover,
html[data-theme="light"] .clients-grid span:hover {
  border-color: rgba(113, 46, 99, 0.28);
  box-shadow: 0 26px 68px rgba(37, 16, 36, 0.14);
}

html[data-theme="light"] .service-card li {
  color: #332837;
}

html[data-theme="light"] .service-card li::before {
  background: var(--purple);
}

html[data-theme="light"] .service-number,
html[data-theme="light"] .card-number {
  color: var(--purple);
}

html[data-theme="light"] .machinery-icon,
html[data-theme="light"] .project-tag {
  background: var(--lime);
  color: #241226;
  box-shadow: 0 10px 26px rgba(225, 250, 1, 0.28);
}

html[data-theme="light"] .project-client {
  color: #332837;
  border-top-color: rgba(37, 16, 36, 0.14);
}

html[data-theme="light"] .value-item,
html[data-theme="light"] .scope-grid div,
html[data-theme="light"] .equipment-benefits div,
html[data-theme="light"] .clients-grid span {
  background: #ffffff;
  border-color: rgba(37, 16, 36, 0.14);
  box-shadow: 0 18px 46px rgba(37, 16, 36, 0.07);
}

html[data-theme="light"] .clients-grid span {
  color: #241226;
}

html[data-theme="light"] .mini-list span {
  background: rgba(113, 46, 99, 0.07);
  border-color: rgba(113, 46, 99, 0.18);
  color: #241226;
}

/* Formulario en claro: más contraste */
html[data-theme="light"] .contact-card {
  background:
    radial-gradient(circle at 92% 8%, rgba(225, 250, 1, 0.16), transparent 30%),
    linear-gradient(145deg, #ffffff, #f5eff6);
}

html[data-theme="light"] .form-group label {
  color: #241226;
}

html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group select,
html[data-theme="light"] .form-group textarea {
  background: rgba(255, 255, 255, 0.92);
  color: #241226;
  border-color: rgba(37, 16, 36, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

html[data-theme="light"] .form-group input:focus,
html[data-theme="light"] .form-group select:focus,
html[data-theme="light"] .form-group textarea:focus {
  border-color: rgba(113, 46, 99, 0.48);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(113, 46, 99, 0.08);
}

html[data-theme="light"] .form-group input::placeholder,
html[data-theme="light"] .form-group textarea::placeholder {
  color: rgba(37, 16, 36, 0.48);
}

/* Bandas moradas: mantener contraste fuerte en ambos modos */
html[data-theme="light"] .feature-band {
  background:
    radial-gradient(circle at 86% 24%, rgba(225, 250, 1, 0.22), transparent 28%),
    linear-gradient(135deg, #712e63, #4b1c42);
  color: #f5f5f5;
}

html[data-theme="light"] .feature-band h2,
html[data-theme="light"] .feature-band h3,
html[data-theme="light"] .feature-band .eyebrow {
  color: #f5f5f5;
}

html[data-theme="light"] .feature-band .eyebrow {
  color: var(--lime);
}

html[data-theme="light"] .feature-band p {
  color: #eee7ef;
}

html[data-theme="light"] .feature-list div {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.18);
}

/* CTA claro */
html[data-theme="light"] .cta,
html[data-theme="light"] .cta-section {
  background:
    radial-gradient(circle at 18% 20%, rgba(225, 250, 1, 0.26), transparent 30%),
    linear-gradient(135deg, #ffffff, #f4eff5);
}

html[data-theme="light"] .cta-box {
  background: linear-gradient(145deg, #ffffff, #f6f1f7);
  border-color: rgba(37, 16, 36, 0.15);
  box-shadow: 0 22px 58px rgba(37, 16, 36, 0.10);
}

html[data-theme="light"] .secondary-btn {
  background: rgba(255, 255, 255, 0.82);
  color: var(--purple) !important;
  border: 1px solid rgba(113, 46, 99, 0.20);
}

html[data-theme="light"] .secondary-btn:hover {
  background: #ffffff;
  border-color: rgba(113, 46, 99, 0.35);
}

/* WhatsApp menos invasivo en modo claro */
html[data-theme="light"] .whatsapp-float {
  background: var(--purple);
  color: #f5f5f5;
  box-shadow: 0 18px 40px rgba(37, 16, 36, 0.22);
}

/* Imágenes: un poco más premium */
.image-panel img,
.hero-visual img,
.project-image img,
.service-image img,
.image-strip img {
  filter: saturate(1.03) contrast(1.04);
}

html[data-theme="light"] .image-panel,
html[data-theme="light"] .hero-visual,
html[data-theme="light"] .image-strip img,
html[data-theme="light"] .project-image,
html[data-theme="light"] .service-image {
  border-color: rgba(37, 16, 36, 0.13);
}

/* Footer claro: conservarlo morado para cierre de marca */
html[data-theme="light"] .site-footer {
  background: #251024;
  color: #f5f5f5;
}

html[data-theme="light"] .site-footer h4 {
  color: #ffffff;
}

html[data-theme="light"] .site-footer p,
html[data-theme="light"] .site-footer span,
html[data-theme="light"] .site-footer a {
  color: #d9d0dc;
}

html[data-theme="light"] .footer-email {
  color: var(--lime) !important;
}

/* Responsive final */
@media (max-width: 980px) {
  .page-hero,
  .hero-banner {
    min-height: auto;
  }

  .page-hero .hero-content,
  .hero-banner .hero-content {
    padding: 92px 0 76px;
  }
}

@media (max-width: 620px) {
  .page-hero .hero-content,
  .hero-banner .hero-content {
    padding: 82px 0 66px;
  }

  .page-hero h1,
  .hero-banner h1 {
    font-size: clamp(38px, 12vw, 54px);
    letter-spacing: -1.2px;
  }

  .page-hero p,
  .hero-banner p {
    font-size: 17px;
  }
}

/* =========================================================
   27 — AJUSTE FINAL DE TAMAÑOS TIPOGRÁFICOS
   Solo reduce escala de títulos y subtítulos.
   No modifica colores, fondos ni estilos del modo claro/oscuro.
========================================================= */

.hero h1 {
  font-size: clamp(40px, 5.5vw, 64px);
}

.hero-banner h1,
.page-hero h1 {
  font-size: clamp(38px, 5.1vw, 62px);
}

.section h2,
.contact-info h2,
.contact-card h2 {
  font-size: clamp(30px, 3.25vw, 42px);
}

.statement-card h2 {
  font-size: 30px;
}

.card h3,
.scope-grid h3,
.equipment-benefits h3,
.value-item h3 {
  font-size: 20px;
}

.service-card h3,
.project-card h3,
.machinery-card h3 {
  font-size: 22px;
}

.feature-list h3 {
  font-size: 17px;
}

.compact-benefits h3 {
  font-size: 18px;
}

.clients-grid span {
  font-size: 16px;
}

@media (max-width: 980px) {
  .hero h1,
  .hero-banner h1,
  .page-hero h1 {
    font-size: clamp(36px, 7vw, 54px);
  }

  .section h2,
  .contact-info h2,
  .contact-card h2 {
    font-size: clamp(28px, 4.8vw, 38px);
  }
}

@media (max-width: 620px) {
  .hero h1,
  .hero-banner h1,
  .page-hero h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .section h2,
  .contact-info h2,
  .contact-card h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .statement-card h2 {
    font-size: 26px;
  }

  .service-card h3,
  .project-card h3,
  .machinery-card h3,
  .card h3,
  .scope-grid h3,
  .equipment-benefits h3,
  .value-item h3 {
    font-size: 19px;
  }
}

/* =========================================================
   28 — HERO OSCURO TAMBIÉN EN MODO CLARO
   Mantiene únicamente los banners hero con el look oscuro.
   Del hero hacia abajo se conserva el modo claro actual.
========================================================= */

html[data-theme="light"] .hero-banner {
  background:
    linear-gradient(90deg, rgba(8, 7, 11, 0.88) 0%, rgba(18, 10, 22, 0.78) 45%, rgba(18, 10, 22, 0.46) 100%),
    url('../img/logmine-hero.webp') center center / cover no-repeat;
}

html[data-theme="light"] .page-hero {
  background:
    linear-gradient(90deg, rgba(8, 7, 11, 0.88) 0%, rgba(18, 10, 22, 0.78) 44%, rgba(18, 10, 22, 0.46) 100%),
    var(--page-hero-image, url('../img/logmine-hero.webp')) center center / cover no-repeat;
}

html[data-theme="light"] .hero-banner::before,
html[data-theme="light"] .page-hero::before {
  background:
    radial-gradient(circle at 84% 22%, rgba(225, 250, 1, 0.12), transparent 28%),
    radial-gradient(circle at 14% 35%, rgba(113, 46, 99, 0.34), transparent 32%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 74px 74px, 74px 74px;
}

html[data-theme="light"] .page-hero::after {
  background: linear-gradient(to bottom, rgba(8, 7, 11, 0.10), rgba(8, 7, 11, 0.22));
}

html[data-theme="light"] .hero-banner h1,
html[data-theme="light"] .page-hero h1 {
  color: #f5f5f5;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.38);
}

html[data-theme="light"] .hero-banner p,
html[data-theme="light"] .page-hero p {
  color: #eee8f1;
}

html[data-theme="light"] .hero-banner .eyebrow,
html[data-theme="light"] .page-hero .eyebrow {
  color: var(--lime);
}

html[data-theme="light"] .hero-banner .hero-stats div,
html[data-theme="light"] .page-hero .hero-stats div {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

html[data-theme="light"] .hero-banner .hero-stats strong,
html[data-theme="light"] .page-hero .hero-stats strong {
  color: #ffffff;
}

html[data-theme="light"] .hero-banner .hero-stats span,
html[data-theme="light"] .page-hero .hero-stats span {
  color: #d3ccd7;
}

html[data-theme="light"] .hero-banner .secondary-btn,
html[data-theme="light"] .page-hero .secondary-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

html[data-theme="light"] .hero-banner .secondary-btn:hover,
html[data-theme="light"] .page-hero .secondary-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(225, 250, 1, 0.30);
}


/* =========================================================
   28 — VIDEOS E IMÁGENES RESCATADAS
   Integración de videos e imágenes reales de LOGMINE.
========================================================= */

.video-section {
  position: relative;
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #09070a;
  border: 1px solid rgba(245, 245, 245, 0.12);
  box-shadow: var(--shadow);
}

.video-card video {
  display: block;
  width: 100%;
  height: 100%;
  background: #09070a;
}

.video-card-wide {
  aspect-ratio: 16 / 9;
}

.video-card-wide video {
  object-fit: cover;
}

.video-card-vertical {
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
}

.video-card-vertical video {
  object-fit: cover;
}

.object-center {
  object-position: center center;
}

.object-left {
  object-position: left center;
}

.object-right {
  object-position: right center;
}

html[data-theme="light"] .video-card {
  border-color: rgba(37, 16, 36, 0.14);
  box-shadow: 0 22px 58px rgba(37, 16, 36, 0.12);
}

@media (max-width: 980px) {
  .video-card-vertical {
    max-width: 360px;
  }
}

@media (max-width: 620px) {
  .video-card {
    border-radius: 22px;
  }

  .video-card-vertical {
    max-width: 300px;
  }
}


/* =========================================================
   29 — ELEMENTOS GEOMÉTRICOS LOGMINE / TARJETAS VISUALES
   Uso decorativo de iconos de marca y equilibrio de tarjetas con imagen.
========================================================= */

.section,
.feature-band,
.cta-section,
.values-section {
  position: relative;
  overflow: hidden;
}

/* Figuras geométricas de marca como acento sutil */
.feature-band::after,
.cta-box::after,
.values-section::after,
.section-heading::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: url('../img/icon-geo-1.png') center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.feature-band::after {
  right: 6%;
  bottom: 24px;
  transform: rotate(-10deg);
  opacity: 0.10;
}

.cta-box {
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  right: -28px;
  top: -34px;
  width: 190px;
  height: 190px;
  background-image: url('../img/icon-geo-2.png');
  opacity: 0.09;
}

.values-section::after {
  left: -44px;
  bottom: 70px;
  width: 210px;
  height: 210px;
  background-image: url('../img/icon-geo-2.png');
  opacity: 0.055;
  transform: rotate(14deg);
}

.section-heading {
  position: relative;
}

.section-heading::after {
  right: -86px;
  top: -46px;
  width: 120px;
  height: 120px;
  opacity: 0.045;
}

.section > .container,
.feature-band .container,
.cta-box > * {
  position: relative;
  z-index: 2;
}

/* Las tarjetas con imagen mantienen proporción pareja en servicios/proyectos */
.service-card.has-image,
.project-card.project-card-image {
  display: flex;
  flex-direction: column;
}

.service-card.has-image .service-content,
.project-card.project-card-image .project-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card.has-image .text-link,
.project-card.project-card-image .project-client {
  margin-top: auto;
}

.service-image img,
.project-image img {
  object-fit: cover;
}

html[data-theme="light"] .feature-band::after,
html[data-theme="light"] .cta-box::after,
html[data-theme="light"] .values-section::after,
html[data-theme="light"] .section-heading::after {
  opacity: 0.085;
}

@media (max-width: 980px) {
  .feature-band::after,
  .cta-box::after,
  .values-section::after,
  .section-heading::after {
    width: 110px;
    height: 110px;
    opacity: 0.045;
  }
}

@media (max-width: 620px) {
  .section-heading::after,
  .values-section::after {
    display: none;
  }
}


/* =========================================================
   30 — FORMULARIO SIN SALIR DE LA PÁGINA
   Mensaje de confirmación dentro de contacto.php.
========================================================= */

.contact-submit-frame {
  display: none;
  width: 0;
  height: 0;
  border: 0;
}

.form-response {
  display: none;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.55;
}

.form-response.is-loading,
.form-response.is-success,
.form-response.is-error {
  display: block;
}

.form-response.is-loading {
  color: #f5f5f5;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.form-response.is-success {
  color: #f5f5f5;
  background: linear-gradient(135deg, rgba(113, 46, 99, 0.45), rgba(8, 7, 11, 0.86));
  border: 1px solid rgba(225, 250, 1, 0.30);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.form-response.is-success strong {
  color: var(--lime);
}

.form-response.is-error {
  color: #f5f5f5;
  background: rgba(130, 20, 38, 0.34);
  border: 1px solid rgba(255, 160, 175, 0.32);
}

.contact-form button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

html[data-theme="light"] .form-response.is-loading {
  color: #241226;
  background: rgba(113, 46, 99, 0.06);
  border-color: rgba(113, 46, 99, 0.15);
}

html[data-theme="light"] .form-response.is-success {
  color: #241226;
  background: linear-gradient(135deg, rgba(225, 250, 1, 0.26), #ffffff);
  border-color: rgba(113, 46, 99, 0.18);
  box-shadow: 0 18px 44px rgba(37, 16, 36, 0.10);
}

html[data-theme="light"] .form-response.is-success strong {
  color: var(--purple);
}


/* 40 — CONTACT MAP PANEL */
.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  display: block;
  filter: saturate(0.96) contrast(1.02);
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(225, 250, 1, 0.18);
  border: 1px solid rgba(225, 250, 1, 0.32);
  color: #f5f5f5 !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
  transition: 0.25s ease;
}

.map-link:hover {
  transform: translateY(-2px);
  background: rgba(225, 250, 1, 0.28);
}

html[data-theme="light"] .map-panel {
  border-color: rgba(37, 16, 36, 0.13);
}

html[data-theme="light"] .map-link {
  background: rgba(113, 46, 99, 0.10);
  border-color: rgba(113, 46, 99, 0.22);
  color: #ffffff !important;
}

html[data-theme="light"] .map-link:hover {
  background: rgba(113, 46, 99, 0.18);
}

/* 41 — WHATSAPP PILL BUTTON */
.whatsapp-float {
  right: 22px;
  bottom: 22px;
  width: auto;
  min-width: 174px;
  height: 58px;
  padding: 0 24px 0 20px;
  border-radius: 999px;
  gap: 10px;
  justify-content: flex-start;
  background: var(--lime);
  color: #251024;
  border: 1px solid rgba(37, 16, 36, 0.12);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.26);
  font-size: 0;
  overflow: hidden;
}

.whatsapp-float::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23251024' d='M27.3 4.7A15.1 15.1 0 0 0 16.6 0C7.7 0 .5 7.2.5 16.1c0 2.8.7 5.5 2.1 8L0 32l8.2-2.5a15.9 15.9 0 0 0 7.6 1.9h.1c8.9 0 16.1-7.2 16.1-16.1 0-4.3-1.7-8.4-4.7-11.6ZM16 28.6h-.1a12.8 12.8 0 0 1-6.5-1.8l-.5-.3-4.9 1.4 1.5-4.8-.3-.5A12.7 12.7 0 0 1 3.3 16C3.3 8.9 9 3.2 16.1 3.2c3.4 0 6.6 1.3 9 3.7a12.6 12.6 0 0 1 3.7 9 12.8 12.8 0 0 1-12.8 12.7Zm7-9.5c-.4-.2-2.3-1.1-2.7-1.2-.4-.2-.7-.2-1 .2-.3.4-1.1 1.2-1.3 1.4-.2.3-.5.3-.9.1-.4-.2-1.7-.6-3.2-2-1.2-1-2-2.3-2.2-2.7-.2-.4 0-.6.2-.8.2-.2.4-.5.6-.7.2-.2.3-.4.5-.7.2-.3.1-.6 0-.8-.1-.2-1-2.5-1.4-3.4-.3-.8-.7-.7-1-.7h-.8c-.3 0-.8.1-1.2.6-.4.4-1.6 1.5-1.6 3.7 0 2.2 1.6 4.3 1.9 4.6.2.3 3.2 4.8 7.8 6.8 1.1.5 1.9.8 2.6 1 .9.3 1.8.2 2.4.1.7-.1 2.3-.9 2.6-1.8.3-.9.3-1.7.2-1.8-.1-.1-.4-.2-.8-.4Z'/%3E%3C/svg%3E");
}

.whatsapp-float::after {
  content: "WhatsApp";
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: inherit;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

html[data-theme="light"] .whatsapp-float {
  background: var(--purple);
  color: var(--lime);
  border-color: rgba(225, 250, 1, 0.18);
  box-shadow: 0 20px 44px rgba(37, 16, 36, 0.22);
}

html[data-theme="light"] .whatsapp-float::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23e1fa01' d='M27.3 4.7A15.1 15.1 0 0 0 16.6 0C7.7 0 .5 7.2.5 16.1c0 2.8.7 5.5 2.1 8L0 32l8.2-2.5a15.9 15.9 0 0 0 7.6 1.9h.1c8.9 0 16.1-7.2 16.1-16.1 0-4.3-1.7-8.4-4.7-11.6ZM16 28.6h-.1a12.8 12.8 0 0 1-6.5-1.8l-.5-.3-4.9 1.4 1.5-4.8-.3-.5A12.7 12.7 0 0 1 3.3 16C3.3 8.9 9 3.2 16.1 3.2c3.4 0 6.6 1.3 9 3.7a12.6 12.6 0 0 1 3.7 9 12.8 12.8 0 0 1-12.8 12.7Zm7-9.5c-.4-.2-2.3-1.1-2.7-1.2-.4-.2-.7-.2-1 .2-.3.4-1.1 1.2-1.3 1.4-.2.3-.5.3-.9.1-.4-.2-1.7-.6-3.2-2-1.2-1-2-2.3-2.2-2.7-.2-.4 0-.6.2-.8.2-.2.4-.5.6-.7.2-.2.3-.4.5-.7.2-.3.1-.6 0-.8-.1-.2-1-2.5-1.4-3.4-.3-.8-.7-.7-1-.7h-.8c-.3 0-.8.1-1.2.6-.4.4-1.6 1.5-1.6 3.7 0 2.2 1.6 4.3 1.9 4.6.2.3 3.2 4.8 7.8 6.8 1.1.5 1.9.8 2.6 1 .9.3 1.8.2 2.4.1.7-.1 2.3-.9 2.6-1.8.3-.9.3-1.7.2-1.8-.1-.1-.4-.2-.8-.4Z'/%3E%3C/svg%3E");
}

@media (max-width: 620px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-width: 156px;
    height: 52px;
    padding: 0 18px 0 16px;
  }

  .whatsapp-float::after {
    font-size: 15px;
  }
}


/* 42 — WHATSAPP FINAL: GREEN LIME + WHITE TEXT IN ALL THEMES */
.whatsapp-float,
html[data-theme="light"] .whatsapp-float {
  background: var(--lime) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.20) !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24) !important;
}

.whatsapp-float::before,
html[data-theme="light"] .whatsapp-float::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23ffffff' d='M27.3 4.7A15.1 15.1 0 0 0 16.6 0C7.7 0 .5 7.2.5 16.1c0 2.8.7 5.5 2.1 8L0 32l8.2-2.5a15.9 15.9 0 0 0 7.6 1.9h.1c8.9 0 16.1-7.2 16.1-16.1 0-4.3-1.7-8.4-4.7-11.6ZM16 28.6h-.1a12.8 12.8 0 0 1-6.5-1.8l-.5-.3-4.9 1.4 1.5-4.8-.3-.5A12.7 12.7 0 0 1 3.3 16C3.3 8.9 9 3.2 16.1 3.2c3.4 0 6.6 1.3 9 3.7a12.6 12.6 0 0 1 3.7 9 12.8 12.8 0 0 1-12.8 12.7Zm7-9.5c-.4-.2-2.3-1.1-2.7-1.2-.4-.2-.7-.2-1 .2-.3.4-1.1 1.2-1.3 1.4-.2.3-.5.3-.9.1-.4-.2-1.7-.6-3.2-2-1.2-1-2-2.3-2.2-2.7-.2-.4 0-.6.2-.8.2-.2.4-.5.6-.7.2-.2.3-.4.5-.7.2-.3.1-.6 0-.8-.1-.2-1-2.5-1.4-3.4-.3-.8-.7-.7-1-.7h-.8c-.3 0-.8.1-1.2.6-.4.4-1.6 1.5-1.6 3.7 0 2.2 1.6 4.3 1.9 4.6.2.3 3.2 4.8 7.8 6.8 1.1.5 1.9.8 2.6 1 .9.3 1.8.2 2.4.1.7-.1 2.3-.9 2.6-1.8.3-.9.3-1.7.2-1.8-.1-.1-.4-.2-.8-.4Z'/%3E%3C/svg%3E") !important;
}


/* =========================================================
   43 — WHATSAPP FINAL: VERDE LIMA + TEXTO/ICONO NEGRO
   Se mantiene igual en modo claro y oscuro.
========================================================= */
.whatsapp-float,
html[data-theme="light"] .whatsapp-float {
  background: var(--lime) !important;
  color: #251024 !important;
  border-color: rgba(37, 16, 36, 0.12) !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24) !important;
}

.whatsapp-float::before,
html[data-theme="light"] .whatsapp-float::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23251024' d='M27.3 4.7A15.1 15.1 0 0 0 16.6 0C7.7 0 .5 7.2.5 16.1c0 2.8.7 5.5 2.1 8L0 32l8.2-2.5a15.9 15.9 0 0 0 7.6 1.9h.1c8.9 0 16.1-7.2 16.1-16.1 0-4.3-1.7-8.4-4.7-11.6ZM16 28.6h-.1a12.8 12.8 0 0 1-6.5-1.8l-.5-.3-4.9 1.4 1.5-4.8-.3-.5A12.7 12.7 0 0 1 3.3 16C3.3 8.9 9 3.2 16.1 3.2c3.4 0 6.6 1.3 9 3.7a12.6 12.6 0 0 1 3.7 9 12.8 12.8 0 0 1-12.8 12.7Zm7-9.5c-.4-.2-2.3-1.1-2.7-1.2-.4-.2-.7-.2-1 .2-.3.4-1.1 1.2-1.3 1.4-.2.3-.5.3-.9.1-.4-.2-1.7-.6-3.2-2-1.2-1-2-2.3-2.2-2.7-.2-.4 0-.6.2-.8.2-.2.4-.5.6-.7.2-.2.3-.4.5-.7.2-.3.1-.6 0-.8-.1-.2-1-2.5-1.4-3.4-.3-.8-.7-.7-1-.7h-.8c-.3 0-.8.1-1.2.6-.4.4-1.6 1.5-1.6 3.7 0 2.2 1.6 4.3 1.9 4.6.2.3 3.2 4.8 7.8 6.8 1.1.5 1.9.8 2.6 1 .9.3 1.8.2 2.4.1.7-.1 2.3-.9 2.6-1.8.3-.9.3-1.7.2-1.8-.1-.1-.4-.2-.8-.4Z'/%3E%3C/svg%3E") !important;
}


/* =========================================================
   50 — CLIENT LOGO CAROUSEL / MOBILE FINAL REFINEMENTS
========================================================= */
.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--lime);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header-actions { display:flex; align-items:center; gap:10px; }
.compact-center { max-width: 820px; text-align: center; margin: 0 auto 30px; }
.client-logo-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.035);
  padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.client-logo-track {
  display: flex;
  width: max-content;
  gap: 22px;
  align-items: center;
  animation: clientScroll 32s linear infinite;
}
.client-logo-marquee:hover .client-logo-track { animation-play-state: paused; }
.client-logo-item {
  width: 190px;
  height: 84px;
  flex: 0 0 190px;
  padding: 12px 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245,245,245,.96);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 16px 36px rgba(0,0,0,.14);
}
.client-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@keyframes clientScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.footer-legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 12px;
}
.footer-legal-links a {
  display: inline-flex;
  margin: 0;
  font-size: 13px;
  color: #d9d0dc;
}
.legal-content {
  max-width: 920px;
}
.legal-content p {
  margin-bottom: 18px;
}
html[data-theme="light"] .client-logo-marquee {
  background: rgba(113,46,99,.045);
  border-color: rgba(37,16,36,.12);
}
@media (max-width: 980px) {
  .site-header .nav-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 10px;
    padding: 9px 0;
  }
  .brand-logo {
    width: 132px;
    max-height: 44px;
    transform: none;
  }
  .mobile-menu-toggle { display: inline-flex; justify-self: end; }
  .main-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(8, 7, 11, 0.96);
    box-shadow: 0 20px 50px rgba(0,0,0,.26);
  }
  .nav-open .main-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.06);
    font-size: 12px;
    text-align: center;
  }
  .main-nav a.active:not(.btn) { border-bottom: 0; padding-bottom: 10px; background: rgba(225,250,1,.10); color: #fff; }
  .main-nav .btn { min-height: 42px; padding: 10px 12px; }
  .header-actions { justify-self: end; gap: 7px; }
  .lang-switch a { padding: 6px 7px; font-size: 11px; }
  .theme-toggle { width: 38px; height: 38px; }
  .hero, .hero-banner, .page-hero { min-height: auto; }
  .hero-content, .page-hero .hero-content, .hero-banner .hero-content { padding: 74px 0 54px; }
  .section { padding: 54px 0; }
  .services-grid, .projects-grid, .machinery-grid, .values-grid, .feature-list, .scope-grid, .equipment-benefits { gap: 14px; }
  .service-card, .project-card, .machinery-card, .card, .value-item, .scope-grid div { padding: 20px; border-radius: 18px; min-height: auto; }
  .image-panel { border-radius: 18px; }
  .visual-split { gap: 26px; }
}
@media (max-width: 620px) {
  .container { width: 90%; }
  .site-header .nav-wrap { grid-template-columns: auto 1fr auto auto; }
  .brand-logo { width: 116px; }
  .hero h1, .hero-banner h1, .page-hero h1 { font-size: clamp(29px, 8.8vw, 38px); letter-spacing: -.7px; }
  .section h2, .contact-info h2, .contact-card h2 { font-size: clamp(24px, 7.2vw, 31px); }
  .section p { font-size: 15px; line-height: 1.58; }
  .hero p, .page-hero p, .hero-banner p { font-size: 15.5px; line-height: 1.55; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; max-width: 300px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero-stats div { padding: 14px 10px; min-height: auto; }
  .hero-stats strong { font-size: 26px; }
  .hero-stats span { font-size: 12px; line-height: 1.25; }
  .services-grid, .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service-card, .project-card { padding: 0; border-radius: 16px; overflow: hidden; }
  .service-content, .project-content { padding: 14px; }
  .service-image, .project-image { height: 118px; }
  .service-card h3, .project-card h3 { font-size: 16px; line-height: 1.12; }
  .service-card p, .project-card p { font-size: 13px; line-height: 1.42; margin-bottom: 12px; }
  .project-tag { font-size: 9px; padding: 5px 8px; margin-bottom: 10px; }
  .project-client { font-size: 11px; padding-top: 10px; }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .feature-list div { padding: 15px; border-radius: 15px; }
  .feature-list h3 { font-size: 15px; }
  .feature-list p { font-size: 13px; line-height: 1.4; }
  .client-logo-marquee { border-radius: 18px; padding: 14px 0; }
  .client-logo-track { gap: 12px; animation-duration: 24s; }
  .client-logo-item { width: 148px; height: 66px; flex-basis: 148px; padding: 8px 12px; border-radius: 14px; }
  .cta-box { padding: 24px 20px; }
  .footer-grid { gap: 22px; }
  .site-footer { padding-top: 44px; }
  .whatsapp-float { min-width: 52px !important; width: 52px !important; padding: 0 !important; justify-content: center !important; }
  .whatsapp-float::after { display: none; }
}
