:root {
  --bordeaux: #6d1f2e;
  --bordeaux-dark: #4f1521;
  --sand: #f1e6d3;
  --sand-light: #faf5ec;
  --brass: #a9803f;
  --ink: #2a201c;
  --ink-soft: #5c4f47;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", serif;
  --font-body: "Montserrat", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 18px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-light);
  line-height: 1.6;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--bordeaux-dark);
  margin: 0 0 0.5em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.8em;
}
.eyebrow.center { display: block; text-align: center; }

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1.2em;
}
.services .section-title,
.portfolio .section-title,
.results .section-title {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-primary {
  background: var(--brass);
  color: var(--white);
}
.btn-primary:hover { background: var(--bordeaux-dark); }
.btn-outline {
  background: transparent;
  border-color: var(--brass);
  color: var(--brass);
}
.btn-outline:hover {
  background: var(--brass);
  color: var(--white);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 236, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(169, 128, 63, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--bordeaux-dark);
  text-decoration: none;
}
.nav { display: flex; gap: 28px; }
.nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--brass); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--bordeaux-dark);
}

/* Hero */
.hero { padding: 72px 0 90px; overflow: hidden; }
.hero-inner {
  max-width: 760px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
}
.hero h1 span { color: var(--brass); }
.hero-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 1em;
  text-indent: 1.4em;
}
.hero-sub:last-of-type { margin-bottom: 2em; }
/* About */
.about { padding: 90px 0; background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.about-photo {
  position: sticky;
  top: 100px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 50px -20px rgba(79, 21, 33, 0.3);
}
.about-text p { color: var(--ink-soft); }
.education {
  margin-top: 2.2em;
  padding-top: 2em;
  border-top: 1px solid rgba(169, 128, 63, 0.3);
}
.education h3 { font-size: 1.35rem; margin-bottom: 0.8em; }
.education-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.education-list li {
  padding-left: 20px;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.education-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--brass);
  border-radius: 50%;
}
.education-list strong { color: var(--ink); }

/* Services */
.services { padding: 100px 0; background: var(--sand); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 4px;
  border-top: 3px solid var(--brass);
}
.service-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--brass);
  font-weight: 600;
}
.service-card h3 { font-size: 1.35rem; margin-top: 0.2em; }
.service-lead {
  font-style: italic;
  color: var(--bordeaux);
  margin-bottom: 1.2em;
}
.service-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.service-card li {
  padding-left: 18px;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.service-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brass);
}
.service-card strong { color: var(--ink); }

/* Portfolio */
.portfolio { padding: 100px 0; background: var(--white); }
.portfolio-group { margin-bottom: 56px; }
.portfolio-group:last-child { margin-bottom: 0; }
.portfolio-group-title {
  font-size: 1.5rem;
  color: var(--brass);
  border-bottom: 1px solid rgba(169, 128, 63, 0.3);
  padding-bottom: 0.5em;
  margin-bottom: 1.2em;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  padding: 28px;
  background: var(--sand-light);
  border-left: 3px solid var(--bordeaux);
}
.portfolio-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5em;
}
.portfolio-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
}

/* Results */
.results { padding: 100px 0; background: var(--bordeaux-dark); color: var(--sand-light); }
.results .section-title { color: var(--white); }
.results .eyebrow { color: #d9b877; }
.results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.result-card { text-align: center; padding: 0 8px; }
.result-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: #d9b877;
  line-height: 1;
  margin-bottom: 0.3em;
}
.result-unit { font-size: 1.4rem; margin-left: 2px; }
.result-card p {
  font-size: 0.88rem;
  color: rgba(250, 245, 236, 0.85);
  margin: 0;
}

/* CTA */
.cta { padding: 90px 0; background: var(--sand); }
.cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: center;
}
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta p { color: var(--ink-soft); margin-bottom: 1.6em; }
.cta-photo {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 50px -20px rgba(79, 21, 33, 0.3);
}

/* Contacts */
.contacts { padding: 100px 0; background: var(--white); }
.contacts-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contacts-info p { color: var(--ink-soft); }
.contact-details {
  list-style: none;
  margin: 1.6em 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.contact-details a {
  text-decoration: none;
  color: var(--bordeaux-dark);
  font-weight: 600;
  font-size: 1.05rem;
}
.contact-details a:hover { color: var(--brass); }
.contact-form {
  display: grid;
  gap: 18px;
  background: var(--sand-light);
  padding: 36px;
  border-radius: 4px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid rgba(169, 128, 63, 0.4);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brass);
}
.contact-form button { justify-self: start; margin-top: 4px; }
.form-status {
  font-size: 0.88rem;
  color: var(--brass);
  margin: 0;
  min-height: 1.2em;
}

/* Footer */
.site-footer {
  background: var(--bordeaux-dark);
  color: rgba(250, 245, 236, 0.7);
  padding: 28px 0;
  font-size: 0.85rem;
  text-align: center;
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--brass);
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(79, 21, 33, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
  z-index: 90;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--bordeaux-dark); }

/* Responsive */
@media (max-width: 960px) {
  .about-inner,
  .cta-inner,
  .contacts-inner {
    grid-template-columns: 1fr;
  }
  .about-photo { position: static; max-width: 380px; }
  .cta-photo { max-width: 420px; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 40px; }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--sand-light);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(169, 128, 63, 0.25);
  }
  .nav.open { max-height: 400px; }
  .nav a {
    padding: 14px 24px;
    border-top: 1px solid rgba(169, 128, 63, 0.15);
  }
  .nav-toggle { display: flex; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .result-card:last-child { grid-column: span 2; }
}
