/**
 * Styles for "About Us" page v3 (page-about-v3.php)
 * Clean, elegant layout precisely matched to client design requirements:
 * 1. Centered pink hero banner
 * 2. Mission / Philosophy with treatment visual & stats (uniform dark numbers, 30+ metric)
 * 3. 2x2 Advantages cards in soft pink tint (01-04 numbers, no icons)
 * 4. Team section with pink-line quote (rounded right) & 3 square specialist cards
 * 5. Full-grid-width pink rounded CTA card with hero-sized button & italic "безкоштовну"
 */

/* ============================================================
   GLOBAL V3 LAYOUT & TYPOGRAPHY
   ============================================================ */

.about-v3 {
    background-color: #ffffff;
    color: var(--color-black-100, #3c3e4c);
    overflow-x: hidden;
}

.av3-container {
    max-width: var(--content-max-width, 1320px);
    margin: 0 auto;
    padding: 0 var(--section-px, 60px);
}

@media (max-width: 768px) {
    .av3-container {
        padding: 0 20px;
    }
}

/* Eyebrows */
.av3-eyebrow {
    font-family: var(--font-body, 'Onest', sans-serif);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--color-accent, #c94982);
    margin-bottom: 14px;
    display: block;
}

.av3-eyebrow--center {
    text-align: center;
}

/* Section headers */
.av3-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 52px;
}

.av3-section-header__title {
    font-family: var(--font-display, 'Nyght Serif', serif);
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 300;
    line-height: 1.2;
    color: var(--color-black-100, #3c3e4c);
    margin: 0 0 16px;
}

.av3-section-header__subtitle {
    font-family: var(--font-body, 'Onest', sans-serif);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--color-black-lite, #696b7a);
    margin: 0 auto;
    max-width: 640px;
}


/* ============================================================
   1. HERO — Centered pink banner
   ============================================================ */

.av3-hero {
    background: var(--color-pink-bg, #ffdce3);
    padding: 85px 24px 90px;
    text-align: center;
    border-bottom: 1px solid rgba(201, 73, 130, 0.1);
}

.av3-hero__container {
    max-width: 760px;
    margin: 0 auto;
}

.av3-hero__eyebrow {
    font-family: var(--font-body, 'Onest', sans-serif);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--color-accent, #c94982);
    margin-bottom: 22px;
    display: block;
}

.av3-hero__title {
    font-family: var(--font-display, 'Nyght Serif', serif);
    font-size: clamp(38px, 4.6vw, 56px);
    font-weight: 300;
    line-height: 1.18;
    letter-spacing: 0.5px;
    color: var(--color-black-100, #3c3e4c);
    margin: 0 0 20px;
}

.av3-hero__title em {
    font-style: italic;
    font-weight: 300;
    color: var(--color-black-100, #3c3e4c);
    position: relative;
    display: inline-block;
    border-bottom: 1.5px solid var(--color-black-100, #3c3e4c);
    padding-bottom: 2px;
}

.av3-hero__lead {
    font-family: var(--font-body, 'Onest', sans-serif);
    font-size: clamp(15px, 1.6vw, 17px);
    font-weight: 300;
    line-height: 1.65;
    color: #555866;
    max-width: 620px;
    margin: 0 auto;
}


/* ============================================================
   2. MISSION SECTION — Text + Treatment image with badge
   ============================================================ */

.av3-mission {
    padding: 100px 0 90px;
    background: #ffffff;
}

.av3-mission__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 991px) {
    .av3-mission__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.av3-mission__title {
    font-family: var(--font-display, 'Nyght Serif', serif);
    font-size: clamp(34px, 3.8vw, 48px);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: var(--color-black-100, #3c3e4c);
    margin: 0 0 28px;
}

.av3-mission__title em {
    font-style: italic;
    font-weight: 300;
    color: var(--color-accent, #c94982);
}

.av3-mission__paragraphs {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 38px;
}

.av3-mission__paragraphs p {
    font-family: var(--font-body, 'Onest', sans-serif);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.68;
    color: #555866;
    margin: 0;
}

/* Metrics — All unified dark #3c3e4c */
.av3-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 26px;
    border-top: 1px solid rgba(60, 62, 76, 0.12);
}

.av3-metric {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.av3-metric__number {
    font-family: var(--font-display, 'Nyght Serif', serif);
    font-size: clamp(32px, 3vw, 42px);
    font-weight: 300;
    line-height: 1;
    color: var(--color-black-100, #3c3e4c);
}

.av3-metric__label {
    font-family: var(--font-body, 'Onest', sans-serif);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--color-black-lite, #696b7a);
}

/* Visual Right */
.av3-mission__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.av3-mission__img-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 32px;
    overflow: hidden;
    background: var(--color-pink-bg, #ffdce3);
    box-shadow: 0 16px 40px rgba(60, 62, 76, 0.08);
}

.av3-mission__img {
    width: 100%;
    aspect-ratio: 4 / 4.7;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.av3-mission__img-frame:hover .av3-mission__img {
    transform: scale(1.025);
}

.av3-mission__floating-badge {
    position: absolute;
    bottom: -15px;
    left: -10px;
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 32px rgba(60, 62, 76, 0.12);
    border: 1px solid rgba(229, 218, 208, 0.4);
    max-width: 320px;
}

@media (max-width: 576px) {
    .av3-mission__floating-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 16px;
        width: 100%;
        max-width: none;
    }
}

.av3-mission__badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--color-feature-bg, #ffecf5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent, #c94982);
}

.av3-mission__badge-text {
    font-family: var(--font-body, 'Onest', sans-serif);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--color-black-100, #3c3e4c);
    margin: 0;
}


/* ============================================================
   3. ADVANTAGES — 2x2 Soft Pink Tint Cards (01.-04., No Icons)
   ============================================================ */

.av3-advantages {
    padding: 90px 0 95px;
    background: #ffffff;
}

.av3-advantages__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

@media (max-width: 768px) {
    .av3-advantages__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.av3-adv-card {
    background: #fdf0f4;
    border-radius: 20px;
    padding: 34px 38px 30px;
    border: 1px solid rgba(255, 220, 227, 0.4);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.av3-adv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(201, 73, 130, 0.08);
}

.av3-adv-card__header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 14px;
}

.av3-adv-card__num {
    font-family: var(--font-display, 'Nyght Serif', serif);
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    color: var(--color-black-100, #3c3e4c);
    flex-shrink: 0;
}

.av3-adv-card__title {
    font-family: var(--font-display, 'Nyght Serif', serif);
    font-size: 24px;
    font-weight: 300;
    line-height: 1.25;
    color: var(--color-black-100, #3c3e4c);
    margin: 0;
}

.av3-adv-card__text {
    font-family: var(--font-body, 'Onest', sans-serif);
    font-size: 14.5px;
    font-weight: 300;
    line-height: 1.65;
    color: #555866;
    margin: 0;
}


/* ============================================================
   4. TEAM SECTION — Pink line quote (right rounded) & Square Photos
   ============================================================ */

.av3-team {
    padding: 85px 0 95px;
    background: #ffffff;
}

/* Quote box: rounded corners with left pink accent line */
.av3-team__quote-box {
    background: #fdf0f4;
    border-left: 4px solid var(--color-accent, #c94982);
    border-radius: 18px;
    padding: 24px 32px;
    max-width: 820px;
    margin: 0 auto 52px;
}

.av3-team__quote-text {
    font-family: var(--font-body, 'Onest', sans-serif);
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-black-100, #3c3e4c);
    margin: 0;
}

/* 3-column Specialists Grid with Square Portraits */
.av3-team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

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

@media (max-width: 640px) {
    .av3-team__grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
}

.av3-specialist {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(60, 62, 76, 0.09);
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.av3-specialist__photo-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #fdf0f4;
}

.av3-specialist__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.av3-specialist__info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.av3-specialist__name {
    font-family: var(--font-display, 'Nyght Serif', serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--color-black-100, #3c3e4c);
    margin: 0 0 6px;
}

.av3-specialist__role {
    font-family: var(--font-body, 'Onest', sans-serif);
    font-size: 13.5px;
    font-weight: 400;
    color: var(--color-accent, #c94982);
    line-height: 1.4;
    margin: 0 0 16px;
    min-height: 38px;
}

.av3-specialist__divider {
    border-top: 1px dashed rgba(60, 62, 76, 0.15);
    margin-bottom: 12px;
}

.av3-specialist__exp {
    font-family: var(--font-body, 'Onest', sans-serif);
    font-size: 12.5px;
    font-weight: 300;
    color: var(--color-black-lite, #696b7a);
    margin: 0;
}


/* ============================================================
   5. CTA — In-Frame Rounded Card Stretching Full Width of Grid
   ============================================================ */

.av3-cta {
    padding: 30px 0 110px;
    background: #ffffff;
}

.av3-cta__card {
    background: var(--color-pink-bg, #ffdce3);
    border-radius: 36px;
    padding: 70px 40px 75px;
    text-align: center;
    width: 100%; /* Stretches to the full width of the container grid */
    margin: 0 auto;
    position: relative;
    border: 1px solid rgba(201, 73, 130, 0.12);
}

@media (max-width: 768px) {
    .av3-cta__card {
        padding: 44px 20px 48px;
        border-radius: 28px;
    }
}

.av3-cta__title {
    font-family: var(--font-display, 'Nyght Serif', serif);
    font-size: clamp(32px, 4.2vw, 48px);
    font-weight: 300;
    line-height: 1.22;
    color: var(--color-black-100, #3c3e4c);
    margin: 0 auto 18px;
    max-width: 720px;
}

.av3-cta__title em {
    font-style: italic;
    font-weight: 300;
    color: var(--color-black-100, #3c3e4c);
}

.av3-cta__text {
    font-family: var(--font-body, 'Onest', sans-serif);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.65;
    color: #555866;
    max-width: 640px;
    margin: 0 auto 36px;
}

.av3-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

/* Hero-sized CTA Button (matching hero__cta on homepage) */
.av3-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 32px;
    background-color: var(--color-black-lite, #696b7a);
    border-radius: 26px;
    color: #ffffff !important;
    font-family: var(--font-body, 'Onest', sans-serif);
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.16px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(60, 62, 76, 0.12);
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    border: none;
    cursor: pointer;
}

.av3-cta__button:hover {
    background-color: var(--color-black-100, #3c3e4c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(60, 62, 76, 0.22);
    color: #ffffff !important;
}

.av3-cta__btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
    transition: transform 0.3s ease;
}

.av3-cta__button:hover .av3-cta__btn-icon {
    transform: scale(1.15) rotate(15deg);
}

.av3-cta__phone {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--font-body, 'Onest', sans-serif);
    font-size: 15px;
    color: #555866;
}

.av3-cta__phone-label {
    color: #555866;
}

.av3-cta__phone-link {
    color: var(--color-black-100, #3c3e4c) !important;
    text-decoration: underline !important;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.2s ease;
}

.av3-cta__phone-link:hover {
    color: var(--color-accent, #c94982) !important;
}
