@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #102326;
  --ink2: #17373a;
  --teal: #167b78;
  --orange: #e88b2b;
  --cream: #f4f1ea;
  --muted: #69797a;
  --line: #d9dfdc;
  --white: #fff
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6
}

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

.wrap {
  width: 90%;
  max-width: none;
  margin-inline: auto
}

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  color: #fff
}

.nav {
  height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 2rem
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.brand b {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .5);
  display: grid;
  place-items: center;
  font-size: 14px
}

.brand strong,
.brand small {
  display: block
}

.brand strong {
  font-size: .9375rem;
  letter-spacing: 1.6px
}

.brand small {
  font-size: .5rem;
  letter-spacing: 1px;
  opacity: .72
}

.nav nav {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-self: end;
  font-size: .75rem;
  font-weight: 800
}

.nav nav a {
  opacity: .9
}

.nav nav a:hover {
  opacity: 1
}

.nav nav a.active {
  opacity: 1;
  color: var(--orange);
  font-weight: 800
}

.nav .cta {
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, .5)
}

.hamb {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.5rem
}

.hero,
.page-hero {
  position: relative;
  color: #fff;
  background: linear-gradient(120deg, #102326, #174347 58%, #0f625f);
  overflow: hidden
}

.hero {
  min-height: 720px;
  display: flex;
  align-items: center
}

.hero:after,
.page-hero:after {
  content: "";
  position: absolute;
  right: -15%;
  bottom: -55%;
  width: 680px;
  height: 680px;
  border: 100px solid rgba(232, 139, 43, .11);
  border-radius: 50%
}

.hero-in,
.page-hero .wrap {
  position: relative;
  z-index: 2
}

.hero-in {
  padding-top: 75px
}

.eyebrow,
.kicker {
  font-size: .625rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--orange)
}

h1 {
  font-size: clamp(50px, 7vw, 88px);
  line-height: .98;
  letter-spacing: -4px;
  margin: 18px 0 24px
}

.hero h1 em {
  font-style: normal;
  color: #8dd1cc
}

.hero p,
.page-hero p {
  max-width: 610px;
  font-size: 1.125rem;
  color: #d7e4e3
}

.actions {
  display: flex;
  gap: 13px;
  margin-top: 34px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-size: .75rem;
  font-weight: 800;
  border: 1px solid transparent
}

.orange {
  background: var(--orange);
  color: var(--ink)
}

.outline {
  border-color: rgba(255, 255, 255, .4);
  color: #fff
}

.dark {
  background: var(--ink);
  color: #fff
}

.light {
  background: #fff;
  color: var(--ink)
}

.strip {
  background: var(--teal);
  color: #fff
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr)
}

.stats div {
  padding: 25px 28px;
  border-right: 1px solid rgba(255, 255, 255, .18)
}

.stats div:last-child {
  border: 0
}

.stats b {
  color: var(--orange);
  font-size: .625rem
}

.stats span {
  display: block;
  font-size: .8125rem;
  font-weight: 700;
  margin-top: 2px
}

.section {
  padding: 105px 0
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px
}

.section h2,
.wide-title {
  font-size: clamp(37px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -2.7px;
  margin: 14px 0
}

.lead,
.prose p {
  color: var(--muted);
  font-size: 1rem
}

.textlink {
  display: inline-block;
  margin-top: 20px;
  color: var(--teal);
  font-weight: 800;
  font-size: .75rem
}

.dark-section {
  background: var(--ink);
  color: #fff;
  padding: 100px 0
}

.dark-section h2 {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -3px;
  line-height: 1;
  margin: 14px 0 48px
}

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

.cards article {
  background: #fff;
  color: var(--ink);
  padding: 34px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
}

.cards .dark-card {
  background: #194346;
  color: #fff
}

.cards small {
  color: var(--orange);
  font-weight: 800
}

.cards h3 {
  font-size: 1.5625rem;
  line-height: 1.1;
  margin: 48px 0 14px
}

.cards p {
  color: var(--muted);
  font-size: .8125rem
}

.dark-card p {
  color: #b9cecd
}

.cards a {
  margin-top: auto;
  color: var(--teal);
  font-size: .75rem;
  font-weight: 800
}

.dark-card a {
  color: #8dd1cc
}

.material-preview {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px
}

.muted {
  color: var(--muted);
  max-width: 520px
}

.contact-band {
  background: var(--orange);
  color: var(--ink);
  padding: 58px 0
}

.band-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px
}

.band-in span {
  font-size: .625rem;
  font-weight: 800;
  letter-spacing: 2px
}

.band-in h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -2px;
  margin: 8px 0 0
}

.page-hero {
  min-height: 570px;
  display: flex;
  align-items: end;
  padding-bottom: 85px
}

.page-hero h1 {
  max-width: 850px
}

.values {
  background: var(--cream);
  padding: 100px 0
}

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

.value-grid div {
  background: #fff;
  padding: 32px;
  min-height: 250px
}

.value-grid b,
.material-grid b,
.service-list>article>span {
  color: var(--orange);
  font-size: .6875rem
}

.value-grid h3 {
  font-size: 1.5rem;
  margin-top: 55px
}

.value-grid p,
.material-grid p {
  color: var(--muted);
  font-size: .8125rem
}

.service-list {
  margin-top: 50px;
  border-top: 1px solid var(--line)
}

.service-list article {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line)
}

.service-list h3 {
  font-size: 1.75rem;
  margin: 0 0 7px
}

.service-list p {
  color: var(--muted);
  margin: 0;
  max-width: 650px
}

.service-call {
  max-width: 850px
}

.service-call h2 {
  max-width: 800px
}

.service-call .btn {
  margin-top: 15px
}

.material-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 45px
}

.material-grid article {
  background: var(--cream);
  padding: 35px;
  min-height: 220px;
  border-radius: 8px;
  width: 60%;
}

.row {
  display: flex;
  flex-direction: row;
  align-content: space-between;
}

.row img {
  width: 30%;
  border-radius: 8px;
  margin: 0 auto;
}

.material-grid h3 {
  font-size: 1.625rem;
  margin: 40px 0 8px
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px
}

.contact-data {
  display: grid;
  gap: 24px;
  margin-top: 50px
}

.contact-data small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-size: .5625rem
}

.contact-data a,
.contact-data strong {
  font-size: 1.25rem
}

.form {
  background: var(--cream);
  padding: 36px;
  display: grid;
  gap: 18px
}

.form label {
  font-size: .6875rem;
  font-weight: 800
}

.form input,
.form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #c8d0cd;
  background: transparent;
  padding: 12px 0;
  font: inherit;
  outline: none
}

.form input:focus,
.form textarea:focus {
  border-color: var(--teal)
}

.notice {
  color: var(--muted);
  font-size: .5625rem
}

.foot {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px
}

.foot strong {
  display: block;
  color: #fff;
  font-size: .75rem;
  margin-bottom: 12px
}

.foot a,
.foot span {
  display: block;
  color: #8ea1a1;
  font-size: .75rem;
  margin: 6px 0
}

.foot .brand {
  margin-bottom: 14px
}

.copy {
  border-top: 1px solid #263739;
  margin-top: 55px;
  padding: 18px 0 25px;
  color: #718383;
  font-size: .625rem
}

footer {
  background: #0b191b;
  color: #dce5e4;
  padding: 60px 0 0
}

.services-intro {
  padding-bottom: 70px
}

.service-feature {
  background: var(--cream)
}

.service-feature-alt {
  background: #fff;
}

.service-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 75px;
  align-items: center
}

.service-feature-grid {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr)
}

.service-feature-copy {
  max-width: 560px;
  margin: 0 auto;
}

.service-feature-copy h2 {
  font-size: clamp(38px, 4.7vw, 62px);
  line-height: 1.02;
  letter-spacing: -2.8px;
  margin: 14px 0 18px
}

.service-feature-copy p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 470px;
  margin: 0 0 28px
}

.service-photo {
  width: 70%;
  height: 70%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 430px;
  background: var(--ink);
  box-shadow: 0 1.2rem 3rem rgba(16, 35, 38, .14);
  margin: 5% auto;
}

.photo-sm {
  height: 40%;
}

.no-pad {
  margin: 0 auto !important;
}

.service-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform .55s ease
}

.service-photo:hover img {
  transform: scale(1.035)
}

.photo-label {
  position: absolute;
  left: 22px;
  bottom: 20px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(16, 35, 38, .88);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase
}

.machinery-section {
  padding-top: 105px;
  padding-bottom: 110px
}

.machinery-heading .kicker {
  grid-column: 1/-1
}

.machinery-heading {
  display: block;
  margin-bottom: 45px;
  margin-left: 7%;
  margin-right: 7%;
}

.machinery-heading .lead {
  max-width: 520px;
}

.machinery-heading h2 {
  margin: 14px 0;
}

.machinery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  gap: 1rem;
}

.machinery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  min-height: 575px;
  margin: 0 auto;
}

.machinery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  transition: transform .55s ease
}

.machinery-grid figure:hover img {
  transform: scale(1.035)
}

.machinery-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 55px 25px 22px;
  color: #fff;
  background: linear-gradient(transparent, rgba(16, 35, 38, .9));
  display: flex;
  flex-direction: column;
  gap: 2px
}

.machinery-grid figcaption strong {
  font-size: 1.35rem;
  line-height: 1.1
}

.machinery-grid figcaption span {
  font-size: .65rem;
  color: #c7d7d5;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 800
}

/* Bloques de servicios */
.service-feature-copy {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.service-feature-copy p {
  margin-left: auto;
  margin-right: auto;
}

.service-feature-copy .btn {
  margin-left: auto;
  margin-right: auto;
}

/* Maquinaria */
.machinery-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 45px;
}

.machinery-heading .kicker {
  margin-bottom: 8px;
}

.machinery-heading h2 {
  margin: 0 0 15px;
}

.machinery-heading .lead {
  margin: 0 auto;
  max-width: 520px;
}

/* Imágenes de maquinaria */
.machinery-grid figure {
  margin-left: auto;
  margin-right: auto;
}


@media(max-width:800px) {
  .wrap {
    width: min(100% - 32px, 1180px)
  }

  .material-grid article {
    background: var(--cream);
    padding: 35px;
    min-height: 220px;
    border-radius: 8px;
    margin-bottom: 1rem;
    width: 100%;
  }

  .nav {
    height: 92px
  }

  .nav nav {
    display: none
  }

  .hamb {
    display: block
  }

  .hero {
    min-height: 650px
  }

  .hero-in {
    padding-top: 70px
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -2.5px
  }

  .stats,
  .split,
  .cards,
  .value-grid,
  .material-grid,
  .contact-layout,
  .foot {
    grid-template-columns: 1fr
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18)
  }

  .section {
    padding: 75px 0
  }

  .page-hero {
    min-height: 560px;
    padding-bottom: 65px
  }

  /* 
  .contact-title{
    text-align: center;
  } */

  .material-preview,
  .band-in {
    display: block
  }

  .band-in .btn,
  .material-preview .btn {
    margin-top: 24px
  }

  .dark-section {
    padding: 75px 0
  }

  .cards {
    gap: 14px
  }

  .service-list article {
    grid-template-columns: 45px 1fr
  }

  .service-list h3 {
    font-size: 1.375rem
  }

  .contact-layout {
    gap: 50px
  }

  .form {
    padding: 25px
  }

  .copy {
    margin-top: 35px
  }

  .service-feature {
    padding: 75px 0
  }

  .service-feature-grid,
  .service-feature-alt .service-feature-grid {
    grid-template-columns: 1fr;
    gap: 35px
  }

  .service-feature-alt .service-feature-copy {
    order: 1
  }

  .service-feature-alt .service-photo {
    order: 2
  }

  .service-feature-copy {
    max-width: none;
    text-align: center
  }

  .service-feature-copy p {
    margin-left: auto;
    margin-right: auto
  }

  .service-feature-copy .btn {
    margin-left: auto;
    margin-right: auto
  }

  .service-photo,
  .service-photo img {
    min-height: 300px;
    height: 300px
  }

  .machinery-heading {
    display: block;
    text-align: center;
    margin-bottom: 30px
  }

  .machinery-heading h2 {
    margin: 12px 0 15px
  }

  .machinery-heading .lead {
    margin-left: auto;
    margin-right: auto
  }

  .machinery-grid {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .machinery-grid figure,
  .machinery-grid img {
    min-height: 300px;
    height: 300px
  }
}

/* V2: fluid typography, 5% side margins and interactive hover states */
html {
  font-size: clamp(14px, 1.05vw, 18px)
}

.btn,
.nav nav a,
.textlink,
.cards a {
  transition: transform .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 .55rem 1.4rem rgba(0, 0, 0, .16)
}

.orange:hover {
  background: #f3a04b;
  color: #102326
}

.outline:hover {
  background: #fff;
  color: #102326;
  border-color: #fff
}

.light:hover {
  background: #102326;
  color: #fff
}

.nav nav a:hover {
  transform: translateY(-2px)
}

.nav .cta:hover {
  background: #fff;
  color: #102326;
  border-color: #fff
}

.cards article {
  transition: transform .25s ease, box-shadow .25s ease
}

.cards article:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .12)
}

.value-grid div,
.material-grid article {
  transition: transform .25s ease, box-shadow .25s ease
}

.value-grid div:hover,
.material-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 .8rem 2rem rgba(0, 0, 0, .1)
}

.textlink:hover,
.cards a:hover {
  letter-spacing: .02rem
}

.form input:focus,
.form textarea:focus {
  box-shadow: 0 .15rem 0 var(--teal)
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px
}

@media(max-width:800px) {
  .wrap {
    width: 90%
  }
}


/* Brand logo */
.header-logo {
  display: block;
  width: clamp(220px, 19vw, 285px);
  height: auto;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  filter: drop-shadow(0 .45rem .9rem rgba(0, 0, 0, .18))
}

.footer-logo {
  display: block;
  width: clamp(190px, 18vw, 245px);
  height: auto;
  background: #fff;
  border-radius: .55rem;
  padding: .45rem .7rem
}

.nav .brand {
  flex-shrink: 0;
  justify-self: start;
  display: flex;
  align-items: center
}

.nav .brand:hover {
  transform: none
}

.nav .brand:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px
}

.contact-layout-map {
  align-items: start
}

.contact-cards {
  gap: 18px
}

.contact-item {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 15px;
  align-items: start
}

.contact-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  color: var(--teal);
  flex-shrink: 0
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.contact-item small {
  margin-bottom: 3px
}

.contact-item a,
.contact-item strong {
  display: block
}

.contact-item a {
  font-size: 1.15rem;
  color: var(--teal);
  font-weight: 800
}

.contact-item strong {
  font-size: 1rem;
  line-height: 1.5
}

.contact-note {
  display: block;
  color: var(--muted);
  font-size: .75rem;
  margin-top: 5px
}

.map-wrap {
  min-width: 0
}

.map-head h3 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 12px 0 24px
}

.map-frame {
  width: 100%;
  height: 480px;
  background: var(--cream);
  overflow: hidden;
  border-radius: .4rem;
  box-shadow: 0 1rem 2.5rem rgba(16, 35, 38, .12)
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0
}

.map-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--teal);
  font-size: .75rem;
  font-weight: 800
}

.map-link:hover {
  letter-spacing: .02rem
}

@media(max-width:800px) {
  .header-logo {
    width: 185px
  }

  .footer-logo {
    width: 205px
  }

  .map-frame {
    height: 360px
  }

  .contact-item {
    grid-template-columns: 2.4rem 1fr
  }

  .contact-icon {
    width: 2.4rem;
    height: 2.4rem
  }

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

  .row img {
    width: 100%;
    border-radius: 8px;
    margin: 0 auto;
  }
}


.nav nav a.cta.active {
  color: var(--orange);
  border-color: var(--orange);
  background: transparent
}

.nav nav a.cta.active:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff
}

/* V5: wide header logo + protected hero/page title spacing */
.nav {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 2.5rem;
  min-height: 112px;
  height: auto;
  padding: 14px 0
}

.nav .brand {
  min-width: 0;
  align-self: center
}

.header-logo {
  width: clamp(235px, 22vw, 330px);
  max-height: 84px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 .35rem .7rem rgba(0, 0, 0, .16))
}

.hero-in {
  padding-top: 155px;
  padding-bottom: 80px
}

.page-hero {
  min-height: 620px;
  align-items: flex-end;
  padding-top: 170px;
  padding-bottom: 85px
}

.page-hero .wrap {
  width: 90%
}

.page-hero h1 {
  margin-top: 18px
}

.footer-logo {
  width: clamp(210px, 19vw, 270px);
  height: auto;
  object-fit: contain
}

@media(min-width:800px) and (max-width: 1500px) {
  .material-grid article {
    background: var(--cream);
    padding: 35px;
    min-height: 220px;
    border-radius: 8px;
    width: 60%;
  }

  .row img {
    width: 30%;
    border-radius: 8px;
    margin: 0 auto;
  }

  .material-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 45px
  }
}

@media(max-width:800px) {
  .nav {
    min-height: 88px;
    padding: 10px 0
  }

  .header-logo {
    width: 205px;
    max-height: 62px
  }

  .hero {
    min-height: 700px
  }

  .hero-in {
    padding-top: 135px;
    padding-bottom: 70px
  }

  .page-hero {
    min-height: 600px;
    padding-top: 135px;
    padding-bottom: 65px
  }

  .page-hero h1 {
    margin-top: 14px
  }

  .material-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 45px
  }
}


/* V6: iconografía para servicios, enfoque y contacto */
.feature-icon,
.value-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(232, 139, 43, .35);
  border-radius: 50%;
  color: var(--orange);
  margin-bottom: 1.2rem;
  background: rgba(232, 139, 43, .06)
}

.feature-icon svg,
.value-icon svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.dark-card .feature-icon {
  border-color: rgba(141, 209, 204, .35);
  background: rgba(141, 209, 204, .07);
  color: #8dd1cc
}

.cards h3 {
  margin: 18px 0 14px
}

.value-grid div {
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

.value-icon {
  margin-bottom: 1rem
}

.value-grid h3 {
  margin-top: 12px
}

.contact-item {
  align-items: center
}

.contact-item>div:last-child {
  min-width: 0
}

.contact-item a,
.contact-item strong {
  line-height: 1.4
}

.contact-icon {
  align-self: center
}

@media(max-width:800px) {

  .feature-icon,
  .value-icon {
    width: 3.2rem;
    height: 3.2rem
  }

  .feature-icon svg,
  .value-icon svg {
    width: 1.5rem;
    height: 1.5rem
  }

  .contact-item {
    align-items: center
  }
}

/* V7 — icon cards: cleaner symbols, no numbering, centered content */
.cards article,
.value-grid>div {
  align-items: center;
  text-align: center
}

.cards p,
.value-grid p {
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto
}

.cards a {
  align-self: center
}

.feature-icon,
.value-icon {
  width: 4.25rem;
  height: 4.25rem;
  border-width: 1.5px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: inset 0 0 0 .35rem rgba(232, 139, 43, .045)
}

.feature-icon svg,
.value-icon svg {
  width: 2rem;
  height: 2rem;
  stroke-width: 1.8
}

.dark-card .feature-icon {
  box-shadow: inset 0 0 0 .35rem rgba(141, 209, 204, .045)
}

.cards h3,
.value-grid h3 {
  text-align: center
}

@media(max-width:800px) {

  .feature-icon,
  .value-icon {
    width: 3.8rem;
    height: 3.8rem
  }

  .feature-icon svg,
  .value-icon svg {
    width: 1.8rem;
    height: 1.8rem
  }
}


/* V8 — botones, logo de cabecera y ajustes móviles */
.btn {
  border-radius: 8px
}

/* El botón Contacto del menú conserva su forma original */
.nav nav a.cta {
  border-radius: 0
}

/* Cabecera: mismo tratamiento visual que el logo del footer */
.header-logo {
  display: block;
  width: clamp(210px, 19vw, 270px);
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: .55rem;
  padding: .45rem .7rem;
  box-shadow: none;
  filter: none
}

@media(max-width:800px) {
  .header-logo {
    width: 205px;
    max-height: 62px;
    background: #fff;
    border-radius: .55rem;
    padding: .4rem .6rem
  }

  /* Menú móvil desplegable */
  .nav {
    position: relative
  }

  .nav nav.show {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 210px;
    padding: 8px;
    background: rgba(16, 35, 38, .98);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, .25)
  }

  .nav nav.show a {
    display: block;
    padding: 11px 14px;
    opacity: 1;
    transform: none
  }

  .nav nav.show a:hover {
    transform: none;
    background: rgba(255, 255, 255, .07)
  }

  .nav nav.show a.cta {
    margin-top: 4px;
    border-radius: 8px;
    border-color: rgba(255, 255, 255, .35);
    text-align: center
  }

  .nav nav.show a.cta.active {
    border-color: var(--orange)
  }

  /* Pie centrado */
  .foot {
    justify-items: center;
    text-align: center;
    gap: 35px
  }

  .foot>div {
    width: 100%
  }

  .foot .brand {
    justify-content: center
  }

  .foot strong,
  .foot a,
  .foot span {
    text-align: center
  }

  .copy {
    text-align: center
  }

  /* Banners / llamadas finales centrados */
  .band-in {
    text-align: center
  }

  .band-in>div {
    width: 100%
  }

  .band-in .btn {
    margin-left: auto;
    margin-right: auto
  }

  .service-call {
    text-align: center;
    margin-left: auto;
    margin-right: auto
  }

  .service-call .btn {
    margin-left: auto;
    margin-right: auto
  }
}

/* V9 — último ajuste móvil y alineación de iconos */
.value-grid>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center
}

.value-icon {
  display: grid;
  place-items: center;
  flex: 0 0 4.25rem;
  margin: 0 auto 1rem
}

.value-icon svg {
  display: block;
  flex: 0 0 auto
}

@media(max-width:800px) {

  /* Los tres puntos justo después del hero */
  .stats {
    justify-items: center;
    text-align: center
  }

  .stats div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 0
  }

  .stats b,
  .stats span {
    display: block;
    text-align: center
  }

  /* Bloque de materiales del inicio */
  .material-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 18px
  }

  .material-preview>div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center
  }

  .material-preview .muted {
    margin-left: auto;
    margin-right: auto
  }

  .material-preview .btn {
    margin: 4px auto 0
  }

  /* Iconos de Empresa perfectamente centrados */
  .value-grid>div {
    align-items: center;
    text-align: center
  }

  .value-icon {
    margin-left: auto;
    margin-right: auto
  }
}

/* V10 — iconos de Empresa y datos de contacto centrados en móvil */
.value-icon {
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  line-height: 0
}

.value-icon svg {
  width: 2rem;
  height: 2rem;
  display: block;
  margin: auto;
  overflow: visible
}

@media(max-width:800px) {
  .contact-cards {
    justify-items: center
  }

  .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    gap: 10px
  }

  .contact-item>div:last-child {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
  }

  .contact-item small,
  .contact-item a,
  .contact-item strong,
  .contact-note {
    text-align: center
  }

  .contact-item strong br {
    display: block
  }
}

/* =========================================================
   EMPRESA — historia visual
   Reglas aisladas para no afectar al resto de páginas
   ========================================================= */

.company-history {
  padding: 110px 0 120px;
  background: #fff;
}

.history-intro {
  max-width: 850px;
  margin-bottom: 10%;
}

.history-intro h2 {
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -2.7px;
  margin: 14px 0 20px;
}

.history-intro p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1rem;
}

.history-timeline {
  position: relative;
  display: grid;
  gap: 115px;
}

.history-timeline::before {
  content: "";
  position: absolute;
  top: 35px;
  bottom: 35px;
  left: 50%;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
}

.history-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 90px;
  align-items: center;
}

.history-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 1.2rem 3rem rgba(16, 35, 38, .13);
  min-height: 430px;
}

.history-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: inherit;
  pointer-events: none;
}

.history-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform .55s ease;
}

.history-image:hover img {
  transform: scale(1.035);
}

.history-copy {
  max-width: 540px;
}

.history-item-image-left .history-copy {
  justify-self: start;
}

.history-item-image-right .history-copy {
  justify-self: end;
}

.history-year {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.history-copy .kicker {
  display: block;
  margin-bottom: 8px;
}

.history-copy h3 {
  max-width: 520px;
  margin: 0 0 20px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.history-copy p {
  max-width: 520px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .95rem;
}

.history-copy p:last-child {
  margin-bottom: 0;
}

@media(max-width:800px) {
 .history-item,
  .history-item-image-right {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* En móvil: siempre texto primero */
  .history-item .history-copy {
    order: 1;
  }

  .history-item .history-image {
    order: 2;
  }

  .history-item-image-left .history-copy,
  .history-item-image-right .history-copy {
    justify-self: stretch;
  }

  .history-image,
  .history-image img {
    min-height: 300px;
    height: 300px;
  }

  .history-copy {
    max-width: none;
  }

  .history-copy p {
    max-width: none;
  }
}
/* Legal */
.legal-section {
  background: #fff;
}

.legal-content {
  max-width: 920px;
}

.legal-content > .kicker {
  display: block;
  margin-top: 58px;
}

.legal-content > .kicker:first-child {
  margin-top: 0;
}

.legal-content h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 12px 0 18px;
}

.legal-content p {
  max-width: 820px;
  color: var(--muted);
  font-size: .95rem;
  margin: 0 0 16px;
}

.legal-content a {
  color: var(--teal);
  font-weight: 700;
}

.legal-data {
  background: var(--cream);
  padding: 28px 32px;
  margin: 28px 0 12px;
  border-radius: 8px;
}

.legal-data p {
  margin: 0 0 10px;
}

.legal-data p:last-child {
  margin-bottom: 0;
}

@media(max-width:800px) {
  .legal-content > .kicker {
    margin-top: 45px;
  }

  .legal-data {
    padding: 24px;
  }
}
