:root {
  --black: #1a1a1a;
  --charcoal: #2c2c2c;
  --gray: #6b6b6b;
  --light-gray: #f4f3f1;
  --border: #e2e0dc;
  --white: #ffffff;
  --accent: #16324f;
  --accent-light: #23486e;
  --max-width: 1140px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

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

section {
  padding: 96px 0;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 2.1rem;
  margin-bottom: 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section-intro {
  max-width: 620px;
  margin-bottom: 56px;
}

.section-intro p {
  color: var(--gray);
  font-size: 1.05rem;
}

.section-intro.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

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

.brand img {
  height: 48px;
  width: 48px;
}

.brand-text {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
}

.brand-text span {
  display: block;
  font-family: -apple-system, sans-serif;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--gray);
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
}

nav a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-light);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
}

/* Hero */
.hero {
  padding: 110px 0 100px;
  background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-content {
  flex: 1.2;
}

.hero-content h1 {
  font-size: 2.9rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-light);
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: 280px;
  height: 280px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray);
}

/* Services */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.service-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* About */
.about {
  background: var(--light-gray);
}

.about-inner {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.about-text {
  flex: 1.3;
}

.about-text p {
  color: var(--charcoal);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about-points {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-point {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.about-point h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.about-point p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Team */
.team {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 900px;
}

.team-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
}

.team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 auto 22px;
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  margin: 0 auto 22px;
}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.team-role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.team-bio {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
  text-align: justify;
  text-align-last: left;
}

.team-card a {
  font-size: 0.92rem;
  color: var(--gray);
}

.team-card a:hover {
  color: var(--accent);
}

/* Reviews */
.reviews {
  background: var(--light-gray);
}

.reviews-empty {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.reviews-carousel {
  margin-bottom: 48px;
}

.reviews-page {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.reviews-page.active {
  display: grid;
}

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.reviews-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--charcoal);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.reviews-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.reviews-dots {
  display: flex;
  gap: 8px;
}

.reviews-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
}

.reviews-dot.active {
  background: var(--accent);
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.review-stars {
  color: #c9a227;
  font-size: 1.15rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.review-text {
  color: var(--charcoal);
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.review-author {
  font-weight: 600;
  font-size: 0.92rem;
}

.review-author span {
  display: block;
  font-weight: 400;
  color: var(--gray);
  font-size: 0.85rem;
  margin-top: 2px;
}

.review-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 560px;
}

.review-form-card h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.star-rating input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.star-rating label {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--border);
  cursor: pointer;
  transition: color 0.1s ease;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #c9a227;
}

/* Forms */
.site-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 0.98rem;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--charcoal);
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-lead {
  font-size: 1rem;
  color: var(--charcoal);
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* Contact */
.contact {
  background: var(--accent);
  color: var(--white);
}

.contact .eyebrow {
  color: #9fc0dd;
}

.contact h2 {
  color: var(--white);
}

.contact-intro {
  margin-bottom: 48px;
}

.contact-intro p {
  color: #c9d6e2;
  font-size: 1.05rem;
  max-width: 560px;
}

.contact-grid {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact-form {
  flex: 1.3;
  min-width: 300px;
}

.contact-form .form-row label {
  color: #dce6f0;
}

.contact-form .form-row input,
.contact-form .form-row textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.contact-form .form-row input::placeholder,
.contact-form .form-row textarea::placeholder {
  color: #8fa5bd;
}

.contact-form .form-row input:focus,
.contact-form .form-row textarea:focus {
  border-color: var(--white);
}

.contact-form .form-lead {
  color: #dce6f0;
}

.contact .btn-primary {
  background: var(--white);
  color: var(--accent);
}

.contact .btn-primary:hover {
  background: #dce6f0;
}

.contact-cards {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-cards-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9fc0dd;
  margin-bottom: 4px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9fc0dd;
  margin-bottom: 2px;
}

.contact-card-value {
  font-weight: 600;
  font-size: 1.02rem;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: var(--black);
  color: #999;
  padding: 40px 0;
}

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

.footer-brand {
  color: var(--white);
  font-weight: 600;
}

/* Mobile */
@media (max-width: 860px) {
  section { padding: 64px 0; }

  .nav-toggle { display: block; }

  nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: none;
    flex-direction: column;
    padding: 12px 24px 24px;
  }

  nav.open { display: flex; }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .hero-inner {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .hero-content h1 { font-size: 2.1rem; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 32px;
  }

  .about-inner {
    flex-direction: column;
  }

  .contact-grid {
    flex-direction: column;
  }

  .review-form-card {
    padding: 28px;
  }
}
