/* AMEIGE CO LIMITED — arctic glass: cool paper, Prussian ink, cyan rim light */
:root {
  --ink: #0a2530;
  --muted: rgba(10, 37, 48, 0.68);
  --paper: #eef6fb;
  --frost: rgba(255, 255, 255, 0.82);
  --card: #ffffff;
  --line: rgba(14, 90, 118, 0.14);
  --cyan: #2a8fa8;
  --cyan-soft: rgba(42, 143, 168, 0.14);
  --deep: #06202c;
  --shadow: 0 22px 50px rgba(6, 32, 44, 0.1);
  --radius: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(42, 143, 168, 0.12), transparent 55%),
    radial-gradient(700px 420px at 100% 12%, rgba(10, 37, 48, 0.06), transparent 50%),
    var(--paper);
  line-height: 1.55;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1f6d82;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* ----- Header: frosted bar ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--frost);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(6, 32, 44, 0.06);
}

.site-header__inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.site-logo:hover {
  text-decoration: none;
  opacity: 0.92;
}
.site-logo img {
  width: 200px;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
}
.site-nav a {
  color: var(--deep);
  font-weight: 650;
  font-size: 0.93rem;
  text-decoration: none;
  padding: 0.35rem 0.15rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan-soft);
  text-decoration: none;
}

/* ----- Hero carousel ----- */
.hero {
  position: relative;
  margin: 0;
  width: 100%;
  overflow: hidden;
  min-height: min(560px, 84vh);
  border-bottom: 1px solid var(--line);
}

.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  z-index: 0;
}
.carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    120deg,
    rgba(6, 32, 44, 0.82) 0%,
    rgba(6, 32, 44, 0.35) 45%,
    rgba(42, 143, 168, 0.28) 100%
  );
  pointer-events: none;
}

.hero__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: clamp(1.35rem, 3.5vw, 2.6rem);
  padding-left: max(1.25rem, calc((100% - 1140px) / 2 + 1.25rem));
  max-width: 700px;
  color: #f4fbff;
}

.hero__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.92;
  color: #b8e6ef;
}

.hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 3.4vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero__lead {
  margin: 0 0 1rem;
  max-width: 48ch;
  opacity: 0.94;
  font-size: clamp(0.92rem, 1.4vw, 1.06rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn--primary {
  background: #e8f8fc;
  color: var(--deep);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.carousel__ui {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(6, 32, 44, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.carousel__arrow {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.carousel__arrow:hover {
  background: rgba(42, 143, 168, 0.45);
}

.carousel__dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.carousel__dot.is-active {
  background: #b8eef5;
  transform: scale(1.15);
}

/* ----- Sections ----- */
.section {
  padding: clamp(2.65rem, 4.8vw, 3.85rem) 0;
}
.section__head {
  margin-bottom: 1.25rem;
}
.section__head--center {
  text-align: center;
}
.section__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.section__title {
  margin: 0;
  font-size: clamp(1.45rem, 2.35vw, 1.95rem);
  letter-spacing: -0.02em;
}

/* Product grid — 4 equal columns, 8 cards */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.05rem;
}

.card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card__img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d5e8f0;
}
.card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 1rem 1.05rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--cyan);
}

.card__title {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 700;
}
.card__desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* About strip (index) */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.15rem, 2.8vw, 2rem);
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-strip__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.about-strip__text {
  padding: clamp(1.15rem, 2.8vw, 1.85rem);
}
.about-strip__text p {
  color: var(--muted);
  margin: 0 0 0.8rem;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}
.review__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}
.review__avatar {
  border-radius: 50%;
  flex-shrink: 0;
}
.review__name {
  font-weight: 700;
}
.review__role {
  font-size: 0.82rem;
  color: var(--muted);
}
.review__stars {
  color: var(--cyan);
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
}
.review__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Split message */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.4vw, 1.65rem);
  align-items: stretch;
}
.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 300px;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}
.field__label {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--muted);
}
.field__input,
.field__textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.62rem 0.72rem;
  font: inherit;
  background: #f7fbfd;
}
.field__textarea {
  resize: vertical;
  min-height: 132px;
}
.form__hint {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.btn--submit {
  background: var(--cyan);
  color: #fff;
  border: 0;
  width: 100%;
  max-width: 220px;
  margin-top: 0.25rem;
}
.btn--submit:hover {
  filter: brightness(1.05);
}

/* Contact page */
.page-banner {
  width: 100%;
  max-height: min(400px, 50vh);
  overflow: hidden;
}
.page-banner img {
  width: 100%;
  height: min(400px, 50vh);
  object-fit: cover;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.4vw, 1.65rem);
  align-items: start;
  padding: clamp(1.85rem, 3.8vw, 3rem) 0 clamp(2.75rem, 4.8vw, 3.75rem);
}
.contact-split__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-split__media img {
  width: 100%;
  display: block;
}
.contact-split__panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.contact-split__panel h2 {
  margin: 0 0 0.65rem;
  font-size: 1.4rem;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-list li {
  margin-bottom: 0.55rem;
  color: var(--muted);
}
.contact-list a {
  font-weight: 650;
  color: #1f6d82;
}

/* About page */
.about-hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.15rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.about-hero img {
  width: 100%;
  max-height: min(400px, 48vh);
  object-fit: cover;
}
.about-body {
  padding: clamp(2rem, 3.8vw, 3rem) 0 clamp(2.75rem, 4.8vw, 3.75rem);
}
.about-body__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.1rem, 2.6vw, 1.85rem);
  align-items: center;
}
.about-body__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.about-body__media img {
  width: 100%;
  min-height: 240px;
  object-fit: cover;
}
.about-body__text p {
  color: var(--muted);
  margin: 0 0 0.95rem;
}

/* Footer */
.footer {
  background: var(--deep);
  color: #dbeaf2;
  border-top: 3px solid var(--cyan);
  padding: 2.35rem 0 0;
}
.footer a {
  color: #b8e6ef;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.45rem;
  padding-bottom: 1.85rem;
}
.footer__logo img {
  width: 200px;
  height: auto;
}
.footer__desc {
  margin: 0.65rem 0 0.85rem;
  color: rgba(219, 234, 242, 0.78);
  max-width: 42ch;
  font-size: 0.9rem;
}
.footer__title {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7ec9d8;
}
.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__list li {
  margin-bottom: 0.4rem;
  color: rgba(219, 234, 242, 0.88);
}
.footer__social {
  display: flex;
  gap: 0.55rem;
}
.footer__social a {
  display: inline-flex;
  width: 2.15rem;
  height: 2.15rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(42, 143, 168, 0.22);
  color: #e8f8fc;
}
.footer__social a:hover {
  text-decoration: none;
  background: rgba(42, 143, 168, 0.38);
}
.footer__social svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.9rem 0 1.35rem;
  font-size: 0.82rem;
  color: rgba(219, 234, 242, 0.52);
}

@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
  .about-strip,
  .split,
  .contact-split,
  .about-body__grid {
    grid-template-columns: 1fr;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .hero__copy {
    padding-left: 1.25rem;
  }
}

@media (max-width: 520px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .carousel__ui {
    max-width: calc(100% - 1.5rem);
  }
}
