:root {
  --ink: #111820;
  --ink-soft: #27313b;
  --muted: #68737d;
  --line: #e4e7e9;
  --paper: #ffffff;
  --soft: #f6f7f8;
  --orange: #f36f21;
  --orange-dark: #d8560d;
  --silver: #c8c9c5;
  --shadow: 0 22px 55px rgba(17, 24, 32, .10);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  background: var(--paper);
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17,24,32,.08);
}
.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(220px, 310px) 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand img { width: 290px; height: auto; }
.primary-nav { display: flex; justify-content: center; gap: 28px; }
.mobile-language-switcher { display: none; }
.primary-nav a { font-size: .95rem; font-weight: 700; color: var(--ink-soft); position: relative; }
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width .2s ease;
}
.primary-nav a:hover::after { width: 100%; }
.language-switcher { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.lang-btn {
  border: 0;
  background: transparent;
  padding: 7px 9px;
  min-width: 38px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}
.lang-btn.is-active { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero {
  position: relative;
  min-height: 710px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #101720;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1774929103406-59c8882a9954?auto=format&fit=crop&fm=jpg&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&ixlib=rb-4.1.0&q=60&w=3000");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,13,18,.91) 0%, rgba(8,13,18,.76) 46%, rgba(8,13,18,.32) 78%, rgba(8,13,18,.20) 100%),
    linear-gradient(0deg, rgba(8,13,18,.30), rgba(8,13,18,.05));
}
.hero-content { position: relative; z-index: 1; color: white; padding: 90px 0 70px; }
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  font-weight: 900;
  color: var(--orange);
}
.eyebrow::before,
.section-kicker::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.section-kicker.light { color: #ff9b5f; }
.hero h1 {
  max-width: 850px;
  margin: 18px 0 22px;
  font-size: clamp(2.8rem, 6vw, 5.65rem);
  line-height: .78;
  letter-spacing: -.055em;
  font-weight: 500;
}
.hero-copy { max-width: 740px; margin: 0; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 500;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: white; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { color: white; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.btn-secondary:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.14); }
.btn-dark { background: var(--ink); color: white; width: 100%; }
.hero-stats { display: flex; gap: 42px; flex-wrap: wrap; margin-top: 62px; }
.hero-stats div { display: grid; gap: 0; }
.hero-stats strong { font-size: 1.9rem; line-height: 1; }
.hero-stats span { color: rgba(255,255,255,.68); font-size: .88rem; margin-top: 7px; }

.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: start; }
.split-heading h2,
.section-heading h2,
.markets-copy h2,
.statement-card h2,
.contact-grid h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}
.intro-copy p { margin: 0 0 18px; color: var(--muted); font-size: 1.06rem; }

.services-section { background: var(--soft); }
.section-heading { max-width: 830px; margin-bottom: 44px; }
.section-heading.compact { max-width: 680px; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(17,24,32,.07);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(17,24,32,.06);
}
.service-image { height: 300px; background-size: cover; background-position: center; background-color: #d9dde0; }

.service-land .service-image {
  background-image: linear-gradient(rgba(15,22,29,.06), rgba(15,22,29,.06)), url("https://lwcommerce.es/assets/images/suelo.png");
}
.service-industrialized .service-image{
  background-image: linear-gradient(rgba(15,22,29,.06), rgba(15,22,29,.06)), url("https://lwcommerce.es/assets/images/steel.png");
}
.service-modular .service-image {
  background-image: linear-gradient(rgba(15,22,29,.06), rgba(15,22,29,.06)), url("https://lwcommerce.es/assets/images/modular.png");
}
.service-modular .service-image {
   background-position: center 62%; filter: saturate(.85); }
.service-agri .service-image {  
  background-image: linear-gradient(rgba(15,22,29,.05), rgba(15,22,29,.05)), url("https://lwcommerce.es/assets/images/agro.png");
}
.service-body { padding: 30px; }
.service-number { color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .14em; }
.service-body h3 { margin: 9px 0 11px; font-size: 1.6rem; line-height: 1.12; letter-spacing: -.025em; }
.service-body p { color: var(--muted); margin: 0 0 18px; }
.service-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.service-body li { position: relative; padding-left: 21px; color: var(--ink-soft); font-size: .93rem; }
.service-body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.markets-section { background: var(--ink); color: white; position: relative; overflow: hidden; }
.markets-section::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  right: -190px;
  top: -210px;
  box-shadow: 0 0 0 80px rgba(255,255,255,.015), 0 0 0 160px rgba(255,255,255,.01);
}
.markets-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: center; position: relative; z-index: 1; }
.markets-copy p { color: rgba(255,255,255,.70); font-size: 1.05rem; max-width: 610px; margin: 23px 0 24px; }
.text-link { color: #ff9b5f; font-weight: 800; }
.country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.country { min-height: 116px; padding: 22px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.11); display: grid; align-content: center; gap: 8px; }
.country span { font-size: 1.7rem; }
.country strong { font-size: .98rem; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; border-top: 1px solid var(--line); }
.process-item { padding: 34px 32px 10px 0; border-right: 1px solid var(--line); }
.process-item + .process-item { padding-left: 32px; }
.process-item:last-child { border-right: 0; }
.process-item > span { color: var(--orange); font-weight: 900; font-size: .82rem; }
.process-item h3 { margin: 11px 0 8px; font-size: 1.35rem; }
.process-item p { margin: 0; color: var(--muted); }

.statement-section { padding-top: 0; }
.statement-card {
  padding: 46px 50px;
  border-radius: var(--radius);
  background: linear-gradient(115deg, #f5f6f7 0%, #fff 74%);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
}
.statement-card h2 { max-width: 800px; font-size: clamp(2rem, 3.6vw, 3rem); }
.statement-card p { max-width: 760px; color: var(--muted); margin-bottom: 0; }

.contact-section { background: #f0f1f2; }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.contact-grid > div:first-child p { max-width: 650px; color: var(--muted); font-size: 1.06rem; }
.contact-card { background: white; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-row { display: grid; gap: 5px; padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.contact-label { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.contact-row a { color: var(--orange-dark); font-size: 1.2rem; font-weight: 850; }
.contact-row address { font-style: normal; color: var(--ink-soft); }

.site-footer { background: #0b1015; color: white; padding: 30px 0; }
.footer-inner { display: grid; grid-template-columns: 210px 1fr auto; gap: 25px; align-items: center; }
.footer-inner img { width: 190px; }
.footer-inner p { color: rgba(255,255,255,.62); font-size: .88rem; margin: 0; }
.footer-inner a { color: rgba(255,255,255,.72); font-size: .88rem; font-weight: 700; }

:focus-visible { outline: 3px solid rgba(243,111,33,.45); outline-offset: 3px; }

@media (max-width: 1000px) {
  .header-inner { grid-template-columns: 1fr auto auto; }
  .brand img { width: 245px; }
  .menu-toggle { display: block; order: 2; }
  .language-switcher { order: 3; }
  .primary-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 20px 20px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(17,24,32,.08);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { width: 100%; padding: 13px 0; }
  .split-heading,
  .markets-layout,
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .statement-card { grid-template-columns: 1fr; }
  .statement-card .btn { justify-self: start; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 70px 0; }
  .header-inner { min-height: 72px; gap: 10px; }
  .brand img { width: 180px; }
  .primary-nav { top: 72px; }
  .language-switcher { gap: 2px; padding: 3px; }
  .lang-btn { min-width: 34px; padding: 6px 7px; }
  .hero { min-height: 680px; }
  .hero-content { padding: 76px 0 52px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 4.4rem); }
  .hero-copy { font-size: 1rem; }
  .hero-stats { gap: 24px 34px; margin-top: 44px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-image { height: 245px; }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; border-top: 0; }
  .process-item, .process-item + .process-item { padding: 24px 0; border-right: 0; border-top: 1px solid var(--line); }
  .statement-card { padding: 34px 28px; }
  .contact-card { padding: 27px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; }
}

@media (max-width: 480px) {
  .brand img { width: 155px; }
  .header-inner > .language-switcher { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { order: initial; }
  .mobile-language-switcher {
    display: flex;
    gap: 4px;
    padding: 12px 0 0;
    margin-top: 4px;
    border-top: 1px solid var(--line);
    width: 100%;
  }
  .mobile-language-switcher .lang-btn {
    border: 1px solid var(--line);
    min-width: 46px;
  }
  .mobile-language-switcher .lang-btn.is-active { border-color: var(--ink); }
  .hero-actions .btn { width: 100%; }
  .country-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
