/* ==========================================================================
   Dyson Professional Repair Center - Bluehost Blueprint theme
   1:1 replica of lf6.net layout
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --wp--preset--color--base: #ffffff;
    --wp--preset--color--contrast: #000000;
    --wp--preset--color--accent-1: #16425B;
    --wp--preset--color--accent-2: #2F6690;
    --wp--preset--color--accent-3: #82B4D3;
    --wp--preset--color--accent-4: #235E70;
    --wp--preset--color--base-midtone: #f4f4f4;
    --wp--preset--color--contrast-midtone: #323232;

    --wp--preset--spacing--20: clamp(0.625rem, calc(0.5rem + 0.37vw), 0.875rem);
    --wp--preset--spacing--30: clamp(0.9375rem, calc(0.8125rem + 0.37vw), 1.25rem);
    --wp--preset--spacing--40: clamp(1.25rem, calc(1.125rem + 0.61vw), 1.75rem);
    --wp--preset--spacing--50: clamp(1.75rem, calc(1.5rem + 0.61vw), 2.5rem);
    --wp--preset--spacing--60: clamp(2.1875rem, calc(1.9375rem + 1.14vw), 3.5rem);
    --wp--preset--spacing--70: clamp(3rem, calc(2.5rem + 1.83vw), 5rem);
    --wp--preset--spacing--80: clamp(4rem, calc(3.25rem + 2.44vw), 7rem);

    --wp--preset--font-size--small: 0.813rem;
    --wp--preset--font-size--medium: 1rem;
    --wp--preset--font-size--large: clamp(1.125rem, 1.046rem + 0.33vw, 1.25rem);
    --wp--preset--font-size--x-large: clamp(1.5rem, 1.342rem + 0.67vw, 1.75rem);
    --wp--preset--font-size--xx-large: clamp(3.5rem, 3.184rem + 1.34vw, 4rem);
    --wp--preset--font-size--huge: clamp(6rem, 10vw, 10rem);

    --wp--style--global--content-size: 1200px;
    --wp--style--global--wide-size: 1340px;
}

body {
    margin: 0;
    font-family: 'Roboto Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: var(--wp--preset--font-size--medium);
    line-height: 1.65;
    color: var(--wp--preset--color--contrast);
    background-color: var(--wp--preset--color--base);
    -webkit-font-smoothing: antialiased;
    text-wrap: pretty;
}

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

a {
    color: var(--wp--preset--color--contrast);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}
a:hover { color: var(--wp--preset--color--accent-2); }

h1, h2, h3, h4, h5, h6, p, blockquote {
    margin: 0 0 var(--wp--preset--spacing--40);
    text-wrap: pretty;
    line-height: 1.15;
    color: var(--wp--preset--color--contrast);
}
h1 { font-size: clamp(3rem, 6vw, var(--wp--preset--font-size--xx-large)); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem); font-weight: 900; letter-spacing: -0.01em; line-height: 1.05; text-transform: uppercase; }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }
p { font-size: var(--wp--preset--font-size--medium); line-height: 1.7; color: var(--wp--preset--color--contrast-midtone); margin-bottom: var(--wp--preset--spacing--40); }

/* Layout containers */
.wp-site-blocks { display: flex; flex-direction: column; min-height: 100vh; }
.wp-site-blocks > main { flex: 1; }

.wp-block-group.alignfull.has-global-padding.is-layout-constrained,
.wp-block-template-part.has-global-padding.is-layout-constrained {
    padding-left: var(--wp--preset--spacing--50);
    padding-right: var(--wp--preset--spacing--50);
    max-width: var(--wp--style--global--wide-size);
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.wp-element-button, button, input[type="submit"], .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    background-color: var(--wp--preset--color--accent-1);
    color: var(--wp--preset--color--base);
    border: 0;
    border-radius: 2px;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    font-family: inherit;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.6;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}
.wp-element-button:hover, .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--accent-2);
    color: var(--wp--preset--color--base);
    transform: translateY(-1px);
}

/* ==========================================================================
   HEADER — logo left, nav+lang+CTA right
   ========================================================================== */
.nfd-wb-header__header-1 {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--wp--preset--color--base);
    border-bottom: 1px solid rgba(229, 229, 233, 1);
}
.nfd-wb-header__header-1 .nfd-py-sm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
}
.wp-block-site-logo img, .custom-logo {
    max-height: 88px;
    width: auto;
    display: block;
}
.wp-block-navigation__container {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.wp-block-navigation-item__content {
    color: rgb(29, 29, 34);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
}
.wp-block-navigation-item__content::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0;
    width: 0; height: 1.5px;
    background: rgb(29, 29, 34);
    transition: width 0.25s ease;
}
.wp-block-navigation-item__content:hover::after { width: 100%; }

.wp-block-navigation__responsive-container-open {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
}
.wp-block-navigation__responsive-container-open svg { width: 24px; height: 24px; }

.wp-block-navigation__responsive-container {
    display: block;
}
.wp-block-navigation__responsive-container-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

@media (max-width: 780px) {
    .wp-block-navigation__responsive-container-open {
        display: inline-flex !important;
    }
    .wp-block-navigation__responsive-container:not(.is-open) {
        display: none;
    }
    .wp-block-navigation__responsive-container.is-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
        padding: var(--wp--preset--spacing--30);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        z-index: 200;
    }
    .wp-block-navigation__responsive-container.is-open .wp-block-navigation__container {
        flex-direction: column;
        gap: var(--wp--preset--spacing--20);
    }
    .wp-block-navigation__responsive-container-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--wp--preset--spacing--20);
    }
    .lang-switcher {
        display: inline-flex !important;
        margin-top: 8px;
    }
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: var(--wp--preset--color--base-midtone);
    font-size: var(--wp--preset--font-size--small);
}
.lang-switcher a {
    text-decoration: none;
    color: var(--wp--preset--color--contrast-midtone);
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
}
.lang-switcher a.active, .lang-switcher a:hover {
    color: var(--wp--preset--color--base);
    background: var(--wp--preset--color--contrast);
}
.lang-separator { color: var(--wp--preset--color--contrast-midtone); opacity: 0.4; font-size: 0.75rem; }

/* Header right: nav + lang switcher inline */
.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}
.header-right .lang-switcher {
    margin-left: 0;
}

/* ==========================================================================
   HERO — full-screen cover, alignfull breakout, centered text
   Hero is now a direct child of <main>, outside .entry-content
   ========================================================================== */
.nfd-wb-hero__hero-24 {
    overflow: visible;
    position: relative;
}
.nfd-wb-hero__hero-24.has-global-padding.is-layout-constrained {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: calc(-1 * var(--wp--preset--spacing--50)) !important;
    margin-right: calc(-1 * var(--wp--preset--spacing--50)) !important;
}
.nfd-wb-hero__hero-24 .wp-block-cover {
    min-height: 0;
    aspect-ratio: 16 / 9;
    position: relative;
}
.nfd-wb-hero__hero-24 .wp-block-cover.alignfull {
    max-width: none;
    width: 100vw;
    position: relative;
    left: calc(50% - 50vw);
}
.nfd-wb-hero__hero-24 .wp-block-cover__image-background {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover;
}
.nfd-wb-hero__hero-24 .wp-block-cover__background {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.nfd-wb-hero__hero-24 .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: clamp(3rem, 5vw, 5rem) var(--wp--preset--spacing--50);
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
}
.nfd-wb-hero__hero-24 .wp-block-cover__inner-container.is-layout-constrained {
    max-width: var(--wp--style--global--wide-size);
}
.nfd-wb-hero__hero-24 h1 {
    color: #fff;
    text-align: center;
    max-width: none;
    font-size: clamp(3rem, 7.5vw, 6.6rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 auto 32px;
}
.nfd-wb-hero__hero-24 p {
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
    max-width: 32em;
    margin: 0 auto;
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    line-height: 1.75;
}

/* ==========================================================================
   3 COL CONTACT CARDS — 30% / 30% / 40%
   ========================================================================== */
.nfd-wb-features__features-74 {
    padding-top: 28px;
    padding-bottom: 28px;
}
.nfd-wb-features__features-74 .wp-block-columns {
    display: flex;
    gap: 8px;
    align-items: start;
}
.nfd-wb-features__features-74 .wp-block-column:nth-child(1) { flex: 0 1 30%; }
.nfd-wb-features__features-74 .wp-block-column:nth-child(2) { flex: 0 1 30%; }
.nfd-wb-features__features-74 .wp-block-column:nth-child(3) { flex: 0 1 40%; }

.nfd-wb-features__features-74 h2 {
    font-size: clamp(1.5rem, 1.6vw, 1.8rem);
    font-weight: 800;
    margin: 0 0 var(--wp--preset--spacing--40);
    text-transform: none;
}
.nfd-wb-features__features-74 p {
    margin: 0 0 var(--wp--preset--spacing--20);
    font-size: 1rem;
}
.nfd-wb-features__features-74 .wp-block-column:nth-child(3) .wp-block-cover {
    aspect-ratio: 16/10;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.nfd-wb-features__features-74 .wp-block-column:nth-child(3) .wp-block-cover__inner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    position: relative;
}
.nfd-wb-features__features-74 .wp-block-column:nth-child(3) p {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
    padding: var(--wp--preset--spacing--30);
}

/* ==========================================================================
   SPLITSCREEN — image + text alternating, NO dark filters
   ========================================================================== */
.nfd-wb-features__features-73 {
    padding-top: 0;
    padding-bottom: 0;
}
.nfd-wb-call-to-action__cta-32,
.nfd-wb-call-to-action__cta-33 {
    padding-top: 92px;
    padding-bottom: 92px;
}
.nfd-wb-features__features-73 .wp-block-columns,
.nfd-wb-call-to-action__cta-32 .wp-block-columns,
.nfd-wb-call-to-action__cta-33 .wp-block-columns {
    display: flex;
    gap: 56px;
    align-items: center;
}

/* Splitscreen images - normal brightness, simple thin gray border */
.nfd-wb-features__features-73 .wp-block-cover {
    min-height: 520px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
.nfd-wb-features__features-73 .wp-block-cover__image-background {
    width: 100%; height: 100%; object-fit: cover;
}
.nfd-wb-features__features-73 .wp-block-cover__background {
    background: transparent;
}
.nfd-wb-call-to-action__cta-32 .wp-block-image img,
.nfd-wb-call-to-action__cta-33 .wp-block-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    max-width: 500px;
    border: 1px solid #e0e0e0;
}

/* Splitscreen text */
.nfd-wb-features__features-73 .nfd-text-xl {
    font-size: 1.25rem;
    color: var(--wp--preset--color--accent-2);
    font-weight: 600;
    margin-bottom: var(--wp--preset--spacing--30);
}
.nfd-wb-features__features-73 h2,
.nfd-wb-call-to-action__cta-32 h2 {
    font-size: clamp(2rem, 1.6rem + 2vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--wp--preset--color--contrast);
    margin-bottom: var(--wp--preset--spacing--50);
}
.nfd-wb-features__features-73 p,
.nfd-wb-call-to-action__cta-32 p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--wp--preset--color--contrast-midtone);
    margin-bottom: var(--wp--preset--spacing--40);
}

/* CTA-33: eyebrow tag + heading + text + link */
.nfd-wb-call-to-action__cta-33 .nfd-p-xs {
    display: inline-block;
    padding: 6px 16px;
    background: var(--wp--preset--color--accent-2);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: var(--wp--preset--spacing--40);
}
.nfd-wb-call-to-action__cta-33 h2 {
    font-size: clamp(2rem, 1.6rem + 2vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--wp--preset--color--contrast);
    margin-bottom: var(--wp--preset--spacing--50);
}
.nfd-wb-call-to-action__cta-33 p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--wp--preset--color--contrast-midtone);
    margin-bottom: var(--wp--preset--spacing--40);
}
.nfd-wb-call-to-action__cta-33 .has-accent-2-color a {
    color: var(--wp--preset--color--accent-2);
    font-weight: 600;
    text-decoration: underline;
}

/* ==========================================================================
   6 CIRCULAR SERVICE CARDS — 3-col grid
   ========================================================================== */
.nfd-wb-features__features-75 {
    padding-top: 50px;
    padding-bottom: 50px;
}
.nfd-wb-features__features-75 .wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 56px;
    justify-content: center;
}
.nfd-wb-features__features-75 .wp-block-column {
    flex: 0 0 calc(33.333% - 37px);
    max-width: calc(33.333% - 37px);
    text-align: center;
}
.nfd-wb-features__features-75 .wp-block-column figure {
    width: 187px;
    height: 187px;
    margin: 0 auto var(--wp--preset--spacing--40);
}
.nfd-wb-features__features-75 .wp-block-column figure img {
    width: 187px;
    height: 187px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}
.nfd-wb-features__features-75 .wp-block-column:hover figure img {
    transform: scale(1.03);
}
.nfd-wb-features__features-75 .wp-block-column h3 {
    font-size: clamp(1.1rem, 1.3vw, 1.35rem);
    font-weight: 700;
    text-align: center;
    margin: 0 0 var(--wp--preset--spacing--20);
}
.nfd-wb-features__features-75 .wp-block-column p {
    font-size: 0.975rem;
    color: var(--wp--preset--color--contrast-midtone);
    text-align: center;
    margin: 0;
}

/* ==========================================================================
   BUSINESS HOURS — dark card, centered
   ========================================================================== */
.nfd-wb-call-to-action__cta-34 {
    padding-top: 0;
    padding-bottom: 0;
}
.nfd-wb-call-to-action__cta-34 .wp-block-cover {
    min-height: auto;
}
.nfd-wb-call-to-action__cta-34 .wp-block-cover__image-background,
.nfd-wb-call-to-action__cta-34 .wp-block-cover__background {
    display: none;
}
.nfd-wb-call-to-action__cta-34 .is-style-nfd-theme-darker {
    background: #1C1C1E;
    color: #fff;
    padding: clamp(3rem, 5vw, 5.75rem) clamp(2rem, 4vw, 4rem);
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}
.nfd-wb-call-to-action__cta-34 h2 {
    color: #fff;
    text-align: center;
    font-size: clamp(2rem, 1.6rem + 2vw, 3.5rem);
    margin-bottom: var(--wp--preset--spacing--40);
}
.nfd-wb-call-to-action__cta-34 .has-text-align-center {
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    max-width: 40em;
    margin: 0 auto var(--wp--preset--spacing--60);
}
.nfd-wb-call-to-action__cta-34 .nfd-gap-sm {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--30);
    max-width: 480px;
    margin: 0 auto;
}
.nfd-wb-call-to-action__cta-34 .is-content-justification-space-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--wp--preset--spacing--20);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nfd-wb-call-to-action__cta-34 .is-content-justification-space-between:last-child {
    border-bottom: none;
}
.nfd-wb-call-to-action__cta-34 .is-content-justification-space-between p {
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    font-size: 1.05rem;
}
.nfd-wb-call-to-action__cta-34 .is-content-justification-space-between p:last-child {
    color: #fff;
    font-weight: 700;
    text-align: right;
}
.nfd-wb-call-to-action__cta-34 .has-accent-2-color {
    color: #EF6F6C !important;
}

/* ==========================================================================
   FOOTER — dark charcoal, 4-col grid
   ========================================================================== */
.nfd-wb-footer__footer-24 {
    background: #1C1C1E;
    color: #ffffff;
    padding-top: var(--wp--preset--spacing--60);
    padding-bottom: var(--wp--preset--spacing--40);
}
.footer-wrapper {
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
    padding: 0 var(--wp--preset--spacing--50);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: var(--wp--preset--spacing--60);
    padding-bottom: var(--wp--preset--spacing--60);
}
.footer-col__brand .site-logo {
    display: inline-block;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    margin-bottom: var(--wp--preset--spacing--40);
    text-decoration: none;
}
.footer-col__brand img,
.footer-logo-img {
    max-height: 72px;
    display: block;
}
.footer-col__brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
    margin: 0;
    font-size: 0.95rem;
}
.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--wp--preset--spacing--40);
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--wp--preset--spacing--20);
}
.footer-col ul li, .footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
}
.footer-col ul li a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--wp--preset--spacing--40);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--30);
    color: rgba(255, 255, 255, 0.52);
    font-size: var(--wp--preset--font-size--small);
}
.footer-bottom__links { display: flex; gap: var(--wp--preset--spacing--40); flex-wrap: wrap; }

/* ==========================================================================
   FLOATING ACTIONS
   ========================================================================== */
.floaters {
    position: fixed;
    right: clamp(14px, 2vw, 28px);
    bottom: clamp(18px, 3vh, 36px);
    z-index: 60;
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
}
.floater-wrapper {
    position: relative;
    display: inline-block;
}
.floater {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: #1C1C1E;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}
.floater:hover { background: #333336; color: #fff; transform: translateY(-2px); }
.floater--black { background: #1C1C1E; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.floater--green { background: #1C1C1E; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }

/* Hover popup: positioned relative to .floater-wrapper */
.floater-popup {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) scale(0.95);
    transform-origin: right center;
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 61;
    min-width: 200px;
    max-width: 240px;
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
}
.floater-wrapper:hover .floater-popup {
    display: block;
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}
.floater-popup::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #fff;
}
.floater-popup h4 { font-size: 0.85rem; margin: 0 0 6px; color: var(--wp--preset--color--contrast); font-weight: 600; }
.floater-popup .phone-number { font-size: 1.3rem; font-weight: 800; color: var(--wp--preset--color--accent-1); margin: 4px 0; letter-spacing: 0.02em; }
.floater-popup .qr { width: 150px; height: 150px; object-fit: contain; border-radius: 8px; margin: 6px auto; display: block; background: #f5f5f5; }
.floater-popup .note { font-size: 0.75rem; color: var(--wp--preset--color--contrast-midtone); margin: 4px 0 0; text-align: center; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .nfd-wb-features__features-74 .wp-block-columns { flex-wrap: wrap; }
    .nfd-wb-features__features-74 .wp-block-column:nth-child(1),
    .nfd-wb-features__features-74 .wp-block-column:nth-child(2) { flex: 0 0 calc(50% - 4px); }
    .nfd-wb-features__features-74 .wp-block-column:nth-child(3) { flex: 0 0 100%; }
    .nfd-wb-features__features-75 .wp-block-column { flex: 0 0 calc(50% - 28px); max-width: calc(50% - 28px); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nfd-wb-features__features-73 .wp-block-columns,
    .nfd-wb-call-to-action__cta-32 .wp-block-columns,
    .nfd-wb-call-to-action__cta-33 .wp-block-columns { gap: var(--wp--preset--spacing--50); }
}

@media (max-width: 780px) {
    .wp-block-group.alignfull.has-global-padding.is-layout-constrained,
    .wp-block-template-part.has-global-padding.is-layout-constrained {
        padding-left: var(--wp--preset--spacing--30);
        padding-right: var(--wp--preset--spacing--30);
    }
    .nfd-wb-hero__hero-24.has-global-padding.is-layout-constrained {
        margin-left: calc(-1 * var(--wp--preset--spacing--30)) !important;
        margin-right: calc(-1 * var(--wp--preset--spacing--30)) !important;
    }
    .nfd-wb-header__header-1 .nfd-py-sm { flex-wrap: wrap; gap: var(--wp--preset--spacing--30); padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30); }
    .wp-block-site-logo img, .custom-logo { max-height: 52px; }
    .lang-switcher { display: inline-flex; }
    .nfd-wb-features__features-74 .wp-block-columns { flex-direction: column; gap: var(--wp--preset--spacing--30); }
    .nfd-wb-features__features-74 .wp-block-column:nth-child(1),
    .nfd-wb-features__features-74 .wp-block-column:nth-child(2),
    .nfd-wb-features__features-74 .wp-block-column:nth-child(3) { flex: 0 0 100%; }
    .nfd-wb-features__features-74 .wp-block-column:nth-child(2) { display: none; }
    .nfd-wb-features__features-74 .wp-block-column:nth-child(3) .wp-block-cover { max-width: 100%; margin: 0 auto; }
    .nfd-wb-features__features-75 .wp-block-column { flex: 0 0 calc(50% - 20px); max-width: calc(50% - 20px); }
    .nfd-wb-features__features-73 .wp-block-columns,
    .nfd-wb-call-to-action__cta-32 .wp-block-columns,
    .nfd-wb-call-to-action__cta-33 .wp-block-columns { flex-direction: column; gap: var(--wp--preset--spacing--40); }
    .nfd-wb-features__features-73 .wp-block-cover { min-height: 320px; }
    .nfd-wb-call-to-action__cta-32,
    .nfd-wb-call-to-action__cta-33 { padding-top: 56px; padding-bottom: 56px; }
    .nfd-wb-call-to-action__cta-32 .wp-block-image img,
    .nfd-wb-call-to-action__cta-33 .wp-block-image img { max-width: 100%; }
    .nfd-wb-call-to-action__cta-34 .is-style-nfd-theme-darker { padding: clamp(2rem, 4vw, 3rem) var(--wp--preset--spacing--30); }
    .nfd-wb-call-to-action__cta-34 .has-text-align-center { font-size: 0.95rem; }
    .footer-grid { grid-template-columns: 1fr; gap: var(--wp--preset--spacing--40); }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--wp--preset--spacing--20); }
    .floater-popup {
        right: 0;
        left: auto;
        top: auto;
        bottom: calc(100% + 12px);
        transform: scale(0.95);
        transform-origin: bottom right;
    }
    .floater-popup::after {
        left: auto;
        right: 16px;
        top: auto;
        bottom: -6px;
        transform: none;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #fff;
        border-bottom: none;
    }
    .floater-wrapper:hover .floater-popup {
        transform: scale(1);
    }
    .nfd-wb-hero__hero-24 .wp-block-cover__inner-container {
        padding: clamp(2rem, 4vw, 3rem) var(--wp--preset--spacing--30);
    }
    .nfd-wb-hero__hero-24 .wp-block-cover { aspect-ratio: 16 / 10; }
    .header-right { gap: var(--wp--preset--spacing--30); }
    .nfd-wb-features__features-75 { padding-top: 32px; padding-bottom: 32px; }
}

@media (max-width: 600px) {
    .nfd-wb-features__features-75 .wp-block-column { flex: 0 0 calc(50% - 16px); max-width: calc(50% - 16px); }
    .nfd-wb-features__features-75 .wp-block-column figure,
    .nfd-wb-features__features-75 .wp-block-column figure img { width: 140px; height: 140px; }
    .nfd-wb-features__features-73 .wp-block-cover { min-height: 260px; }
    .nfd-wb-hero__hero-24 h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); margin-bottom: 16px; }
    .nfd-wb-hero__hero-24 p { font-size: 0.95rem; line-height: 1.6; }
    .nfd-wb-call-to-action__cta-32,
    .nfd-wb-call-to-action__cta-33 { padding-top: 40px; padding-bottom: 40px; }
    .nfd-wb-call-to-action__cta-32 h2,
    .nfd-wb-call-to-action__cta-33 h2,
    .nfd-wb-features__features-73 h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .nfd-wb-features__features-73 .nfd-text-xl { font-size: 1rem; }
    .floater { width: 44px; height: 44px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .nfd-wb-features__features-75 .wp-block-column { flex: 0 0 100%; max-width: 100%; }
    .nfd-wb-features__features-75 .wp-block-column figure,
    .nfd-wb-features__features-75 .wp-block-column figure img { width: 130px; height: 130px; }
    .wp-block-site-logo img, .custom-logo { max-height: 44px; }
    .nfd-wb-hero__hero-24 h1 { font-size: clamp(1.5rem, 8vw, 2rem); margin-bottom: 12px; }
    .nfd-wb-hero__hero-24 p { font-size: 0.9rem; line-height: 1.55; }
    .nfd-wb-hero__hero-24 .wp-block-cover { aspect-ratio: 4 / 3; }
    .floater { width: 44px; height: 44px; font-size: 0.95rem; }
    .floater-popup {
        right: 0;
        left: auto;
        bottom: calc(100% + 10px);
        transform-origin: bottom right;
        min-width: 170px;
        max-width: 190px;
    }
    .floater-popup .qr { width: 110px; height: 110px; }
    .nfd-wb-features__features-73 .wp-block-cover { min-height: 220px; }
    .nfd-wb-call-to-action__cta-34 .is-style-nfd-theme-darker { padding: 1.75rem 1.25rem; }
    .nfd-wb-call-to-action__cta-34 h2 { font-size: clamp(1.25rem, 6vw, 1.75rem); }
    .nfd-wb-call-to-action__cta-34 .has-text-align-center { font-size: 0.85rem; }
    .footer-col__brand img { max-height: 56px; }
    .footer-col__brand p { font-size: 0.85rem; }
}

/* ==========================================================================
   CONTACT PAGE — Layout, Form, Info Cards, Services
   ========================================================================== */

/* ---- Generic layout ---- */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ---- Header ---- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 16px 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo img { width: 40px; height: 40px; }
.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--wp--preset--color--accent-1);
    letter-spacing: -0.01em;
}
.nav {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.nav a {
    color: var(--wp--preset--color--contrast);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s;
}
.nav a:hover,
.nav a[href="contact.php"] {
    color: var(--wp--preset--color--accent-1);
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--wp--preset--color--accent-1);
    transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: 0;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--wp--preset--color--contrast);
    border-radius: 2px;
    transition: transform 0.25s;
}

/* ---- Detail page hero ---- */
.detail-header {
    background: var(--wp--preset--color--base-midtone);
    color: var(--wp--preset--color--contrast);
    padding: 56px 0 48px;
    text-align: center;
}
.detail-header h1 {
    color: var(--wp--preset--color--contrast);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}
.detail-header p {
    color: var(--wp--preset--color--contrast-midtone);
    font-size: 1.05rem;
    margin: 0;
    font-weight: 400;
}

/* ---- Contact main section ---- */
.contact-section {
    padding: 56px 0;
    background: #fff;
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

/* Contact info column */
.contact-info {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
.contact-info > h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 28px;
    color: var(--wp--preset--color--contrast);
    text-transform: none;
    letter-spacing: -0.01em;
}
.info-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.info-item:last-of-type { border-bottom: 0; }
.info-item i {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1C1C1E;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.info-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--wp--preset--color--contrast);
}
.info-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--wp--preset--color--contrast-midtone);
    line-height: 1.55;
}

/* Contact form column */
.contact-form {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
.contact-form > h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 28px;
    color: var(--wp--preset--color--contrast);
    text-transform: none;
    letter-spacing: -0.01em;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--wp--preset--color--contrast);
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fafafa;
    color: var(--wp--preset--color--contrast);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--wp--preset--color--accent-1);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(22, 66, 91, 0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    line-height: 1.5;
}
.btn-primary {
    background: var(--wp--preset--color--accent-1);
    color: #fff;
}
.btn-primary:hover {
    background: var(--wp--preset--color--accent-2);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(22, 66, 91, 0.25);
}
.btn-outline {
    background: transparent;
    color: var(--wp--preset--color--accent-1);
    border: 1.5px solid var(--wp--preset--color--accent-1);
}
.btn-outline:hover {
    background: var(--wp--preset--color--accent-1);
    color: #fff;
    transform: translateY(-1px);
}
.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: 12px;
}

/* Form result messages */
.form-result {
    margin-top: 20px;
}

/* ---- Section (services) ---- */
.section {
    padding: 56px 0;
    background: var(--wp--preset--color--base-midtone);
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 800;
    margin: 0 0 12px;
    text-transform: none;
    letter-spacing: -0.01em;
}
.section-title p {
    color: var(--wp--preset--color--contrast-midtone);
    margin: 0;
    font-size: 1rem;
}
.line {
    width: 50px;
    height: 3px;
    background: var(--wp--preset--color--accent-1);
    margin: 16px auto 0;
    border-radius: 2px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-item {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}
.service-item img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin: 0 auto 16px;
}
.service-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 8px;
}
.service-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--wp--preset--color--contrast-midtone);
    margin: 0;
}

/* ---- Footer ---- */
footer {
    background: #1C1C1E;
    color: #fff;
    padding: 48px 0 0;
}
footer .container { max-width: 1200px; }
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-section h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 16px;
}
.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0 0 8px;
    line-height: 1.6;
}
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-section ul li {
    margin-bottom: 8px;
}
.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-section ul li a:hover {
    color: #fff;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-logo img {
    max-width: 140px;
    height: auto;
    display: block;
}
.footer-logo-img {
    max-width: 140px;
    height: auto;
    display: block;
}
.footer-logo-text {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}
.footer-contact .phone {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    margin: 0;
}

/* ---- Floating Action Buttons ---- */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.floating-btn {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #1C1C1E;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}
.floating-btn:hover {
    background: #333336;
    color: #fff;
    transform: translateY(-2px);
}
.floating-btn.call { background: #1C1C1E; }
.floating-btn.wechat { background: #1C1C1E; }
.floating-btn.book { background: #EF6F6C; }
.floating-btn.book:hover { background: #d95c59; }
.floating-popup {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) scale(0.95);
    transform-origin: right center;
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    min-width: 200px;
    max-width: 240px;
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
}
.floating-btn:hover + .floating-popup,
.floating-popup:hover {
    display: block;
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}
.floating-popup::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #fff;
}
.floating-popup h4 { font-size: 0.85rem; margin: 0 0 6px; color: #333; font-weight: 600; }
.floating-popup .phone-link { font-size: 1.3rem; font-weight: 800; color: #EF6F6C; margin: 4px 0; letter-spacing: 0.02em; text-decoration: none; display: block; }
.floating-popup img { width: 150px; height: 150px; object-fit: contain; border-radius: 8px; margin: 6px auto; display: block; background: #f5f5f5; }
.floating-popup p { font-size: 0.75rem; color: #666; margin: 4px 0 0; text-align: center; }
.floating-popup .popup-arrow { display: none; }

/* Touch device overrides */
@media (hover: none) {
    .floating-popup {
        display: none !important;
    }
    .floating-popup[style*="display: block"],
    .floating-popup[style*="display:block"] {
        display: block !important;
        opacity: 1 !important;
    }
}

/* ---- Header / Nav ---- */
header {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
header .container {
    max-width: 1200px;
    margin: 0 auto;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    gap: 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo img {
    height: 48px;
    width: auto;
    display: block;
}
.nav {
    display: flex;
    gap: 28px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav a:hover { color: #EF6F6C; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* ---- Detail Page Header ---- */
.detail-header {
    background: linear-gradient(135deg, #1C1C1E 0%, #333336 100%);
    color: #fff;
    padding: 48px 0 40px;
}
.detail-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 12px;
    color: #fff;
}
.detail-header p {
    font-size: 1.05rem;
    margin: 0;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

/* ---- Contact page responsive ---- */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .header-content { padding: 12px 20px; }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }
    .nav.active { display: flex; }
    .nav-toggle { display: flex; }
    .detail-header { padding: 40px 0 32px; }
    .contact-section { padding: 32px 0; }
    .contact-info,
    .contact-form { padding: 24px 20px; }
    .contact-form input[type="text"],
    .contact-form input[type="tel"],
    .contact-form input[type="email"],
    .contact-form select,
    .contact-form textarea {
        width: 100%;
        font-size: 16px;
        min-height: 44px;
    }
    .contact-form textarea { min-height: 120px; }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 28px;
    }
    .services-grid { gap: 16px; }
    /* 联系页服务说明：移动端隐藏图片，改为纯文字纵向排版 */
    .contact-services-section .service-item {
        padding: 20px 18px;
        text-align: center;
        display: block;
    }
    .contact-services-section .service-item img {
        display: none;
    }
    .contact-services-section .service-item h3 {
        font-size: 1rem;
        margin: 0 0 8px;
        text-align: center;
    }
    .contact-services-section .service-item p {
        font-size: 0.85rem;
        line-height: 1.6;
        text-align: center;
    }
    .btn-primary,
    .btn-large { width: 100%; justify-content: center; }
    .floating-buttons { right: 12px; bottom: 16px; gap: 8px; }
    .floating-btn { width: 48px; height: 48px; font-size: 1.1rem; border-radius: 12px; }
    .floating-popup {
        left: auto;
        right: 0;
        bottom: calc(100% + 10px);
        top: auto;
        transform-origin: bottom right;
        min-width: 180px;
        padding: 12px 14px;
    }
    .floating-popup::after {
        left: auto;
        right: 16px;
        top: auto;
        bottom: -6px;
        transform: none;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #fff;
        border-bottom: none;
    }
    .floating-popup img { width: 120px; height: 120px; }
}

@media (max-width: 480px) {
    .contact-info,
    .contact-form { padding: 20px 16px; border-radius: 12px; }
    .info-item { flex-direction: column; gap: 8px; }
    .info-item i { width: 40px; height: 40px; font-size: 1rem; }
    .btn-large { padding: 14px 24px; font-size: 1rem; }
    .contact-form h2,
    .contact-info h2 { font-size: 1.25rem; }
    .contact-info h4 { font-size: 1rem; }
    .services-grid .service-card { padding: 16px; }
    .services-grid .service-card img { width: 48px; height: 48px; }
    .container { padding-left: 16px; padding-right: 16px; }

    /* 联系页服务说明：480px 隐藏图片 */
    .contact-services-section .service-item {
        padding: 16px 14px;
    }
    .contact-services-section .service-item img {
        display: none;
    }
    .contact-services-section .service-item h3 {
        font-size: 0.95rem;
        margin: 0 0 6px;
        text-align: center;
    }
    .contact-services-section .service-item p {
        font-size: 0.8rem;
        line-height: 1.55;
        text-align: center;
    }
}
