@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400&display=swap');

.ova-about-page {
  --about-accent: #ebc966;
  --about-primary: #100d13;
  --about-body: #49454a;
  --about-bg: #faf9f7;
  --about-panel-bg: #f4f3f1;
  --about-panel-bg-hover: #e9e8e6;
  --about-cta-bg: #100d13;
  --about-cta-text: #ffffff;
  --about-cta-title: #ffffff;
  --about-container: 1280px;
  --about-margin-mobile: 24px;
  --about-margin-desktop: 80px;
  --about-editorial-gap: 120px;

  background: var(--about-bg);
  color: var(--about-primary);
  font-family: 'Montserrat', sans-serif;
}

/* Hero */
.ova-about-page__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  min-height: auto;
}

.ova-about-page__hero-media {
  width: 100%;
  min-height: 60vh;
  position: relative;
  padding: 40px var(--about-margin-mobile);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ova-about-page__image-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100%;
  min-height: 320px;
}

.ova-about-page__image-frame.has-frame::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -20px;
  bottom: -20px;
  left: 20px;
  border: 0.5px solid var(--about-accent);
  z-index: 0;
  pointer-events: none;
}

.ova-about-page__hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.ova-about-page__hero-image.is-grayscale {
  filter: grayscale(100%) brightness(0.95);
}

.ova-about-page__hero-content {
  width: 100%;
  padding: var(--about-margin-mobile);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ova-about-page__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--about-accent);
  margin-bottom: 16px;
}

.ova-about-page__hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--about-primary);
  margin: 0 0 32px;
}

.ova-about-page__hero-text {
  max-width: 36rem;
}

.ova-about-page__hero-text p {
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-weight: 300;
  color: var(--about-body);
  margin: 0 0 24px;
}

.ova-about-page__hero-text p:last-child {
  margin-bottom: 0;
}

.ova-about-page__hero-highlight {
  padding-top: 32px;
}

.ova-about-page__decorative-line {
  width: 96px;
  height: 1px;
  margin-bottom: 24px;
  background: linear-gradient(to right, var(--about-accent), transparent);
}

.ova-about-page__highlight-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ova-about-page__highlight-main {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 500;
  font-style: italic;
  color: var(--about-primary);
}

.ova-about-page__highlight-sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--about-accent);
}

/* Services */
.ova-about-page__services {
  padding: var(--about-editorial-gap) var(--about-margin-mobile);
  max-width: var(--about-container);
  margin: 0 auto;
}

.ova-about-page__services-header {
  text-align: center;
  margin-bottom: 96px;
}

.ova-about-page__services-title {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--about-primary);
  margin: 0;
}

.ova-about-page__services-divider {
  width: 64px;
  height: 4px;
  background: var(--about-accent);
  margin: 24px auto 0;
}

.ova-about-page__services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px 48px;
}

.ova-about-page__services-grid.cols-2 {
  grid-template-columns: 1fr;
}

.ova-about-page__services-grid.cols-3 {
  grid-template-columns: 1fr;
}

.ova-about-page__panel {
  background: var(--about-panel-bg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: background-color 0.5s ease, opacity 0.7s ease, transform 0.7s ease;
}

.ova-about-page__panel:hover {
  background: var(--about-panel-bg-hover);
}

.ova-about-page__panel.is-animated {
  opacity: 0;
  transform: translateY(48px);
}

.ova-about-page__panel.is-animated.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ova-about-page__panel-icon {
  margin-bottom: 32px;
  font-size: 48px;
  line-height: 1;
  color: var(--about-accent);
}

.ova-about-page__panel-icon svg {
  width: 48px;
  height: 48px;
  fill: var(--about-accent);
}

.ova-about-page__panel-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--about-primary);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(235, 201, 102, 0.2);
}

.ova-about-page__panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ova-about-page__panel-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--about-body);
  margin-bottom: 16px;
}

.ova-about-page__panel-title-link,
.ova-about-page__panel-list-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ova-about-page__panel-title-link:hover,
.ova-about-page__panel-list-link:hover {
  color: var(--about-accent);
}

.ova-about-page__panel-list li:last-child {
  margin-bottom: 0;
}

.ova-about-page__bullet {
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  background: var(--about-accent);
  display: inline-block;
}

/* CTA */
.ova-about-page__cta {
  background: var(--about-cta-bg);
  color: var(--about-cta-text);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: var(--about-editorial-gap) 0;
  text-align: center;
  box-sizing: border-box;
}

.ova-about-page__cta-inner {
  max-width: var(--about-container);
  margin: 0 auto;
  padding: 0 var(--about-margin-mobile);
}

.ova-about-page__cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--about-cta-title, #ffffff);
  opacity: 0.85;
  margin: 0 0 48px;
}

.ova-about-page__cta-actions {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  align-items: center;
}

.ova-about-page__cta-button {
  display: inline-block;
  border: 1px solid var(--about-accent);
  color: var(--about-accent);
  padding: 16px 48px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.ova-about-page__cta-button:hover {
  background: var(--about-accent);
  color: var(--about-cta-bg);
}

.ova-about-page__cta-divider {
  display: none;
  width: 1px;
  height: 48px;
  background: var(--about-accent);
}

.ova-about-page__cta-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ova-about-page__cta-phone-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--about-cta-text);
  opacity: 0.5;
  margin-bottom: 4px;
}

.ova-about-page__cta-phone-number {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  letter-spacing: 0.1em;
  color: var(--about-cta-text);
  text-decoration: none;
}

.ova-about-page__cta-phone-number:hover {
  color: var(--about-accent);
}

/* Desktop */
@media (min-width: 768px) {
  .ova-about-page__hero {
    flex-direction: row;
    min-height: 100vh;
  }

  .ova-about-page__hero-media {
    width: 50%;
    min-height: 100vh;
    padding: 96px;
  }

  .ova-about-page__hero-content {
    width: 50%;
    padding: var(--about-margin-desktop);
  }

  .ova-about-page__hero-title {
    font-size: 64px;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .ova-about-page__services {
    padding-left: var(--about-margin-desktop);
    padding-right: var(--about-margin-desktop);
  }

  .ova-about-page__services-title {
    font-size: 64px;
    line-height: 1.1;
  }

  .ova-about-page__services-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ova-about-page__services-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ova-about-page__cta-inner {
    padding: 0 var(--about-margin-desktop);
  }

  .ova-about-page__cta-actions {
    flex-direction: row;
    gap: 32px;
  }

  .ova-about-page__cta-divider {
    display: block;
  }

  .ova-about-page__cta-phone {
    align-items: flex-start;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .ova-about-page__services-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
