:root {
  /* STRICT PALETTE */
  --bg-paper: #fdfbf7;
  --bg-light: #f4f4f5;
  --bg-dark: #111827;

  --text-main: #171717;
  --text-muted: #52525b;
  --text-white: #fafafa;

  --primary: #0f172a; /* Deep Navy/Slate */
  --accent: #b45309; /* Muted Bronze/Gold */
  --border: #e5e7eb;

  --font-serif: "Georgia", "Times New Roman", serif;
  --font-sans: "Arial", "Helvetica", sans-serif;

  --container: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-paper);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  font-size: 17px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2.5rem;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 20px;
  display: inline-block;
}
h3 {
  font-size: 1.5rem;
  font-weight: 700;
}
p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* LAYOUT */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 30px;
}
.section {
  padding: 100px 0;
}
.bg-light {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.bg-dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
}
.border-top {
  border-top: 1px solid var(--border);
}
.max-800 {
  max-width: 800px;
  margin: 0 auto;
}

/* HEADER */
.header {
  padding: 25px 0;
  border-bottom: 1px solid var(--primary);
  background: var(--bg-paper);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary);
}
.logo-icon {
  background: var(--primary);
  color: #fff;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
}
.logo-txt {
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  gap: 30px;
}
.nav a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: 0.3s;
}
.nav a:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.burger-btn {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.line {
  width: 30px;
  height: 2px;
  background: var(--primary);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
  background: transparent;
  color: var(--primary);
}
.btn:hover {
  background: var(--primary);
  color: #fff;
}
.btn--primary {
  background: var(--primary);
  color: #fff;

  @media (max-width: 500px) {
    display: none;
  }
}
.btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.btn--dark {
  background: var(--primary);
  color: #fff;
}
.btn--dark:hover {
  opacity: 0.9;
}
.btn--white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn--white:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--link {
  border: none;
  text-decoration: underline;
  padding: 0;
  color: var(--primary);
  text-transform: none;
}
.btn--link:hover {
  background: none;
  color: var(--accent);
}
.btn--xs {
  padding: 5px 15px;
  font-size: 0.8rem;
  background: var(--primary);
  color: #fff;
  border: none;
}

/* HERO */
.hero {
  padding: 120px 0 100px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.meta-label {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  display: inline-block;
}
.hero-desc {
  font-size: 1.2rem;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  align-items: center;
}
.editorial-img {
  border: 1px solid var(--primary);
  padding: 10px;
  background: #fff;
}
.img-caption {
  font-size: 0.8rem;
  text-align: center;
  margin-top: 10px;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-serif);
}

/* MISSION */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.stats-row {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.stat .val {
  display: block;
  font-size: 2.5rem;
  font-family: var(--font-serif);
  color: var(--primary);
  line-height: 1;
}
.stat .lbl {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
}
.quote-box {
  border-left: 4px solid var(--accent);
  padding-left: 30px;
  margin-top: 20px;
}
.quote-box blockquote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.4;
}
.quote-box cite {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  font-style: normal;
}

/* AREAS (CARDS) */
.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--border);
  transition: 0.3s;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}
.card-icon {
  margin-bottom: 20px;
  color: var(--accent);
}

/* PROCESS */
.align-center {
  align-items: center;
}
.process-list {
  border-left: 1px solid var(--border);
}
.process-list li {
  display: flex;
  gap: 20px;
  padding: 20px 0 20px 30px;
  position: relative;
}
.process-list li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 30px;
  width: 9px;
  height: 9px;
  background: var(--bg-paper);
  border: 1px solid var(--primary);
  border-radius: 50%;
}
.process-list .num {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--accent);
  font-style: italic;
}
.editorial-img.portrait {
  max-width: 400px;
  margin: 0 auto;
}

/* REVIEWS */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.review-card {
  background: #fff;
  padding: 40px;
  border: 1px solid var(--border);
  position: relative;
}
.review-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  font-family: var(--font-serif);
  color: var(--border);
  line-height: 1;
}
.review-text {
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.review-author strong {
  display: block;
  color: var(--primary);
  font-family: var(--font-sans);
}
.review-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ */
.accordion {
  border-top: 1px solid var(--border);
}
.acc-item {
  border-bottom: 1px solid var(--border);
}
.acc-header {
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  transition: 0.3s;
}
.acc-header:hover {
  color: var(--accent);
}
.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s;
}
.acc-content p {
  padding-bottom: 20px;
  font-size: 1rem;
}

/* FORM */
.bg-dark h2 {
  color: #fff;
  border-color: var(--accent);
}
.bg-dark p {
  color: #ccc;
}
.form-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.contact-list li {
  margin-bottom: 15px;
  display: flex;
  gap: 10px;
  color: #fff;
}
.strict-form {
  background: #1f2937;
  padding: 40px;
  border: 1px solid #374151;
}
.input-group {
  margin-bottom: 20px;
}
.input-group label {
  display: block;
  color: #9ca3af;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.input-group input {
  width: 100%;
  padding: 12px;
  background: #111827;
  border: 1px solid #374151;
  color: #fff;
  border-radius: 0;
  font-family: var(--font-sans);
}
.input-group input:focus {
  border-color: var(--accent);
  outline: none;
}
.check-group {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 30px;
  font-size: 0.85rem;
  color: #9ca3af;
}
.check-group a {
  color: var(--accent);
  text-decoration: underline;
}
.full-width {
  width: 100%;
}

/* FOOTER */
.footer {
  background: var(--bg-paper);
  padding: 80px 0 30px;
  font-size: 0.9rem;
  border-top: 4px solid var(--primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--text-muted);
  border: none;
  font-family: var(--font-sans);
}
.col a,
.col p {
  display: block;
  color: var(--text-main);
  margin-bottom: 10px;
}
.col a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.f-logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.bottom-bar {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-paper);
  z-index: 90;
  padding: 100px 30px;
  transform: translateY(-100%);
  transition: 0.4s;
}
.mobile-menu.active {
  transform: translateY(0);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

/* COOKIE */
.cookie-box {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 15px 30px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 200;
}
.cookie-box p {
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .text-block h2 {
    font-size: 2rem;
  }
  .desktop-nav {
    display: none;
  }
  .burger-btn {
    display: flex;
  }
  h1 {
    font-size: 2.5rem;
  }
  .hero__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
  }
  .grid-2,
  .grid-4,
  .reviews-grid,
  .form-container,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 100px 0 60px;
  }
  .hero__visual {
    order: -1;
    margin-bottom: 30px;
  }
  .quote-box {
    margin-bottom: 40px;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
}
