/* Shared typography, layout, navigation and footer. */
@font-face {
  font-display: swap;
  font-family: "Inter";
  src: url("../../fonts/inter/inter-300.woff2") format("woff2");
  font-weight: 300;
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  src: url("../../fonts/inter/inter-400.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  src: url("../../fonts/inter/inter-500.woff2") format("woff2");
  font-weight: 500;
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  src: url("../../fonts/inter/inter-600.woff2") format("woff2");
  font-weight: 600;
}

@font-face {
  font-display: swap;
  font-family: "Cormorant Garamond";
  src: url("../../fonts/cormorant/cormorant-400.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-display: swap;
  font-family: "Cormorant Garamond";
  src: url("../../fonts/cormorant/cormorant-500.woff2") format("woff2");
  font-weight: 500;
}

@font-face {
  font-display: swap;
  font-family: "Cormorant Garamond";
  src: url("../../fonts/cormorant/cormorant-600.woff2") format("woff2");
  font-weight: 600;
}

@font-face {
  font-display: swap;
  font-family: "Cormorant Garamond";
  src: url("../../fonts/cormorant/cormorant-700.woff2") format("woff2");
  font-weight: 700;
}

* {
  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.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 77px;
  height: 77px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  color: var(--white);
  transition: color 0.35s ease;
  min-width: 0;
}

.site-header.scrolled .brand-text,
.site-header.scrolled .nav a,
.site-header.scrolled .header-phone,
.site-header.scrolled .menu-toggle {
  color: var(--text);
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 2px;
  white-space: nowrap;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a,
.header-phone,
.menu-toggle {
  color: var(--white);
  font-size: 0.95rem;
  transition: color 0.35s ease, opacity 0.25s ease;
}

.nav a:hover,
.header-phone:hover {
  opacity: 0.75;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  white-space: nowrap;
}

.header-cta {
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  transition: all 0.3s ease;
  font-size: 0.92rem;
}

.site-header.scrolled .header-cta {
  border-color: rgba(0, 0, 0, 0.14);
  color: var(--text);
}

.header-cta:hover {
  background: var(--white);
  color: var(--text);
}

.site-header.scrolled .header-cta:hover {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  font: inherit;
}

.hero-copy {
  max-width: 760px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--white);
  color: var(--text);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--text);
}

.site-footer {
  background: #161616;
  color: rgba(255, 255, 255, 0.88);
  padding: 58px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 77px;
  height: 77px;
  object-fit: contain;
  border-radius: 8px;
  background: transparent;
}

.footer-brand-text strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
}

.footer-brand-text span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-top: 2px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.footer-col p,
.footer-col a {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.97rem;
}

.footer-col a {
  display: block;
  width: fit-content;
}

.footer-col a:hover {
  opacity: 0.75;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
