﻿:root {
  color-scheme: light;
  --bg: #f3f8fc;
  --surface: #ffffff;
  --surface-alt: #e7f2f9;
  --ink: #1e2a36;
  --muted: #5f6f7e;
  --accent: #4ea1c6;
  --accent-dark: #3d88ab;
  --radius: 18px;
  --shadow: 0 10px 24px rgba(31, 42, 53, 0.08);
  --max: 1280px;
  --text: 700px;
  --media: 420px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  overflow: hidden;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 4vw;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #f7fbfe 0%, #eef6fb 100%);
  padding: 20px 0 64px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 0 10px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 92px;
  width: auto;
  border-radius: 0;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 1.1rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(30, 42, 54, 0.2);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.mobile-menu {
  display: none;
  margin-top: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex-direction: column;
  gap: 10px;
}

.mobile-menu.is-open {
  display: flex;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--media));
  align-items: center;
  column-gap: 64px;
  row-gap: 28px;
  margin-top: 16px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
}

.hero-text h1 {
  font-family: "DM Serif Display", "Times New Roman", serif;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin: 12px 0;
  max-width: var(--text);
}

.subtitle {
  font-size: 1.5rem;
  color: var(--muted);
  margin: 6px 0 12px;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: var(--text);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button.ghost {
  border-color: rgba(30, 42, 54, 0.2);
  color: var(--ink);
}

.button.ghost:hover {
  background: rgba(30, 42, 54, 0.04);
}

.hero-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.hero-info div {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-info strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.hero-media {
  width: var(--media);
  justify-self: end;
  margin-top: 12px;
  margin-left: auto;
}

.hero-content {
  align-items: start;
}

.hero-card {
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.hero-card.is-single {
  width: 100%;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-header {
  max-width: var(--text);
  margin-bottom: 32px;
}

.section-header h2 {
  font-family: "DM Serif Display", "Times New Roman", serif;
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  margin: 10px 0;
}

.section-header p {
  color: var(--muted);
}

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

.card {
  background: var(--surface);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  font-family: "DM Serif Display", "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.25rem;
  margin-top: 0;
}

.info {
  background: var(--bg);
}

.highlight.split {
  margin-top: 28px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, var(--text)) 1fr;
  column-gap: 48px;
  align-items: center;
  box-shadow: var(--shadow);
}

.highlight.split > div {
  max-width: var(--text);
}

.highlight h3 {
  font-family: "DM Serif Display", "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  margin: 10px 0;
}

.highlight p {
  color: var(--muted);
}

.highlight .button {
  margin-top: 12px;
}

.inline-image {
  width: var(--media);
  max-width: 100%;
  border-radius: 0;
  overflow: visible;
  justify-self: end;
  box-shadow: none;
  margin-left: auto;
}

.about {
  background: #f7fbfe;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, var(--text)) 1fr;
  align-items: center;
  column-gap: 48px;
  row-gap: 24px;
}

.about .split {
  grid-template-columns: 1fr 1fr;
}

.about-text {
  max-width: none;
}

.about-text p {
  color: var(--muted);
}

.about-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 28px;
}

.about-list div {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.reviews .quote {
  font-style: italic;
  color: var(--muted);
}

.reviews .quote span {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
}

.contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.95rem;
  color: var(--muted);
}

.field input,
.field textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(30, 42, 54, 0.15);
  font-family: inherit;
  font-size: 1rem;
}

.field input[required],
.field textarea[required] {
  background: rgba(78, 161, 198, 0.08);
  border-color: rgba(78, 161, 198, 0.35);
}

.required {
  color: var(--accent);
  font-weight: 700;
}

.required-note {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 2px 0 0;
}

.form-success,
.form-error {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
  display: none;
}

.form-success {
  background: #e7f2ea;
  border: 1px solid #b8d8c2;
  color: #1f3d2b;
}

.form-error {
  background: #fae8e6;
  border: 1px solid #e2b6b2;
  color: #5a1f1a;
}

.form-success.is-visible,
.form-error.is-visible {
  display: block;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.info-card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.footer {
  padding: 28px 0 36px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer strong {
  display: block;
  color: var(--ink);
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-content,
  .split,
  .highlight.split {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .inline-image {
    width: 100%;
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .hero-media,
  .inline-image,
  .about-media {
    width: 100%;
    justify-self: stretch;
    margin: 12px 0 0;
  }

  .hero-content {
    row-gap: 18px;
  }

  .hero-info {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-card,
  .inline-image {
    border-radius: var(--radius);
    overflow: hidden;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 17px;
  }

  .brand img {
    height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
