@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg-page: #f9f8f5;
  --bg-card: #ffffff;
  --text-main: #3b3734;
  --text-muted: #8b8884;
  --green: #677c57;
  --beige-dark: #ccaf99;
  --beige-light: #ece6df;
  --border-light: #dfd5c9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.header-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--beige-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-nav {
  display: flex;
  gap: 36px;
  font-size: 13px;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.header-nav a {
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--text-main);
}

.header-nav a.active {
  color: var(--text-main);
}

.chevron {
  display: inline-block;
  margin-left: 6px;
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}

.btn {
  padding: 14px 32px;
  border-radius: 40px;
  border: none;
  text-decoration: none;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

.btn-beige {
  background-color: var(--beige-dark);
  color: var(--text-main);
  font-weight: 500;
}

.m-text {
  display: none;
}



.btn-light {
  background-color: var(--beige-light);
  color: var(--text-main);
}

/* HERO */
.hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 100px 0 140px;
  gap: 40px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; left: -30%;
  width: 100%; height: 150%;
  background: radial-gradient(circle at 40% 50%, #f2dac0 0%, #faefe5 35%, rgba(255,255,255,0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-left {
  position: relative;
  flex: 1;
  padding-top: 20px;
  z-index: 1;
}

.hero-right {
  position: relative;
  width: 50%;
  min-height: 600px;
  z-index: 1;
}

.hero-photo-frame {
  position: absolute;
  top: 0;
  right: -100px;
  width: 600px;
  height: 600px;
}

.hero-photo-frame::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid #949a88;
  z-index: 1;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(148, 154, 136, 0.4);
  z-index: 1;
}

.hero-subtitle {
  text-transform: lowercase;
  color: var(--text-muted);
  font-size: 16px;
  letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(42px, 5.5vw, 80px);
  font-weight: 300;
  margin: 10px 0 16px;
  letter-spacing: 2px;
  line-height: 1.1;
}

.hero-accent {
  font-size: 19px;
  color: var(--text-main);
  margin: 0 0 30px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.hero-advantages {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.adv-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.adv-dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
}

.services-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 440px;
  border-top: 1px solid #e1dcd5;
}

.service-row {
  border-bottom: 1px solid #e1dcd5;
  padding: 16px 0;
}

.service-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: #7a736c;
  cursor: pointer;
  padding-right: 16px;
}

.service-row-header span {
  font-weight: 300;
  letter-spacing: 0.5px;
}

.circle-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.circle-arrow svg {
  width: 14px;
  height: 14px;
  color: #989189;
}

.service-sub-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.sub-pill {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--text-main);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
}

.hero-image-wrapper {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--beige-light);
  z-index: 2;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}

.glass-pill {
  position: absolute;
  bottom: 120px;
  left: 0;
  z-index: 5;
  background: rgba(50, 48, 45, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 24px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.1);
}

/* SECTION COMMON */
.section {
  padding: 60px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.section-title-light {
  font-size: 40px;
  font-weight: 300;
  line-height: 1.2;
  margin: 0;
  letter-spacing: 1px;
}

.section-badge {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 20px;
}

/* LICENSE BANNER */
.license-banner {
  padding: 0 0 80px 0;
}

.license-frame {
  margin: 0 auto;
  max-width: 900px;
  border: 1px solid #eaede5;
  border-radius: 25px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: #f6f5f3;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  position: relative;
}

.license-frame::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px dashed var(--beige-dark);
  border-radius: 10px;
  pointer-events: none;
}

.lf-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid #eaede5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  flex-shrink: 0;
}

.lf-content {
  flex: 1;
}

.lf-content h4 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: 1px;
}

.lf-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.lf-action {
  flex-shrink: 0;
  z-index: 2;
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 150px;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content p {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 16px;
  max-width: 600px;
}

.about-intro {
  font-weight: 500;
  margin-bottom: 30px !important;
}

.education-block {
  margin-top: 40px;
  border-top: 1px solid var(--border-light);
  padding-top: 40px;
  max-width: 600px;
}

.education-block h3 {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.edu-row {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.edu-year {
  font-size: 14px;
  color: var(--text-muted);
  width: 60px;
}

.edu-text {
  font-size: 14px;
}

.edu-text strong {
  font-weight: 500;
}

.mt-4 { margin-top: 24px; }

.search-pill-wide {
  background-color: var(--beige-light);
  padding: 16px 24px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 40px;
  justify-content: center;
  color: var(--text-main);
}

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

.feature-card {
  background-color: #f6f5f3;
  border: 1px solid #eaede5;
  padding: 40px 30px;
  border-radius: 25px;
}

.feature-card h4 {
  font-size: 14px;
  margin: 0 0 16px;
  font-weight: 500;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* SERVICES */
.services-tabs {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.services-label-title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0;
  color: var(--text-muted);
  text-transform: uppercase;
}

.tabs-list {
  display: flex;
  gap: 12px;
  align-items: center;
}

.tab {
  padding: 12px 24px;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  font-size: 14px;
  cursor: pointer;
  background: var(--bg-card);
}

.tab.active {
  background: var(--beige-dark);
  color: #fff;
  border-color: var(--beige-dark);
}

.tab-controls {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  cursor: pointer;
}

.services-slider {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card-ref {
  background-color: #f6f5f3;
  border: 1px solid #eaede5;
  padding: 45px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.card-title {
  font-size: 26px;
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-badge {
  font-size: 11px;
  color: #a4a098;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-text {
  font-size: 14.5px;
  color: #666;
  margin: 0 0 40px;
  line-height: 1.6;
}

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-tags-btm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-tag {
  background-color: #e5e1db;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 13px;
  color: #555;
  display: inline-block;
  width: fit-content;
}

.card-btn {
  padding: 16px 32px;
}

/* PRICING */
.pricing-header {
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
}

.pricing-desc {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 30px;
}

.accordion {
  border-top: 1px solid var(--border-light);
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-head {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 15px;
}

.acc-arrow {
  color: var(--text-muted);
}

.accordion-body {
  padding-bottom: 24px;
}

.acc-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.acc-pill {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  font-size: 13px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--bg-page);
  font-size: 14px;
}

.price-row:last-child {
  border-bottom: none;
}

.p-val {
  color: var(--text-muted);
}

/* REVIEWS */
.reviews-filters {
  display: flex;
  gap: 12px;
}

.reviews-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.review-box {
  background-color: #f6f5f3;
  border: 1px solid #eaede5;
  padding: 40px 30px;
  border-radius: 25px;
}

.review-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.r-user {
  color: var(--text-main);
  font-weight: 500;
}

.r-rating {
  font-size: 13px;
  margin-bottom: 20px;
}

.r-text {
  font-size: 14px;
  line-height: 1.6;
}

/* FAQ */
.accordion-full {
  border-top: 1px solid var(--border-light);
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  overflow: hidden;
}

.faq-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 15px;
  transition: color 0.3s;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-bottom: 0;
}

.faq-item.open .faq-body {
  max-height: 200px;
  padding-bottom: 24px;
}

.faq-item.open .faq-head {
  color: var(--beige-dark);
}

.faq-item.open .acc-arrow {
  transform: rotate(180deg);
}

.acc-arrow {
  transition: transform 0.3s;
}

/* CONTACTS */
.contacts-section {
  padding-bottom: 100px;
}

.contacts-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #f6f5f3;
  border: 1px solid #eaede5;
  border-radius: 32px;
  overflow: hidden;
}

.contacts-left {
  padding: 60px;
  display: flex;
  flex-direction: column;
}

.contacts-left h2 {
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 30px;
}

.c-phone {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 24px;
}

.c-info {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.form-block {
  background-color: #fff;
  border: 1px solid #eaede5;
  padding: 40px;
  border-radius: 25px;
  margin-bottom: 40px;
}

.form-block p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 20px;
}

.form-input {
  width: 100%;
  padding: 16px;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  font-size: 14px;
  outline: none;
}

.footer-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
}

.logo-small {
  background: var(--beige-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: var(--text-main);
}

.contacts-right {
  position: relative;
}

.map-container {
  display: block;
  width: 100%;
  height: 100%;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+PGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMSIgZmlsbD0iI2U2ZGZkNiIvPjwvc3ZnPg==') repeat;
  background-color: var(--bg-page);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin {
  width: 20px;
  height: 20px;
  background: var(--text-main);
  border-radius: 50%;
  border: 4px solid #d2c8bc;
  margin-bottom: 60px;
}

.map-text {
  position: absolute;
  bottom: 60px;
  left: 60px;
}

.m-city {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.m-street {
  font-size: 32px;
  font-family: serif;
  margin-bottom: 16px;
}

.m-badge {
  color: var(--text-main);
  font-size: 14px;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
  .hero-photo-frame {
    width: 500px;
    height: 500px;
  }
}

@media (max-width: 900px) {
  .header {
    margin-bottom: -100px;
    position: relative;
    z-index: 100;
  }
  .hero {
    flex-direction: column;
    padding: 100px 0 60px;
  }
  .hero::before {
    top: -120px;
    left: -10%;
    width: 120%;
    height: calc(100% + 120px);
    background: radial-gradient(circle at 50% 15%, #f2dac0 0%, #faefe5 40%, rgba(255,255,255,0) 80%);
  }
  .hero-right {
    width: 100%;
    min-height: auto;
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }
  .hero-photo-frame {
    position: relative;
    top: 0; right: 0;
    width: 440px;
    height: 440px;
    margin-bottom: 20px;
  }
  .glass-pill {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  
  .about-grid, .pricing-grid, .contacts-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .services-slider, .reviews-grid-3 {
    grid-template-columns: 1fr;
  }
  .license-frame {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .about-photo {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }
  .contacts-right {
    min-height: 400px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  .header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: transparent;
  }
  .header-nav {
    display: none;
  }
  .head-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  .d-text { display: none; }
  .m-text { display: inline-flex; align-items: center; gap: 6px; }
  .m-text::before {
    content: "";
    display: inline-block;
    width: 16px; height: 16px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%2332302d" xmlns="http://www.w3.org/2000/svg"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51a5.8 5.8 0 00-.57-.01c-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.029 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.885-9.885 9.885L12.051 21.785z"/></svg>') no-repeat center;
  }
  .hero-title {
    font-size: 38px;
  }
  .hero-photo-frame {
    width: 320px;
    height: 320px;
  }
  .glass-pill {
    font-size: 13px;
    padding: 12px 16px;
    width: 90%;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .services-tabs {
    flex-direction: column;
    align-items: flex-start;
  }
  .tabs-list {
    flex-wrap: wrap;
  }
  .card-header {
    flex-direction: column;
    gap: 12px;
  }
  .card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .card-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .pricing-header {
    margin-bottom: 20px;
  }
  .acc-actions {
    flex-wrap: wrap;
  }
  .price-row {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
  .contacts-left {
    padding: 30px 20px;
  }
  .form-block {
    padding: 24px 20px;
  }
}
