:root {
  --ink: #0b1c24;
  --deep: #123040;
  --sea: #1a5c6e;
  --foam: #e8f2f4;
  --sand: #f3ebe0;
  --coral: #c45c3a;
  --coral-deep: #9e3f28;
  --mist: rgba(232, 242, 244, 0.72);
  --line: rgba(11, 28, 36, 0.12);
  --shadow: 0 24px 60px rgba(11, 28, 36, 0.18);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(26, 92, 110, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(196, 92, 58, 0.12), transparent 50%),
    linear-gradient(180deg, #f7f4ef 0%, var(--sand) 42%, #eef6f7 100%);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: clamp(2.75rem, 5vw, 3.5rem);
  height: auto;
}

.brand span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a {
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 1;
}

.nav .btn {
  opacity: 1;
}

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: end start;
  padding: clamp(6.5rem, 14vh, 9rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2.5rem, 6vh, 4rem);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(11, 28, 36, 0.78) 0%, rgba(18, 48, 64, 0.55) 42%, rgba(11, 28, 36, 0.25) 100%),
    radial-gradient(circle at 75% 35%, rgba(232, 242, 244, 0.18), transparent 35%),
    url("../assets/hero-texture.svg") center / cover no-repeat,
    linear-gradient(160deg, #0b1c24, #1a5c6e 55%, #0f2a34);
  color: var(--foam);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -20% 40%;
  height: 70%;
  background: url("../assets/shell-mark.svg") right bottom / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}

.hero-copy {
  max-width: 38rem;
  position: relative;
  z-index: 1;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 600;
  line-height: 0.95;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  animation: rise 0.9s ease both;
}

.hero p {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: rgba(232, 242, 244, 0.88);
  animation: rise 0.9s ease 0.12s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise 0.9s ease 0.22s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
}

.btn-primary:hover {
  background: var(--coral-deep);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(232, 242, 244, 0.45);
  color: var(--foam);
}

.btn-ghost:hover {
  background: rgba(232, 242, 244, 0.1);
}

.btn-dark {
  background: var(--ink);
  color: var(--foam);
}

.section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 4vw, 3.5rem);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.05;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: rgba(11, 28, 36, 0.72);
  font-size: 1.05rem;
}

.products {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 900px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product {
  padding: 0;
  border: 0;
  background: transparent;
}

.product-visual {
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  margin-bottom: 1.1rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 45%);
}

.product[data-product="pos"] .product-visual {
  background:
    linear-gradient(145deg, #123040, #1a5c6e 60%, #0b1c24);
}

.product[data-product="kiosk"] .product-visual {
  background:
    linear-gradient(145deg, #9e3f28, #c45c3a 55%, #123040);
}

.product[data-product="kds"] .product-visual {
  background:
    linear-gradient(145deg, #0b1c24, #245868 50%, #c45c3a);
}

.product-mark {
  position: absolute;
  inset: auto 8% 12% 8%;
  height: 42%;
  background: url("../assets/shell-mark.svg") left bottom / contain no-repeat;
  opacity: 0.22;
  filter: invert(1);
}

.product h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 0.45rem;
}

.product p {
  margin: 0;
  color: rgba(11, 28, 36, 0.72);
}

.pricing {
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .price-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.price h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.price .amount {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0.6rem 0 0.75rem;
}

.price p {
  margin: 0;
  color: rgba(11, 28, 36, 0.7);
}

.contact {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }
}

.contact form {
  display: grid;
  gap: 0.85rem;
}

.contact label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact input,
.contact textarea,
.contact select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
}

.contact textarea {
  min-height: 7rem;
  resize: vertical;
}

.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3.5rem) 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: rgba(11, 28, 36, 0.65);
  font-size: 0.92rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 700;
}

.footer-brand img {
  width: 2rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-3%, -4%, 0) scale(1.04);
  }
}

@media (max-width: 720px) {
  .nav a:not(.btn) {
    display: none;
  }

  .hero {
    place-items: center start;
  }
}
