:root {
  --ink: #111827;
  --muted: #637083;
  --paper: #f8fafc;
  --panel: #ffffff;
  --line: #d9e0ea;
  --forest: #111827;
  --forest-dark: #000000;
  --clay: #dc2626;
  --gold: #fb923c;
  --sky: #eaf3ff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Book Antiqua", Palatino, "Palatino Linotype", Georgia, serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(248, 250, 252, 0.94);
  border-bottom: 1px solid rgba(217, 224, 234, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--forest-dark);
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 140px;
  height: auto;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a,
.header-email,
.footer a {
  text-decoration: none;
}

.nav a:hover,
.header-email:hover,
.footer a:hover {
  color: var(--clay);
}

.header-email {
  color: var(--forest);
  font-weight: 800;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  min-height: calc(100vh - 72px);
  padding: clamp(54px, 8vw, 110px) clamp(18px, 5vw, 72px) 42px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 5% auto auto 47%;
  z-index: -1;
  width: min(48vw, 620px);
  aspect-ratio: 1;
  background: url("assets/paratrizel-logo.png") center / contain no-repeat;
  content: "";
  opacity: 0.12;
  transform: translateX(-50%);
}

.hero-copy {
  position: relative;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--forest-dark);
  font-size: clamp(3.4rem, 8.8vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--forest-dark);
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 620px;
  margin: 28px 0 0;
  color: #3f4b5f;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid var(--forest);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--forest);
}

.button.primary:hover {
  background: var(--forest-dark);
}

.button.secondary {
  color: var(--forest);
  background: transparent;
}

.button.secondary:hover {
  background: #eaf3ff;
}

.hero-media {
  position: relative;
  z-index: 1;
  min-height: 410px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.intro {
  border-top: 1px solid var(--line);
}

.intro p {
  max-width: 980px;
  margin: 0;
  color: var(--forest-dark);
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  line-height: 1.18;
  font-weight: 750;
}

.intro .identity-line {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 700;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: 28px;
  margin-bottom: 34px;
}

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

.card {
  min-height: 240px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--forest-dark);
  background: var(--sky);
  border-radius: 50%;
  font-weight: 900;
}

.card p,
.contact-copy p,
.proof-list p {
  color: var(--muted);
}

.photo-preview {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.photo-slider {
  position: relative;
}

.photo-track {
  position: relative;
  min-height: clamp(360px, 52vw, 620px);
  overflow: hidden;
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.photo-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.photo-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slide figcaption {
  position: relative;
  margin: clamp(14px, 3vw, 28px);
  max-width: 520px;
  padding: 18px 20px;
  color: white;
  background: rgba(0, 0, 0, 0.82);
  border-radius: 8px;
}

.photo-slide figcaption strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.12rem;
}

.photo-empty {
  display: grid;
  min-height: clamp(300px, 45vw, 520px);
  place-items: center;
  padding: 32px;
  color: var(--muted);
  text-align: center;
}

.slider-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  color: white;
  background: rgba(0, 0, 0, 0.78);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.slider-control:hover {
  background: var(--forest-dark);
}

.slider-control:disabled,
.photo-delete:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.slider-control.previous {
  left: 18px;
}

.slider-control.next {
  right: 18px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}

.slider-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b8c5d9;
  cursor: pointer;
}

.slider-dots button.is-active {
  background: var(--forest);
}

.photo-manager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.photo-upload {
  position: relative;
  overflow: hidden;
}

.photo-upload input {
  position: absolute;
  inset: 0;
  cursor: pointer;
  opacity: 0;
}

.button.danger {
  color: #b91c1c;
  background: #fff5f5;
  border-color: #fecaca;
}

.button.danger:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.75);
}

.pioneer-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: center;
  background: #eef2f7;
  border-top: 1px solid var(--line);
}

.pioneer-copy {
  max-width: 620px;
}

.pioneer-copy p:not(.eyebrow) {
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.pioneer-feature > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 72px);
  color: white;
  background: var(--forest-dark);
}

.band h2,
.band .eyebrow {
  color: white;
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-list p {
  margin: 0;
  padding: 20px 0;
  color: #e5ebff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 1.08rem;
}

.proof-list strong {
  color: var(--gold);
  margin-right: 8px;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.contact-copy {
  max-width: 560px;
}

.contact-copy a {
  color: var(--forest);
  font-weight: 850;
}

.email-list,
.footer-emails {
  display: grid;
  gap: 8px;
}

.email-list {
  margin-top: 22px;
}

.email-list a,
.footer-emails a {
  width: fit-content;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--forest-dark);
  font-size: 0.9rem;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(249, 115, 22, 0.22);
  border-color: var(--clay);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    width: 126px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .section-heading,
  .service-grid,
  .pioneer-feature,
  .band,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    inset: 10% auto auto 62%;
    width: min(78vw, 420px);
  }

  .hero-media,
  .hero-media img {
    min-height: 310px;
  }

  .photo-track {
    min-height: 340px;
  }

  .slider-control {
    width: 40px;
    height: 40px;
  }

  .card {
    min-height: auto;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .button {
    width: 100%;
  }

  .photo-manager {
    align-items: stretch;
    flex-direction: column;
  }
}
