/* ==========================================================================
   Soul Mate - Modern Luxury Wellness & Massage Studio
   Responsive Stylesheet with 100+ Smartphone Resolution Support
   ========================================================================== */

/* --- Custom Properties & Design Tokens --- */
:root {
    --color-primary: #6b3353;
    --color-primary-dark: #4f213c;
    --color-primary-deep: #381429;
    --color-primary-light: #8e4770;
    --color-primary-subtle: #f3e9ef;
    
    --color-accent: #c1a6b7;
    --color-accent-light: #ddcbd6;
    --color-accent-soft: #f4ecf1;
    
    --color-gold: #c69562;
    --color-gold-light: #f7ede2;

    --color-bg: #faf7f8;
    --color-bg-card: #ffffff;
    --color-bg-alt: #f4edf1;

    --color-text-main: #271b23;
    --color-text-body: #4a3e46;
    --color-text-muted: #786973;
    --color-text-inverse: #ffffff;

    --border-subtle: rgba(107, 51, 83, 0.12);
    --border-card: rgba(107, 51, 83, 0.08);

    --shadow-xs: 0 2px 4px rgba(60, 20, 45, 0.04);
    --shadow-sm: 0 4px 10px rgba(60, 20, 45, 0.06);
    --shadow-md: 0 10px 25px -4px rgba(60, 20, 45, 0.08), 0 4px 8px -2px rgba(60, 20, 45, 0.04);
    --shadow-lg: 0 20px 40px -8px rgba(60, 20, 45, 0.12), 0 8px 16px -4px rgba(60, 20, 45, 0.06);
    --shadow-glow: 0 10px 30px rgba(107, 51, 83, 0.25);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --font-serif: 'Playfair Display', 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    --container-max: 1200px;
    --header-height: 76px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 16px);
    -webkit-text-size-adjust: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text-body);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    position: relative;
    padding-bottom: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); /* Space for mobile sticky action bar */
    }
}

img, svg, iframe {
    max-width: 100%;
    box-sizing: border-box;
}

img {
    height: auto;
    display: block;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 360px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Prevent CSS Grid items from expanding beyond parent width */
.hero-grid > *,
.features-grid > *,
.services-grid > *,
.team-grid > *,
.promo-banner > *,
.contacts-grid > *,
.footer-top > * {
    min-width: 0;
    max-width: 100%;
}

/* --- Section Structure & Typography --- */
.section {
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

@media (max-width: 600px) {
    .section-header {
        margin-bottom: 32px;
    }
}

.section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    background: var(--color-primary-subtle);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .section-tag {
        font-size: 11px;
        letter-spacing: 0.04em;
        padding: 5px 12px;
        margin-bottom: 12px;
    }
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(24px, 4.5vw, 42px);
    font-weight: 700;
    color: var(--color-primary-deep);
    line-height: 1.25;
    margin-bottom: 14px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.section-subtitle {
    font-size: clamp(14px, 2.2vw, 17px);
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    text-align: center;
    white-space: nowrap;
    min-height: 48px;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 18px;
        font-size: 14px;
        white-space: normal;
        word-break: break-word;
    }
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: currentColor;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-inverse);
    box-shadow: 0 4px 14px rgba(107, 51, 83, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 51, 83, 0.36);
    color: var(--color-text-inverse);
}

.btn-secondary {
    background: #ffffff;
    color: var(--color-primary);
    border: 1.5px solid var(--border-subtle);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background: var(--color-primary-subtle);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
    color: var(--color-primary-dark);
}

.btn-gold {
    background: linear-gradient(135deg, #d4a373 0%, #b88651 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(198, 149, 98, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(198, 149, 98, 0.4);
    color: #ffffff;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 14px;
    min-height: 40px;
}

/* --- Header & Navigation Bar --- */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: var(--header-height);
    background: rgba(250, 247, 248, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.site-header.scrolled {
    --header-height: 68px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

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

.brand-logo-img {
    width: 42px;
    height: 42px;
    padding: 7px;
    background: var(--color-primary-deep);
    border-radius: var(--radius-sm);
    object-fit: contain;
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo-img {
    transform: rotate(15deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary-deep);
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.brand-sub {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary-light);
}

@media (max-width: 380px) {
    .brand-link {
        gap: 8px;
    }
    .brand-logo-img {
        width: 36px;
        height: 36px;
        padding: 5px;
    }
    .brand-name {
        font-size: 19px;
    }
    .brand-sub {
        font-size: 10px;
        letter-spacing: 0.06em;
    }
}

/* Desktop Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-main);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

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

/* Burger Button (Header) */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: #ffffff;
    box-shadow: var(--shadow-xs);
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
    background: var(--color-primary-subtle);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--color-primary);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

@media (max-width: 900px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        display: none; /* Desktop menu hidden, replaced by full Mobile Drawer */
    }

    .header-actions .btn-call {
        display: none;
    }
}

/* --- Mobile Navigation Drawer (Independent Full-Screen Overlay) --- */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(32, 10, 24, 0.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

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

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(350px, 86vw);
    height: 100%;
    height: 100dvh;
    background: #ffffff;
    z-index: 10002;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    box-shadow: -10px 0 35px rgba(32, 10, 24, 0.22);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.mobile-drawer.active {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--color-bg);
    position: sticky;
    top: 0;
    z-index: 2;
}

.mobile-drawer-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    color: var(--color-primary-deep);
    transition: all var(--transition-fast);
}

.mobile-drawer-close:hover,
.mobile-drawer-close:active {
    background: var(--color-primary-subtle);
    transform: scale(1.05);
}

.mobile-drawer-close svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.mobile-drawer-body {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex-grow: 1;
}

.mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-nav-link {
    display: flex;
    align-items: center;
    padding: 13px 16px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-main);
    transition: all var(--transition-fast);
}

.drawer-nav-link:hover,
.drawer-nav-link:active {
    background: var(--color-primary-subtle);
    color: var(--color-primary);
    transform: translateX(4px);
}

.drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.drawer-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    font-size: 13px;
    color: var(--color-text-muted);
}

.drawer-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-info-row svg {
    width: 16px;
    height: 16px;
    fill: var(--color-primary);
    flex-shrink: 0;
}

.drawer-ig-link {
    color: #c13584;
    font-weight: 600;
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 40px;
    padding-bottom: 70px;
    background: radial-gradient(circle at 10% 20%, rgba(193, 166, 183, 0.25) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(107, 51, 83, 0.08) 0%, transparent 45%);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 700;
    color: var(--color-primary-deep);
    line-height: 1.18;
    margin-bottom: 18px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero-title span {
    color: var(--color-primary);
    font-style: italic;
}

.hero-lead {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--color-text-body);
    line-height: 1.65;
    margin-bottom: 28px;
    overflow-wrap: break-word;
    word-break: normal;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
    width: 100%;
    max-width: 100%;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.hero-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary-dark);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-subtle);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    max-width: 100%;
    box-sizing: border-box;
}

.hero-pill-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: var(--color-primary);
}

/* --- Hero Carousel (Redesigned with Protected Zones) --- */
.hero-visual {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.carousel-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #1e0b17;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 380px;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    user-select: none;
    touch-action: pan-y;
}

@media (max-width: 600px) {
    .carousel {
        aspect-ratio: 4 / 3.4;
        min-height: 300px;
    }
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: scale(1.03);
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Caption with 76px bottom clearance: TEXT IS NEVER ON TOP OF DOTS! */
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 76px 20px;
    background: linear-gradient(to top, rgba(22, 8, 17, 0.94) 0%, rgba(22, 8, 17, 0.6) 55%, transparent 100%);
    color: #ffffff;
    z-index: 2;
    pointer-events: none;
    box-sizing: border-box;
}

.carousel-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold-light);
    background: rgba(198, 149, 98, 0.3);
    border: 1px solid rgba(198, 149, 98, 0.5);
    padding: 3px 9px;
    border-radius: var(--radius-full);
    margin-bottom: 6px;
}

.carousel-caption-title {
    font-family: var(--font-serif);
    font-size: clamp(17px, 3.8vw, 22px);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
    line-height: 1.25;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.carousel-caption-sub {
    font-size: clamp(12px, 2.8vw, 14px);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* Dedicated Bottom Bar: holds dots and controls side by side */
.carousel-bar {
    position: absolute;
    bottom: 14px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    box-sizing: border-box;
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.38);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.45);
    transition: all var(--transition-fast);
    padding: 0;
}

.carousel-dot.active {
    width: 22px;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
    background: #ffffff;
    transform: scale(1.08);
}

.carousel-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-content {
        align-items: stretch;
        text-align: center;
    }

    .hero-tag {
        align-self: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-pills {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding-top: 28px;
        padding-bottom: 50px;
    }

    .hero-grid {
        gap: 28px;
    }

    .hero-title {
        font-size: clamp(22px, 6vw, 32px);
        line-height: 1.22;
        margin-bottom: 14px;
    }

    .hero-lead {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 22px;
    }

    .carousel-card {
        border-radius: var(--radius-lg);
    }

    .carousel {
        aspect-ratio: 4 / 3.4;
        min-height: 290px;
    }

    .carousel-caption {
        padding: 30px 14px 68px 14px;
    }

    .carousel-bar {
        bottom: 10px;
        left: 12px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 24px;
    }

    .hero-ctas .btn {
        width: 100%;
        min-height: 46px;
        padding: 12px 18px;
        font-size: 14.5px;
    }

    .hero-pills {
        gap: 8px;
    }

    .hero-pill-item {
        font-size: 12px;
        padding: 6px 12px;
        gap: 6px;
    }

    .hero-pill-item svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 360px) {
    .hero-pills {
        gap: 6px;
    }

    .hero-pill-item {
        font-size: 11.5px;
        padding: 5px 10px;
    }
}

/* --- Philosophy Quote Section --- */
.philosophy-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background: var(--color-bg);
}

.philosophy-card {
    background: linear-gradient(145deg, #ffffff 0%, var(--color-primary-subtle) 100%);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    text-align: center;
    max-width: 860px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.philosophy-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--color-primary-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-sm);
}

.philosophy-icon .emblem-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.philosophy-title {
    font-family: var(--font-serif);
    font-size: clamp(24px, 3.5vw, 34px);
    color: var(--color-primary-deep);
    font-weight: 700;
    margin-bottom: 16px;
}

.philosophy-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(16px, 2.2vw, 20px);
    color: var(--color-text-main);
    line-height: 1.7;
    margin-bottom: 22px;
}

.philosophy-signature {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
}

@media (max-width: 600px) {
    .philosophy-card {
        padding: 36px 20px;
    }
}

/* --- Features / Why Us Section --- */
.features-section {
    background: #ffffff;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--color-bg);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
    background: #ffffff;
}

.feature-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--color-primary-subtle);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.feature-icon-box svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 700;
    color: var(--color-primary-deep);
    margin-bottom: 10px;
    line-height: 1.3;
}

.feature-desc {
    font-size: 14px;
    color: var(--color-text-body);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 580px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* --- Procedures / Services Section --- */
.services-section {
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

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

.service-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-primary-deep);
}

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

.service-card:hover .service-img {
    transform: scale(1.06);
}

.service-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-primary-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow-xs);
}

.service-body {
    padding: 22px 20px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary-deep);
    margin-bottom: 10px;
    line-height: 1.25;
}

.service-desc {
    font-size: 14px;
    color: var(--color-text-body);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--color-bg-alt);
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    color: var(--color-primary-dark);
    gap: 9px;
}

.service-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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

    .service-body {
        padding: 18px 16px 20px;
    }
}

/* Service Tags Showcase Box */
.service-more-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 32px 28px;
    text-align: center;
    box-shadow: var(--shadow-xs);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.service-more-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary-deep);
    margin-bottom: 16px;
}

.service-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
}

.service-chip {
    background: var(--color-primary-subtle);
    color: var(--color-primary-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    max-width: 100%;
    word-break: break-word;
    box-sizing: border-box;
}

.service-chip:hover {
    background: var(--color-primary);
    color: #ffffff;
}

@media (max-width: 480px) {
    .service-more-box {
        padding: 24px 16px;
    }

    .service-chips {
        gap: 8px;
    }

    .service-chip {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* --- Team Section --- */
.team-section {
    background: #ffffff;
    border-top: 1px solid var(--border-subtle);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-card);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
    background: #ffffff;
}

.team-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-primary-subtle);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform var(--transition-smooth);
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

.team-body {
    padding: 22px 20px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-name {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary-deep);
    margin-bottom: 4px;
}

.team-role {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.team-bio {
    font-size: 14px;
    color: var(--color-text-body);
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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

    .team-body {
        padding: 18px 16px 20px;
    }
}

/* --- Banner & Certificate / Price Section --- */
.promo-section {
    background: var(--color-bg);
}

.promo-banner {
    background: linear-gradient(135deg, var(--color-primary-deep) 0%, var(--color-primary) 100%);
    color: #ffffff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.promo-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}

.promo-tag {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
}

.promo-title {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

.promo-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 540px;
}

.promo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    width: 100%;
}

.promo-visual {
    height: 100%;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.promo-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 900px) {
    .promo-banner {
        grid-template-columns: 1fr;
        border-radius: var(--radius-lg);
    }

    .promo-content {
        padding: 32px 20px;
        text-align: center;
        align-items: center;
    }

    .promo-actions {
        justify-content: center;
    }

    .promo-visual {
        min-height: 220px;
        max-height: 260px;
    }
}

@media (max-width: 480px) {
    .promo-content {
        padding: 26px 16px;
    }

    .promo-actions {
        flex-direction: column;
        gap: 10px;
    }

    .promo-actions .btn {
        width: 100%;
    }
}

/* --- Contacts & Location Section --- */
.contacts-section {
    background: #ffffff;
    border-top: 1px solid var(--border-subtle);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 36px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
}

.contact-cards-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item-card {
    background: var(--color-bg);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: all var(--transition-fast);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-item-card:hover {
    border-color: var(--color-accent);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.contact-item-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    background: var(--color-primary-subtle);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.contact-item-content {
    display: flex;
    flex-direction: column;
}

.contact-item-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary-light);
    margin-bottom: 4px;
}

.contact-item-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary-deep);
    line-height: 1.4;
}

.contact-item-value a:hover {
    color: var(--color-primary);
}

.contact-action-btns {
    display: flex;
    gap: 12px;
    margin-top: 4px;
    width: 100%;
}

@media (max-width: 480px) {
    .contact-item-card {
        padding: 16px 14px;
        gap: 14px;
    }

    .contact-action-btns {
        flex-direction: column;
        gap: 10px;
    }

    .contact-action-btns .btn {
        width: 100%;
    }
}

.map-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-md);
    height: 100%;
    min-height: 380px;
    background: var(--color-bg);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.map-card iframe {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 380px;
    border: none;
    display: block;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .map-card {
        min-height: 280px;
    }

    .map-card iframe {
        min-height: 280px;
    }
}

/* --- Footer --- */
.site-footer {
    background: var(--color-primary-deep);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 60px;
    padding-bottom: 40px;
    font-size: 14px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-brand-desc {
    line-height: 1.6;
    max-width: 380px;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin-bottom: 18px;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-link {
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition-fast);
}

.footer-nav-link:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* --- Mobile Sticky Action Bar --- */
.mobile-action-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-action-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        height: 60px;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--border-subtle);
        box-shadow: 0 -4px 18px rgba(32, 10, 24, 0.12);
        z-index: 998;
        padding: 6px 14px;
        padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
        gap: 10px;
        align-items: center;
        justify-content: stretch;
    }

    .mobile-action-btn {
        flex: 1 1 0;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 46px;
        border-radius: var(--radius-full);
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        transition: transform var(--transition-fast);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 10px;
    }

    .mobile-action-btn:active {
        transform: scale(0.97);
    }

    .mobile-action-btn svg {
        width: 17px;
        height: 17px;
        flex-shrink: 0;
        fill: currentColor;
    }

    .mobile-btn-call {
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
        color: #ffffff;
        box-shadow: 0 2px 8px rgba(107, 51, 83, 0.3);
    }

    .mobile-btn-instagram {
        background: linear-gradient(135deg, #e1306c 0%, #c13584 100%);
        color: #ffffff;
        box-shadow: 0 2px 8px rgba(225, 48, 108, 0.3);
    }
}

@media (max-width: 380px) {
    .mobile-action-bar {
        padding: 6px 10px;
        padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
        gap: 8px;
    }

    .mobile-action-btn {
        font-size: 13px;
        gap: 6px;
        padding: 0 8px;
    }

    .mobile-action-btn svg {
        width: 15px;
        height: 15px;
    }
}

/* --- Floating Back To Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition-base);
    z-index: 990;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px)); /* Safely above mobile action bar */
        right: 14px;
        width: 38px;
        height: 38px;
    }
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}