:root {
  color-scheme: light;
  --bg: #eff5fb;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: #ffffff;
  --text: #101614;
  --muted: #546b85;
  --border: rgba(16, 22, 20, 0.1);
  --accent: #1669b9;
  --accent-dark: #0f4d8a;
  --accent-soft: #d9ebff;
  --shadow: 0 18px 50px rgba(15, 77, 138, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(22, 105, 185, 0.15), transparent 30%),
    radial-gradient(circle at top right, rgba(15, 77, 138, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}

body > * {
  grid-column: 1 / -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 251, 255, 0.88);
  border-bottom: 1px solid var(--border);
}

.header-inner,
.hero,
.intro-panel,
.properties-section,
.experience-section,
.machines-section,
.products-section,
.achievements-section,
.certifications,
.cookie-banner,
.footer-grid,
.footer-apps,
.footer-bottom {
  width: 100%;
  max-width: none;
  padding-inline: clamp(1rem, 2.5vw, 2rem);
  margin: 0 auto;
}

.header-inner {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.icon-button,
.pill-link,
.button {
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, box-shadow 0.2s ease;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--surface-strong);
  border-color: var(--border);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(15, 77, 138, 0.08);
  cursor: pointer;
}

.pill-link {
  padding: 0.8rem 1rem;
  background: var(--surface-strong);
  border-color: var(--border);
  color: var(--text);
}

.pill-link--dark {
  background: var(--text);
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.button--primary {
  background: linear-gradient(135deg, #1e7edb 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: 0 18px 30px rgba(22, 105, 185, 0.25);
}

.button--ghost,
.text-link {
  color: var(--accent-dark);
  border-color: rgba(22, 105, 185, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.button--light {
  background: #f0f4f9;
  color: var(--text);
  border-color: rgba(16, 22, 20, 0.08);
}

.hero {
  grid-column: 1 / -1;
  display: block;
  padding-inline: 0;
  padding: 1rem 0 0.75rem;
}

.slider-hero {
  padding-top: 0;
}

.slider-hero__viewport {
  position: relative;
  width: 100%;
  height: min(72vh, 720px);
  min-height: 520px;
  overflow: hidden;
  background: #0e1520;
}

.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.slider-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.slider-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 21, 32, 0.08), rgba(14, 21, 32, 0.08));
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-slide__title {
  position: absolute;
  top: 5.5rem;
  right: 4rem;
  z-index: 1;
  padding: 1rem 1.35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.84);
  color: #101010;
  font-size: clamp(1.6rem, 3vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  box-shadow: 0 12px 25px rgba(16, 22, 20, 0.08);
}

.slider-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 4rem;
  height: 4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(86, 86, 86, 0.62);
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.slider-control--prev {
  left: 1rem;
}

.slider-control--next {
  right: 1rem;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
}

.slider-dot {
  width: 0.7rem;
  height: 0.7rem;
  border: 0;
  border-radius: 999px;
  background: rgba(35, 35, 35, 0.85);
  cursor: pointer;
}

.slider-dot.is-active {
  background: #1e7edb;
}

.hero-gallery {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.96) contrast(0.98);
}

.hero-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(78%, 720px);
  padding: 1.45rem 1.65rem 1.5rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(16, 22, 20, 0.06);
  border-radius: 2px;
  box-shadow: 0 12px 28px rgba(16, 22, 20, 0.08);
  backdrop-filter: blur(8px);
}

.hero-card__eyebrow {
  margin-bottom: 0.35rem;
  font-size: clamp(1.8rem, 3.2vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--text);
  font-weight: 500;
}

.hero-card__headline {
  margin-top: 0.45rem;
  font-size: clamp(0.95rem, 1.35vw, 1.1rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
}

.hero-card__subcopy {
  margin-top: 0.45rem;
  max-width: 32rem;
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  line-height: 1.45;
  color: var(--muted);
}

.hero-copy {
  padding: 1rem 0 0.5rem;
  display: flex;
  justify-content: center;
}

.hero-copy__inner {
  width: min(820px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.6rem 1rem 0.8rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 22, 20, 0.06);
  border-top: 0;
  box-shadow: 0 8px 22px rgba(16, 22, 20, 0.07);
  text-align: center;
}

.hero-copy p {
  margin: 0;
  line-height: 1.65;
  color: var(--muted);
}

.hero-copy p {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.3rem;
}

.intro-panel,
.properties-section,
.experience-section,
.machines-section,
.products-section,
.achievements-section,
.certifications {
  grid-column: 1 / -1;
  margin-top: 0.9rem;
  margin-bottom: 1.25rem;
}

.intro-panel {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(217, 235, 255, 0.92));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.intro-panel > div {
  grid-column: span 9;
}

.intro-panel > .button {
  grid-column: span 3;
  justify-self: end;
  align-self: center;
}

.intro-panel h3,
.section-heading h2,
.experience-copy h2,
.certifications h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

.intro-panel p,
.certifications-copy,
.experience-copy p,
.property-card p,
.machine-card p,
.site-footer p,
.site-footer li {
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.section-heading > * {
  grid-column: 1 / -1;
}

.properties-grid,
.machines-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.machines-grid--compare {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.property-card,
.machine-card,
.product-card {
  overflow: hidden;
  border-radius: 26px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.property-card {
  display: flex;
  align-items: stretch;
  min-height: 320px;
  grid-column: span 12;
}

.property-card img {
  display: block;
  width: 34%;
  min-width: 190px;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.property-card__copy {
  padding: 1.25rem 1.3rem;
  flex: 1;
}

.property-card h3,
.machine-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.machine-card {
  padding-bottom: 1rem;
}

.machine-card--compare {
  display: flex;
  flex-direction: column;
  grid-column: span 6;
}

.product-card {
  display: flex;
  flex-direction: column;
  grid-column: span 4;
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.product-card__body {
  padding: 1.1rem 1.2rem 1.2rem;
}

.product-card__tagline {
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.product-card__body p {
  margin: 0;
}

.product-card .text-link {
  margin-top: 1rem;
}

.machine-card--compare img {
  width: 100%;
  max-width: none;
  display: block;
  margin: 0;
  padding: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.machine-card__body {
  padding: 1.1rem 1.2rem 1.2rem;
}

.machine-card__tagline {
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.machine-card__body p {
  margin: 0;
}

.machine-card__body ul {
  margin: 0.9rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.65;
}

.machine-card__body li + li {
  margin-top: 0.35rem;
}

.experience-section {
  display: grid;
  gap: 1rem;
  align-items: stretch;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.experience-copy {
  grid-column: span 7;
}

.experience-copy,
.experience-panel,
.certifications {
  border-radius: 28px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.experience-copy {
  padding: 1.5rem;
}

.experience-panel {
  grid-column: span 5;
  padding: 1.5rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  min-height: 280px;
  background:
    linear-gradient(180deg, rgba(16, 22, 20, 0.06), rgba(14, 52, 95, 0.58)),
    linear-gradient(135deg, #10324f 0%, #1e7edb 100%);
  color: #fff;
}

.experience-panel__badge {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  max-width: 10ch;
}

.experience-panel__logo {
  max-width: 160px;
  align-self: center;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.machines-section {
  padding-bottom: 0.2rem;
}

.products-section {
  padding-bottom: 0.2rem;
}

.achievements-section {
  padding-bottom: 0.25rem;
}

.achievements-section .section-heading {
  margin-bottom: 0.7rem;
}

.achievements-slider {
  position: relative;
  width: 100%;
  min-height: 620px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(20, 70, 120, 0.2);
  background:
    radial-gradient(circle at 18% 12%, rgba(67, 146, 224, 0.26), transparent 34%),
    radial-gradient(circle at 86% 82%, rgba(25, 85, 145, 0.35), transparent 38%),
    linear-gradient(145deg, #0d1f35, #102a48);
  box-shadow: 0 20px 50px rgba(8, 27, 47, 0.35);
}

.achievements-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  display: grid;
  place-items: center;
  padding: 1.2rem 1.2rem 4.6rem;
}

.achievements-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.achievements-slide img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.achievements-slide__caption {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 2;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: #f2f8ff;
  background: rgba(6, 18, 31, 0.72);
  border: 1px solid rgba(159, 201, 244, 0.35);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
}

.achievements-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 3.3rem;
  height: 3.3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 27, 45, 0.75);
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.achievements-control--prev {
  left: 0.8rem;
}

.achievements-control--next {
  right: 0.8rem;
}

.achievements-dots {
  position: absolute;
  left: 50%;
  bottom: 3.5rem;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  background: rgba(10, 27, 45, 0.58);
}

.achievements-dot {
  width: 0.62rem;
  height: 0.62rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.achievements-dot.is-active {
  background: #69bbff;
}

.certifications {
  padding: 1.5rem;
}

.certifications-grid {
  display: grid;
  gap: 1rem;
  align-items: center;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.certifications-copy {
  grid-column: span 7;
}

.cert-map {
  grid-column: span 5;
}

.cert-map {
  position: relative;
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(217, 235, 255, 0.88));
  border: 1px solid var(--border);
}

.cert-map img {
  border-radius: 18px;
}

.cert-map__stats {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
}

.cert-map__stats strong {
  display: block;
  font-size: 2rem;
  color: var(--accent-dark);
}

.cert-map__stats span {
  color: var(--muted);
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cert-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.2rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
}

.certifications-copy {
  margin-bottom: 0.5rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
}

.site-footer {
  margin-top: 1.5rem;
  padding: 2rem 0 2.5rem;
  background: linear-gradient(180deg, rgba(9, 31, 54, 0.96), rgba(6, 17, 30, 0.99));
  color: rgba(255, 255, 255, 0.92);
}

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(17, 70, 37, 0.35);
}

.whatsapp-float svg {
  width: 1.9rem;
  height: 1.9rem;
}

.site-footer h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: start;
}

.footer-grid > section:nth-child(1) {
  grid-column: span 3;
}

.footer-grid > section:nth-child(2) {
  grid-column: span 4;
}

.footer-grid > section:nth-child(3) {
  grid-column: span 2;
}

.footer-grid > section:nth-child(4) {
  grid-column: span 3;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.55rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.support-phone {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.footer-apps {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-apps a {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.icon-button:hover,
.pill-link:hover,
.button:hover,
.text-link:hover,
.site-footer a:hover,
.footer-apps a:hover {
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .experience-section,
  .certifications-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .intro-panel > div,
  .intro-panel > .button,
  .experience-copy,
  .experience-panel,
  .certifications-copy,
  .cert-map,
  .footer-grid > section:nth-child(1),
  .footer-grid > section:nth-child(2),
  .footer-grid > section:nth-child(3),
  .footer-grid > section:nth-child(4),
  .machine-card--compare {
    grid-column: span 12;
  }

  .slider-hero__viewport {
    height: 60vh;
    min-height: 460px;
  }

  .achievements-slider {
    min-height: 520px;
  }

  .achievements-slide img {
    max-height: 420px;
  }

  .product-card {
    grid-column: span 6;
  }

  .property-card {
    flex-direction: column;
  }

  .property-card img {
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .intro-panel,
  .cookie-banner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    align-items: stretch;
  }

  .slider-hero__viewport {
    height: 54vh;
    min-height: 390px;
  }

  .slider-slide__title {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    font-size: clamp(1.4rem, 6vw, 2.2rem);
  }

  .achievements-slider {
    min-height: 430px;
    border-radius: 20px;
  }

  .achievements-slide {
    padding: 0.9rem 0.9rem 4.2rem;
  }

  .achievements-slide img {
    max-height: 330px;
  }

  .achievements-slide__caption {
    width: calc(100% - 1.6rem);
    border-radius: 12px;
    font-size: 0.92rem;
  }

  .achievements-control {
    width: 2.7rem;
    height: 2.7rem;
    font-size: 1.8rem;
  }

  .product-card {
    grid-column: span 12;
  }

  .whatsapp-float {
    right: 0.8rem;
    bottom: 0.8rem;
    width: 3rem;
    height: 3rem;
  }

  .whatsapp-float svg {
    width: 1.7rem;
    height: 1.7rem;
  }

  .hero-card {
    left: 1rem;
    right: 1rem;
    width: auto;
    transform: translateY(-50%);
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .pill-link {
    flex: 1;
    text-align: center;
  }
}
