*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --blue: #2f8fe5;
    --blue-dark: #164b88;
    --blue-soft: #eaf4ff;
    --green: #67d98f;
    --green-dark: #2eb872;
    --green-soft: #e5f9ec;
    --green-mint: #bff0cf;
    --green-glow: rgba(103, 217, 143, 0.22);
    --bg: #f4f7fb;
    --bg-alt: #f2fbf5;
    --white: #ffffff;
    --text: #161c24;
    --muted: #667085;
    --border: #e6ebf2;
    --border-soft-green: #cfe9d9;
    --dark: #101828;
    --footer: #124d8f;
    --success: #16a34a;
    --danger: #dc2626;
    --shadow: 0 12px 34px rgba(16, 24, 40, 0.08);
    --shadow-soft: 0 6px 20px rgba(16, 24, 40, 0.05);
    --shadow-green: 0 12px 30px rgba(103, 217, 143, 0.22);
    --radius: 18px;
    --radius-lg: 24px;
    --container: 1200px;
    --transition: 0.25s ease;
    --font-main: "Inter", "Manrope", Arial, Helvetica, sans-serif;
    --font-heading: "Manrope", "Inter", Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background:
        radial-gradient(circle at top right, rgba(103, 217, 143, 0.13), transparent 24%),
        radial-gradient(circle at top left, rgba(47, 143, 229, 0.06), transparent 28%),
        radial-gradient(circle at bottom left, rgba(103, 217, 143, 0.08), transparent 26%),
        var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

img {
    image-rendering: auto;
}

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

button,
input,
textarea,
select {
    font: inherit;
    font-family: var(--font-main);
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo-text,
.main-nav a,
.section-badge,
.btn,
.appointment-btn,
.hero-content h1,
.section-heading h2,
.about-content h2,
.inner-hero h1,
.content-box h2,
.blog-body h3,
.gallery-body h3,
.footer-grid h4,
.sidebar-card h3,
.faq-question {
    font-family: var(--font-heading);
}

svg {
    flex-shrink: 0;
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

/* topbar */
.topbar {
    background: linear-gradient(90deg, var(--blue-dark) 0%, #1a5d97 50%, #2eb872 100%);
    color: var(--white);
    font-size: 14px;
}

.topbar-inner {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar-left a,
.topbar-right a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.topbar-left a:hover,
.topbar-right a:hover,
.topbar-right a.active {
    color: #fff;
}

/* header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(103, 217, 143, 0.16);
}

.nav-wrap {
    min-height: 102px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-weight: 800;
    font-size: 18px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue) 0%, #58a9eb 42%, var(--green) 100%);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 12px 24px rgba(103, 217, 143, 0.16);
    flex-shrink: 0;
}

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

.logo-text {
    line-height: 1.2;
    font-size: 18px;
    font-weight: 800;
}

.site-logo-img,
.footer-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    padding: 4px;
    flex-shrink: 0;
    border: 1px solid rgba(103, 217, 143, 0.16);
}

.site-logo-img {
    width: 48px;
    height: 48px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav a {
    font-weight: 700;
    color: #222;
    position: relative;
    padding: 6px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--green-dark));
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--green-dark);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

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

.search-btn {
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #f6fff8 100%);
    color: var(--dark);
    box-shadow: var(--shadow-soft);
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

.search-btn:hover {
    background: linear-gradient(180deg, var(--blue-soft) 0%, var(--green-soft) 100%);
    border-color: rgba(103, 217, 143, 0.38);
    color: var(--green-dark);
}

.appointment-btn,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
}

.appointment-btn,
.btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, #4da7ed 42%, var(--green-dark) 100%);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(47, 143, 229, 0.14), 0 10px 24px rgba(103, 217, 143, 0.18);
}

.btn-primary:hover,
.appointment-btn:hover {
    background: linear-gradient(135deg, #247fd0 0%, #43a1e8 38%, #27aa67 100%);
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    background: linear-gradient(135deg, var(--blue) 0%, var(--green-dark) 100%);
    color: var(--white);
    border-color: transparent;
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    opacity: 0.92;
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff 0%, #f5fff8 100%);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    color: var(--dark);
}

.mobile-toggle svg {
    width: 22px;
    height: 22px;
}

/* hero */
.hero-section {
    padding: 74px 0;
    background:
        linear-gradient(to right, #f8fafc 28%, #eef4fb 60%, #e8f9ee 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(103, 217, 143, 0.24) 0%, rgba(103, 217, 143, 0) 70%);
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(103, 217, 143, 0.14) 0%, rgba(103, 217, 143, 0) 72%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.04;
    margin: 18px 0;
    max-width: 720px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 18px;
    color: var(--muted);
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(47, 143, 229, 0.12), rgba(103, 217, 143, 0.24));
    color: var(--green-dark);
    font-weight: 800;
    font-size: 14px;
    border: 1px solid rgba(103, 217, 143, 0.18);
    box-shadow: 0 8px 18px rgba(103, 217, 143, 0.08);
}

.hero-image-box,
.about-image img,
.detail-cover,
.gallery-card,
.blog-card,
.service-card,
.content-box,
.sidebar-card,
.empty-box,
.faq-item {
    border-radius: 22px;
}

.hero-image-box,
.about-image img {
    overflow: hidden;
    box-shadow: var(--shadow);
    background: linear-gradient(180deg, #d8e7f8 0%, #cdeed8 100%);
    min-height: 460px;
}

.hero-image-box img,
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 460px;
}

.hero-mini-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.hero-mini-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(103, 217, 143, 0.20);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(103, 217, 143, 0.08);
    backdrop-filter: blur(4px);
}

.hero-mini-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.hero-mini-card span {
    color: var(--muted);
    font-size: 14px;
}

/* sections */
.services-preview,
.about-preview,
.faq-preview {
    padding: 84px 0;
}

.about-preview {
    background: linear-gradient(180deg, rgba(103, 217, 143, 0.08) 0%, rgba(103, 217, 143, 0) 100%);
}

.blog-preview {
    padding: 0 0 84px;
}

.section-heading {
    margin-bottom: 36px;
}

.section-heading.center {
    text-align: center;
}

.section-heading h2 {
    margin-top: 14px;
    font-size: clamp(30px, 4vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-intro {
    margin-top: 12px;
    color: var(--muted);
    font-size: 17px;
}

/* cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9fffb 100%);
    border: 1px solid rgba(103, 217, 143, 0.18);
    padding: 30px 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--green-dark), var(--green));
}

.service-card:hover,
.blog-card:hover,
.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.09), 0 14px 30px rgba(103, 217, 143, 0.14);
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(47, 143, 229, 0.12), rgba(103, 217, 143, 0.24));
    border: 1px solid rgba(103, 217, 143, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--green-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.service-icon svg {
    width: 34px;
    height: 34px;
}

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

.service-card h3 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);
    margin-bottom: 14px;
}

.service-card a {
    color: var(--green-dark);
    font-weight: 800;
}

.mini-meta {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.1;
    margin: 14px 0 18px;
    letter-spacing: -0.02em;
}

.about-content p {
    color: var(--muted);
    margin-bottom: 22px;
}

.info-chip-wrap {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.info-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(47, 143, 229, 0.08), rgba(103, 217, 143, 0.26));
    color: var(--green-dark);
    font-weight: 800;
    border: 1px solid rgba(103, 217, 143, 0.18);
}

/* appointment banner */
.appointment-banner {
    padding: 0 0 84px;
}

.appointment-banner-inner {
    background: linear-gradient(135deg, var(--blue) 0%, #47a2ea 34%, #42c37d 100%);
    color: var(--white);
    border-radius: 24px;
    padding: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 20px 40px rgba(47, 143, 229, 0.18), 0 16px 36px rgba(103, 217, 143, 0.18);
}

.appointment-banner-inner h2 {
    font-size: clamp(30px, 4vw, 54px);
    margin: 14px 0 10px;
    line-height: 1.08;
}

.appointment-banner-inner p {
    opacity: 0.96;
}

/* faq */
.faq-list {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    background: linear-gradient(180deg, #ffffff 0%, #f9fffb 100%);
    border: 1px solid rgba(103, 217, 143, 0.18);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq-question {
    width: 100%;
    padding: 22px 24px;
    text-align: left;
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    color: var(--text);
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--green-dark);
}

.faq-item.active .faq-question::after {
    content: "–";
}

.faq-answer {
    display: none;
    padding: 0 24px 22px;
    color: var(--muted);
}

.faq-item.active .faq-answer {
    display: block;
}

/* inner pages */
.inner-hero {
    padding: 72px 0 54px;
    background: linear-gradient(to right, #f7f9fc 36%, #eef4fb 64%, #e8f9ee 100%);
}

.inner-hero h1 {
    margin-top: 16px;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.inner-hero p {
    margin-top: 14px;
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

.content-section {
    padding: 72px 0;
}

.content-box {
    background: linear-gradient(180deg, #ffffff 0%, #f9fffb 100%);
    border: 1px solid rgba(103, 217, 143, 0.18);
    padding: 32px;
    box-shadow: var(--shadow);
}

.content-box h2 {
    margin-bottom: 18px;
    font-size: 34px;
    line-height: 1.15;
}

.richtext {
    color: var(--muted);
    line-height: 1.9;
    font-size: 17px;
}

.empty-box {
    background: linear-gradient(180deg, #ffffff 0%, #f9fffb 100%);
    border: 1px solid rgba(103, 217, 143, 0.18);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    font-size: 18px;
}

/* sidebar layouts */
.service-layout,
.contact-layout {
    display: grid;
    gap: 28px;
    align-items: start;
}

.service-layout {
    grid-template-columns: minmax(0, 2fr) minmax(300px, 0.9fr);
}

.contact-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
}

.service-main,
.service-sidebar,
.contact-main,
.contact-sidebar {
    min-width: 0;
}

.sidebar-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9fffb 100%);
    border: 1px solid rgba(103, 217, 143, 0.18);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.sidebar-card h3 {
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 1.2;
}

.sidebar-card p {
    color: var(--muted);
    margin-bottom: 16px;
}

.sidebar-links {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.sidebar-links a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fafe 0%, #f1fdf5 100%);
    border: 1px solid rgba(103, 217, 143, 0.16);
    font-weight: 700;
    transition: var(--transition);
}

.sidebar-links a:hover,
.sidebar-links a.active {
    background: linear-gradient(135deg, rgba(47, 143, 229, 0.08), rgba(103, 217, 143, 0.26));
    color: var(--green-dark);
    border-color: rgba(103, 217, 143, 0.26);
}

.detail-cover {
    margin-bottom: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, #d8e7f8 0%, #cdeed8 100%);
}

.detail-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.w-full {
    width: 100%;
}

/* forms */
.site-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

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

.site-form-group label {
    font-weight: 800;
    color: var(--text);
}

.site-form-group input,
.site-form-group textarea,
.site-form-group select,
.newsletter-form input {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0 16px;
    background: linear-gradient(180deg, #fff 0%, #fafffb 100%);
    font-size: 15px;
    color: var(--text);
    outline: none;
    transition: var(--transition);
}

.site-form-group textarea {
    min-height: 130px;
    padding: 14px 16px;
    resize: vertical;
}

.site-form-group input:focus,
.site-form-group textarea:focus,
.site-form-group select:focus,
.newsletter-form input:focus {
    border-color: rgba(103, 217, 143, 0.5);
    box-shadow: 0 0 0 4px rgba(103, 217, 143, 0.16);
}

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

.frontend-alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-weight: 700;
}

.frontend-alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.frontend-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.field-error {
    color: #b42318;
    font-size: 13px;
    font-weight: 600;
    margin-top: 2px;
}

/* contact list */
.contact-list {
    list-style: none;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.contact-list li {
    display: grid;
    gap: 6px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list strong {
    font-size: 14px;
    color: var(--text);
}

.contact-list span,
.contact-list a {
    color: var(--muted);
    word-break: break-word;
}

/* blog */
.blog-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9fffb 100%);
    border: 1px solid rgba(103, 217, 143, 0.18);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-thumb {
    background: linear-gradient(180deg, #d8e7f8 0%, #cdeed8 100%);
    min-height: 230px;
}

.blog-thumb img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.blog-body {
    padding: 22px;
}

.blog-body h3 {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.2;
}

.blog-body p {
    color: var(--muted);
    margin-bottom: 14px;
}

.blog-body a {
    color: var(--green-dark);
    font-weight: 800;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gallery-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9fffb 100%);
    border: 1px solid rgba(103, 217, 143, 0.18);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-media {
    background: linear-gradient(180deg, #d8e7f8 0%, #cdeed8 100%);
}

.gallery-media img,
.gallery-media video {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.gallery-body {
    padding: 18px;
}

.gallery-body h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.gallery-body p {
    color: var(--muted);
}

/* newsletter / footer */
.site-footer {
    margin-top: 48px;
    background: linear-gradient(135deg, var(--footer) 0%, #1768b1 44%, #21926c 100%);
    color: var(--white);
    position: relative;
}

.newsletter-box {
    background: linear-gradient(135deg, var(--blue) 0%, #47a3eb 30%, #40c67e 100%);
    border-radius: 22px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    transform: translateY(-36px);
    box-shadow: 0 20px 40px rgba(47, 143, 229, 0.20), 0 16px 34px rgba(103, 217, 143, 0.20);
}

.newsletter-left h3 {
    font-size: 28px;
    margin-bottom: 8px;
    line-height: 1.15;
}

.newsletter-left p {
    color: rgba(255,255,255,0.92);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    width: min(100%, 600px);
}

.newsletter-form button {
    min-width: 140px;
    min-height: 52px;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    background: #fff;
    color: var(--dark);
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-1px);
    background: #f2fff6;
    color: var(--green-dark);
}

.footer-main {
    padding: 24px 0 44px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-grid h4 {
    margin-bottom: 16px;
    font-size: 22px;
}

.footer-text {
    color: rgba(255,255,255,0.88);
    margin: 18px 0 20px;
    max-width: 320px;
}

.footer-links,
.footer-contact {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #dfffea;
}

.footer-contact li {
    display: grid;
    gap: 6px;
}

.footer-contact strong {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.footer-contact a,
.footer-contact div,
.footer-contact li {
    color: rgba(255,255,255,0.95);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.08);
}

.social-links a svg {
    width: 18px;
    height: 18px;
}

.social-links a:hover {
    background: rgba(103, 217, 143, 0.24);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #25d366 0%, #37df7c 100%);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.14);
    padding: 18px 0;
    text-align: center;
    color: rgba(255,255,255,0.88);
}

/* utility */
.price-line {
    margin-top: 10px;
    margin-bottom: 14px;
    font-size: 20px;
    font-weight: 800;
    color: #111111;
}

.payment-summary {
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fafc 0%, #eefbf2 100%);
    border: 1px solid rgba(103, 217, 143, 0.18);
}

.payment-row strong {
    font-size: 15px;
}

.payment-row span {
    color: var(--muted);
    text-align: right;
}

.success-box,
.fail-box {
    max-width: 760px;
    margin: 0 auto;
    background: linear-gradient(180deg, #ffffff 0%, #f9fffb 100%);
    border: 1px solid rgba(103, 217, 143, 0.18);
    border-radius: 24px;
    padding: 42px 28px;
    text-align: center;
    box-shadow: var(--shadow);
}

.success-icon,
.fail-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 800;
}

.success-icon {
    background: #dcfce7;
    color: #166534;
}

.fail-icon {
    background: #fee2e2;
    color: #991b1b;
}

.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--green-dark) 100%);
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(103, 217, 143, 0.16);
    z-index: 80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.scroll-top svg {
    width: 20px;
    height: 20px;
}

.scroll-top:hover {
    background: linear-gradient(135deg, #247fd0 0%, #27aa67 100%);
}

.mt-12 {
    margin-top: 12px;
}

.mt-24 {
    margin-top: 24px;
}

.mb-16 {
    margin-bottom: 16px;
}

/* responsive */
@media (max-width: 1100px) {
    .hero-grid,
    .about-grid,
    .footer-grid,
    .card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .main-nav {
        gap: 16px;
    }

    .appointment-banner-inner,
    .newsletter-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-form {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .service-layout,
    .contact-layout,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-mini-cards {
        grid-template-columns: 1fr;
    }

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

    .payment-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-row span {
        text-align: left;
    }
}

@media (max-width: 860px) {
    .main-nav {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        background: linear-gradient(180deg, #ffffff 0%, #f9fffb 100%);
        border-radius: 18px;
        box-shadow: var(--shadow);
        padding: 18px;
        flex-direction: column;
        align-items: flex-start;
        border: 1px solid rgba(103, 217, 143, 0.18);
        z-index: 60;
    }

    .main-nav.open {
        display: flex;
    }

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .search-btn {
        display: inline-flex;
    }

    .hero-grid,
    .about-grid,
    .footer-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .topbar-inner,
    .topbar-left,
    .topbar-right {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 0;
    }

    .nav-wrap {
        min-height: 82px;
    }

    .hero-section,
    .services-preview,
    .about-preview,
    .faq-preview,
    .content-section,
    .blog-preview {
        padding: 54px 0;
    }

    .appointment-banner-inner {
        padding: 28px 22px;
    }

    .site-logo-img,
    .footer-logo-img {
        width: 42px;
        height: 42px;
    }

    .logo-text {
        font-size: 16px;
    }

    .newsletter-box,
    .content-box,
    .sidebar-card,
    .service-card,
    .blog-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-grid h4 {
        font-size: 20px;
    }

    .social-links a span {
        display: none;
    }
}