@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-soft: #f0ede8;
  --text: #181512;
  --text-muted: #5d5751;
  --text-soft: #8d857d;
  --dark: #111111;
  --dark-soft: #1a1a1a;
  --gold: #c9a84c;
  --gold-deep: #b89535;
  --line: #e4ddd2;
  --line-dark: rgba(255, 255, 255, 0.1);
  --shadow: 0 28px 70px rgba(17, 17, 17, 0.08);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(17, 17, 17, 0.9);
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
}

.site-header .container,
.site-footer-top,
.hero-actions,
.two-col,
.cards-2,
.cards-3,
.cards-4,
.pill-grid,
.contact-info,
.footer-grid,
.split-panel,
.cta-actions {
  display: flex;
}

.site-header .container {
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 20px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  text-decoration: none;
}

.brand-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  letter-spacing: 0.16em;
  color: var(--bg);
  line-height: 1;
}

.brand-sub {
  margin-top: 4px;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 4px auto;
  background: var(--bg);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.mobile-nav-open {
  overflow: hidden;
}

body.mobile-nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

body.mobile-nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.mobile-nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.main-nav a {
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.82);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  border-color: var(--gold);
}

.header-cta {
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  padding: 14px 28px;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--gold-deep);
}

.btn-outline-dark {
  border-color: var(--text);
  color: var(--text);
}

.btn-outline-dark:hover {
  background: var(--text);
  color: var(--bg);
}

.btn-outline-light {
  border-color: rgba(250, 247, 242, 0.45);
  color: var(--bg);
}

.btn-outline-light:hover {
  border-color: var(--bg);
  background: rgba(250, 247, 242, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--bg);
}

.hero-home {
  min-height: calc(100vh - 84px);
}

.hero-standard {
  padding: 120px 0 90px;
}

.hero-image,
.hero-overlay,
.hero-gradient {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(to bottom, rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0.4) 28%, rgba(17, 17, 17, 0.86) 76%, rgba(17, 17, 17, 0.98)),
    linear-gradient(to right, rgba(17, 17, 17, 0.55), transparent 55%);
}

.hero-standard .hero-overlay {
  background:
    linear-gradient(to right, rgba(17, 17, 17, 0.94), rgba(17, 17, 17, 0.8), rgba(17, 17, 17, 0.55)),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.95));
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-home .hero-content {
  display: flex;
  align-items: flex-end;
  min-height: calc(100vh - 84px);
  padding: 120px 0 84px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-title,
.section-title,
.quote,
.card-title,
.footer-title,
.stat-label {
  font-family: 'Cormorant Garamond', serif;
}

.hero-title {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.98;
  font-weight: 300;
}

.hero-title .accent,
.section-title .accent {
  color: var(--gold);
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  color: #ddd5cc;
  font-size: 1.04rem;
}

.hero-kicker {
  margin: 18px 0 0;
  color: rgba(201, 168, 76, 0.72);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-actions,
.cta-actions {
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.section {
  padding: 90px 0;
}

.section-dark {
  background: var(--dark);
  color: var(--bg);
}

.section-soft {
  background: var(--surface-soft);
}

.section-title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  font-weight: 300;
}

.section-title.light {
  color: var(--bg);
}

.section-title.dark {
  color: var(--text);
}

.section-rule {
  width: 42px;
  height: 1px;
  margin: 24px 0;
  background: var(--gold);
}

.body-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.body-text-light {
  color: #c1bbb4;
  font-size: 0.95rem;
}

.lead {
  font-size: 1.02rem;
}

.two-col {
  gap: 70px;
  align-items: center;
}

.two-col > * {
  flex: 1;
}

.image-frame {
  position: relative;
}

.image-frame img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.image-tall {
  height: 560px;
}

.image-medium {
  height: 460px;
}

.floating-box {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  background: rgba(201, 168, 76, 0.07);
  border-radius: 20px;
}

.cards-2,
.cards-3,
.cards-4,
.pill-grid,
.contact-info,
.footer-grid,
.split-panel {
  gap: 24px;
  flex-wrap: wrap;
}

.cards-2 > *,
.cards-3 > *,
.cards-4 > * {
  flex: 1 1 260px;
}

.card,
.panel,
.contact-card {
  border-radius: var(--radius);
}

.card {
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card-dark {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.card-title {
  margin: 0 0 12px;
  font-size: 1.85rem;
  font-weight: 300;
  line-height: 1.1;
}

.card-title.light {
  color: var(--bg);
}

.card-title.dark {
  color: var(--text);
}

.card-number {
  display: block;
  margin-bottom: 18px;
  color: rgba(201, 168, 76, 1);
  font-family: 'EB Garamond', serif;
  font-size: 3.2rem;
  line-height: 1;
}

.pill-grid span {
  display: inline-flex;
  align-items: center;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: #3e3934;
  font-size: 0.88rem;
}

.section-dark .pill-grid span {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #c4bdb5;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.section-dark .feature-list {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.feature-item {
  display: flex;
  gap: 12px;
}

.feature-dot {
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

.feature-item p,
.check-list p {
  margin: 0;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.check-item {
  display: flex;
  gap: 12px;
  color: var(--text-muted);
}

.check-icon {
  color: var(--gold);
  font-weight: 700;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.process-step {
  position: relative;
  padding: 28px 0;
}

.process-step + .process-step {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

.process-step.dark + .process-step.dark {
  border-left-color: rgba(255, 255, 255, 0.08);
}

.step-number {
  display: block;
  margin-bottom: 16px;
  color: rgba(201, 168, 76, 1);
  font-family: 'EB Garamond', serif;
  font-size: 3.5rem;
  line-height: 1;
}

.step-title {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.quote-block {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: 28px;
}

.quote-block img,
.quote-block::after {
  position: absolute;
  inset: 0;
}

.quote-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-block::after {
  content: '';
  background: rgba(17, 17, 17, 0.52);
}

.quote-wrap {
  position: relative;
  z-index: 2;
  min-height: 340px;
  display: grid;
  place-items: center;
  padding: 32px;
}

.quote {
  margin: 0;
  color: var(--bg);
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  font-weight: 300;
  font-style: italic;
}

.split-panel {
  align-items: stretch;
}

.panel {
  flex: 1 1 320px;
  padding: 42px;
  border: 1px solid rgba(201, 168, 76, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.panel.light {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.gold-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

.contact-info > * {
  flex: 1 1 220px;
}

.contact-card {
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.contact-label {
  margin: 0 0 8px;
  color: rgba(24, 21, 18, 0.5);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-value {
  margin: 0;
  color: var(--text);
  text-decoration: none;
}

.forms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.form-panel {
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3d3934;
}

.field,
.field-select,
.field-textarea,
.field-file {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 15px 16px;
  outline: none;
}

.field-textarea {
  min-height: 140px;
  resize: vertical;
}

.field:focus,
.field-select:focus,
.field-textarea:focus,
.field-file:focus {
  border-color: var(--gold);
}

.form-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.form-alert {
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.86rem;
}

.form-alert.success {
  border: 1px solid rgba(67, 138, 94, 0.22);
  background: rgba(67, 138, 94, 0.08);
  color: #29573a;
}

.form-alert.error {
  border: 1px solid rgba(173, 57, 57, 0.2);
  background: rgba(173, 57, 57, 0.08);
  color: #7e2d2d;
}

.field-error {
  margin-top: 7px;
  color: #b43d3d;
  font-size: 0.76rem;
}

.field.invalid,
.field-select.invalid,
.field-textarea.invalid,
.field-file.invalid {
  border-color: #d46a6a;
}

.site-footer {
  background: var(--dark);
  color: var(--bg);
}

.site-footer-top {
  padding: 80px 0 50px;
}

.footer-grid {
  width: 100%;
}

.footer-grid > * {
  flex: 1 1 220px;
}

.footer-brand {
  flex: 1.5 1 320px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-top: 14px;
  border: 1px solid rgba(199, 162, 101, 0.45);
  color: var(--gold);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.footer-title {
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-weight: 300;
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-meta a {
  color: #928980;
  text-decoration: none;
}

.footer-links a:hover,
.footer-meta a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #5e5750;
  font-size: 0.78rem;
}

.mini-divider {
  width: 40px;
  height: 1px;
  margin: 18px 0;
  background: var(--gold);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.stat {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-label {
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 400;
}

.stat-text {
  margin-top: 8px;
  color: #bbb4ac;
  font-size: 0.84rem;
}

.admin-body {
  background: var(--surface-soft);
}

.admin-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.admin-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.admin-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-nav a:hover {
  color: var(--gold);
}

.admin-login {
  max-width: 520px;
  margin: 0 auto;
}

.admin-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.admin-list-item {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
  text-decoration: none;
}

.admin-list-item span {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.admin-table th,
.admin-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
}

.admin-table th {
  background: var(--surface-soft);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 1024px) {
  .site-header .container {
    min-height: 80px;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-block;
  }

  .two-col,
  .site-footer-top,
  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step + .process-step {
    border-left: 0;
    padding-left: 0;
  }

  .forms {
    grid-template-columns: 1fr;
  }

  .header-actions {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px 0 10px;
  }

  body.mobile-nav-open .header-actions {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .main-nav a {
    width: 100%;
    padding: 8px 0;
  }

  .header-cta {
    width: 100%;
  }

  .admin-shell {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section {
    padding: 72px 0;
  }

  .hero-home .hero-content {
    padding: 90px 0 60px;
  }

  .hero-standard {
    padding: 88px 0 68px;
  }

  .feature-list,
  .check-list,
  .process-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .panel,
  .form-panel {
    padding: 26px;
  }

  .section-soft .cards-2 {
    margin-top: 40px !important;
    gap: 18px;
  }

  .section-soft .process-grid {
    margin-top: 40px !important;
    gap: 18px;
  }

  .section-soft .card {
    border-color: #d8cec0;
  }

  .section-soft .process-step {
    padding: 20px 0;
    border-top: 1px solid #d8cec0;
  }

  .section-soft .process-step:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .section-soft .process-step .body-text {
    color: #4a433c;
  }

  .section-soft .card .body-text {
    color: #4a433c;
  }

  .pill-grid {
    gap: 12px;
  }

  .pill-grid span {
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
    text-align: center;
    white-space: normal;
  }

  .image-tall,
  .image-medium {
    height: 360px;
  }

  .floating-box {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
