/* ===== CSS VARIABLES — ConsumDent Brand Colors ===== */
:root {
    --red: #ed1c24;
    --red-dark: #c4151c;
    --red-light: #f0454b;
    --red-glow: rgba(237, 28, 36, 0.12);
    --red-glow-strong: rgba(237, 28, 36, 0.22);
    --gray: #808285;
    --gray-light: #a8aaad;
    --gray-dark: #5a5c5f;
    --gray-subtle: #e8e8e9;
    --gray-bg: #f5f5f6;
    --white: #ffffff;
    --off-white: #fafafa;
    --black: #141414;
    --text: #1e1e1e;
    --text-light: #5a5c5f;
    --text-muted: #999b9d;
    --border: #e0e0e1;
    --border-light: #eeeef0;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.14);
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    --transition-smooth: 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn--primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 18px rgba(237, 28, 36, 0.3);
}

.btn--primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(237, 28, 36, 0.4);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--outline {
    background: transparent;
    color: var(--red);
    border: 2px solid var(--border);
}

.btn--outline:hover {
    border-color: var(--red);
    background: var(--red-glow);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--white);
    color: var(--red);
    box-shadow: var(--shadow-sm);
}

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-smooth);
    padding: 18px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xs);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

.nav__logo-img {
    height: 44px;
    width: auto;
    transition: height var(--transition-smooth);
}

.header.scrolled .nav__logo-img {
    height: 36px;
}

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

.nav__desktop {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav__link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: var(--radius-xs);
    transition: all var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav__link:hover {
    color: var(--red);
    background: var(--red-glow);
}

.nav__link.active {
    color: var(--red);
    font-weight: 600;
}

.nav__link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
}

.nav__lang {
    display: flex;
    gap: 2px;
    background: var(--gray-bg);
    border-radius: var(--radius-full);
    padding: 3px;
}

/* Mobile nav overlay - sibling of header, always fixed to viewport */
.nav__mobile {
    display: none;
}

.lang-btn {
    width: 36px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition);
    font-family: var(--font-body);
}

.lang-btn.active {
    background: var(--white);
    color: var(--red);
    box-shadow: var(--shadow-xs);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    position: relative;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== PAGE HEADER (SUB-PAGES) ===== */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(175deg, #fef5f5 0%, #fdf0f0 40%, #f9eded 100%);
    position: relative;
    overflow: hidden;
}

.page-header__shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.page-header__shape--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(237, 28, 36, 0.06) 0%, transparent 70%);
    top: -30%;
    right: -10%;
}

.page-header__shape--2 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(237, 28, 36, 0.05) 0%, transparent 70%);
    bottom: -20%;
    left: -8%;
}

.page-header__tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-glow);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.page-header__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 16px;
}

.page-header__title span {
    color: var(--red);
}

.page-header__desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header__tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-glow);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-header__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-header__title span {
    color: var(--red);
}

.section-header__desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== HERO (HOME PAGE) ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg, #fefbfb 0%, #fdf3f3 35%, #fcebeb 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__shape {
    position: absolute;
    border-radius: 50%;
}

.hero__shape--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(237, 28, 36, 0.07) 0%, transparent 70%);
    top: -10%;
    right: -12%;
}

.hero__shape--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(128, 130, 133, 0.05) 0%, transparent 70%);
    bottom: -10%;
    left: -5%;
}

.hero__shape--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(237, 28, 36, 0.1) 0%, transparent 70%);
    top: 45%;
    left: 55%;
    transform: translate(-50%, -50%);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    max-width: 680px;
    margin-left: 6%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    background: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border-light);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--text);
    margin-bottom: 24px;
}

.hero__title-accent {
    color: var(--red);
    position: relative;
}

.hero__desc {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-light);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero__stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.hero__stat {
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex-wrap: wrap;
    min-width: 120px;
}

.hero__stat-number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    min-width: 3ch;
    display: inline-block;
}

.hero__stat-plus {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--red);
}

.hero__stat-label {
    display: block;
    width: 100%;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== HERO IMAGE (RIGHT SIDE) ===== */
.hero__visual {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 620px;
    z-index: 1;
    pointer-events: none;
}

.hero__visual-frame {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-glow-strong) 0%, rgba(237, 28, 36, 0.04) 100%);
    border: 2px solid rgba(237, 28, 36, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero__visual-frame i {
    font-size: 18vw;
    color: var(--red);
    opacity: 0.08;
}

.hero__visual-badge {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero__visual-badge--1 {
    bottom: 15%;
    left: -5%;
}

.hero__visual-badge--2 {
    top: 15%;
    right: -5%;
}

.hero__visual-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--red-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1.1rem;
}

.hero__visual-badge strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.hero__visual-badge span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ===== FEATURES STRIP ===== */
.features-strip {
    padding: 64px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
}

.features-strip__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-item__icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: var(--radius-sm);
    background: var(--red-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1.2rem;
}

.feature-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-item span {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== ABOUT PREVIEW (HOME) ===== */
.about-preview {
    padding: 100px 0;
    background: var(--white);
}

.about-preview__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-preview__image {
    position: relative;
}

.about-preview__img-bg {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #fef5f5, #fce8e8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-preview__img-bg i {
    font-size: 8vw;
    color: var(--red);
    opacity: 0.08;
}

.about-preview__badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--red);
    color: var(--white);
    padding: 18px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-preview__badge-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.about-preview__badge-label {
    font-size: 0.78rem;
    opacity: 0.85;
    margin-top: 2px;
}

.about-preview__content .section-header {
    text-align: left;
    margin-bottom: 24px;
}

.about-preview__content .section-header__title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.about-preview__text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* ===== SERVICES PREVIEW (HOME) ===== */
.services-preview {
    padding: 100px 0;
    background: var(--gray-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--red-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.service-card:hover::after {
    transform: scaleX(1);
}

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

.service-card__icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    background: var(--red-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--red);
    margin-bottom: 18px;
    transition: all var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--red);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-card__desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-card__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.service-card__link:hover {
    gap: 10px;
}

.service-card__link i {
    font-size: 0.7rem;
}

.services-preview__cta {
    text-align: center;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: var(--gray-bg);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: all var(--transition-smooth);
}

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

.testimonial-card__stars {
    color: #f0a500;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.testimonial-card__text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.testimonial-card__author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-card__author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ===== CTA BANNER ===== */
.cta-banner {
    padding: 80px 0;
    background: var(--red);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner__shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner__shape--1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    top: -40%;
    right: -10%;
}

.cta-banner__shape--2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    bottom: -30%;
    left: -8%;
}

.cta-banner__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 14px;
    position: relative;
}

.cta-banner__desc {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 520px;
    margin: 0 auto 28px;
    position: relative;
}

.cta-banner .btn--white {
    position: relative;
}

/* ===== PERSONAL PAGE ===== */
.personal-page {
    padding: 80px 0 100px;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 36px;
}

.team-card {
    background: var(--gray-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-smooth);
    border: 1px solid var(--border-light);
}

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

.team-card__photo {
    height: 240px;
    background: linear-gradient(150deg, #fef5f5 0%, #fce8e8 50%, #f5e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-card__photo-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--red);
}

.team-card__info {
    padding: 24px;
}

.team-card__name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-card__role {
    display: block;
    font-size: 0.82rem;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card__bio {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 14px;
}

.team-card__socials {
    display: flex;
    gap: 8px;
}

.team-card__socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all var(--transition);
}

.team-card__socials a:hover {
    background: var(--red);
    color: var(--white);
}

/* ===== SERVICES PAGE ===== */
.services-page {
    padding: 80px 0 100px;
    background: var(--gray-bg);
}

.services-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.service-card--full {
    background: var(--white);
    padding: 36px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card--full::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--red-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.service-card--full:hover::after {
    transform: scaleX(1);
}

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

.service-card--full .service-card__icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card--full .service-card__title {
    font-size: 1.25rem;
}

.service-card__list {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.service-card__list li {
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card__list li i {
    color: var(--red);
    font-size: 0.7rem;
}

/* ===== CONTACT PAGE ===== */
.contact-page {
    padding: 80px 0 100px;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.contact-info__title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.contact-info__title span {
    color: var(--red);
}

.contact-info__desc {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail__icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: var(--radius-sm);
    background: var(--red-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1.05rem;
}

.contact-detail strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-detail span {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.contact-map__placeholder {
    width: 100%;
    height: 200px;
    background: var(--gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    gap: 8px;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--gray-bg);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form__title {
    grid-column: 1 / -1;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xs);
    background: var(--white);
    color: var(--text);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23808285' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.contact-form.success .btn--primary {
    background: #22c55e;
    pointer-events: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 28px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 44px;
}

.footer__logo {
    height: 34px;
    width: auto;
    margin-bottom: 14px;
}

.footer__brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 280px;
    opacity: 0.7;
}

.footer__col h4 {
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer__col ul li {
    margin-bottom: 9px;
}

.footer__col ul li a {
    font-size: 0.85rem;
    opacity: 0.65;
    transition: all var(--transition);
}

.footer__col ul li a:hover {
    opacity: 1;
    color: var(--red-light);
}

.footer__socials {
    display: flex;
    gap: 10px;
}

.footer__socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all var(--transition);
    color: rgba(255, 255, 255, 0.7);
}

.footer__socials a:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-2px);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 22px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.45;
}

/* ===== ERROR 404 PAGE ===== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 80px;
    background: linear-gradient(175deg, #fef5f5 0%, #fdf0f0 40%, #f9eded 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.error-page__shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.error-page__shape--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(237, 28, 36, 0.05) 0%, transparent 70%);
    top: -20%;
    left: -10%;
    animation: errorFloat 8s ease-in-out infinite;
}

.error-page__shape--2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(237, 28, 36, 0.04) 0%, transparent 70%);
    bottom: -15%;
    right: -8%;
    animation: errorFloat 10s ease-in-out infinite reverse;
}

.error-page__shape--3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(237, 28, 36, 0.03) 0%, transparent 70%);
    top: 40%;
    right: 15%;
    animation: errorFloat 12s ease-in-out infinite 2s;
}

@keyframes errorFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.error-page__content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
}

.error-page__visual {
    position: relative;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-page__tooth {
    position: absolute;
    font-size: 3rem;
    color: var(--red);
    opacity: 0.12;
    animation: toothSpin 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes toothSpin {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.12; }
    25% { transform: rotate(-15deg) scale(1.1); opacity: 0.18; }
    50% { transform: rotate(5deg) scale(0.95); opacity: 0.10; }
    75% { transform: rotate(-8deg) scale(1.05); opacity: 0.16; }
}

.error-page__code {
    display: flex;
    gap: 12px;
    align-items: center;
    font-family: var(--font-display);
    font-size: clamp(6rem, 18vw, 12rem);
    font-weight: 700;
    line-height: 1;
    color: var(--text);
}

.error-page__digit {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px) scale(0.6);
    animation: digitPop 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes digitPop {
    0% { opacity: 0; transform: translateY(60px) scale(0.6); }
    60% { transform: translateY(-10px) scale(1.05); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.error-page__digit:nth-child(2) {
    color: var(--red);
    animation-delay: 0.2s;
}

.error-page__tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-glow);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    animation: fadeSlideUp 0.6s ease 0.6s both;
}

.error-page__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    animation: fadeSlideUp 0.6s ease 0.7s both;
}

.error-page__desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeSlideUp 0.6s ease 0.8s both;
}

.error-page__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.6s ease 0.9s both;
}

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

/* ===== BLOG LISTING ===== */
.blog-page {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.blog-loading,
.blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.blog-loading i,
.blog-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
    opacity: 0.3;
}

.blog-empty p { font-size: 1rem; }
.blog-empty.error { color: var(--red); }
.blog-empty.error i { opacity: 0.4; }

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition-smooth);
    text-decoration: none;
    color: inherit;
}

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

.blog-card__img {
    height: 200px;
    overflow: hidden;
    background: var(--gray-bg);
}

.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.blog-card:hover .blog-card__img img {
    transform: scale(1.05);
}

.blog-card__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 3rem;
    opacity: 0.2;
}

.blog-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__date {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--text);
}

.blog-card:hover .blog-card__title {
    color: var(--red);
}

.blog-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
    flex: 1;
}

.blog-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
    margin-top: 16px;
    transition: gap var(--transition);
}

.blog-card:hover .blog-card__read-more {
    gap: 10px;
}

/* ===== POST DETAIL ===== */
.post-page {
    padding-top: 80px;
}

.post-loading,
.post-error {
    text-align: center;
    padding: 120px 20px;
    color: var(--text-muted);
}

.post-loading i,
.post-error i {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
    opacity: 0.3;
}

.post-error { color: var(--text); }
.post-error h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 10px; }
.post-error p { color: var(--text-light); }

.post-hero {
    padding: 140px 0 60px;
    position: relative;
}

.post-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
    transition: color var(--transition);
}

.post-back:hover { color: var(--red); }

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.post-meta__item {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.post-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    max-width: 800px;
    margin-bottom: 28px;
}

.post-feat-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.post-content {
    max-width: 720px;
    margin: 48px auto;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
}

.post-content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 40px 0 16px;
    line-height: 1.3;
}

.post-content h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 32px 0 12px;
    line-height: 1.35;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
    margin: 0 0 20px 28px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content blockquote {
    border-left: 4px solid var(--red);
    padding: 16px 24px;
    margin: 28px 0;
    background: var(--gray-bg);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-light);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 28px 0;
    display: block;
}

.post-content a {
    color: var(--red);
    text-decoration: underline;
}

.post-content .align-left { text-align: left; }
.post-content .align-center { text-align: center; }
.post-content .align-right { text-align: right; }

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0 80px;
    border-top: 1px solid var(--border);
    max-width: 720px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero__visual {
        display: none;
    }

    .hero__content {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 968px) {
    .about-preview__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-preview__image {
        max-width: 500px;
        margin: 0 auto;
    }

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

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

@media (max-width: 768px) {
    .nav__desktop {
        display: none;
    }

    .nav__right .nav__lang {
        display: none;
    }

    .nav__mobile {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
        z-index: 999;
    }

    .nav__mobile.active {
        opacity: 1;
        pointer-events: auto;
    }

    .nav__mobile-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        gap: 0;
        padding: 80px 0 100px;
    }

    .nav__mobile-inner ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        flex: 1;
        justify-content: center;
    }

    .nav__mobile-inner .nav__link {
        font-size: 1.3rem;
        padding: 14px 28px;
    }

    .nav__mobile-inner .nav__link.active::after {
        bottom: 4px;
    }

    .nav__mobile-inner .nav__lang {
        align-self: center;
        margin-bottom: 0;
    }

    .nav__toggle {
        display: flex;
    }

    .hero__stats {
        gap: 24px;
    }

    .hero__stat-number {
        font-size: 2rem;
        min-width: 2.5ch;
    }

    .hero__stat {
        min-width: 100px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        justify-content: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .services-grid,
    .services-full-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__brand p {
        max-width: 100%;
    }

    .footer__logo {
        margin: 0 auto 14px;
    }

    .footer__socials {
        justify-content: center;
    }

    .features-strip__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .features-strip__grid {
        grid-template-columns: 1fr;
    }

    .hero__stats {
        gap: 16px;
    }

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

    .post-footer {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== FOCUS ===== */
:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
    border-radius: 3px;
}
