:root {
  --text: #1c272b;
  --muted: #657278;
  --line: #d7e0df;
  --soft-line: #e8eeee;
  --bg: #f4f6f3;
  --panel: #ffffff;
  --wash: #edf5f3;
  --teal: #168895;
  --teal-dark: #0f6670;
  --amber: #d49a45;
  --shadow: 0 22px 58px rgba(28, 39, 43, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 0%, rgba(22, 136, 149, 0.14), transparent 30%),
    linear-gradient(180deg, #fbfcfa 0%, var(--bg) 560px),
    var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img,
video {
  display: block;
  width: 100%;
  max-width: 100%;
}

a {
  color: var(--teal-dark);
  font-weight: 800;
}

.page {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 96px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding: clamp(30px, 5vw, 64px) 0 38px;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  max-width: 620px;
}

.hero-content::before {
  display: block;
  width: 72px;
  height: 3px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, var(--amber), var(--teal));
  content: "";
}

.label,
.section-label {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.06;
}

h1 {
  max-width: 720px;
  font-size: clamp(34px, 4.7vw, 58px);
}

h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

.hero-content p:not(.label) {
  max-width: 590px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 22px);
}

.hero-media {
  position: relative;
}

.hero-media::before {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid #c8dcda;
  border-radius: 8px;
  content: "";
}

.hero-media img {
  position: relative;
  height: min(620px, 72vh);
  min-height: 460px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #dde6e4;
  box-shadow: var(--shadow);
}

.hero-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 6px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.hero-facts div {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.hero-facts div:first-child {
  padding-left: 0;
}

.hero-facts div:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero-facts span,
.spec-list dt,
.contact dt {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-facts strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.1;
}

.section {
  padding: 74px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 44px;
  align-items: end;
  margin-bottom: 30px;
}

.section-note {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.spec-sheet {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 72px;
  margin: 0;
  padding: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.82fr) minmax(0, 1fr);
  gap: 22px;
  align-items: baseline;
  min-height: 62px;
  padding: 18px 0;
  border-bottom: 1px solid var(--soft-line);
}

.spec-list dt,
.spec-list dd {
  margin: 0;
}

.spec-list dd {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.media-section,
.videos-section {
  background: transparent;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.91fr 0.91fr;
  gap: 18px;
}

.photo-grid figure {
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #dde6e4;
  box-shadow: var(--shadow);
}

.photo-grid .photo-main {
  min-height: 540px;
}

.photo-grid img {
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.photo-grid figure:hover img {
  transform: scale(1.018);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111719;
  box-shadow: var(--shadow);
}

.video-card video {
  max-height: 520px;
  background: #111719;
}

.play-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  cursor: pointer;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.34));
}

.play-button span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.play-button span::before {
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 24px solid var(--teal-dark);
  content: "";
}

.video-card.is-playing .play-button {
  opacity: 0;
  pointer-events: none;
}

.youtube-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.youtube-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.youtube-links a:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.contact {
  border-bottom: 0;
}

.contact dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.contact dl div:nth-child(odd) {
  padding-right: 36px;
}

.contact dl div:nth-child(even) {
  padding-left: 36px;
}

.contact dd {
  margin: 8px 0 0;
  font-size: 19px;
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 196px;
  min-height: 72px;
  padding: 0 24px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #16c768 0%, #0da650 52%, #058b3f 100%);
  box-shadow:
    0 18px 42px rgba(9, 82, 46, 0.38),
    0 0 0 8px rgba(22, 199, 104, 0.14);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  animation: whatsappPulse 1.9s ease-in-out infinite;
}

.floating-whatsapp img {
  width: 56px;
  height: 56px;
  margin-right: 12px;
  object-fit: contain;
}

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

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow:
      0 18px 42px rgba(9, 82, 46, 0.38),
      0 0 0 8px rgba(22, 199, 104, 0.12);
  }

  50% {
    box-shadow:
      0 22px 52px rgba(9, 82, 46, 0.48),
      0 0 0 14px rgba(22, 199, 104, 0.07);
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 680px;
  }

  .hero-media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .hero-facts,
  .spec-list,
  .video-grid,
  .contact dl {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-note {
    margin-top: 10px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid figure,
  .photo-grid .photo-main {
    min-height: 460px;
  }

  .contact dl div:nth-child(odd),
  .contact dl div:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 24px, 1160px);
    padding-top: 16px;
  }

  .hero {
    gap: 24px;
    padding: 24px 0 30px;
  }

  h1 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .hero-content p:not(.label) {
    font-size: 17px;
  }

  .hero-media::before {
    inset: 10px -10px -10px 10px;
  }

  .hero-facts {
    margin-top: 0;
  }

  .hero-facts div {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-facts div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 46px 0;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: 0;
    padding: 14px 0;
  }

  .photo-grid figure,
  .photo-grid .photo-main {
    min-height: 360px;
  }

  .play-button span {
    width: 68px;
    height: 68px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-width: 190px;
    width: auto;
    min-height: 66px;
    height: 66px;
    padding: 0 16px 0 10px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    background: linear-gradient(135deg, #18c86a 0%, #10a957 54%, #078f43 100%);
    box-shadow: 0 16px 36px rgba(9, 82, 46, 0.34);
    font-size: 16px;
    animation: none;
  }

  .floating-whatsapp img {
    width: 54px;
    height: 54px;
    margin-right: 8px;
  }

  .floating-whatsapp span {
    position: static;
    display: inline;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    clip: auto;
    color: white;
    background: transparent;
    box-shadow: none;
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
  }
}
