:root {
  --teal: #326e86;
  --teal-2: #4fa7c0;
  --teal-soft: #e9f1f4;
  --ink: #10212a;
  --slate: #5b6b75;
  --line: #e7edf1;
  --bg: #ffffff;
  --bg-2: #f5f9fb;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .dn {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.teal {
  color: var(--teal);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* nav */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: 0.3s;
  background: rgba(255, 255, 255, 0);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(16, 33, 42, 0.06);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.logo img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 2px 3px rgba(16, 33, 42, 0.35)) drop-shadow(0 6px 14px rgba(16, 33, 42, 0.2));
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--slate);
  transition: 0.25s;
}

.nav-links a:hover {
  color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: 0.3s;
  border: none;
  font-family: 'Plus Jakarta Sans';
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(50, 110, 134, 0.25);
}

.btn-primary:hover {
  background: var(--teal-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(50, 110, 134, 0.32);
}

.btn-soft {
  background: var(--teal-soft);
  color: var(--teal);
}

.btn-soft:hover {
  background: #d6ecf2;
}

.btn-line {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink);
}

.btn-line:hover {
  border-color: var(--teal);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 2px;
  background: var(--ink);
}

/* hero */
.hero {
  padding: 160px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 167, 192, 0.16), transparent 60%);
  top: -200px;
  right: -150px;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 110, 134, 0.12), transparent 60%);
  bottom: -200px;
  left: -150px;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: 40px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.hero p {
  font-size: 1.12rem;
  color: var(--slate);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.trust {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}

.trust .t {
  display: flex;
  flex-direction: column;
}

.trust .t b {
  font-family: 'Plus Jakarta Sans';
  font-size: 1.7rem;
  color: var(--ink);
}

.trust .t span {
  font-size: 0.82rem;
  color: var(--slate);
}

/* hero visual card stack */
.hv {
  position: relative;
  height: 460px;
}

.hv-card {
  position: absolute;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(16, 33, 42, 0.16);
  border: 6px solid #fff;
}

.hv-1 {
  width: 78%;
  height: 78%;
  top: 0;
  right: 0;
  animation: fl 7s ease-in-out infinite;
}

.hv-2 {
  width: 52%;
  height: 46%;
  bottom: 0;
  left: 0;
  animation: fl 7s ease-in-out infinite reverse;
}

.hv-3 {
  width: 34%;
  height: 30%;
  top: -5%;
  left: 4%;
  z-index: 2;
  animation: fl 8s ease-in-out infinite;
}

.hv-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hv-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(16, 33, 42, 0.72);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 5px 11px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.hv-3 .hv-label {
  font-size: 0.58rem;
  padding: 4px 9px;
}

.hv-badge {
  position: absolute;
  bottom: -14px;
  left: 30%;
  background: #fff;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 16px 40px rgba(16, 33, 42, 0.16);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fl 6s ease-in-out infinite;
}

.hv-badge .dot {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
}

.hv-badge b {
  font-family: 'Plus Jakarta Sans';
  font-size: 0.95rem;
}

.hv-badge span {
  font-size: 0.76rem;
  color: var(--slate);
  display: block;
}

@keyframes fl {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* marquee */
.marquee {
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: 22px 0;
}

.mq {
  display: flex;
  flex: none;
  align-items: center;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  will-change: transform;
}

.mq span {
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 48px;
  margin-right: 48px;
  background: linear-gradient(120deg, var(--teal), var(--teal-2) 55%, #2bc4e6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mq span::after {
  content: '✦';
  background: none;
  color: #2bc4e6;
  font-size: 0.9rem;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

section {
  padding: 100px 0;
}

.sec-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.sec-tag {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
}

.sec-head h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 12px 0 14px;
}

.sec-head p {
  color: var(--slate);
}

/* products */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.pcard {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
}

.pcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(16, 33, 42, 0.1);
  border-color: transparent;
}

.pcard .img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.pcard .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}

.pcard:hover .img img {
  transform: scale(1.07);
}

.pcard .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.74rem;
  padding: 6px 12px;
  border-radius: 30px;
}

.pcard .body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pcard h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  min-height: 65px;
  line-height: 1.3;
}

.pcard .body > p {
  color: var(--slate);
  font-size: 0.94rem;
  margin-bottom: 16px;
  min-height: 80px;
  line-height: 1.5;
}

.pcard ul {
  list-style: none;
  margin-bottom: 20px;
}

.pcard li {
  font-size: 0.88rem;
  padding: 6px 0;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
}

.pcard li svg {
  flex: none;
}

.pcard .img img {
  cursor: pointer;
}

.pcard .img img:hover {
  filter: brightness(1.1);
}

/* spec sheet */
.spec-hi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  text-align: center;
  background: var(--teal-soft);
  border-radius: 12px;
  padding: 10px 4px;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chip b {
  display: block;
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  color: var(--teal);
  font-size: 1.05rem;
}

.chip span {
  font-size: 0.66rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--slate);
}

.specs {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.srow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  font-size: 0.84rem;
  min-height: 58px;
  align-items: center;
}

.srow span {
  flex-shrink: 0;
}

.srow b {
  flex-shrink: 1;
}

.srow:nth-child(odd) {
  background: var(--bg-2);
}

.srow span {
  color: var(--slate);
}

.srow b {
  color: var(--ink);
  font-family: 'Plus Jakarta Sans';
  font-weight: 700;
  text-align: right;
}

.pcard .more {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  gap: 6px;
  transition: 0.3s;
  margin-top: auto;
  align-self: flex-start;
}

.pcard:hover .more {
  gap: 11px;
}

/* image gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  justify-content: center;
  align-items: center;
  min-height: 134px;
}

.gallery img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  background: white;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid transparent;
  flex: none;
}

.gallery img:hover {
  border-color: var(--teal);
  filter: brightness(1.1);
  transform: scale(1.05);
}

/* showcase carousel */
.carousel {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 60px rgba(16, 33, 42, 0.16);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.carousel-slide {
  position: relative;
  min-width: 100%;
  height: 560px;
  cursor: pointer;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: 0.5s;
}

.carousel-slide:hover img {
  transform: scale(1.03);
  filter: brightness(0.7);
}

.video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background-size: cover;
  background-position: center;
  transition: 0.5s;
}

.carousel-slide:hover .video-placeholder {
  transform: scale(1.03);
}

.video-placeholder-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 33, 42, 0.45), rgba(16, 33, 42, 0.65));
}

.carousel-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 33, 42, 0.7);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.carousel-expand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 3px solid #fff;
  color: #fff;
  font-size: 1.6rem;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.carousel-slide:hover .video-placeholder .carousel-expand {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.28);
}

.video-placeholder-label {
  position: relative;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}


.carousel-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 50px 40px 26px;
  background: linear-gradient(0deg, rgba(16, 33, 42, 0.85), transparent);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.carousel-cap b {
  font-family: 'Plus Jakarta Sans';
  font-size: 1.3rem;
  font-weight: 700;
}

.carousel-cap span {
  font-size: 0.9rem;
  color: #cfe3e9;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(16, 33, 42, 0.2);
  transition: 0.3s;
  z-index: 5;
}

.carousel-nav:hover {
  background: var(--teal);
  color: #fff;
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: 0.3s;
}

.carousel-dots button.active {
  background: var(--teal);
  width: 28px;
  border-radius: 6px;
}

/* feature band */
.band {
  background: var(--bg-2);
}

.feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.fc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  transition: 0.3s;
}

.fc:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(16, 33, 42, 0.08);
}

.fc .ic {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--teal-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.fc h4 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.fc p {
  font-size: 0.88rem;
  color: var(--slate);
}

/* split showcase */
.show {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.show .img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(16, 33, 42, 0.12);
}

.show img {
  width: 100%;
  display: block;
  cursor: pointer;
  transition: 0.3s;
}

.show img:hover {
  filter: brightness(1.05);
  transform: scale(1.01);
}

.checks {
  list-style: none;
  margin: 24px 0;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  font-weight: 600;
}

.checks .ck {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 0.8rem;
  font-weight: 800;
}

.checks span small {
  display: block;
  font-weight: 400;
  color: var(--slate);
  font-size: 0.85rem;
}

/* process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.stp {
  text-align: center;
}

.stp .ring {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px dashed var(--teal);
  color: var(--teal);
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  background: var(--teal-soft);
}

.stp h4 {
  margin-bottom: 8px;
}

.stp p {
  font-size: 0.88rem;
  color: var(--slate);
}

/* testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.q {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  transition: 0.3s;
}

.q:hover {
  box-shadow: 0 24px 50px rgba(16, 33, 42, 0.08);
}

.q p {
  color: var(--ink);
  margin-bottom: 20px;
  font-size: 0.96rem;
}

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

.q .who .ck {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex: none;
}

.q .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
}

.q .nm {
  font-weight: 700;
  font-family: 'Plus Jakarta Sans';
  font-size: 0.92rem;
}

.q .rl {
  font-size: 0.8rem;
  color: var(--slate);
}

/* CTA + form */
.cta {
  background: linear-gradient(120deg, var(--teal), #0e5d72);
  border-radius: 30px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -150px;
  right: -100px;
}

.cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 14px;
  position: relative;
}

.cta p {
  opacity: 0.9;
  position: relative;
}

.form {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  position: relative;
}

.form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: 'Manrope';
  font-size: 0.92rem;
  margin-bottom: 14px;
  color: var(--ink);
}

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

.form .btn-primary {
  width: 100%;
  justify-content: center;
}

/* footer */
footer {
  background: var(--ink);
  color: #aebcc4;
  padding: 70px 0 28px;
}

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

.foot img {
  height: 70px;
  width: auto;
  filter: brightness(1.3);
}

.foot p {
  font-size: 0.9rem;
  max-width: 280px;
  margin-top: 16px;
}

.foot h5 {
  color: #fff;
  font-family: 'Plus Jakarta Sans';
  margin-bottom: 16px;
  font-size: 1rem;
}

.foot a {
  display: block;
  font-size: 0.9rem;
  padding: 5px 0;
  transition: 0.25s;
}

.foot a:hover {
  color: #fff;
}

.fb {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 46px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 49;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: 0.4s;
}

.mobile-menu.open {
  transform: none;
}

.mobile-menu a {
  font-family: 'Plus Jakarta Sans';
  font-size: 1.5rem;
  font-weight: 700;
}

/* contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: 0.3s;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(16, 33, 42, 0.08);
}

.contact-card .ic {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.contact-card h4 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.contact-card p {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.contact-card a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card small {
  font-size: 0.78rem;
  color: var(--slate);
  display: block;
  margin-top: 4px;
}

/* modal for images */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 33, 42, 0.9);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-media {
  display: contents;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  animation: slideUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  line-height: 1;
}

.modal-close:hover {
  color: var(--teal);
  transform: scale(1.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero-grid, .show, .cta, .products, .feats, .steps, .quotes, .foot, .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .hv {
    height: 360px;
    margin-top: 20px;
  }

  .nav-links, nav > .btn {
    display: none;
  }

  .burger {
    display: flex;
  }

  section {
    padding: 72px 0;
  }

  .cta {
    padding: 40px;
  }

  .carousel-slide {
    height: 420px;
  }

  .pcard .img {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .pcard .tag {
    position: static;
    order: -1;
    margin: 14px 0 12px 14px;
  }

  .pcard .img img {
    order: 1;
    height: 200px;
  }

  .logo img {
    height: 48px;
  }
}

@media (max-width: 560px) {
  .feats, .steps, .quotes, .contact-grid {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 40px;
  }

  .carousel-slide {
    height: 320px;
  }

  .carousel-nav {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
}
