/* === MERAKI SPA FINAL STYLESHEET (CLEANED) === */

/* --- Variables --- */
:root {
    --primary-color: #0011ff;
    --primary-color-dark: #020f68;
    --secondary-color: #f8fafc;
    --text-color-dark: #1e293b;
    --text-color-light: #f1f5f9;
    --text-color-muted: #64748b;
    --gradient: linear-gradient(90deg, #ff0000, #1f00ff);
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

/* --- Global Styles & Resets --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--text-color-dark);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Accessibility --- */
a:focus-visible,
button:focus-visible,
.btn-grad:focus-visible,
.menu-btn:focus-visible,
.input:focus-visible,
.icon-btn:focus-visible,
.time-slot-label:focus-within,
.btn-gradient:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- Utility Classes --- */
.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

.section {
    padding: 10px 0;
}

.section--alt {
    background-color: var(--secondary-color);
}

.section__head {
    text-align: center;
    margin-bottom: 60px;
}

.section__title {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.muted {
    color: var(--text-color-muted);
}

.text-center {
    text-align: center;
}

.mt-16 { margin-top: 16px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }


/* === HEADER & NAVIGATION === */
/* === HEADER & NAVIGATION (Corrected) === */
header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.brand-name {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 1px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 8px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width .3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
}

.menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 80%;
    height: 100%;
    background-color: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1005;
    padding-top: 80px;
    visibility: hidden;
}

.mobile-panel.is-open {
    transform: translateX(0);
    visibility: visible;
}

.mobile-panel .mobile-list a {
    display: block;
    padding: 16px 24px;
    color: var(--text-color-dark);
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 1px solid #f0f0f0;
}

@media (max-width: 992px) {
    .nav-links,
    .navbar-actions {
        display: none;
    }
    .menu-btn {
        display: block;
    }
}


/* --- Hero Section --- */
.hero {
    position: relative;
    height: 70vh;
    min-height: 400px;
    background: url('https://www.merakispa.shop/public/images/hero-background.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero__inner {
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.hero__subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 32px auto;
    opacity: 0.9;
}

/* --- GRID LAYOUTS FOR ALL CARD SECTIONS --- */
.core-services-grid,
.therapies-grid,
.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.svc__avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
}

.svc__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
}

/* --- CARD STYLES (Used Everywhere) --- */
.card {
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card__body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card__title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.card__title--blue {
    color: var(--text-color-dark);
}

.abc-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
}

.svc-card__price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.abc-card__footer .svc-card__price {
    color: #ef4444;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.badge--red {
    background-color: #fee2e2;
    color: #b91c1c;
}

.link {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: auto;
}

.card--soft {
    background-color: var(--secondary-color);
    box-shadow: none;
}

/* --- Testimonial --- */
.max-center {
    max-width: 700px;
    margin: 0 auto;
}

.pad-32 {
    padding: 32px;
}

.large {
    font-size: 1.15rem;
}

.italic {
    font-style: italic;
}

/* --- Buttons --- */
.btn-grad {
    background-image: var(--gradient);
    color: var(--text-color-light);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-grad:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

/* --- Footer --- */
footer {
    background-color: #1c1917;
    color: var(--text-color-light);
    padding: 40px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.footer-text {
    color: #a8a29e;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links ul, .social-links {
    list-style: none;
    padding: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-links li a {
    color: #a8a29e;
    margin-bottom: 12px;
    display: inline-block;
    transition: color 0.3s, transform 0.3s;
}

.footer-links li a:hover, .social-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}
.social-links a:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #44403c;
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #a8a29e;
}

/* --- WhatsApp Floating Button --- */
.wa-fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: transform 0.3s ease;
    will-change: transform;
}

.wa-fab:hover {
    transform: scale(1.1);
    color: white;
}

.wa-fab.pulse {
    animation: wa-pulse 1.6s ease-in-out infinite;
}

@keyframes wa-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .wa-fab.pulse {
        animation: none;
    }
}

/* --- OTHER PAGE STYLES (Booking, Blog, Contact) --- */
.booking-hero {
    padding: 72px 0;
    background: radial-gradient(1200px 600px at 20% -10%, #e8fff8 0%, transparent 60%),
        radial-gradient(900px 500px at 100% 0%, #f0f9ff 0%, transparent 55%),
        #f8fafc;
}

.booking-wrap {
    max-width: 820px;
    margin: -40px auto 80px;
    padding: 36px 36px 40px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(6px);
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.08), 0 6px 20px rgba(2, 6, 23, 0.05);
    border: 1px solid rgba(13, 148, 136, 0.08);
}

.booking-title {
    font-family: "Playfair Display", serif;
    font-size: 2.4rem;
    line-height: 1.2;
    margin: 0 0 8px;
    letter-spacing: .2px;
}

.booking-sub {
    color: #64748b;
    margin: 0 auto 28px;
    max-width: 48ch;
}

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-weight: 700;
    color: #0f172a;
    font-size: .98rem;
    margin-bottom: 8px;
}

.input,
.input-group {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    transition: box-shadow .2s, border-color .2s, background .2s;
}

.input {
    width: 100%;
    padding: 12px 14px;
    color: #0f172a;
    font-size: 1rem;
}

.input[readonly] {
    background-color: #f8fafc;
    color: #64748b;
    cursor: not-allowed;
}

.input::placeholder {
    color: #9aa3af;
}

.input:hover {
    border-color: #d1d5db;
}

.input:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, .15);
    background: #fcfffe;
}

.input-group {
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.input-group .prefix {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #f5f7f9;
    color: #6b7280;
    border-right: 1px solid #e5e7eb;
}

.input-group .input {
    border: 0;
    border-radius: 0;
}

.inline-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.icon-btn {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #003297;
    color: #fff;
    border: 1px solid #003297;
    box-shadow: 0 8px 18px rgba(13, 148, 136, .25);
    transition: transform .15s, box-shadow .2s, background .2s;
}

.icon-btn:hover {
    transform: translateY(-1px);
    background: #0f766e;
}

.icon-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 12px rgba(13, 148, 136, .25);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

.input[type="date"]::-webkit-calendar-picker-indicator {
    filter: grayscale(.2);
    opacity: .9;
}

#time-slots-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.time-slot-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    user-select: none;
}

.time-slot-label input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.time-slot-label:hover {
    border-color: #0d9488;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, .10);
}

.time-slot-label:active {
    transform: scale(.98);
}

.time-slot-label:has(input:checked) {
    background: linear-gradient(180deg, #12b6a2, #0d9488);
    color: #ffffff;
    border-color: #0d9488;
    box-shadow: 0 10px 24px rgba(13, 148, 136, .24), 0 0 0 4px rgba(13, 148, 136, .16);
}

.error-message {
    margin-top: 6px;
    font-size: .86rem;
    color: #b91c1c;
}

.alert-success {
    padding: 1rem;
    margin-bottom: 22px;
    background-color: #f0fdf4;
    color: #166534;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #bbf7d0;
}

.btn-gradient {
    width: 100%;
    border: none;
    color: #fff;
    font-weight: 800;
    letter-spacing: .3px;
    padding: 14px 18px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #da0000, #3a10b9);
    box-shadow: 0 14px 30px rgba(13, 148, 136, .25);
    transition: transform .15s, box-shadow .25s, filter .2s;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(13, 148, 136, .32);
}

.btn-gradient:active {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(13, 148, 136, .25);
}

.form-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #eaeef3, transparent);
    margin: 18px 0;
}

.card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.card__date {
    font-size: 0.8rem;
    color: var(--text-color-muted);
}

.card__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.btn-load-more {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-load-more:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.loader {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.prose { font-size: 1.125rem; line-height: 1.75; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin-bottom: 1.25em; }
.prose h2, .prose h3 { font-family: var(--font-heading); margin-top: 2em; margin-bottom: 1em; line-height: 1.3; }
.prose h2 { font-size: 1.8rem; }
.prose h3 { font-size: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--primary-color); text-decoration: underline; font-weight: 600; }
.prose a:hover { color: var(--primary-color-dark); }
.prose strong { color: var(--text-color-dark); font-weight: 700; }
.prose blockquote { border-left: 4px solid var(--primary-color); padding-left: 1em; margin-left: 0; font-style: italic; color: var(--text-color-muted); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-list {
    list-style: none;
    margin-bottom: 32px;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

.contact-list svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-color);
}

.contact-list a {
    color: var(--text-color-dark);
    font-weight: 500;
}

.contact-list a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    line-height: 0;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

.contact-form-wrap {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: var(--border-radius);
}


/* === FINAL RESPONSIVE ADJUSTMENTS === */
@media (max-width: 992px) {
    .core-services-grid, .therapies-grid, .cards-3, .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .booking-wrap {
        margin: 0 auto 64px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 20px;
    }
    .section__title {
        font-size: 2.2rem;
    }
    .hero {
        min-height: 50vh;
    }
    .hero__title {
        font-size: 2.2rem;
    }
    .hero__subtitle {
        font-size: 1.05rem;
    }
    #time-slots-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .inline-right {
        flex-direction: column;
        align-items: stretch;
    }
    .icon-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .core-services-grid, .therapies-grid, .cards-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #time-slots-container {
        grid-template-columns: 1fr;
    }
    .booking-title {
        font-size: 1.9rem;
    }
}


/* === ADDED: HOMEPAGE EXCLUSIVE STYLES (to fix mobile view) === */
.meraki-hp-hero { position: relative; height: 70vh; min-height: 400px; background: url('https://www.merakispa.shop/public/images/hero-background.webp') no-repeat center center/cover; display: flex; align-items: center; justify-content: center; text-align: center; color: #ffffff; }
.meraki-hp-hero__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); }
.meraki-hp-hero__inner { position: relative; z-index: 2; }
.meraki-hp-hero__title { font-size: 3.5rem; font-weight: 700; margin-bottom: 16px; color: #ffffff; word-wrap: break-word; }
.meraki-hp-hero__subtitle { font-size: 1.25rem; max-width: 600px; margin: 0 auto 32px auto; opacity: 0.9; }
.meraki-hp-section { padding: 5px 0; }
.meraki-hp-section--alt { background-color: var(--secondary-color); }
.meraki-hp-section__head { text-align: center; margin-bottom: 25px; }
.meraki-hp-section__title { font-size: 2.8rem; margin-bottom: 16px; word-wrap: break-word; }
.meraki-hp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: stretch; }
.meraki-hp-card { background: #ffffff; border-radius: var(--border-radius); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.meraki-hp-card--soft { background-color: var(--secondary-color); box-shadow: none; }
.meraki-hp-card.hover-lift:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.meraki-hp-card__img { width: 100%; height: 220px; object-fit: cover; }
.meraki-hp-card__body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.meraki-hp-card__title { font-size: 1.3rem; margin-bottom: 12px; }
.meraki-hp-card__title--blue { color: var(--text-color-dark); }
.meraki-hp-service-avatar { width: 120px; height: 120px; margin: 0 auto 16px; }
.meraki-hp-service-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 10px 20px rgba(0, 0, 0, .1); }
.meraki-hp-therapy-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 16px; }
.meraki-hp-therapy-price { font-size: 1.8rem; font-weight: 700; color: #ef4444; }
.meraki-hp-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 12px; }
.meraki-hp-badge--red { background-color: #fee2e2; color: #b91c1c; }
.meraki-hp-readmore-link { font-weight: 600; color: var(--primary-color); margin-top: auto; }
.meraki-hp-testimonial-wrapper { max-width: 700px; margin: 0 auto; }
.meraki-hp-testimonial-card { padding: 32px; }
.meraki-hp-testimonial-text { font-size: 1.15rem; font-style: italic; }
.meraki-hp-testimonial-author { margin-top: 16px; font-weight: 600; color: var(--text-color-dark); }
.meraki-hp-btn { background-image: var(--gradient); color: var(--text-color-light); padding: 12px 28px; border-radius: 50px; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; border: none; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; display: inline-block; text-align: center; }
.meraki-hp-btn:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); color: #ffffff; }
.meraki-hp-btn--sm { padding: 8px 18px; font-size: 0.8rem; }
.meraki-hp-text-gradient { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.meraki-hp-text-muted { color: var(--text-color-muted); }
.meraki-hp-text-center { text-align: center; }
.meraki-hp-mt-48 { margin-top: 48px; }
.meraki-hp-mb-16 { margin-bottom: 16px; }

@media (max-width: 992px) { .meraki-hp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .meraki-hp-section { padding: 60px 20px; } .meraki-hp-section__title { font-size: 2.2rem; } .meraki-hp-hero { min-height: 50vh; } .meraki-hp-hero__title { font-size: 2.2rem; } .meraki-hp-hero__subtitle { font-size: 1.05rem; max-width: 90%; } }
@media (max-width: 576px) { .meraki-hp-grid { grid-template-columns: 1fr; } }

/* Clamp generic images just in case */
img{max-width:100%; height:600px}

/* Team section: make three in a row on md+ and keep tidy cards */
section.bg-gray-100 .grid.grid-cols-1{
  display:grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Force 3-up layout from 768px+ */
@media (min-width:768px){
  section.bg-gray-100 .grid.grid-cols-1{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items:start;
  }
}

/* Card width clamp so circles don't look huge */
section.bg-gray-100 .grid.grid-cols-1 > .text-center{
  max-width: 320px;
  margin-inline: auto;
}

/* Team photos: smaller, perfectly round, consistent */
section.bg-gray-100 img[alt^="Team Member"]{
  width: 160px;           /* adjust to 140–200 as needed */
  height: 160px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 9999px;
  border: 4px solid #fff;
  box-shadow: 0 14px 30px -18px rgba(2,6,23,.35);
  transition: transform .35s ease, box-shadow .35s ease;
}

@media (min-width:1024px){
  section.bg-gray-100 img[alt^="Team Member"]{
    width: 180px;         /* a little larger on big screens */
    height: 180px;
  }
}

/* Optional: tighten vertical spacing if needed */
section.bg-gray-100 .text-center h4{ margin-top: 1rem }
section.bg-gray-100 .text-center p.text-gray-600{ margin-top: .35rem }

/* ============================= */
/* Our Story: text left, image right */
/* ============================= */
section.bg-white .container > .grid{
  display:grid;
  grid-template-columns: 1fr;       /* mobile: stacked */
  gap: 2rem;
  align-items:center;
  margin-bottom: clamp(24px, 3vw, 48px); /* extra space below the story block */
}

/* >= 900px: side-by-side with image on right */
@media (min-width:900px){
  section.bg-white .container > .grid{
    grid-template-columns: 1.15fr 1fr;  /* text wider */
  }
  /* first div = text, second = image (current markup) */
  section.bg-white .container > .grid > div:first-child{ order:1; }
  section.bg-white .container > .grid > div:last-child{
    order:2;
    justify-self:end;                 /* push image to right edge */
  }
}

/* Image sizing + polish in story block */
section.bg-white .container > .grid img[alt="Spa Interior"],
section.bg-white .container > .grid img{
  width:100%;
  max-width:520px;                    /* control desktop size */
  height:auto;
  border-radius:16px;
  box-shadow:0 24px 60px -28px rgba(2,6,23,.35);
}

/* Optional: constrain text measure for readability */
section.bg-white .container > .grid > div:first-child{
  max-width:56ch;
}

/* ============================= */
/* Section spacing between blocks */
/* ============================= */

/* Generic spacing between any two consecutive sections */
section + section{
  margin-top: clamp(28px, 4vw, 64px);
}

/* If a nav bar sits between sections, give space around it */
section + nav{
  margin-top: clamp(20px, 2.5vw, 40px);
  margin-bottom: clamp(20px, 2.5vw, 40px);
}
nav + section{
  margin-top: clamp(24px, 3vw, 56px);
}

/* Extra breathing room for specific blocks if needed */
section[style*="background-image"]{        /* top hero/header section */
  margin-bottom: clamp(28px, 4vw, 64px);
}
section.bg-white{                           /* story section wrapper */
  margin-bottom: clamp(28px, 4vw, 64px);
}
section.bg-gray-100{                        /* team section wrapper */
  margin-top: clamp(28px, 4vw, 64px);
}
/* === FIX: Align Service Card Buttons === */
.svc-meta {
    margin-top: auto; /* This pushes the meta and button block to the bottom */
    padding-top: 16px; /* Adds space above the duration/price line */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.svc-meta .price {
    font-size: 1.5rem; /* Adjust size as needed */
    font-weight: 700;
    color: var(--primary-color);
}
/* Testimonial slider */
.ts-item{opacity:0;transform:translateY(8px);transition:opacity .5s ease,transform .5s ease;position:absolute;inset:0}
#tsWrap{position:relative}
.ts-item.is-active{opacity:1;transform:translateY(0);position:relative}
.ts-prev,.ts-next{position:absolute;top:50%;transform:translateY(-50%);background:#6b2ea7;color:#fff;border:0;border-radius:50%;width:36px;height:36px;cursor:pointer;opacity:.85}
.ts-prev{left:8px}.ts-next{right:8px}
.ts-prev:hover,.ts-next:hover{opacity:1}
.ts-dots{display:flex;gap:8px;justify-content:center;margin-top:14px}
.ts-dot{width:8px;height:8px;border-radius:50%;background:#ccc;border:0;cursor:pointer}
.ts-dot.is-active{background:#6b2ea7}


.custom-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 9999px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  margin-right: 12px;
  user-select: none;
}

.custom-btn:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Optional: Individual button colors */
.btn-primary.custom-btn {
  background: linear-gradient(90deg, #ff0000 0%, #1f00ff 100%); 
}

.btn-primary.custom-btn:hover {
  background: linear-gradient(90deg, #319795 0%, #2c7a7b 100%);
}

.btn-secondary.custom-btn {
  background: linear-gradient(90deg, #ff0000 0%, #1f00ff 100%);
}

.btn-secondary.custom-btn:hover {
  background: linear-gradient(90deg, #5a67d8 0%, #6b46c1 100%);
}

#showRedeemCodeBtn {
    background: linear-gradient(90deg, #ff0000 0%, #1f00ff 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(213, 63, 140, 0.4);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem;
}

#showRedeemCodeBtn:hover {
    background: linear-gradient(90deg, #d53f8c 0%, #b83280 100%);
}

#redeemCodeSection p {
    font-family: monospace;
    font-size: 1.5rem;
    color: #d53f8c;
    margin: 0.5rem 0;
}
.clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* number of lines */
  overflow: hidden;
}
/* Service Detail Styles - Updated by Gemini for a modern touch */

/* Block scope with new accent color */
.svc {
    --svc-radius: var(--border-radius, 12px);
    --svc-shadow: var(--shadow, 0 4px 12px rgba(0, 0, 0, 0.08));
    --svc-shadow-hover: var(--shadow-hover, 0 8px 20px rgba(0, 0, 0, 0.12));
    --svc-muted: var(--text-color-muted, #6b7280);
    --svc-border: #e5e7eb;
    /* Softer border color */
    --svc-text: var(--text-color-dark, #1f2937);
    --svc-on: var(--text-color-light, #ffffff);
    --svc-primary: var(--primary-color, #4f46e5);
    --svc-primary-dark: var(--primary-color-dark, #4338ca);

    /* === NEW ACCENT COLOR ADDED === */
    --svc-accent: #c09551;
    /* A luxurious gold */
    --svc-accent-dark: #b08843;

    /* === UPDATED GRADIENT FOR CTA === */
    --svc-grad: linear-gradient(45deg, var(--svc-primary), var(--svc-primary-dark));
    --svc-grad-accent: linear-gradient(45deg, var(--svc-accent), var(--svc-accent-dark));
}

/* Header */
.svc__head {
    text-align: center;
    padding: 48px 0;
    /* Increased vertical padding for more space */
}

.svc__badge {
    display: inline-block;
    padding: 8px 16px;
    /* Slightly larger badge */
    border-radius: 999px;
    background: rgba(79, 70, 229, .08);
    /* Using the primary color with transparency */
    color: var(--svc-primary);
    font: 600 13px/1 var(--font-body, sans-serif);
    letter-spacing: 0.5px;
}

.svc__title {
    margin: 12px 0 8px;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    color: var(--svc-text);
}

.svc__meta {
    color: var(--svc-muted);
    font-size: 15px;
}



/* Price/spec card - With Accent Border */
.svc__card {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    margin-bottom: 32px;
    background: #fff;
    border: 1px solid var(--svc-border);
    border-radius: var(--svc-radius);
    box-shadow: var(--svc-shadow);
    /* === NEW: Accent border on top === */
    border-top: 4px solid var(--svc-accent);
}

.svc__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: center;
}

.svc__chip {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--secondary-color, #f3f4f6);
    color: var(--primary-color-dark, #4338ca);
    font: 600 13px/1 var(--font-body, sans-serif);
}

.svc__price {
    font: 700 24px/1 var(--font-body, sans-serif);
    color: var(--svc-primary);
}

.svc__mrp {
    color: var(--svc-muted);
    text-decoration: line-through;
    font-size: 16px;
}

/* CTA buttons with Icons - Updated with accent color */
.svc__cta {
    background: var(--svc-grad-accent);
    /* Using new accent gradient */
    color: var(--svc-on);
    padding: 14px 22px;
    /* Slightly larger */
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Space for icon */
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 8px 15px rgba(192, 149, 81, 0.25);
    /* Shadow matching accent color */
}

.svc__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(192, 149, 81, 0.3);
    /* Enhanced hover shadow */
}

/* Primary "Book This Service" Button */
.svc__cta--primary {
    background: var(--svc-grad);
    /* Kept primary color for variety */
    box-shadow: 0 8px 15px rgba(79, 70, 229, 0.2);
}

.svc__cta--primary:hover {
    box-shadow: 0 12px 20px rgba(79, 70, 229, 0.25);
}


/* Text blocks */
.svc__excerpt {
    color: var(--svc-text);
    font-size: 1.1rem;
    line-height: 1.7;
    /* Better readability */
    margin-bottom: 28px;
}

.svc__content.prose {
    max-width: 100%;
}

/* Footer row */
.svc__foot {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--svc-border);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
}

.svc__back {
    font-weight: 700;
    color: var(--svc-primary);
    text-decoration: none;
    display: inline-flex;
    /* For icon alignment */
    align-items: center;
    gap: 6px;
    transition: color .2s ease;
}

.svc__back:hover {
    color: var(--svc-primary-dark);
}

/* Responsive */
@media (max-width:640px) {
    .svc__card {
        flex-direction: column;
        align-items: stretch;
    }

    .svc__cta {
        width: 100%;
    }

    .svc__foot {
        flex-direction: column;
        align-items: stretch;
    }
}

/* === NEW: Modern Styling for Lists === */
.svc__content.prose ul {
    list-style: none;
    /* Remove default bullets */
    padding-left: 0;
}

.svc__content.prose ul li {
    padding-left: 28px;
    /* Space for icon */
    position: relative;
    margin-bottom: 12px;
    /* More space between items */
}

.svc__content.prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    /* Adjust vertical alignment */
    width: 20px;
    height: 20px;
    /* SVG Checkmark Icon */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23c09551'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}


/* Readability and other styles from original file (mostly unchanged) */
.svc {
    --measure: clamp(52ch, 92vw, 75ch);
}

.svc__head,
.svc__card,
.svc__excerpt,
.svc__content.prose,
.svc__foot {
    max-width: var(--measure);
    margin-left: auto;
    margin-right: auto;
}
.svc__media {
    /* === UPDATED: Max-width added === */
    max-width: 800px; /* आप अपनी पसंद के अनुसार यह मान बदल सकते हैं */
    width: 100%; /* ताकि यह छोटी स्क्रीन पर भी responsive रहे */
    height: auto;
    border-radius: var(--svc-radius);
    box-shadow: var(--svc-shadow);
    margin-bottom: 32px;
    object-fit: cover;
    border: 1px solid var(--svc-border);
    /* === UPDATED: Center the image if it's smaller than 100% === */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Typography adjustments */
.svc__content.prose {
    font-size: clamp(1rem, .95rem + .2vw, 1.1rem);
    line-height: 1.8;
    color: var(--text-color-dark);
}

.svc__content.prose p {
    margin-bottom: 1.25em;
}

.svc__content.prose h2 {
    font-size: clamp(1.35rem, 1rem + 1.2vw, 1.9rem);
    margin: 1.8em 0 .8em;
    line-height: 1.25;
}

.svc__content.prose h3 {
    font-size: clamp(1.2rem, .95rem + .9vw, 1.5rem);
    margin: 1.5em 0 .7em;
    line-height: 1.3;
}

/* Table styles */
.svc__content.prose table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    width: 100%;
}

.svc__content.prose th,
.svc__content.prose td {
    padding: 12px 16px;
    border: 1px solid var(--svc-border);
    background: #fff;
    vertical-align: top;
}

.svc__content.prose thead th {
    position: sticky;
    top: 0;
    background: #f9fafb;
    font-weight: 600;
}


/* 3-column blog layout with sticky sidebars */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr minmax(0, 800px) 1fr;
  gap: 24px;
  align-items: start; /* helps sticky inside grid */
}

/* side columns */
.blog-aside {
  position: sticky;
  top: 24px;                /* distance from top while sticking */
  max-height: calc(100vh - 24px);
  overflow: auto;           /* scroll banners if taller than viewport */
}

/* center column helpers */
.blog-main img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* banner blocks */
.blog-banner {
  display: block;
  margin-bottom: 16px;
  border-radius: 8px;
}
.blog-banner img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Mobile: stack columns */
@media (max-width: 992px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-aside {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

