/* =========================================================
   НАТАЛЬЯ ГОРДЕЕВА — Taplink + Desktop
   ========================================================= */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0d0d0d;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --gold: #c9a96e;
    --gold-light: #e8d5a3;
    --gold-dim: rgba(201, 169, 110, 0.3);
    --text: #e8e8e8;
    --text-muted: #999999;
    --text-dim: #666666;
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    padding-bottom: 100px;
}

/* =========================================================
   BACKGROUND EFFECTS
   ========================================================= */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-glow::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.bg-glow::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* =========================================================
   CONTAINER — мобильная версия (по умолчанию)
   ========================================================= */
.container {
    max-width: 520px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    position: relative;
    z-index: 1;
}

/* =========================================================
   HERO / PHOTO
   ========================================================= */
.hero {
    text-align: center;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease forwards;
}

.photo-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 22px;
    cursor: pointer;
}

.photo-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--gold),
        var(--gold-light),
        #8b7345,
        var(--gold),
        var(--gold-light),
        var(--gold)
    );
    animation: ringRotate 6s linear infinite;
    z-index: 1;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.photo-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-card);
    z-index: 2;
    border: 4px solid var(--bg-dark);
    transition: var(--transition);
}

.photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.photo-wrapper:hover .photo-inner img {
    transform: scale(1.08);
}

.online-dot {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4ade80;
    border: 3px solid var(--bg-dark);
    z-index: 4;
    display: none;
}

.online-dot.active {
    display: block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

.hero h1 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 8px;
    font-family: Georgia, 'Times New Roman', serif;
}

.hero .tagline {
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 16px;
}

.hero .location {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hero .location svg {
    width: 14px;
    height: 14px;
    fill: var(--text-muted);
}

/* =========================================================
   QUOTE
   ========================================================= */
.quote-block {
    text-align: center;
    margin-bottom: 36px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.08), rgba(201, 169, 110, 0.02));
    border-radius: var(--radius);
    border: 1px solid var(--gold-dim);
    animation: fadeInUp 0.8s ease 0.15s forwards;
    opacity: 0;
}

.quote-block p {
    font-size: 15px;
    color: var(--gold-light);
    font-style: italic;
    font-family: Georgia, serif;
    line-height: 1.6;
}

.quote-block .formula {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--gold);
    font-style: normal;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
}

/* =========================================================
   SECTION TITLE
   ========================================================= */
.section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-dim);
    text-align: center;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.section-title:nth-of-type(1) { animation-delay: 0.2s; }
.section-title:nth-of-type(2) { animation-delay: 0.25s; }

/* =========================================================
   CARDS
   ========================================================= */
.card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, var(--gold), transparent);
    transition: height 0.4s ease;
}

.card:hover::before {
    height: 100%;
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(201, 169, 110, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 169, 110, 0.1);
}

.card:nth-child(1) { animation-delay: 0.25s; }
.card:nth-child(2) { animation-delay: 0.35s; }
.card:nth-child(3) { animation-delay: 0.45s; }
.card:nth-child(4) { animation-delay: 0.55s; }
.card:nth-child(5) { animation-delay: 0.65s; }
.card:nth-child(6) { animation-delay: 0.75s; }

.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.15), rgba(201, 169, 110, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.card:hover .card-icon {
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.25), rgba(201, 169, 110, 0.1));
    transform: scale(1.05);
}

.card-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
}

.card-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.card-body {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

.card-body p {
    margin-bottom: 10px;
}

.card-body p:last-child {
    margin-bottom: 0;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag {
    font-size: 11px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(201, 169, 110, 0.1);
    color: var(--gold-light);
    border: 1px solid rgba(201, 169, 110, 0.15);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.card:hover .tag {
    background: rgba(201, 169, 110, 0.18);
    border-color: rgba(201, 169, 110, 0.3);
}

/* =========================================================
   PRINCIPLES GRID
   ========================================================= */
.principles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.principle-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 16px;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.principle-item:nth-child(1) { animation-delay: 0.55s; }
.principle-item:nth-child(2) { animation-delay: 0.6s; }
.principle-item:nth-child(3) { animation-delay: 0.65s; }
.principle-item:nth-child(4) { animation-delay: 0.7s; }

.principle-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(201, 169, 110, 0.15);
    transform: translateY(-2px);
}

.principle-item .label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.principle-item .value {
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}

/* =========================================================
   CTA BUTTON
   ========================================================= */
.cta {
    display: block;
    width: 100%;
    padding: 18px 24px;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--gold), #a8894a);
    color: #0d0d0d;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

.cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.cta:hover::after {
    left: 120%;
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 169, 110, 0.3);
}

.cta:active {
    transform: translateY(-1px);
}

/* =========================================================
   DIVIDER
   ========================================================= */
.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0 24px;
    animation: fadeInUp 0.8s ease 0.5s forwards;
    opacity: 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201, 169, 110, 0.2), transparent);
}

.divider span {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dim);
    white-space: nowrap;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeInUp 0.8s ease 0.9s forwards;
    opacity: 0;
}

.footer .name {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 2px;
    font-family: Georgia, serif;
    font-style: italic;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid transparent;
}

.footer-link:hover {
    border-color: var(--gold-dim);
    background: rgba(201, 169, 110, 0.05);
}

.footer-link svg {
    width: 18px;
    height: 18px;
    fill: var(--gold);
    flex-shrink: 0;
}

.footer .copyright {
    margin-top: 16px;
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* =========================================================
   FLOATING CONTACT BUTTON
   ========================================================= */
.float-contact {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--gold), #a8894a);
    color: #0d0d0d;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.35), 0 0 0 1px rgba(201, 169, 110, 0.2);
    font-family: 'Segoe UI', sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
}

.float-contact.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.float-contact:hover {
    transform: translateX(-50%) translateY(-4px);
    box-shadow: 0 14px 40px rgba(201, 169, 110, 0.5), 0 0 0 1px rgba(201, 169, 110, 0.3);
}

.float-contact:active {
    transform: translateX(-50%) translateY(-1px);
}

.float-contact svg {
    width: 18px;
    height: 18px;
    fill: #0d0d0d;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   MODAL / LIGHTBOX
   ========================================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 20px;
    padding: 32px 28px;
    max-width: 440px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.92) translateY(20px);
    transition: var(--transition);
    position: relative;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.modal-content h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 6px;
    font-family: Georgia, serif;
    padding-right: 30px;
}

.modal-content .modal-sub {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.modal-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.modal-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.modal-content ul li {
    font-size: 14px;
    color: var(--text-muted);
    padding: 8px 0;
    padding-left: 22px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.modal-content ul li:last-child {
    border-bottom: none;
}

.modal-content ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 8px;
    top: 12px;
}

/* =========================================================
   CONTACT MODAL SPECIFIC
   ========================================================= */
.contact-modal .modal-content {
    max-width: 400px;
    text-align: center;
    padding: 36px 28px;
}

.contact-modal .modal-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
    padding-right: 0;
}

.contact-modal .modal-content .modal-sub {
    margin-bottom: 24px;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    text-align: left;
    cursor: pointer;
}

.contact-option:hover {
    background: rgba(201, 169, 110, 0.08);
    border-color: rgba(201, 169, 110, 0.25);
    transform: translateX(4px);
}

.contact-option .option-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.15), rgba(201, 169, 110, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-option:hover .option-icon {
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.3), rgba(201, 169, 110, 0.12));
}

.contact-option .option-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--gold);
}

.contact-option .option-text {
    flex: 1;
}

.contact-option .option-text .opt-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.contact-option .option-text .opt-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.contact-option .arrow {
    color: var(--text-dim);
    font-size: 18px;
    transition: var(--transition);
}

.contact-option:hover .arrow {
    color: var(--gold);
    transform: translateX(3px);
}

/* =========================================================
   PHOTO VIEW MODAL
   ========================================================= */
.photo-modal .modal-content {
    max-width: 90vw;
    max-height: 90vh;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 50%;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.85);
}

.photo-modal.active .modal-content {
    transform: scale(1);
}

.photo-modal .photo-view {
    width: min(80vw, 80vh, 500px);
    height: min(80vw, 80vh, 500px);
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--gold);
    box-shadow: 0 0 60px rgba(201, 169, 110, 0.4), 0 0 120px rgba(201, 169, 110, 0.15);
    animation: photoGlow 3s ease-in-out infinite;
}

@keyframes photoGlow {
    0%, 100% { box-shadow: 0 0 60px rgba(201, 169, 110, 0.4), 0 0 120px rgba(201, 169, 110, 0.15); }
    50% { box-shadow: 0 0 80px rgba(201, 169, 110, 0.6), 0 0 160px rgba(201, 169, 110, 0.25); }
}

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

.photo-modal .modal-close {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 24px;
    z-index: 10;
}

.photo-modal .modal-close:hover {
    background: rgba(201, 169, 110, 0.3);
    border-color: var(--gold);
}

/* =========================================================
   SCROLLBAR
   ========================================================= */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 110, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 169, 110, 0.5);
}

/* =========================================================
   МОБИЛЬНАЯ АДАПТАЦИЯ (до 400px)
   ========================================================= */
@media (max-width: 400px) {
    .container {
        padding: 28px 14px 50px;
    }

    .photo-wrapper {
        width: 130px;
        height: 130px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .card {
        padding: 18px;
    }

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

    .modal-content {
        padding: 24px 20px;
    }

    .float-contact {
        padding: 12px 22px;
        font-size: 13px;
    }

    .contact-option {
        padding: 14px;
    }
}

/* =========================================================
   ПЛАНШЕТ И ДЕСКТОП (от 768px)
   ========================================================= */
@media (min-width: 768px) {

    body {
        padding-bottom: 0;
    }

    /* === КОНТЕЙНЕР — 2 колонки === */
    .container {
        max-width: 1200px;
        padding: 60px 60px 80px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px 60px;
        align-items: start;
    }

    /* === HERO — на всю ширину === */
    .hero {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }

    .photo-wrapper {
        width: 200px;
        height: 200px;
        margin-bottom: 28px;
    }

    .hero h1 {
        font-size: 44px;
        letter-spacing: 3px;
        margin-bottom: 12px;
    }

    .hero .tagline {
        font-size: 15px;
        letter-spacing: 5px;
        margin-bottom: 18px;
    }

    .hero .location {
        font-size: 14px;
    }

    .hero .location svg {
        width: 16px;
        height: 16px;
    }

    /* === QUOTE — на всю ширину === */
    .quote-block {
        grid-column: 1 / -1;
        padding: 32px 48px;
        margin-bottom: 20px;
    }

    .quote-block p {
        font-size: 20px;
        line-height: 1.5;
    }

    .quote-block .formula {
        font-size: 16px;
        letter-spacing: 3px;
        margin-top: 14px;
    }

    /* === SECTION TITLE — на всю ширину === */
    .section-title {
        grid-column: 1 / -1;
        font-size: 13px;
        letter-spacing: 6px;
        margin-top: 20px;
        margin-bottom: 8px;
    }

    /* === КАРТОЧКИ — в 2 колонки === */
    .card {
        padding: 32px;
        margin-bottom: 0;
    }

    .card-title {
        font-size: 18px;
    }

    .card-subtitle {
        font-size: 13px;
    }

    .card-body {
        font-size: 15px;
        line-height: 1.7;
    }

    .card-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .card-icon svg {
        width: 26px;
        height: 26px;
    }

    .card-tags {
        gap: 10px;
        margin-top: 18px;
    }

    .tag {
        font-size: 12px;
        padding: 6px 14px;
    }

    /* === DIVIDER — на всю ширину === */
    .divider {
        grid-column: 1 / -1;
        margin: 20px 0;
    }

    /* === ПРИНЦИПЫ — в 4 колонки === */
    .principles {
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        margin-bottom: 20px;
    }

    .principle-item {
        padding: 24px 20px;
    }

    .principle-item .label {
        font-size: 11px;
        letter-spacing: 3px;
        margin-bottom: 8px;
    }

    .principle-item .value {
        font-size: 14px;
        line-height: 1.5;
    }

    /* === CTA — на всю ширину === */
    .cta {
        grid-column: 1 / -1;
        padding: 22px 40px;
        font-size: 16px;
        letter-spacing: 2px;
        margin-top: 20px;
    }

    /* === FOOTER — на всю ширину === */
    .footer {
        grid-column: 1 / -1;
        margin-top: 50px;
        padding-top: 40px;
    }

    .footer .name {
        font-size: 16px;
    }

    .footer-contacts {
        flex-direction: row;
        justify-content: center;
        gap: 24px;
        margin-top: 18px;
    }

    .footer-link {
        font-size: 14px;
        padding: 10px 20px;
    }

    .footer-link svg {
        width: 20px;
        height: 20px;
    }

    .footer .copyright {
        font-size: 12px;
        margin-top: 20px;
    }

    /* === ПЛАВАЮЩАЯ КНОПКА — справа снизу === */
    .float-contact {
        left: auto;
        right: 40px;
        bottom: 40px;
        transform: translateX(0) translateY(100px);
        padding: 16px 32px;
        font-size: 15px;
    }

    .float-contact.visible {
        transform: translateX(0) translateY(0);
    }

    .float-contact:hover {
        transform: translateX(0) translateY(-4px);
    }

    .float-contact:active {
        transform: translateX(0) translateY(-1px);
    }

    /* === МОДАЛЬНЫЕ ОКНА — крупнее === */
    .modal-content {
        max-width: 600px;
        padding: 44px 40px;
        border-radius: 24px;
    }

    .modal-content h3 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .modal-content .modal-sub {
        font-size: 13px;
        letter-spacing: 3px;
        margin-bottom: 24px;
    }

    .modal-content p,
    .modal-content ul li {
        font-size: 15px;
    }

    .modal-content p {
        margin-bottom: 18px;
    }

    .modal-content ul li {
        padding: 10px 0;
        padding-left: 26px;
    }

    .modal-content ul li::before {
        top: 14px;
        font-size: 9px;
    }

    .modal-close {
        top: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    /* === КОНТАКТНАЯ МОДАЛКА — крупнее === */
    .contact-modal .modal-content {
        max-width: 480px;
        padding: 44px 36px;
    }

    .contact-modal .modal-content h3 {
        font-size: 28px;
    }

    .contact-options {
        gap: 14px;
    }

    .contact-option {
        padding: 18px 22px;
        gap: 16px;
    }

    .contact-option .option-icon {
        width: 48px;
        height: 48px;
    }

    .contact-option .option-icon svg {
        width: 22px;
        height: 22px;
    }

    .contact-option .option-text .opt-title {
        font-size: 15px;
    }

    .contact-option .option-text .opt-desc {
        font-size: 13px;
    }
}

/* =========================================================
   БОЛЬШИЕ ЭКРАНЫ (от 1200px)
   ========================================================= */
@media (min-width: 1200px) {

    .container {
        max-width: 1320px;
        padding: 80px 80px 100px;
        gap: 50px 80px;
    }

    .photo-wrapper {
        width: 240px;
        height: 240px;
    }

    .hero h1 {
        font-size: 52px;
        letter-spacing: 4px;
    }

    .hero .tagline {
        font-size: 16px;
        letter-spacing: 6px;
    }

    .quote-block {
        padding: 40px 60px;
    }

    .quote-block p {
        font-size: 22px;
    }

    .quote-block .formula {
        font-size: 18px;
    }

    .card {
        padding: 40px;
    }

    .card-title {
        font-size: 20px;
    }

    .card-body {
        font-size: 16px;
    }

    .principle-item {
        padding: 28px 24px;
    }

    .principle-item .value {
        font-size: 15px;
    }

    .cta {
        padding: 24px 48px;
        font-size: 17px;
    }
}
