:root {
  --gold: #e5d3b3;
  --gold-hover: #d4c1a0;
  --dark: #0f1215;
  --dark-light: #1a1f24;
  --cream: #f5f5f0;
  --text-dark: #222;
  --text-light: #eee;
  --font-head: "Cinzel", serif;
  --font-body: "Lato", sans-serif;
  --container: 1200px;
}

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

body {
  background-color: var(--cream);
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--gold);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 15px;
}

.pre-title {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.italic {
  font-style: italic;
  font-family: var(--font-head);
}

/* Buttons */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  padding: 12px 28px;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: 0.3s;
  letter-spacing: 1px;
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}

.btn-border {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 12px 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-border:hover {
  background: var(--gold);
  color: var(--dark);
}

.lg {
  padding: 16px 36px;
  font-size: 16px;
}

.sm {
  padding: 8px 16px;
  font-size: 12px;
}

.full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 18, 21, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(229, 211, 179, 0.1);
  padding: 15px 0;
}

.h-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
}

.logo-txt {
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: 1px;
}

.d-nav {
  display: flex;
  gap: 30px;
}

.nav-lnk {
  color: #ccc;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-lnk:hover {
  color: var(--gold);
}

.h-act {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lnk-contact {
  color: #ccc;
  font-size: 13px;
  text-transform: uppercase;
}

/* Burger */
.burger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.line {
  width: 30px;
  height: 1px;
  background: var(--gold);
}

/* Mobile Nav */
.mob-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--dark);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 20px;
  transform: translateY(-100%);
  transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mob-nav.active {
  transform: translateY(0);
}

.mn-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.mn-logo {
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 20px;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
}

.mn-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mn-list a {
  font-family: var(--font-head);
  font-size: 28px;
  color: #fff;
}

.mn-foot {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.mn-cta {
  display: block;
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 10px;
  text-decoration: underline;
}

.mn-foot p {
  color: #666;
  font-size: 12px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80")
    no-repeat center/cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 18, 21, 0.7);
  z-index: -1;
}

.hero-center {
  max-width: 800px;
  margin: 0 auto;
}

.hero-desc {
  color: #ddd;
  font-size: 18px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.hero-note {
  font-size: 12px;
  color: #888;
}

/* Ticker */
.gold-line {
  background: var(--gold);
  color: var(--dark);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 14px;
}

.track {
  display: inline-block;
  animation: scroll 30s linear infinite;
}

.track span {
  margin: 0 20px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Section: Philosophy */
.bg-dark {
  background: var(--dark);
  color: #fff;
}

.row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.txt-col h2 {
  color: var(--gold);
  margin-bottom: 30px;
}

.txt-col p {
  color: #bbb;
  margin-bottom: 20px;
  font-size: 16px;
}

.check-list {
  margin-top: 30px;
  border-top: 1px solid #333;
  padding-top: 20px;
}

.check-list li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  color: var(--gold);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.img-col img {
  border: 1px solid var(--gold);
  padding: 10px;
}

/* Solutions */
.center {
  text-align: center;
}

.sec-header {
  margin-bottom: 60px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.sol-card {
  background: #fff;
  padding: 40px;
  border: 1px solid #ddd;
  transition: 0.3s;
}

.sol-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.sc-icon {
  color: var(--dark);
  margin-bottom: 20px;
}

.sol-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.sol-card p {
  color: #666;
  font-size: 15px;
  margin-bottom: 20px;
}

.lnk-arrow {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  border-bottom: 1px solid var(--dark);
}

/* Blog */
.bg-cream {
  background: var(--cream);
}

.sec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.lnk-gold {
  color: #997b4d;
  font-family: var(--font-head);
  text-decoration: underline;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.blog-item.large {
  display: block;
  position: relative;
  overflow: hidden;
}

.bi-img {
  height: 400px;
  overflow: hidden;
}

.bi-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.blog-item.large:hover img {
  transform: scale(1.05);
}

.bi-txt {
  padding-top: 20px;
}

.date {
  font-size: 12px;
  font-weight: 700;
  color: #997b4d;
  display: block;
  margin-bottom: 5px;
}

.bi-txt h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.blog-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-item.small {
  display: block;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.blog-item.small h4 {
  font-size: 20px;
  margin-bottom: 10px;
  font-family: var(--font-head);
}

.blog-item.small p {
  font-size: 14px;
  color: #666;
}

/* Steps */
.text-gold {
  color: var(--gold);
}

.steps-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.sw-left h2 {
  color: var(--gold);
  margin-bottom: 20px;
}

.sw-left p {
  color: #999;
}

.step-row {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.s-num {
  font-family: var(--font-head);
  font-size: 32px;
  color: var(--gold);
  min-width: 50px;
}

.s-body h4 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 10px;
}

.s-body p {
  color: #999;
}

/* Banner */
.banner-box {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  border: 1px solid var(--gold);
}

.banner-box h2 {
  color: var(--gold);
  margin-bottom: 20px;
}

.banner-box p {
  max-width: 600px;
  margin: 0 auto 40px;
}

/* FAQ */
.narrow {
  max-width: 800px;
  margin: 0 auto;
}

.mb-50 {
  margin-bottom: 50px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.acc-item {
  border-bottom: 1px solid #ccc;
}

.acc-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 18px;
  font-family: var(--font-head);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
}

.acc-content p {
  padding-bottom: 20px;
  color: #555;
}

/* Form */
.split-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.sf-info h2 {
  color: var(--gold);
  margin-bottom: 30px;
}

.sf-info p {
  color: #ccc;
  margin-bottom: 40px;
}

.contact-data {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cd-row {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--gold);
}

.cd-row a,
.cd-row span {
  color: #fff;
}

.sf-form {
  border: 1px solid var(--gold);
  padding: 40px;
}

.inp-box {
  margin-bottom: 20px;
  position: relative;
}

.inp-box label {
  display: block;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 5px;
  text-transform: uppercase;
}

.inp-box input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #444;
  padding: 10px 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
}

.inp-box input:focus {
  outline: none;
  border-color: var(--gold);
}

.err {
  position: absolute;
  bottom: -18px;
  left: 0;
  font-size: 11px;
  color: #ff5555;
  display: none;
}

.inp-box.error .err {
  display: block;
}

.check-box {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.check-box input {
  margin-top: 5px;
  accent-color: var(--gold);
}

.check-box label {
  font-size: 12px;
  color: #999;
}

.check-box a {
  color: var(--gold);
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #000;
  color: #fff;
  border-top: 1px solid #222;
  padding: 80px 0 20px;
}

.f-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.f-logo {
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 24px;
  margin-bottom: 20px;
}

.f-col p {
  color: #777;
  font-size: 14px;
  max-width: 300px;
}

.f-contacts-block {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
  color: #999;
}
.f-contacts-block a:hover {
  color: var(--gold);
}

.f-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.f-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #bbb;
}

.f-col a:hover {
  color: #fff;
}

.f-btm {
  text-align: center;
  font-size: 12px;
  color: #444;
  border-top: 1px solid #111;
  padding-top: 20px;
}

/* Cookie */
.cookie-modal {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--dark);
  border: 1px solid var(--gold);
  padding: 20px;
  z-index: 5000;
  display: none;
}

.cm-content p {
  color: #fff;
  margin-bottom: 10px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .d-nav,
  .h-act {
    display: none;
  }
  .burger {
    display: flex;
    margin-left: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .row-split,
  .cards-grid,
  .blog-grid,
  .steps-wrap,
  .split-form,
  .f-grid {
    grid-template-columns: 1fr;
  }
  .hero-content {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .blog-item.large .bi-img {
    height: 250px;
  }
}

.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;
}

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

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
}

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

/* --- CONTACT PAGE SPECIFIC STYLES --- */
.contact-page-main {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--accent);
  margin-bottom: 30px;
  line-height: 1;
}

.cp-divider {
  width: 60px;
  height: 1px;
  background-color: var(--accent);
  margin: 0 auto 40px auto;
}

.cp-status {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
  border: 1px solid var(--line);
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 60px;
  background: #fcfcfc;
}

.cp-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cp-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.cp-phone-link {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--accent);
  line-height: 1.2;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  margin-bottom: 40px;
}

.cp-phone-link:hover {
  border-bottom-color: var(--accent);
  opacity: 0.8;
}

.cp-address-box {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  width: 100%;
  max-width: 400px;
}

.cp-addr {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.cp-email {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 1rem;
}

.cp-email a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cp-email a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .contact-page-main {
    padding-top: 140px;
    text-align: center;
  }

  .cp-phone-link {
    font-size: 2rem;
  }
}
