:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --gold: #cfa968;
  --gold-hover: #b89355;
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --text-dark: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 100px 0;
}
.bg-alt {
  background: var(--bg-alt);
}
.bg-dark {
  background: var(--primary);
  padding: 120px 0;
}
.text-center {
  text-align: center;
}
.text-light {
  color: #fff !important;
}
.text-muted-light {
  color: #cbd5e1 !important;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}
.section-head {
  max-width: 700px;
  margin: 0 auto 50px;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--primary);
}
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}
.nav-list {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.nav-link:hover {
  color: var(--gold);
}
.nav-highlight {
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 4px;
  color: var(--primary);
}
.nav-highlight:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-burger,
.btn-close,
.mobile-nav-header {
  display: none;
}

.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: var(--bg-alt);
  z-index: -1;
  border-bottom-left-radius: 100px;
}
.hero-container {
  display: flex;
  gap: 60px;
  align-items: center;
}
.hero-content {
  flex: 1;
}
.tag-line {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(207, 169, 104, 0.1);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 3.5rem;
  margin-bottom: 24px;
}
.hero-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.hero-btn-group {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}
.hero-images {
  flex: 1;
  position: relative;
}
.main-img {
  box-shadow: var(--shadow);
}
.floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--primary);
  border-left: 4px solid var(--gold);
}
.floating-badge i {
  color: var(--gold);
}

.split-flex {
  display: flex;
  gap: 60px;
  align-items: center;
}
.reverse-row {
  flex-direction: row-reverse;
}
.split-visual {
  flex: 1;
}
.split-visual img {
  box-shadow: var(--shadow);
}
.split-info {
  flex: 1;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}
.card-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-alt);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-bottom: 24px;
}
.card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card p {
  color: var(--text-muted);
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.grid-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.step-card {
  background: var(--bg-alt);
  padding: 40px 30px;
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
}
.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.2;
}
.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.acc-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.acc-header {
  width: 100%;
  padding: 24px 30px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.acc-header:hover {
  background: var(--bg-alt);
}
.acc-header i {
  color: var(--gold);
  transition: transform 0.4s ease;
}
.acc-item.active .acc-header i {
  transform: rotate(180deg);
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 30px;
}
.acc-item.active .acc-body {
  padding-bottom: 24px;
}
.acc-body p {
  color: var(--text-muted);
  margin-bottom: 12px;
}
.acc-body p:last-child {
  margin-bottom: 0;
}

.form-container {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.vertical-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.input-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.input-block label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap i {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  width: 20px;
  height: 20px;
}
.input-wrap input {
  width: 100%;
  padding: 14px 14px 14px 48px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-alt);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
}
.input-wrap input:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.pt-15 {
  padding-top: 15px;
  border-top: 1px dashed var(--border);
}
.check-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 5px;
}
.check-block input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}
.legal-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
  white-space: normal;
  display: block;
  width: 100%;
}
.legal-text a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.submit-full {
  width: 100%;
  margin-top: 10px;
}

.footer {
  background: var(--primary);
  color: #fff;
  padding: 80px 0 30px;
}
.footer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 60px;
}
.brand-col .brand {
  margin-bottom: 20px;
}
.footer-text {
  color: #94a3b8;
  margin-top: 16px;
  font-size: 0.95rem;
  max-width: 320px;
}
.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 24px;
}
.footer-links li,
.footer-contacts li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: var(--gold);
}
.link-gold {
  color: var(--gold) !important;
  text-decoration: underline;
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-block;
}
.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #94a3b8;
  font-size: 0.95rem;
}
.footer-contacts i {
  color: var(--gold);
  margin-top: 3px;
  width: 18px;
  height: 18px;
}
.footer-copy {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: -150%;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  transition: bottom 0.5s ease;
  border-top: 3px solid var(--gold);
}
.cookie-banner.show {
  bottom: 0;
}
.cookie-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.cookie-info {
  display: flex;
  align-items: center;
  gap: 20px;
}
.c-icon {
  background: rgba(207, 169, 104, 0.1);
  color: var(--gold);
  padding: 10px;
  border-radius: 50%;
  width: 44px;
  height: 44px;
}
.cookie-info h4 {
  margin-bottom: 4px;
  font-family: var(--font-body);
  color: var(--primary);
}
.cookie-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.cookie-info a {
  color: var(--gold);
  text-decoration: underline;
}
#btn-cookie {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .btn-burger {
    display: block;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
  }
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    flex-direction: column;
    padding: 30px;
    transition: right var(--transition);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  }
  .navbar.active {
    right: 0;
  }
  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
  }
  .mobile-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 700;
  }
  .btn-close {
    display: block;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }
  .nav-link {
    font-size: 1.2rem;
  }
  .nav-highlight {
    background: none;
    padding: 0;
    border: none;
    color: var(--primary);
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-container,
  .split-flex {
    flex-direction: column;
    gap: 40px;
  }
  .hero-bg {
    display: none;
  }
  .hero-images,
  .split-flex.reverse-row .split-visual {
    order: -1;
    width: 100%;
  }
  .grid-steps {
    grid-template-columns: 1fr;
  }
  .footer-layout {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 70px;
  }
  .navbar {
    max-width: 100%;
  }
  .hero {
    padding-top: 120px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .hero-btn-group {
    flex-direction: column;
  }
  .form-container {
    padding: 30px 20px;
  }
  .footer-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .brand-col .brand,
  .footer-contacts li {
    justify-content: center;
  }
  .footer-text {
    margin: 16px auto 0;
  }
  .cookie-flex {
    flex-direction: column;
    text-align: center;
  }
  .cookie-info {
    flex-direction: column;
  }
  #btn-cookie {
    width: 100%;
  }
}

.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;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    text-align: left;
    font-size: 20px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  h3 {
    font-size: 20px;
  }
  .margin {
    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;
  }
}
