/* ========================================
   My Site Theme — Main Stylesheet v2.5
   ======================================== */

/* ---------- Variables ---------- */
:root {
  --color-bg: #fcf9f5;
  --color-bg-alt: #f5efe6;
  --color-bg-alt2: #efe7db;
  --color-text: #1e1e1e;
  --color-text-muted: #6b6b6b;
  --color-accent: #c9a96e;
  --color-accent-hover: #b8954e;
  --color-accent-light: rgba(201, 169, 110, 0.12);
  --color-accent-warm: #d4954a;
  --color-border: #e8e0d4;
  --color-white: #ffffff;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --gap: 24px;
  --radius: 12px;
  --radius-pill: 50px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ---------- Section ---------- */
.section {
  position: relative;
  padding: 100px 0;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 56px;
  text-align: center;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1.2;
}

.section__title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-warm));
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: var(--font-body);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: #ffa710;
  color: #323e67;
  box-shadow: 0 4px 15px rgba(255, 167, 16, 0.25);
  font-weight: 500;
}

.btn--primary:hover {
  background: #fad689;
  color: #323e67;
  box-shadow: 0 8px 25px rgba(255, 167, 16, 0.3);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.2);
}

.btn--lg {
  padding: 18px 48px;
  font-size: 1.0625rem;
}

.btn--sm {
  padding: 10px 22px;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Section Decor ---------- */
.section-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.section-decor--circle {
  border-radius: 50%;
  background: var(--color-accent-light);
}

.section-decor--circle-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: -80px;
}

.section-decor--circle-2 {
  width: 200px;
  height: 200px;
  bottom: -60px;
  left: -60px;
}

.section-decor--circle-3 {
  width: 120px;
  height: 120px;
  top: 50%;
  right: 5%;
  background: rgba(212, 149, 74, 0.06);
}

/* ---------- Section Panel (rounded card container) ---------- */
.section__panel {
  background: var(--color-bg-alt);
  border-radius: 24px;
  padding: 56px 48px;
  position: relative;
  z-index: 1;
}

/* ---------- Header Wrap ---------- */
.header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* ---------- Header ---------- */
.header {
  position: relative;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo-img {
  height: 36px;
  width: auto;
}

/* ---------- Nav (desktop) ---------- */
.header__nav--desktop {
  background: rgba(252, 249, 245, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 6px 18px;
  margin-right: 24px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header__menu .menu-item a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 8px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--t396-bgcolor-color, transparent);
}

.header__menu .menu-item a:hover {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-warm));
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.35);
}

/* ---------- Actions ---------- */
.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header__actions .btn {
  padding: 12px 28px;
  font-size: 0.9375rem;
  line-height: 1.3;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 108px 0 88px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 169, 110, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(212, 149, 74, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 20% 100%, rgba(201, 169, 110, 0.08) 0%, transparent 50%);
}

.hero__decor-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__decor-circle--1 {
  width: 500px;
  height: 500px;
  top: -200px;
  right: -150px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
}

.hero__decor-circle--2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(212, 149, 74, 0.05) 0%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero__content {
  flex: 1;
  min-width: 0;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInDown 0.8s ease 0.2s forwards;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  min-height: 2.2em;
}

.hero__title-accent {
  color: var(--color-accent-warm);
}

.hero__cursor {
  display: inline-block;
  color: var(--color-accent-warm);
  animation: blink 0.7s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero__actions {
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero__actions .btn--primary {
  background: transparent;
  color: #ffa710;
  border: 1.5px solid #ffa710;
  box-shadow: none;
}

.hero__actions .btn--primary:hover {
  background: #ffa710;
  color: #323e67;
  box-shadow: 0 4px 15px rgba(255, 167, 16, 0.25);
  transform: translateY(-2px);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Section Divider ---------- */
.section-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
  margin-top: -1px;
}

.section-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
}

/* ---------- Decorative wave between sections ---------- */
.section-divider--top {
  background: var(--color-bg);
}

.section-divider--alt {
  background: var(--color-bg-alt);
}

.section-divider--white {
  background: var(--color-white);
}

/* ---------- Channel ---------- */
.channel {
  position: relative;
  padding: 80px 0 100px;
}

.channel__card {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, #f0e8db 100%);
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.channel__card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--color-accent-light);
  pointer-events: none;
}

.channel__card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(212, 149, 74, 0.06);
  pointer-events: none;
}

.channel__label {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.channel__desc {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 1rem;
}

.channel__links {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ---------- Work ---------- */
.work {
  position: relative;
  background: var(--color-white);
}

.work__lead {
  text-align: center;
  max-width: 700px;
  margin: -8px auto 40px;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
  position: relative;
  z-index: 1;
}

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

.work__subtitle {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 48px auto 24px;
  position: relative;
  z-index: 1;
}

.work__card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s ease;
}

.work__card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.15);
}

.work__card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.work__card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.work__card--alt {
  background: var(--color-bg);
  padding: 28px 24px;
}

.work__card-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.work__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.work__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 10px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.work__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ---------- Method ---------- */
.method {
  position: relative;
}

.method__subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 500;
  margin: -8px auto 36px;
  position: relative;
  z-index: 1;
}

.method__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 1;
}

.method__text p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.method__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.method__item {
  padding-left: 24px;
  border-left: 2px solid var(--color-accent);
}

.method__item-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.method__item-text {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- Prices ---------- */
.prices {
  position: relative;
  background: var(--color-white);
}

.prices__lead {
  text-align: center;
  max-width: 700px;
  margin: -8px auto 40px;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.prices__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  position: relative;
  z-index: 1;
}

.prices__combine {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 48px auto 40px;
  position: relative;
  z-index: 1;
}

.prices__assessments-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.price-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.price-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.15);
}

.price-card__type {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.price-card__header {
  margin-bottom: 14px;
}

.price-card__header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.price-card__format {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.price-card__body {
  flex: 1;
  margin-bottom: 20px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.price-card__footer {
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.price-card__price {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-warm));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Assessments ---------- */
.assessments__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  position: relative;
  z-index: 1;
}

.assess-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.assess-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.15);
}

.assess-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text);
}

.assess-card__desc {
  flex: 1;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.assess-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.assess-card__meta {
  display: flex;
  flex-direction: column;
}

.assess-card__price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
}

.assess-card__duration {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ---------- About ---------- */
.about {
  position: relative;
  background: var(--color-white);
}

.about__content {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about__photo-wrapper {
  position: relative;
}

.about__photo-wrapper::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--color-accent);
  border-radius: 24px;
  z-index: 0;
  opacity: 0.4;
}

.about__photo {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about__photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--color-bg-alt);
}

.about__photo-decor {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-accent-light);
  z-index: 0;
}

.about__info {
  padding: 20px 0;
}

.about__text {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat {
  text-align: center;
  padding: 24px 20px;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, #f0e8db 100%);
  border-radius: 16px;
  transition: all var(--transition);
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-warm));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat__label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ---------- Certificates ---------- */
.certificates {
  position: relative;
}

.certificates__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  position: relative;
  z-index: 1;
}

.cert-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.cert-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-light), rgba(212, 149, 74, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-card__icon img {
  width: 26px;
  height: 26px;
}

.cert-card h3 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cert-card p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ---------- Cases ---------- */
.cases {
  position: relative;
  background: var(--color-white);
}

.cases__carousel {
  position: relative;
  overflow: hidden;
}

.cases__carousel-track {
  display: flex;
  gap: var(--gap);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.cases__carousel .case-card {
  flex: 0 0 33.3333%;
  max-width: 300px;
  margin: 0 auto;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.cases__carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.cases__carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cases__carousel-btn:hover {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-warm));
  border-color: transparent;
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.35);
}

.cases__carousel-dots {
  display: flex;
  gap: 8px;
}

.cases__carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--color-border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cases__carousel-dot.is-active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-accent);
}

.case-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 36px 32px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.case-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--color-accent-light);
}

.case-card__icon img {
  width: 24px;
  height: 24px;
}

.case-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.case-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.case-card__result {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-warm));
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

/* ---------- Contact / Form ---------- */
.contact {
  position: relative;
}

.contact__form {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.form__group {
  margin-bottom: 18px;
}

.form__group--error .form__field {
  border-color: #c0392b;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.08);
}

.form__error {
  display: block;
  color: #c0392b;
  font-size: 0.8125rem;
  margin-top: 6px;
}

.form__error[hidden] {
  display: none;
}

.form__group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form__field {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-white);
  color: var(--color-text);
  transition: all var(--transition);
  outline: none;
}

.form__field:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-light);
}

.form__field::placeholder {
  color: #b0a89a;
}

select.form__field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%236b6b6b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.form__checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.form__submit {
  width: 100%;
  padding: 18px;
  font-size: 1.0625rem;
  margin-top: 8px;
}

.contact__note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 16px;
  line-height: 1.4;
}

.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact__success {
  text-align: center;
  padding: 24px 0;
}

.contact__success-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-accent-warm);
  margin-bottom: 10px;
}

.contact__success-text {
  color: var(--color-text-muted);
  font-size: 1rem;
}

.contact__intro {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 460px;
}

.contact__contacts {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text);
}

.contact__contacts p {
  font-size: 0.9375rem;
  line-height: 1.8;
}

.contact__contacts a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

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

/* ---------- Footer ---------- */
.footer {
  padding: 56px 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
  position: relative;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.footer__social a:hover {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-warm));
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201, 169, 110, 0.3);
}

.footer__info {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}



/* ---------- Hero photo ---------- */
.hero__photo-area {
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.5s forwards;
}

.hero__photo-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.hero__photo-frame:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12), 0 12px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.hero__photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Burger trigger (RMP) fix ---------- */
.rmp_menu_trigger {
  z-index: 1001 !important;
}

/* ---------- Responsive ---------- */

/* Desktop: ≥ 1025px — hero with photo */
@media (min-width: 1025px) {
  .hero__inner {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    text-align: left;
  }

  .hero__desc {
    max-width: 520px;
    margin-left: 0;
    margin-right: 0;
  }

  .hero__actions {
    text-align: left;
  }

  .hero__photo-area {
    width: 420px;
    margin-top: 0;
  }

  .hero__photo-frame {
    width: 420px;
    height: 500px;
  }

  .hero__photo-area::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 120px;
    height: 120px;
    border-right: 3px solid var(--color-accent);
    border-bottom: 3px solid var(--color-accent);
    border-radius: 0 0 12px 0;
    opacity: 0.4;
    pointer-events: none;
  }
}

/* Small desktop / large tablet: 1025–1280px */
@media (max-width: 1280px) {
  .header__inner {
    gap: 8px;
  }

  .header__nav--desktop {
    padding: 5px 12px;
  }

  .header__menu {
    gap: 1px;
  }

  .header__menu .menu-item a {
    font-size: 0.85rem;
    padding: 6px 14px;
  }

  .header__actions .btn {
    padding: 10px 20px;
    font-size: 0.875rem;
  }
}

/* Tablet: 769–1024px — burger visible, hide desktop nav+cta */
@media (max-width: 1024px) {
  .header__nav--desktop {
    display: none;
  }

  .header__actions .btn--primary {
    display: none;
  }

  .hero__title {
    font-size: 3rem;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .hero__content {
    order: 1;
  }

  .hero__photo-area {
    order: 2;
    width: 100%;
    max-width: 380px;
    margin-top: 0;
  }

  .hero__photo-frame {
    width: 100%;
    aspect-ratio: 4 / 5;
  }

  .hero__photo-area::after {
    display: none;
  }

  .work__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .prices__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .about__content {
    gap: 40px;
  }

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

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

  .cases__carousel .case-card {
    flex-basis: 50%;
  }
}

/* Mobile: ≤ 768px */
@media (max-width: 768px) {
  .header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fcf9f5;
    z-index: 1000;
  }

  #rmp_menu_trigger-11 {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    font-size: 0.875rem;
  }

  .hero__desc {
    font-size: 1rem;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .hero__content {
    order: 1;
  }

  .hero__photo-area {
    order: 2;
    width: 100%;
    max-width: 360px;
  }

  .hero__photo-frame {
    width: 100%;
    aspect-ratio: 4 / 5;
  }

  .hero__photo-area::after {
    display: none;
  }

  .section__title {
    font-size: 1.75rem;
    margin-bottom: 36px;
  }

  .section {
    padding: 60px 0;
  }

  .work__grid {
    gap: 16px;
  }

  .work__grid--cols-2,
  .prices__grid,
  .assessments__grid {
    grid-template-columns: 1fr;
  }

  .cases__carousel .case-card {
    flex-basis: 100%;
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__photo-wrapper {
    max-width: 280px;
    margin: 0 auto;
  }

  .about__info {
    padding: 0;
  }

  .section__panel {
    padding: 40px 28px;
  }

  .channel__card {
    padding: 40px 28px;
  }
}

/* Small phones: ≤ 480px */
@media (max-width: 480px) {
  .hero__title {
    font-size: 1.875rem;
  }

  .btn--lg {
    padding: 16px 32px;
    font-size: 1rem;
  }

  .channel__links {
    flex-direction: column;
    align-items: center;
  }

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

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

  .section__panel {
    padding: 32px 20px;
    border-radius: 16px;
  }
}
