@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #C6A664;
  --gold-light: #E8D5A8;
  --dark: #1B1B2F;
  --charcoal: #2C2C3A;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --text: #3A3A4A;
  --text-light: #7A7A8A;
  --border: #E8E4DE;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(27, 27, 47, 0.08);
  --shadow-lg: 0 12px 48px rgba(27, 27, 47, 0.12);
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

main {
  flex: 1 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--dark);
  line-height: 1.2;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.logo span {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}

.nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding: 6px 0;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

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

.header-notice {
  font-size: 0.75rem;
  color: var(--text-light);
  background: var(--cream);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  white-space: nowrap;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
  padding: 64px 0 48px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 50%, #F5F0E8 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--charcoal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  min-height: 44px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #B8944F);
  color: var(--white);
  border-color: var(--gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198, 166, 100, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
}

.hero-visual {
  position: relative;
}

.hero-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-float-card i {
  color: var(--gold);
  font-size: 1.2rem;
}

.hero-float-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
}

.hero-float-card span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.section-header {
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.advantages {
  padding: 64px 0;
  background: var(--white);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.adv-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold-light);
}

.adv-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.adv-icon i {
  color: var(--white);
  font-size: 1.2rem;
}

.adv-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.adv-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

.catalog {
  padding: 64px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

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

.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.property-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.property-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.property-card:hover .property-img img {
  transform: scale(1.05);
}

.property-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--gold), #B8944F);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.property-body {
  padding: 20px;
}

.property-body h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.property-loc {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.property-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 14px;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.property-features li {
  font-size: 0.8rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
}

.property-features i {
  color: var(--gold);
  font-size: 0.75rem;
}

.property-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-value {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-light);
}

.pricing {
  padding: 64px 0;
  background: var(--white);
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-tier {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.price-tier:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow);
}

.tier-featured {
  background: linear-gradient(135deg, var(--dark) 0%, var(--charcoal) 100%);
  border-color: var(--gold);
}

.tier-featured h3,
.tier-featured .tier-range,
.tier-featured .tier-desc {
  color: var(--white);
}

.tier-featured .tier-range span {
  color: var(--gold-light);
}

.tier-featured .tier-header i {
  color: var(--gold);
}

.tier-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.tier-header i {
  color: var(--gold);
  font-size: 1.2rem;
}

.tier-header h3 {
  font-size: 1.1rem;
}

.tier-range {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.tier-range span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
}

.tier-desc {
  font-size: 0.88rem;
  color: var(--text-light);
}

.pricing-faq {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}

.pricing-faq h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--dark);
  padding: 4px 0;
  transition: var(--transition);
}

.faq-item summary:hover {
  color: var(--gold);
}

.faq-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  padding-top: 10px;
  line-height: 1.5;
}

.testimonials {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--cream) 0%, #F0EBE3 100%);
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.testimonial-stars {
  margin-bottom: 14px;
}

.testimonial-stars i {
  color: var(--gold);
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.author-city {
  font-size: 0.8rem;
  color: var(--text-light);
}

.author-city::before {
  content: '· ';
}

.cta-form {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--dark) 0%, #252540 100%);
}

.cta-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-text .section-tag {
  color: var(--gold-light);
}

.cta-text h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 16px;
}

.cta-text > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.cta-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.cta-list i {
  color: var(--gold);
  font-size: 0.85rem;
}

.cta-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition);
  background: var(--cream);
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 166, 100, 0.15);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.form-check label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 0;
}

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer .logo span {
  color: var(--white);
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 14px;
  line-height: 1.5;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-legal ul li {
  margin-bottom: 8px;
}

.footer-legal a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal a:hover {
  color: var(--gold);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-company {
  font-weight: 600;
  color: var(--white) !important;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-bottom: 20px;
}

.footer-disclaimer p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.thanks-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 24px;
  background: linear-gradient(135deg, var(--cream) 0%, #F0EBE3 50%, var(--white) 100%);
}

.thanks-block {
  text-align: center;
  background: var(--white);
  padding: 48px 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  width: 100%;
  border: 1px solid var(--border);
}

.thanks-logo {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  border-radius: var(--radius-sm);
}

.thanks-block h1 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.thanks-name {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 8px;
}

.thanks-email {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.thanks-info {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    --header-mobile-height: 92px;
  }

  .header-inner {
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
  }

  .header-inner .logo {
    min-width: 0;
    flex: 0 1 auto;
  }

  .header-inner .logo a {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .header-inner .logo img {
    width: 44px;
    height: 44px;
  }

  .header-inner .logo span {
    font-size: 1rem;
    line-height: 1.2;
    word-break: break-all;
  }

  .nav {
    position: fixed;
    top: var(--header-mobile-height);
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 0 24px;
    gap: 16px;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease, box-shadow 0.3s ease;
    z-index: 99;
    margin-left: 0;
  }

  .nav.active {
    max-height: calc(100dvh - var(--header-mobile-height));
    padding: 24px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }

  .burger {
    display: flex;
    flex-shrink: 0;
    margin-left: auto;
  }

  .header-notice {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .hero-stats {
    gap: 20px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .advantages,
  .catalog,
  .pricing,
  .testimonials,
  .cta-form {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .hero-float-card {
    position: static;
    margin-top: 12px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  .cta-form-wrap {
    padding: 24px;
  }

  .footer {
    font-size: 0.85rem;
  }
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
  word-break: break-word;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--dark);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 14px;
}

.legal-date {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
  font-style: italic;
}

.legal-list {
  padding-left: 1.5rem;
  margin: 12px 0 18px;
  list-style: disc;
}

.legal-list li {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 8px;
}

.legal-list li strong {
  color: var(--dark);
}

@media (max-width: 768px) {
  .legal-content {
    padding: 32px 16px;
  }

  .legal-content h1 {
    font-size: 1.6rem;
  }

  .legal-content h2 {
    font-size: 1.2rem;
  }
}

.thanks-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 48px 24px;
  background: linear-gradient(160deg, #F5F0E8 0%, var(--cream) 40%, #EDE7DC 100%);
  position: relative;
  overflow: hidden;
}

.thanks-main::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 166, 100, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.thanks-main::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 166, 100, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.thanks-block {
  text-align: center;
  background: var(--white);
  padding: 56px 44px;
  border-radius: 16px;
  box-shadow: 0 16px 56px rgba(27, 27, 47, 0.1);
  max-width: 580px;
  width: 100%;
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.thanks-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 0 0 4px 4px;
}

.thanks-logo {
  width: 50px;
  height: 50px;
  margin: 0 auto 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(198, 166, 100, 0.25);
}

.thanks-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.thanks-icon i {
  color: var(--white);
  font-size: 1.6rem;
}

.thanks-block h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.thanks-name {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 500;
}

.thanks-email {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.thanks-info {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .thanks-main {
    min-height: 60vh;
    padding: 32px 16px;
  }

  .thanks-block {
    padding: 40px 24px;
  }

  .thanks-block h1 {
    font-size: 1.6rem;
  }

  .thanks-name {
    font-size: 1.2rem;
  }

  .thanks-email {
    font-size: 1.1rem;
  }

  .thanks-info {
    font-size: 1.1rem;
  }
}

[data-aos="fade-right"]:not(.aos-animate) {
  transform: translate3d(-32px, 0, 0) !important;
}

[data-aos="fade-left"]:not(.aos-animate) {
  transform: translate3d(32px, 0, 0) !important;
}

@media (max-width: 900px) {
  [data-aos] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .hero-grid > *,
  .pricing-layout > *,
  .cta-layout > *,
  .testimonials-grid > * {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .header-notice {
    word-break: break-all;
  }

  .footer .logo a {
    flex-direction: column;
  }

  .footer .logo a span {
    word-break: break-all;
    min-width: 0;
    flex: 1;
  }

  .footer-col,
  .footer-contact,
  .footer-legal {
    word-break: break-all;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .section-header h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .contact-form {
    padding: 0;
  }

  .btn {
    width: 100%;
    max-width: 100%;
  }
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner__content {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 20px;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid rgba(31,41,55,.15);
  border-radius: 14px;
  box-shadow: 0 14px 45px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookie-banner__content p { margin: 0; line-height: 1.5; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  border: 0;
  border-radius: 9px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.cookie-btn--primary { background: #8a623d; color: #fff; }
.cookie-btn--secondary { background: #eef0f2; color: #1f2937; }
@media (max-width: 720px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner__content { align-items: stretch; flex-direction: column; padding: 16px; }
  .cookie-banner__actions { width: 100%; flex-direction: column-reverse; }
  .cookie-btn { width: 100%; }
}
