:root {
  --primary: #ebaf30;
  --primary-deep: #c88b0a;
  --secondary: #c68ea8;
  --secondary-deep: #9b6780;
  --dark: #1f1a16;
  --light: #ffffff;
  --surface: #fff8ec;
  --surface-alt: #fff5f8;
  --surface-strong: #fffdf9;
  --text-muted: #655f5a;
  --border-soft: rgba(31, 26, 22, 0.08);
  --shadow-soft: 0 18px 45px rgba(31, 26, 22, 0.08);
  --shadow-card: 0 12px 32px rgba(31, 26, 22, 0.06);
  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --container: min(1180px, calc(100% - 2rem));
  --header-height: 84px;
  --topbar-height: 40px;
  --logo-width: clamp(150px, 22vw, 250px);
  --menu-size: 46px;
  --nav-font-size: 0.95rem;
  --body-font-size: 1rem;
  --small-font-size: 0.875rem;
  --xs-font-size: 0.75rem;
  --h1-size: clamp(2.3rem, 6vw, 4.5rem);
  --h2-size: clamp(1.85rem, 4vw, 3rem);
  --h3-size: clamp(1.25rem, 2.4vw, 1.65rem);
  --h4-size: 1.125rem;
  --line-height-tight: 1.1;
  --line-height-base: 1.6;
}

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

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

body {
  margin: 0;
  color: var(--dark);
  background: linear-gradient(180deg, #fffdf9 0%, #fff8f1 50%, #fffaf8 100%);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: var(--body-font-size);
  line-height: var(--line-height-base);
}

body.nav-open {
  overflow: hidden;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--light);
  color: var(--dark);
  font-size: var(--body-font-size);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: var(--line-height-tight);
}

h1 {
  font-size: var(--h1-size);
}

h2 {
  font-size: var(--h2-size);
}

h3 {
  font-size: var(--h3-size);
}

h4,
h5,
h6 {
  font-size: var(--h4-size);
}

h2 em {
  color: var(--primary);
}

p {
  margin: 0;
  font-size: var(--body-font-size);
}

small,
label {
  font-size: var(--small-font-size);
}

main {
  display: block;
}

section {
  display: block;
  padding: 80px 0;
  background: linear-gradient(rgb(255, 255, 255) 0%, rgb(250, 250, 250) 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(31, 26, 22, 0.06);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-card);
}

.header-topbar {
  display: none;
  min-height: var(--topbar-height);
  background: linear-gradient(
    90deg,
    rgba(235, 175, 48, 0.12),
    rgba(198, 142, 168, 0.12)
  );
  border-bottom: 1px solid rgba(31, 26, 22, 0.05);
}

.header-shell {
  width: var(--container);
  margin-inline: auto;
}

.header-shell--top {
  min-height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-shell--main {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-copy {
  font-size: var(--small-font-size);
  color: var(--text-muted);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--small-font-size);
  font-weight: 700;
}

.topbar-links a:hover {
  color: var(--primary-deep);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 56px;
}

.brand-logo {
  width: 150px;
  min-width: 150px;
}

.brand-copy {
  display: none !important;
}

.site-nav {
  position: fixed;
  top: calc(var(--header-height) + 0.75rem);
  left: 1rem;
  right: 1rem;
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    visibility 0.24s ease;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-link,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--nav-font-size);
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.nav-link {
  color: var(--dark);
}

.nav-link:hover {
  background: rgba(235, 175, 48, 0.12);
  color: var(--primary-deep);
}

.nav-cta {
  color: var(--light);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow-card);
}

.nav-cta:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  width: var(--menu-size);
  height: var(--menu-size);
  display: inline-grid;
  place-items: center;
  gap: 0.24rem;
  padding: 0;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: var(--light);
  box-shadow: var(--shadow-card);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--dark);
}

.site-footer {
  padding: 4.5rem 0 2rem;
  background:
    radial-gradient(
      circle at top left,
      rgba(235, 175, 48, 0.14),
      transparent 28%
    ),
    radial-gradient(
      circle at top right,
      rgba(198, 142, 168, 0.14),
      transparent 32%
    ),
    linear-gradient(180deg, #fffaf4 0%, #fffdfb 100%);
  color: var(--dark);
}

.footer-shell {
  width: var(--container);
  margin-inline: auto;
}

.footer-cta {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(
    135deg,
    rgba(235, 175, 48, 0.95),
    rgba(198, 142, 168, 0.9)
  );
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
  color: var(--light);
}

.footer-kicker {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: var(--xs-font-size);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-cta h2 {
  margin-bottom: 0.75rem;
  color: var(--light);
}

.footer-cta p {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.88);
}

.footer-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: fit-content;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--light);
  font-size: var(--small-font-size);
  font-weight: 800;
  letter-spacing: 0.03em;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.footer-cta-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.26);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  padding: 2rem 0;
}

.footer-branding {
  display: grid;
  gap: 1rem;
}

.footer-brand-link {
  display: inline-flex;
  width: fit-content;
}

.footer-logo {
  width: clamp(160px, 26vw, 260px);
}

.footer-branding p {
  max-width: 28rem;
  color: var(--text-muted);
}

.footer-title {
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: 1.5rem;
}

.footer-links,
.footer-service-list,
.footer-contact-list {
  display: grid;
  gap: 0.8rem;
}

.footer-links a,
.footer-service-list a,
.footer-contact-list a,
.footer-managed {
  color: var(--text-muted);
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-links a:hover,
.footer-service-list a:hover,
.footer-contact-list a:hover {
  color: var(--primary);
}

.footer-contact-list li {
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 26, 22, 0.08);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  background: rgba(235, 175, 48, 0.18);
  border-color: rgba(235, 175, 48, 0.45);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(31, 26, 22, 0.08);
  color: var(--text-muted);
  font-size: var(--small-font-size);
}

.footer-managed {
  text-transform: lowercase;
  letter-spacing: 0.05em;
}

.back-to-top-floating {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--light);
  box-shadow: 0 16px 32px rgba(31, 26, 22, 0.22);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.back-to-top-floating:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(31, 26, 22, 0.28);
}

.back-to-top-floating svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (min-width: 768px) {
  .header-topbar {
    display: block;
  }

  .footer-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 2rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .back-to-top-floating {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-link,
  .nav-cta {
    min-height: 42px;
    padding-inline: 1rem;
  }
}
