/* Pandaas landing — modern editorial */
:root {
  --bg: #f8f7f4;
  --bg-elevated: #ffffff;
  --text: #141414;
  --text-muted: #5c5c5c;
  --accent: #0f766e;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --accent-hover: #115e59;
  --border: rgba(20, 20, 20, 0.08);
  --shadow: 0 24px 64px rgba(20, 20, 20, 0.08);
  --shadow-sm: 0 8px 24px rgba(20, 20, 20, 0.06);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Syne", var(--font-sans);
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(248, 247, 244, 0.82);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: center;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}

.nav__link:hover {
  color: var(--text);
}

.nav__link--active {
  color: var(--accent);
}

.nav__link--active:hover {
  color: var(--accent-hover);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.35);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: var(--bg-elevated);
  border-color: var(--text-muted);
  color: var(--text);
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 10vw, 7rem) 0 clamp(4rem, 12vw, 8rem);
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(248, 247, 244, 0.92) 0%,
      rgba(248, 247, 244, 0.96) 100%
    ),
    radial-gradient(
      ellipse 80% 50% at 70% -10%,
      rgba(15, 118, 110, 0.18),
      transparent
    ),
    radial-gradient(
      ellipse 60% 40% at 0% 100%,
      rgba(15, 118, 110, 0.1),
      transparent
    );
  pointer-events: none;
}

.hero__content {
  position: relative;
  max-width: 40rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 36ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__visual {
  display: none;
}

@media (min-width: 960px) {
  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }

  .hero__visual {
    display: block;
    position: relative;
  }

  .hero__card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transform: rotate(2deg);
    transition: transform 0.35s var(--ease);
  }

  .hero__card:hover {
    transform: rotate(0deg) translateY(-4px);
  }

  .hero__card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
  }

  .hero__card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 0.5rem;
  }
}

/* --- Sections --- */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--tight {
  padding-top: 0;
}

.section__head {
  margin-bottom: 2.75rem;
  max-width: 36rem;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.section__head p {
  margin: 0;
  color: var(--text-muted);
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* Product band */
.product {
  background: linear-gradient(
    135deg,
    rgba(15, 118, 110, 0.06) 0%,
    rgba(20, 20, 20, 0.03) 100%
  );
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .product {
    grid-template-columns: 1fr auto;
  }
}

.product__body h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}

.product__body p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.product__cta .btn {
  white-space: nowrap;
}

/* --- Footer --- */
#contact {
  scroll-margin-top: 5.5rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
  margin-top: 2rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.site-footer .logo {
  margin-bottom: 0.75rem;
  display: inline-block;
}

.footer__meta {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer__meta strong {
  color: var(--text);
  font-weight: 600;
}

.copyright {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Forms (contact) --- */
.form-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.form-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 3rem 0 4rem;
}

.form-card {
  width: 100%;
  max-width: 32rem;
  margin-inline: auto;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-card h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.form-card .sub {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.label-block {
  margin-bottom: 1.1rem;
}

.label-block label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.input-field {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

textarea.input-field {
  min-height: 9rem;
  resize: vertical;
}

.form-card .btn--primary {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.85rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-detail__item {
  margin: 0;
}

.contact-detail__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.contact-detail__value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  word-break: break-all;
}

.contact-detail__value--text {
  color: var(--text);
  font-weight: 500;
}

.contact-detail__cta {
  margin-bottom: 0;
}

.message {
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.message--pending {
  color: var(--accent);
}

.message--error {
  color: #b91c1c;
}

.confirm-panel {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(15, 118, 110, 0.2);
}

.confirm-panel h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.confirm-panel p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.confirm-panel strong {
  color: var(--text);
}

.hidden {
  display: none !important;
}

.back-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
}
