/* SURGEFRONT CREATION — cool slate, cyan accent, rounded hero, text-first company band */
:root {
  --bg: #e8f0f8;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.1);
  --accent: #0ea5e9;
  --accent-2: #22d3ee;
  --night: #020617;
  --shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --radius-lg: 18px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(14, 165, 233, 0.14), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(34, 211, 238, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: #0369a1;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header — dark bar, pill nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
}

.site-header__inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.site-logo img {
  display: block;
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-weight: 650;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  color: #e2e8f0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(56, 189, 248, 0.12);
  color: #f8fafc;
}

/* Hero — inset, rounded */
.hero-wrap {
  width: 100%;
  padding: 1.1rem min(1.5rem, 4vw) 0;
}

.hero {
  position: relative;
  margin: 0 auto;
  width: min(var(--max), 100%);
  min-height: min(560px, 88vh);
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 640ms ease;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    115deg,
    rgba(2, 6, 23, 0.82) 0%,
    rgba(15, 23, 42, 0.5) 38%,
    rgba(14, 165, 233, 0.12) 100%
  );
}

.hero__caption {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 3;
  padding: clamp(2rem, 5vw, 3.6rem);
  max-width: min(520px, 92vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #f8fafc;
  text-align: right;
  align-items: flex-end;
}

.hero__slide:not(.is-active) .hero__caption {
  opacity: 0;
  pointer-events: none;
}

.hero__slide.is-active .hero__caption {
  opacity: 1;
  transition: opacity 420ms ease 80ms;
}

.hero__kicker {
  margin: 0 0 0.55rem;
  padding-right: 0.75rem;
  border-right: 3px solid var(--accent-2);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(165, 243, 252, 0.95);
}

.hero__title {
  margin: 0 0 0.65rem;
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-size: clamp(1.72rem, 3.5vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 1.2rem;
  font-size: clamp(0.95rem, 1.45vw, 1.06rem);
  opacity: 0.92;
  max-width: 42ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.76rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #0284c7);
  color: #fff;
  border-color: rgba(125, 211, 252, 0.45);
}

.btn--primary:hover {
  filter: brightness(1.05);
}

.btn--ghost {
  background: rgba(248, 250, 252, 0.08);
  color: #f8fafc;
  border-color: rgba(248, 250, 252, 0.35);
}

.btn--ghost:hover {
  background: rgba(248, 250, 252, 0.16);
}

.hero__controls {
  position: absolute;
  left: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__arrow {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 1px solid rgba(248, 250, 252, 0.35);
  background: rgba(2, 6, 23, 0.4);
  color: #f8fafc;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
}

.hero__arrow:hover {
  background: rgba(14, 165, 233, 0.45);
}

.hero__dots {
  display: flex;
  gap: 0.4rem;
  margin-left: 0.25rem;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.4);
  border: 1px solid rgba(248, 250, 252, 0.22);
}

.hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(248, 250, 252, 0.45);
  cursor: pointer;
}

.hero__dot.is-active {
  background: var(--accent-2);
  transform: scale(1.2);
}

.section {
  padding: clamp(2.75rem, 5vw, 4.35rem) 0;
}

.section__head {
  margin-bottom: 1.35rem;
}

.section__head--center {
  text-align: center;
}

.section__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.section__title {
  margin: 0;
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-size: clamp(1.48rem, 2.3vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--night);
}

/* Company — text left, image right */
.intro-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.35rem;
  align-items: center;
}

.intro-split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 280px;
}

.intro-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-split__text {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--accent);
  padding: clamp(1.15rem, 2.6vw, 1.8rem);
  box-shadow: var(--shadow);
}

.intro-split__text p {
  margin: 0 0 0.78rem;
  color: var(--muted);
  font-size: 1.01rem;
}

.intro-split__text p:last-child {
  margin-bottom: 0;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.card__body {
  padding: 0.92rem 0.95rem 1.05rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__title {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.card__desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: var(--shadow);
}

.review__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
}

.review__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.review__name {
  font-weight: 700;
}

.review__role {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.06rem;
}

.review__stars {
  color: #0284c7;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.review__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.05rem;
  align-items: stretch;
}

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 220px;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.form-panel {
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.field {
  display: grid;
  gap: 0.26rem;
}

.field__label {
  font-size: 0.86rem;
  color: var(--muted);
}

.field__input,
.field__textarea {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 0.72rem 0.85rem;
  font: inherit;
  background: #f8fafc;
}

.field__textarea {
  resize: vertical;
  min-height: 132px;
}

.field__input:focus,
.field__textarea:focus {
  outline: 2px solid rgba(14, 165, 233, 0.35);
  border-color: transparent;
  background: #fff;
}

.form-hint {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.site-footer {
  margin-top: 0;
  border-top: 3px solid var(--accent);
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.05fr;
  gap: 1.35rem;
  padding: 2.25rem 0 1.55rem;
  align-items: start;
}

.footer__logo img {
  height: 42px;
  width: auto;
  display: block;
  margin-bottom: 0.55rem;
}

.footer__desc {
  margin: 0 0 0.9rem;
  color: var(--muted);
  max-width: 42ch;
  font-size: 0.93rem;
}

.footer__title {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0369a1;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.footer__list a {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid transparent;
}

.footer__list a:hover {
  border-bottom-color: rgba(14, 165, 233, 0.45);
  color: var(--night);
}

.footer__social {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid var(--line);
  color: #0369a1;
  text-decoration: none;
}

.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social:hover {
  background: rgba(14, 165, 233, 0.22);
}

.footer__bottom {
  padding: 0.9rem 0 1.35rem;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.about-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 1.3rem;
}

.about-hero-img img {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

.about-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.6vw, 1.75rem);
  box-shadow: var(--shadow);
}

.about-copy p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 1.03rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.contact-banner {
  width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  border-bottom: 3px solid var(--accent);
  box-shadow: none;
}

.contact-banner img {
  width: 100%;
  display: block;
  max-height: 300px;
  object-fit: cover;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  align-items: start;
  padding-top: 0.4rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.22rem 1.3rem;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 0 0 0.65rem;
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  color: var(--night);
}

.contact-card dl {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.contact-card dt {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.contact-card dd {
  margin: 0;
  font-size: 1rem;
}

.contact-card a {
  word-break: break-word;
}

.contact-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-media img {
  width: 100%;
  display: block;
  min-height: 280px;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .intro-split,
  .split,
  .contact-split {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__controls {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 1rem;
  }

  .hero__caption {
    text-align: left;
    align-items: flex-start;
    left: 0;
    right: auto;
    max-width: min(560px, 92vw);
    padding-bottom: 5rem;
  }

  .hero__cta {
    justify-content: flex-start;
  }

  .hero__kicker {
    border-right: 0;
    border-left: 3px solid var(--accent-2);
    padding-right: 0;
    padding-left: 0.75rem;
  }
}

@media (max-width: 640px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-wrap {
    padding-top: 0.65rem;
  }

  .hero {
    border-radius: 16px;
    min-height: min(520px, 92vh);
  }
}
