/* =====================================================
   VIONIS Public Website - Dark Luxury Theme
   Background: #0a0405 | Accent: #ff3366 / #9333ea
   All classes prefixed with pub- using BEM convention
   ===================================================== */

/* ---- CSS Custom Properties ---- */
:root {
    --pub-bg:            #0a0405;
    --pub-bg-light:      #110a0b;
    --pub-bg-card:       #1a0f11;
    --pub-bg-card-hover: #221418;
    --pub-border:        rgba(255, 51, 102, 0.12);
    --pub-border-light:  rgba(255, 255, 255, 0.06);
    --pub-accent:        #ff3366;
    --pub-accent-dark:   #cc2952;
    --pub-purple:        #9333ea;
    --pub-purple-dark:   #7928c7;
    --pub-gradient:      linear-gradient(135deg, #ff3366, #9333ea);
    --pub-gradient-soft: linear-gradient(135deg, rgba(255, 51, 102, 0.15), rgba(147, 51, 234, 0.15));
    --pub-text:          #ffffff;
    --pub-text-secondary: #a8959a;
    --pub-text-muted:    #6b5a60;
    --pub-gold:          #f5c518;
    --pub-green:         #10b981;
    --pub-radius:        12px;
    --pub-radius-lg:     20px;
    --pub-radius-full:   9999px;
    --pub-shadow:        0 4px 24px rgba(0, 0, 0, 0.4);
    --pub-shadow-lg:     0 12px 48px rgba(0, 0, 0, 0.6);
    --pub-shadow-glow:   0 0 30px rgba(255, 51, 102, 0.2);
    --pub-font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --pub-font-heading:  'Plus Jakarta Sans', 'Inter', sans-serif;
    --pub-transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --pub-header-h:      72px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--pub-font);
    background: var(--pub-bg);
    color: var(--pub-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    min-height: 100vh;
}

.pub-body--no-scroll {
    overflow: hidden;
}

::selection {
    background: rgba(255, 51, 102, 0.4);
    color: var(--pub-text);
}

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

a:hover {
    color: var(--pub-purple);
}

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

ul, ol {
    list-style: none;
}

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

/* ---- Container ---- */
.pub-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Gradient Text ---- */
.pub-gradient-text {
    background: var(--pub-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Animations ---- */
.pub-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.pub-animate--visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.pub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--pub-font);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--pub-radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--pub-transition);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.pub-btn--primary {
    background: var(--pub-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

.pub-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.45);
    color: #fff;
}

.pub-btn--outline {
    background: transparent;
    color: var(--pub-accent);
    border-color: var(--pub-accent);
}

.pub-btn--outline:hover {
    background: var(--pub-accent);
    color: #fff;
    transform: translateY(-2px);
}

.pub-btn--outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.pub-btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

.pub-btn--lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.pub-btn--sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.pub-btn--primary-sm {
    background: var(--pub-gradient);
    color: #fff;
    padding: 8px 22px;
    font-size: 0.85rem;
    border-radius: var(--pub-radius-full);
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--pub-transition);
    text-decoration: none;
}

.pub-btn--primary-sm:hover {
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.4);
    color: #fff;
    transform: translateY(-1px);
}

.pub-btn--outline-sm {
    background: transparent;
    color: var(--pub-text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 22px;
    font-size: 0.85rem;
    border-radius: var(--pub-radius-full);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--pub-transition);
    text-decoration: none;
}

.pub-btn--outline-sm:hover {
    border-color: var(--pub-accent);
    color: var(--pub-accent);
}

.pub-btn--block {
    width: 100%;
}

/* =====================================================
   HEADER
   ===================================================== */
.pub-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--pub-header-h);
    background: transparent;
    transition: var(--pub-transition);
}

.pub-header--scrolled {
    background: var(--pub-header-bg, rgba(10, 4, 5, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--pub-border);
    box-shadow: var(--pub-shadow);
}

.pub-header__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.pub-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--pub-text);
    flex-shrink: 0;
}

.pub-logo:hover {
    color: var(--pub-text);
}

.pub-logo__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--pub-gradient);
    border-radius: 10px;
    font-size: 1.1rem;
    color: #fff;
}

.pub-logo__text {
    font-family: var(--pub-font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

/* Desktop Nav */
.pub-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pub-nav__link {
    color: var(--pub-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--pub-radius-full);
    transition: var(--pub-transition);
    text-decoration: none;
}

.pub-nav__link:hover {
    color: var(--pub-text);
    background: rgba(255, 255, 255, 0.05);
}

.pub-nav__link--active {
    color: var(--pub-accent);
    background: rgba(255, 51, 102, 0.1);
}

/* Header Actions */
.pub-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hamburger */
.pub-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.pub-menu-toggle__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pub-text);
    border-radius: 2px;
    transition: var(--pub-transition);
}

.pub-menu-toggle--active .pub-menu-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.pub-menu-toggle--active .pub-menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.pub-menu-toggle--active .pub-menu-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.pub-mobile-nav {
    position: fixed;
    top: var(--pub-header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--pub-mobile-nav-bg, rgba(10, 4, 5, 0.98));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
}

.pub-mobile-nav--open {
    transform: translateX(0);
}

.pub-mobile-nav__inner {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pub-mobile-nav__link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--pub-text-secondary);
    font-size: 1.05rem;
    font-weight: 500;
    padding: 14px 20px;
    border-radius: var(--pub-radius);
    transition: var(--pub-transition);
    text-decoration: none;
}

.pub-mobile-nav__link i {
    width: 24px;
    text-align: center;
    font-size: 1rem;
}

.pub-mobile-nav__link:hover,
.pub-mobile-nav__link--active {
    color: var(--pub-accent);
    background: rgba(255, 51, 102, 0.08);
}

.pub-mobile-nav__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--pub-border-light);
}

.pub-mobile-nav__actions .pub-btn {
    justify-content: center;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.pub-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.pub-hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255, 51, 102, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 100%, rgba(255, 51, 102, 0.06) 0%, transparent 40%),
                var(--pub-bg);
}


.pub-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, var(--pub-bg) 100%);
    z-index: 1;
}

/* Floating circles */
.pub-hero__circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: pubFloat 20s ease-in-out infinite;
}

.pub-hero__circle--1 {
    width: 600px;
    height: 600px;
    background: var(--pub-accent);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.pub-hero__circle--2 {
    width: 400px;
    height: 400px;
    background: var(--pub-purple);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.pub-hero__circle--3 {
    width: 250px;
    height: 250px;
    background: var(--pub-accent);
    top: 40%;
    left: 20%;
    animation-delay: -10s;
    opacity: 0.05;
}

.pub-hero__circle--4 {
    width: 180px;
    height: 180px;
    background: var(--pub-purple);
    top: 20%;
    right: 25%;
    animation-delay: -15s;
    opacity: 0.06;
}

@keyframes pubFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 10px) scale(1.02); }
}

.pub-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.pub-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid rgba(255, 51, 102, 0.2);
    color: var(--pub-accent);
    padding: 8px 20px;
    border-radius: var(--pub-radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.pub-hero__badge i {
    color: var(--pub-gold);
}

.pub-hero__title {
    font-family: var(--pub-font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.pub-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--pub-text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.pub-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.pub-hero__stats-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.pub-hero__stat-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pub-text-secondary);
    font-size: 0.85rem;
}

.pub-hero__stat-mini i {
    color: var(--pub-green);
    font-size: 0.9rem;
}

/* Scroll hint */
.pub-hero__scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.pub-hero__mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.pub-hero__mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--pub-accent);
    border-radius: 2px;
    animation: pubMouseScroll 2s ease-in-out infinite;
}

@keyframes pubMouseScroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* =====================================================
   STATS SECTION
   ===================================================== */
.pub-stats {
    position: relative;
    z-index: 3;
    margin-top: -60px;
    padding: 0 0 60px;
}

.pub-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pub-stats__card {
    background: rgba(26, 15, 17, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--pub-transition);
}

.pub-stats__card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 51, 102, 0.3);
    box-shadow: var(--pub-shadow-glow);
}

.pub-stats__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    background: var(--pub-gradient-soft);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--pub-accent);
}

.pub-stats__number {
    font-family: var(--pub-font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--pub-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 4px;
}

.pub-stats__label {
    color: var(--pub-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* =====================================================
   SECTIONS (Generic)
   ===================================================== */
.pub-section {
    padding: 100px 0;
}

.pub-section--alt {
    background: var(--pub-bg-light);
}

.pub-section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.pub-section__badge {
    display: inline-block;
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid rgba(255, 51, 102, 0.15);
    color: var(--pub-accent);
    padding: 6px 18px;
    border-radius: var(--pub-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.pub-section__title {
    font-family: var(--pub-font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.pub-section__subtitle {
    color: var(--pub-text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.pub-section__footer {
    text-align: center;
    margin-top: 48px;
}

/* =====================================================
   SERVICE CARDS
   ===================================================== */
.pub-services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pub-service-card {
    background: var(--pub-bg-card);
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--pub-transition);
    position: relative;
    overflow: hidden;
}

.pub-service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--pub-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.pub-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 51, 102, 0.3);
    box-shadow: var(--pub-shadow-glow);
}

.pub-service-card:hover::before {
    opacity: 0.05;
}

.pub-service-card__icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--pub-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.pub-service-card__title {
    position: relative;
    z-index: 1;
    font-family: var(--pub-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pub-service-card__desc {
    position: relative;
    z-index: 1;
    color: var(--pub-text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.pub-service-card__link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--pub-accent);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.pub-service-card__link:hover {
    gap: 10px;
    color: var(--pub-purple);
}

/* =====================================================
   CENTER CARDS
   ===================================================== */
.pub-centers__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pub-center-card {
    background: var(--pub-bg-card);
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius-lg);
    overflow: hidden;
    transition: var(--pub-transition);
    display: flex;
    flex-direction: column;
}

.pub-center-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 51, 102, 0.25);
    box-shadow: var(--pub-shadow-glow);
}

.pub-center-card__header {
    position: relative;
    padding: 28px 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--pub-gradient-soft);
}

.pub-center-card__logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid var(--pub-border);
}

.pub-center-card__logo-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--pub-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.pub-center-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--pub-radius-full);
}

.pub-center-card__badge--verified {
    background: rgba(16, 185, 129, 0.15);
    color: var(--pub-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pub-center-card__body {
    padding: 20px 24px;
    flex: 1;
}

.pub-center-card__name {
    font-family: var(--pub-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.pub-center-card__location {
    color: var(--pub-text-secondary);
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pub-center-card__location i {
    color: var(--pub-accent);
    font-size: 0.8rem;
}

.pub-center-card__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.pub-stars {
    display: flex;
    gap: 2px;
}

.pub-stars i {
    color: var(--pub-gold);
    font-size: 0.8rem;
}

.pub-center-card__rating-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--pub-text);
}

.pub-center-card__review-count {
    color: var(--pub-text-secondary);
    font-weight: 400;
    font-size: 0.8rem;
}

.pub-center-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pub-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--pub-radius-full);
}

.pub-tag--pickup {
    background: rgba(147, 51, 234, 0.12);
    color: var(--pub-purple);
    border: 1px solid rgba(147, 51, 234, 0.25);
}

.pub-center-card__footer {
    padding: 16px 24px 24px;
}

/* =====================================================
   HOW IT WORKS STEPS
   ===================================================== */
.pub-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    padding-top: 40px;
}

.pub-steps__line {
    position: absolute;
    top: 60px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: linear-gradient(90deg, var(--pub-accent), var(--pub-purple), var(--pub-accent));
    opacity: 0.3;
}

.pub-step {
    text-align: center;
    position: relative;
}

.pub-step__number {
    width: 44px;
    height: 44px;
    margin: 0 auto 24px;
    background: var(--pub-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--pub-font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.3);
}

.pub-step__content {
    padding: 0 8px;
}

.pub-step__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--pub-bg-card);
    border: 1px solid var(--pub-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--pub-accent);
    transition: var(--pub-transition);
}

.pub-step:hover .pub-step__icon {
    background: var(--pub-gradient-soft);
    border-color: rgba(255, 51, 102, 0.3);
    transform: scale(1.05);
}

.pub-step__title {
    font-family: var(--pub-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pub-step__desc {
    color: var(--pub-text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* =====================================================
   OFFERS
   ===================================================== */
.pub-offers__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.pub-offers__scroll::-webkit-scrollbar {
    display: none;
}

.pub-offers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    min-width: 0;
}

.pub-offer-card {
    background: var(--pub-bg-card);
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius-lg);
    padding: 28px 24px;
    transition: var(--pub-transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.pub-offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pub-gradient);
}

.pub-offer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 51, 102, 0.2);
    box-shadow: var(--pub-shadow-glow);
}

.pub-offer-card__badge {
    margin-bottom: 4px;
}

.pub-offer-card__discount {
    display: inline-block;
    background: var(--pub-gradient);
    color: #fff;
    padding: 4px 14px;
    border-radius: var(--pub-radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

.pub-offer-card__title {
    font-family: var(--pub-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.pub-offer-card__service,
.pub-offer-card__center {
    color: var(--pub-text-secondary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pub-offer-card__service i,
.pub-offer-card__center i {
    color: var(--pub-accent);
    width: 16px;
    text-align: center;
    font-size: 0.8rem;
}

.pub-offer-card__validity {
    color: var(--pub-text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.pub-offer-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--pub-accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 4px;
    text-decoration: none;
}

.pub-offer-card__link:hover {
    gap: 10px;
    color: var(--pub-purple);
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.pub-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pub-testimonial-card {
    background: var(--pub-bg-card);
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius-lg);
    padding: 32px 28px;
    transition: var(--pub-transition);
    display: flex;
    flex-direction: column;
}

.pub-testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(147, 51, 234, 0.25);
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.15);
}

.pub-testimonial-card__quote {
    margin-bottom: 16px;
}

.pub-testimonial-card__quote i {
    font-size: 2rem;
    background: var(--pub-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.6;
}

.pub-testimonial-card__text {
    color: var(--pub-text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
    font-style: italic;
}

.pub-testimonial-card__stars {
    display: flex;
    gap: 3px;
    margin-bottom: 18px;
}

.pub-testimonial-card__stars i {
    color: var(--pub-gold);
    font-size: 0.85rem;
}

.pub-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--pub-border-light);
}

.pub-testimonial-card__avatar {
    width: 42px;
    height: 42px;
    background: var(--pub-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.pub-testimonial-card__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pub-testimonial-card__info strong {
    font-size: 0.9rem;
    font-weight: 600;
}

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

/* =====================================================
   CTA SECTION
   ===================================================== */
.pub-cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.08), rgba(147, 51, 234, 0.08));
}

.pub-cta__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}


/* Service card image support */
.pub-service-card__img {
    width: 100%;
    height: 180px;
    border-radius: var(--pub-radius);
    overflow: hidden;
    margin-bottom: 16px;
}
.pub-service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.pub-service-card:hover .pub-service-card__img img {
    transform: scale(1.05);
}


/* Service detail card image */
.pub-svc-detail-img {
    width: 100%;
    height: 200px;
    border-radius: var(--pub-radius);
    overflow: hidden;
    margin-bottom: 20px;
}
.pub-svc-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.pub-svc-detail-img:hover img {
    transform: scale(1.05);
}

/* About mission image */
.pub-about-img {
    border-radius: var(--pub-radius-lg);
    overflow: hidden;
    border: 1px solid var(--pub-border);
}
.pub-about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pub-cta__circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.pub-cta__circle--1 {
    width: 500px;
    height: 500px;
    background: var(--pub-accent);
    top: -200px;
    right: -100px;
    animation: pubFloat 25s ease-in-out infinite;
}

.pub-cta__circle--2 {
    width: 350px;
    height: 350px;
    background: var(--pub-purple);
    bottom: -150px;
    left: -80px;
    animation: pubFloat 20s ease-in-out infinite reverse;
}

.pub-cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.pub-cta__title {
    font-family: var(--pub-font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.pub-cta__subtitle {
    color: var(--pub-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

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

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.pub-faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pub-faq__item {
    background: var(--pub-bg-card);
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius);
    overflow: hidden;
    transition: var(--pub-transition);
}

.pub-faq__item:hover {
    border-color: rgba(255, 51, 102, 0.15);
}

.pub-faq__item--open {
    border-color: rgba(255, 51, 102, 0.25);
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.08);
}

.pub-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--pub-text);
    font-family: var(--pub-font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--pub-transition);
}

.pub-faq__question:hover {
    color: var(--pub-accent);
}

.pub-faq__icon {
    color: var(--pub-text-muted);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.pub-faq__item--open .pub-faq__icon {
    transform: rotate(180deg);
    color: var(--pub-accent);
}

.pub-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.pub-faq__item--open .pub-faq__answer {
    max-height: 300px;
}

.pub-faq__answer p {
    padding: 0 24px 20px;
    color: var(--pub-text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* =====================================================
   FOOTER
   ===================================================== */
.pub-footer {
    background: var(--pub-bg-light);
    border-top: 1px solid var(--pub-border-light);
}

.pub-footer__main {
    padding: 72px 0 48px;
}

.pub-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
}

.pub-footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--pub-text);
    margin-bottom: 12px;
}

.pub-footer__logo:hover {
    color: var(--pub-text);
}

.pub-footer__tagline {
    color: var(--pub-accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.pub-footer__desc {
    color: var(--pub-text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.pub-footer__social {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--pub-border-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pub-text-secondary);
    font-size: 0.95rem;
    transition: var(--pub-transition);
    text-decoration: none;
}

.pub-footer__social:hover {
    background: var(--pub-gradient);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
}

.pub-footer__heading {
    font-family: var(--pub-font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--pub-text);
}

.pub-footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pub-footer__links li a {
    color: var(--pub-text-secondary);
    font-size: 0.88rem;
    transition: var(--pub-transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.pub-footer__links li a:hover {
    color: var(--pub-accent);
    padding-left: 4px;
}

.pub-footer__contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pub-footer__contact li {
    display: flex;
    gap: 12px;
    color: var(--pub-text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
}

.pub-footer__contact li i {
    color: var(--pub-accent);
    width: 18px;
    text-align: center;
    margin-top: 3px;
    flex-shrink: 0;
}

.pub-footer__bottom {
    padding: 20px 0;
    border-top: 1px solid var(--pub-border-light);
    text-align: center;
}

.pub-footer__bottom p {
    color: var(--pub-text-muted);
    font-size: 0.82rem;
}

/* =====================================================
   EMPTY STATES
   ===================================================== */
.pub-empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--pub-text-secondary);
    grid-column: 1 / -1;
}

.pub-empty-state--wide {
    grid-column: 1 / -1;
}

.pub-empty-state i {
    font-size: 2.5rem;
    color: var(--pub-text-muted);
    margin-bottom: 16px;
    display: block;
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
   ===================================================== */

/* ---- Tablet (max 1024px) ---- */
@media (max-width: 1024px) {
    .pub-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .pub-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .pub-steps__line {
        display: none;
    }

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

    .pub-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* ---- Mobile (max 768px) ---- */
@media (max-width: 768px) {
    :root {
        --pub-header-h: 64px;
    }

    .pub-nav {
        display: none;
    }

    .pub-header__actions {
        display: none;
    }

    .pub-menu-toggle {
        display: flex;
    }

    .pub-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .pub-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .pub-hero__actions .pub-btn {
        width: 100%;
        max-width: 300px;
    }

    .pub-hero__stats-mini {
        flex-direction: column;
        gap: 12px;
    }

    .pub-hero__scroll-hint {
        display: none;
    }

    .pub-stats {
        margin-top: -30px;
    }

    .pub-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .pub-stats__card {
        padding: 24px 16px;
    }

    .pub-stats__number {
        font-size: 1.8rem;
    }

    .pub-section {
        padding: 64px 0;
    }

    .pub-section__header {
        margin-bottom: 40px;
    }

    .pub-services__grid {
        grid-template-columns: 1fr;
    }

    .pub-centers__grid {
        grid-template-columns: 1fr;
    }

    .pub-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pub-offers__grid {
        grid-template-columns: repeat(4, 280px);
        gap: 16px;
    }

    .pub-testimonials__grid {
        grid-template-columns: 1fr;
    }

    .pub-cta {
        padding: 64px 0;
    }

    .pub-cta__actions {
        flex-direction: column;
    }

    .pub-cta__actions .pub-btn {
        width: 100%;
        max-width: 300px;
    }

    .pub-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ---- Small Mobile (max 480px) ---- */
@media (max-width: 480px) {
    .pub-container {
        padding: 0 16px;
    }

    .pub-hero__title {
        font-size: 1.8rem;
    }

    .pub-section__title {
        font-size: 1.5rem;
    }

    .pub-stats__grid {
        grid-template-columns: 1fr 1fr;
    }

    .pub-stats__number {
        font-size: 1.5rem;
    }

    .pub-offers__grid {
        grid-template-columns: repeat(4, 260px);
    }

    .pub-service-card {
        padding: 28px 20px;
    }

    .pub-faq__question {
        padding: 16px 20px;
        font-size: 0.92rem;
    }

    .pub-faq__answer p {
        padding: 0 20px 16px;
        font-size: 0.85rem;
    }
}

/* =====================================================
   Theme Toggle Button
   ===================================================== */
.pub-theme-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pub-bg-card);
    border: 1px solid var(--pub-border-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--pub-transition);
    flex-shrink: 0;
    overflow: hidden;
}

.pub-theme-toggle:hover {
    border-color: var(--pub-accent);
    box-shadow: var(--pub-shadow-glow);
    transform: scale(1.08);
}

.pub-theme-toggle__icon {
    position: absolute;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode (default): show sun icon to switch to light */
.pub-theme-toggle__icon--light {
    color: #f5c518;
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.pub-theme-toggle__icon--dark {
    color: #9333ea;
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* Light mode: show moon icon to switch to dark */
[data-theme="light"] .pub-theme-toggle__icon--light {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .pub-theme-toggle__icon--dark {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* =====================================================
   Light Theme Overrides
   ===================================================== */
[data-theme="light"] {
    --pub-bg:              #f7f7f8;
    --pub-bg-light:        #ffffff;
    --pub-bg-card:         #ffffff;
    --pub-bg-card-hover:   #f0f0f2;
    --pub-border:          rgba(255, 51, 102, 0.15);
    --pub-border-light:    rgba(0, 0, 0, 0.08);
    --pub-text:            #1a1a2e;
    --pub-text-secondary:  #555568;
    --pub-text-muted:      #8888a0;
    --pub-shadow:          0 4px 24px rgba(0, 0, 0, 0.08);
    --pub-shadow-lg:       0 12px 48px rgba(0, 0, 0, 0.12);
    --pub-shadow-glow:     0 0 30px rgba(255, 51, 102, 0.12);
    --pub-gradient-soft:   linear-gradient(135deg, rgba(255, 51, 102, 0.08), rgba(147, 51, 234, 0.08));
    --pub-header-bg:       rgba(255, 255, 255, 0.92);
    --pub-mobile-nav-bg:   rgba(255, 255, 255, 0.98);
}

/* Hero section */
[data-theme="light"] .pub-hero {
    background: linear-gradient(135deg, #f0e6f6 0%, #fce4ec 50%, #ede7f6 100%);
}

[data-theme="light"] .pub-hero__circle {
    opacity: 0.15;
}

[data-theme="light"] .pub-hero__overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(247, 247, 248, 0.6) 100%);
}


/* Header scrolled */
[data-theme="light"] .pub-header--scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

/* Nav links */
[data-theme="light"] .pub-nav__link {
    color: #555568;
}

[data-theme="light"] .pub-nav__link:hover,
[data-theme="light"] .pub-nav__link--active {
    color: var(--pub-accent);
}

/* Buttons - outline */
[data-theme="light"] .pub-btn--outline-sm {
    border-color: rgba(0, 0, 0, 0.15);
    color: #1a1a2e;
}

[data-theme="light"] .pub-btn--outline-sm:hover {
    border-color: var(--pub-accent);
    color: var(--pub-accent);
}

[data-theme="light"] .pub-btn--outline,
[data-theme="light"] .pub-btn--outline-white {
    border-color: rgba(0, 0, 0, 0.15);
    color: #1a1a2e;
}

[data-theme="light"] .pub-btn--outline:hover,
[data-theme="light"] .pub-btn--outline-white:hover {
    border-color: var(--pub-accent);
    color: var(--pub-accent);
    background: rgba(255, 51, 102, 0.05);
}

/* Cards & service cards */
[data-theme="light"] .pub-service-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .pub-service-card:hover {
    border-color: rgba(255, 51, 102, 0.25);
    box-shadow: 0 8px 30px rgba(255, 51, 102, 0.08);
}

/* Stats section */
[data-theme="light"] .pub-stats {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .pub-stats__card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
}

/* Alt sections */
[data-theme="light"] .pub-section--alt {
    background: #f0f0f2;
}

/* CTA section */
[data-theme="light"] .pub-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1f3d 100%);
    color: #ffffff;
}

[data-theme="light"] .pub-cta .pub-cta__title,
[data-theme="light"] .pub-cta .pub-cta__subtitle {
    color: #ffffff;
}

[data-theme="light"] .pub-cta .pub-btn--outline-white {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

[data-theme="light"] .pub-cta .pub-btn--outline-white:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* FAQ */
[data-theme="light"] .pub-faq__item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .pub-faq__question {
    color: #1a1a2e;
}

[data-theme="light"] .pub-faq__question:hover {
    background: rgba(255, 51, 102, 0.03);
}

/* Footer */
[data-theme="light"] .pub-footer {
    background: #1a1a2e;
    color: #ffffff;
}

[data-theme="light"] .pub-footer a {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .pub-footer a:hover {
    color: var(--pub-accent);
}

[data-theme="light"] .pub-footer__title {
    color: #ffffff;
}

[data-theme="light"] .pub-footer__tagline {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .pub-footer__desc {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .pub-footer__social a {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .pub-footer__social a:hover {
    background: var(--pub-gradient);
    color: #ffffff;
}

[data-theme="light"] .pub-footer__bottom {
    border-top-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
}

/* Steps / How it works */
[data-theme="light"] .pub-steps__line {
    background: var(--pub-gradient);
    opacity: 0.3;
}

[data-theme="light"] .pub-steps__icon {
    background: var(--pub-bg-card);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--pub-accent);
}

/* Mobile nav */
[data-theme="light"] .pub-mobile-nav__link {
    color: #555568;
}

[data-theme="light"] .pub-mobile-nav__link:hover,
[data-theme="light"] .pub-mobile-nav__link--active {
    color: var(--pub-accent);
    background: rgba(255, 51, 102, 0.05);
}

/* Menu toggle bars */
[data-theme="light"] .pub-menu-toggle__bar {
    background: #1a1a2e;
}

/* Scrollbar */
[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f0f0f2;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* Gradient text - stays vibrant in light mode */
[data-theme="light"] .pub-gradient-text {
    background: linear-gradient(135deg, #e6194b, #7b2ff7);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Selection */
[data-theme="light"] ::selection {
    background: rgba(255, 51, 102, 0.2);
    color: #1a1a2e;
}

/* Badge pills */
[data-theme="light"] .pub-hero__badge,
[data-theme="light"] .pub-section__badge {
    background: rgba(255, 51, 102, 0.08);
    border-color: rgba(255, 51, 102, 0.2);
    color: var(--pub-accent);
}

/* Empty state */
[data-theme="light"] .pub-empty-state {
    color: #8888a0;
}

[data-theme="light"] .pub-empty-state i {
    color: rgba(0, 0, 0, 0.12);
}

/* meta theme-color update for light mode is handled by JS */

/* =====================================================
   RESPONSIVE GRID UTILITIES FOR INLINE LAYOUTS
   ===================================================== */
.pub-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.pub-grid-2col--tight {
    gap: 28px;
}
.pub-grid-2col--service {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(2, 1fr);
}
.pub-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pub-grid-2col--stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.pub-grid-contact {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: flex-start;
}
.pub-grid-detail-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* =====================================================
   MOBILE APP-LIKE EXPERIENCE (max 640px)
   Comprehensive overrides for app-like feel at 375px
   ===================================================== */
@media (max-width: 640px) {

    /* ---- Hero sections - override inline padding on all pages ---- */
    .pub-hero {
        padding: 100px 0 50px !important;
        min-height: auto !important;
    }
    .pub-hero__title {
        font-size: 1.6rem;
    }
    .pub-hero__subtitle {
        font-size: 0.85rem;
        margin-bottom: 24px;
    }
    .pub-hero__badge {
        font-size: 0.75rem;
        padding: 6px 14px;
        margin-bottom: 16px;
    }
    .pub-hero__content {
        max-width: 100%;
        padding: 0 4px;
    }

    /* ---- Hero circles - prevent overflow on small screens ---- */
    .pub-hero__circle {
        max-width: 200px !important;
        max-height: 200px !important;
    }
    .pub-hero__circle--1 {
        width: 200px;
        height: 200px;
        top: -60px;
        right: -40px;
    }
    .pub-hero__circle--2 {
        width: 150px;
        height: 150px;
        bottom: -40px;
        left: -40px;
    }
    .pub-hero__circle--3,
    .pub-hero__circle--4 {
        display: none;
    }

    /* ---- Hero CTA buttons - stack vertically ---- */
    .pub-hero__actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .pub-hero__actions .pub-btn {
        width: 100%;
        max-width: 280px;
    }

    /* ---- Hero mini stats ---- */
    .pub-hero__stats-mini {
        gap: 16px;
    }
    .pub-hero__stat-mini {
        font-size: 0.78rem;
    }

    /* ---- Container tighter padding ---- */
    .pub-container {
        padding: 0 16px;
    }

    /* ---- Section spacing reduced ---- */
    .pub-section {
        padding: 48px 0;
    }
    .pub-section--alt {
        padding: 48px 0;
    }
    .pub-section__header {
        margin-bottom: 32px;
    }
    .pub-section__title {
        font-size: 1.5rem;
    }
    .pub-section__subtitle {
        font-size: 0.9rem;
    }
    .pub-section__badge {
        font-size: 0.72rem;
        padding: 5px 14px;
    }

    /* ---- Stats grid - 2 columns tighter ---- */
    .pub-stats {
        margin-top: -30px;
    }
    .pub-stats__grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .pub-stats__card {
        padding: 20px 12px;
    }
    .pub-stats__number {
        font-size: 1.4rem;
    }
    .pub-stats__label {
        font-size: 0.78rem;
    }
    .pub-stats__icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    /* ---- Service cards - single column ---- */
    .pub-services__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pub-service-card {
        padding: 24px 18px;
    }
    .pub-service-card__icon {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }
    .pub-service-card__title {
        font-size: 1rem;
    }

    /* ---- Center cards (featured) - single column ---- */
    .pub-centers__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* ---- Steps / How it works - single column ---- */
    .pub-steps {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 20px;
    }
    .pub-steps__line {
        display: none;
    }
    .pub-step__number {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    /* ---- Offers grid - single column scrollable ---- */
    .pub-offers__grid {
        grid-template-columns: 260px;
        gap: 14px;
    }

    /* ---- Testimonials - single column ---- */
    .pub-testimonials__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pub-testimonial-card {
        padding: 24px 20px;
    }

    /* ---- CTA section ---- */
    .pub-cta {
        padding: 48px 0;
    }
    .pub-cta__title {
        font-size: 1.5rem;
    }
    .pub-cta__subtitle {
        font-size: 0.92rem;
        margin-bottom: 24px;
    }
    .pub-cta__actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .pub-cta__actions .pub-btn {
        width: 100%;
        max-width: 280px;
    }
    .pub-cta__circle {
        max-width: 150px !important;
        max-height: 150px !important;
    }
    .pub-cta__circle--1 {
        width: 200px;
        height: 200px;
        top: -80px;
        right: -60px;
    }
    .pub-cta__circle--2 {
        width: 150px;
        height: 150px;
        bottom: -60px;
        left: -40px;
    }

    /* ---- Footer - single column ---- */
    .pub-footer__main {
        padding: 48px 0 32px;
    }
    .pub-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .pub-footer__heading {
        font-size: 0.95rem;
        margin-bottom: 14px;
    }
    .pub-footer__desc {
        font-size: 0.84rem;
    }
    .pub-footer__bottom {
        padding: 16px 0;
    }
    .pub-footer__bottom p {
        font-size: 0.75rem;
    }

    /* ---- FAQ ---- */
    .pub-faq__item {
        border-radius: 10px;
    }
    .pub-faq__question {
        padding: 14px 16px;
        font-size: 0.88rem;
        gap: 12px;
    }
    .pub-faq__answer p {
        padding: 0 16px 14px;
        font-size: 0.82rem;
    }

    /* ---- Buttons - slightly smaller on mobile ---- */
    .pub-btn {
        padding: 10px 24px;
        font-size: 0.88rem;
    }
    .pub-btn--lg {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    /* ---- About page image ---- */
    .pub-about-img {
        margin-bottom: 24px;
    }

    /* ---- Service detail image ---- */
    .pub-svc-detail-img {
        height: 160px;
        margin-bottom: 16px;
    }

    /* ---- Animations - reduce motion for performance ---- */
    .pub-animate {
        transform: translateY(15px);
    }

    /* ---- Mobile nav adjustments ---- */
    .pub-mobile-nav__inner {
        padding: 24px 16px;
    }
    .pub-mobile-nav__link {
        font-size: 0.95rem;
        padding: 12px 16px;
    }

    /* ---- Responsive grid utilities - collapse to 1 column ---- */
    .pub-grid-2col,
    .pub-grid-2col--service,
    .pub-grid-3col,
    .pub-grid-contact,
    .pub-grid-detail-2col {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pub-grid-2col--stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .pub-grid-2col {
        gap: 32px;
    }
}

/* =====================================================
   EXTRA SMALL MOBILE (max 360px) - iPhone SE, etc.
   ===================================================== */
@media (max-width: 360px) {
    .pub-hero {
        padding: 88px 0 40px !important;
    }
    .pub-hero__title {
        font-size: 1.4rem;
    }
    .pub-hero__subtitle {
        font-size: 0.8rem;
    }

    .pub-container {
        padding: 0 12px;
    }

    .pub-section {
        padding: 36px 0;
    }
    .pub-section__title {
        font-size: 1.3rem;
    }

    .pub-stats__grid {
        gap: 8px;
    }
    .pub-stats__card {
        padding: 16px 10px;
    }
    .pub-stats__number {
        font-size: 1.2rem;
    }

    .pub-cta__title {
        font-size: 1.3rem;
    }

    .pub-footer__grid {
        gap: 24px;
    }

    .pub-btn {
        padding: 9px 20px;
        font-size: 0.84rem;
    }

    /* ---- Responsive grid utilities ---- */
    .pub-grid-2col,
    .pub-grid-2col--service,
    .pub-grid-3col,
    .pub-grid-contact,
    .pub-grid-detail-2col {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pub-grid-2col--stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

/* =====================================================
   RESPONSIVE GRID - TABLET BREAKPOINT
   ===================================================== */
@media (max-width: 768px) {
    .pub-grid-2col,
    .pub-grid-3col,
    .pub-grid-contact,
    .pub-grid-detail-2col {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pub-grid-2col--service {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =====================================================
   SERVICE CENTERS FILTER SIDEBAR - TABLET RESPONSIVE
   Ensure filter sidebar handles 768px properly
   ===================================================== */
@media (max-width: 768px) {
    .pub-filter-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        max-height: 100vh;
        width: 85%;
        max-width: 340px;
    }
    .pub-filter-sidebar--open {
        transform: translateX(0);
    }
    .pub-filter-overlay--visible {
        display: block;
    }
    .pub-results__filter-toggle {
        display: inline-flex !important;
    }
}
