:root {
    --ptf-color-accent: #fe7903;
    --ptf-color-1: #0f5d6b;
    --ptf-color-2: #0e4450;
    --ptf-color-3: #1f3138;
    --ptf-color-4: #5d6e74;
    --ptf-color-5: rgba(15, 93, 107, 0.12);
    --ptf-color-6: rgba(15, 93, 107, 0.06);
}

body {
    color: var(--ptf-color-4);
    background-color: #f3f7f8;
}

.ptf-section,
.pp-section,
.ptf-section__content,
.ptf-fullpage-slider {
    background-color: #f3f7f8 !important;
}

.ptf-section__content {
    padding-top: 105px;
    padding-bottom: 45px;
}

.ptf-navbar .ptf-navbar-background {
    background: rgba(243, 247, 248, 0.96) !important;
    box-shadow: 0 8px 26px rgba(11, 66, 78, 0.08);
}

/* Inner pages (services, blogs): solid white header so content never shows through */
body.ff-page-inner .ptf-navbar {
    background: #fff;
}

body.ff-page-inner .ptf-navbar .ptf-navbar-background {
    height: 100% !important;
    background: #ffffff !important;
    box-shadow: 0 8px 26px rgba(11, 66, 78, 0.08);
}

/* Tighter navbar height + bigger logo */
.ptf-navbar .ptf-navbar-inner {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.ptf-navbar .ptf-navbar-logo img {
    max-height: 3.25rem;
}

.ptf-default-menu li > a,
.ptf-navbar .ptf-navbar-socials .ptf-social-icon,
.ptf-menu-burger {
    color: var(--ptf-color-2) !important;
}

.ptf-default-menu li.current-menu-item > a,
.ptf-default-menu li.active > a,
.ptf-default-menu li > a:hover {
    color: var(--ptf-color-accent) !important;
}

/* Orange active underline like the reference */
.ptf-default-menu .sf-menu > li > a {
    position: relative;
    padding-bottom: 6px;
}

.ptf-default-menu .sf-menu > li.current-menu-item > a::after,
.ptf-default-menu .sf-menu > li.active > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--ptf-color-accent);
    border-radius: 2px;
}

/* Navbar social icons */
.ff-nav-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ptf-navbar .ff-nav-socials .ptf-social-icon,
.ptf-navbar .ff-nav-socials .ptf-social-icon svg {
    color: var(--ptf-color-accent) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.ptf-navbar .ff-nav-socials .ptf-social-icon svg [stroke],
.ptf-navbar .ff-nav-socials .ptf-social-icon svg[stroke] {
    stroke: currentColor;
}

.ptf-navbar .ff-nav-socials .ptf-social-icon:hover,
.ptf-navbar .ff-nav-socials .ptf-social-icon:hover svg {
    color: var(--ptf-color-accent) !important;
}

/* Show the inline menu + social icons on normal desktops (template only
   shows them >=1800px by default), and hide the burger there. */
@media (min-width: 1200px) {
    .ptf-navbar .ptf-navbar-inner--center {
        display: flex !important;
    }

    .ptf-navbar .ptf-navbar-socials {
        display: flex !important;
    }

    .ptf-navbar--main .ptf-menu-burger {
        display: none !important;
    }

    .ptf-navbar .ptf-default-menu__navigation {
        width: 100%;
    }

    .ptf-navbar .ptf-default-menu__navigation .sf-menu {
        width: 100%;
        justify-content: center;
        /* Menu bar is full-width; only links should capture clicks
           so phone/WhatsApp icons on the right stay clickable */
        pointer-events: none;
    }

    .ptf-navbar .ptf-default-menu__navigation .sf-menu > li,
    .ptf-navbar .ptf-default-menu__navigation .sf-menu > li > a {
        pointer-events: auto;
    }
}

.ptf-navbar .ptf-navbar-inner--right {
    position: relative;
    z-index: 5;
}

.ptf-navbar .ff-nav-socials .ptf-social-icon {
    position: relative;
    z-index: 6;
    pointer-events: auto !important;
    min-width: 28px;
    min-height: 28px;
}

.ptf-navbar .ff-nav-socials .ptf-social-icon svg {
    pointer-events: none;
}

.ptf-btn {
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 12px;
    text-align: center;
    justify-content: center;
    padding: 1rem 1.5rem !important;
}

.ptf-btn--primary {
    background-color: var(--ptf-color-accent) !important;
    border-color: var(--ptf-color-accent) !important;
    color: #fff !important;
}

.ptf-btn--secondary {
    background: transparent;
    border: 1px solid var(--ptf-color-1);
    color: var(--ptf-color-1);
}

.ptf-btn--secondary:hover {
    background: var(--ptf-color-1);
    color: #fff;
}

.ff-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ptf-color-2);
}

.ff-eyebrow--upper {
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.ff-section-title {
    color: var(--ptf-color-2);
    font-size: 52px;
    line-height: 1.08;
    margin: 0 0 16px;
}

.ff-section-text {
    max-width: 690px;
    margin: 0 0 20px;
    line-height: 1.65;
    font-size: 15px;
}

.ff-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ff-actions--right {
    justify-content: flex-start;
}

.ff-actions--space {
    margin-top: 18px;
}

.ff-hero-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

[data-anchor="Home"] .ptf-section__content {
    box-sizing: border-box;
    min-height: 100vh;
    padding-top: 3rem;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

.ff-hero-card {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 0;
    min-height: calc(100vh - 7rem);
    height: calc(100vh - 7rem);
    padding: 0;
}

.ff-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ff-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 49, 59, 0.62) 0%, rgba(10, 49, 59, 0.18) 55%, rgba(10, 49, 59, 0) 80%);
}

.ff-hero-content {
    position: relative;
    z-index: 2;
    padding-left: 70px;
    max-width: 560px;
}

.ff-hero-content .ff-eyebrow,
.ff-hero-content h1 {
    color: #fff;
}

.ff-hero-content h1 {
    font-size: 64px;
    line-height: 1.04;
    margin-bottom: 22px;
}

.ff-play-button {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 2px solid #fff;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ff-stat-card,
.ff-before-after-card,
.ff-testimonial-card,
.ff-contact-card {
    background: #ffffff;
    border: 1px solid #d9e4e8;
    border-radius: 16px;
    box-shadow: 0 16px 28px rgba(15, 57, 68, 0.06);
}

.ff-stat-card {
    padding: 28px;
}

.ff-stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fdeede;
    color: var(--ptf-color-2);
    margin-bottom: 18px;
}

.ff-stat-card h4 {
    font-size: 38px;
    line-height: 1.15;
    margin-bottom: 10px;
}

.ff-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.ff-chip-list span {
    border: 1px solid #cddde2;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ptf-color-2);
    background: #f7fbfc;
}

.ff-work-grid {
    margin-top: 14px;
}

.ff-before-after-card {
    padding: 12px;
}

.ff-ba-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--ptf-color-2);
    font-weight: 600;
}

.ff-mini-btn {
    font-size: 11px;
    border: 1px solid #d7e4e9;
    padding: 2px 8px;
    border-radius: 999px;
}

.ff-before-after {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 10px;
}

.ff-before-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ff-after-layer {
    position: absolute;
    inset: 0 auto 0 0;
    width: 50%;
    overflow: hidden;
    border-right: 2px solid #fff;
}

.ff-tag {
    position: absolute;
    top: 8px;
    border-radius: 999px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 4px 8px;
}

.ff-tag-before {
    left: 8px;
    background: var(--ptf-color-2);
    color: #fff;
}

.ff-tag-after {
    right: 8px;
    background: var(--ptf-color-accent);
    color: #fff;
}

.ff-divider-dot {
    position: absolute;
    left: calc(50% - 8px);
    bottom: 14px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ptf-color-accent);
    border: 2px solid #fff;
}

.ff-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ff-service-item {
    background: #fff;
    border: 1px solid #d9e4e8;
    border-radius: 14px;
    padding: 26px 16px;
    text-align: center;
    box-shadow: 0 14px 26px rgba(15, 57, 68, 0.05);
}

.ff-service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fdeede;
    color: var(--ptf-color-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.ff-divider-line {
    display: block;
    width: 70px;
    height: 2px;
    background: #cdd9dd;
    margin: 4px 0 22px;
}

.ff-btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-left: 1.5rem !important;
    padding-right: 34px !important;
}

.ff-btn-arrow svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.ff-service-item h6 {
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--ptf-color-2);
}

.ff-service-item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

.ff-testimonial-card {
    padding: 18px;
    height: 100%;
}

.ff-testimonial-card p {
    margin: 0 0 12px;
    color: var(--ptf-color-2);
}

.ff-testimonial-card h6 {
    margin: 0;
    font-size: 14px;
    color: var(--ptf-color-2);
}

.ff-testimonial-card span {
    font-size: 12px;
}

.ff-why-grid {
    background: #fff;
    border: 1px solid #d9e4e8;
    border-radius: 18px;
    padding: 30px 28px;
    box-shadow: 0 16px 30px rgba(15, 57, 68, 0.06);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 30px;
}

.ff-why-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.ff-why-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    background: #fdeede;
    color: var(--ptf-color-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.ff-why-item h6 {
    margin: 0 0 4px;
    color: var(--ptf-color-2);
    font-size: 15px;
}

.ff-why-item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

.ff-contact-list a,
.ff-contact-list p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    color: var(--ptf-color-2);
}

.ff-contact-ic {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: var(--ptf-color-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.ff-contact-card {
    padding: 24px;
}

.ff-contact-card--accent {
    border: 1px solid var(--ptf-color-accent);
    box-shadow: 0 18px 30px rgba(254, 121, 3, 0.12);
}

.ff-contact-card h5 {
    margin: 0 0 14px;
    color: var(--ptf-color-2);
}

.ff-contact-form input,
.ff-contact-form textarea {
    width: 100%;
    border: 1px solid #d7e4e9;
    border-radius: 8px;
    padding: 11px 12px;
    margin-bottom: 10px;
    color: var(--ptf-color-2);
    background: #fbfdfe;
}

.ff-contact-alert {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
}

.ff-contact-alert--success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.ff-contact-alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

[data-anchor="Contact"] .ptf-section__content {
    box-sizing: border-box;
    padding-top: 7rem;
    padding-bottom: 96px;
}

/* Make the mobile off-canvas menu fit and scroll so the Contact link is reachable */
.ptf-offcanvas-menu__header {
    padding-bottom: 2.5rem;
}

.ptf-offcanvas-menu__navigation {
    height: auto;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.ptf-offcanvas-menu__navigation .sf-menu > li {
    padding: 0.4rem 0;
}

.ptf-offcanvas-menu__navigation .sf-menu > li > a {
    font-size: 1.6rem;
}

.ptf-offcanvas-menu__footer {
    padding-top: 2rem;
}

.ff-footer-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 0;
    border-top: 1px solid #dbe6ea;
    background: #eef3f5;
}

.ff-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--ptf-color-4);
}

.ff-footer-links a {
    margin-left: 18px;
    color: var(--ptf-color-2);
}

.ff-contact-form button {
    width: 100%;
    justify-content: center;
}

.ptf-fullpage-slider-nav li a:not(.prev):not(.next) {
    border-color: #9fc2cb !important;
}

.ptf-fullpage-slider-nav li a:not(.prev):not(.next).active {
    background-color: var(--ptf-color-accent) !important;
    border-color: var(--ptf-color-accent) !important;
}

/* Fullpage: snap between sections — no nested scroll trapping the wheel */
.ptf-fullpage-slider > .ptf-section,
.ptf-fullpage-slider > .pp-section {
    overflow: hidden !important;
}

.ptf-fullpage-slider-nav {
    z-index: 50 !important;
    pointer-events: auto !important;
}

.ptf-fullpage-slider-nav a {
    cursor: pointer;
}

/* The base template hides the up/down section nav below 1600px wide or 700px
   tall. Keep it visible on tablets/laptops (hidden on small phones). */
@media (min-width: 768px) {
    .ptf-fullpage-slider-nav {
        display: block !important;
    }
}

@media (max-width: 1199px) {
    .ff-section-title {
        font-size: 42px;
    }

    [data-anchor="Home"] .ptf-section__content {
        padding-top: 6rem;
    }

    .ff-hero-card {
        min-height: calc(100vh - 6rem);
        height: calc(100vh - 6rem);
    }

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

    .ff-hero-container {
        padding: 0;
    }
}

@media (max-width: 991px) {
    .ptf-section__content {
        padding-top: 90px;
    }

    .ff-section-title {
        font-size: 34px;
    }

    .ff-hero-content {
        padding-left: 24px;
        padding-right: 24px;
    }

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

    .ff-play-button {
        right: 24px;
        width: 56px;
        height: 56px;
    }

    .ff-stat-card h4 {
        font-size: 30px;
    }

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

    .ff-why-grid {
        grid-template-columns: 1fr;
    }

    .ff-footer-inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .ff-footer-links a {
        margin: 0 9px;
    }

    .ptf-fullpage-slider-nav {
        right: 8px;
    }
}

/* ========== Service Detail Page ========== */
.ff-service-detail {
    background: #f3f7f8;
    color: var(--ptf-color-4);
}

.ff-sd-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 8rem 0 4.5rem;
}

.ff-sd-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ff-sd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(14, 68, 80, 0.88) 0%, rgba(14, 68, 80, 0.55) 48%, rgba(14, 68, 80, 0.28) 100%);
}

.ff-sd-hero-inner {
    position: relative;
    z-index: 2;
}

.ff-sd-hero-content {
    max-width: 640px;
}

.ff-sd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.ff-sd-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.ff-sd-breadcrumb a:hover {
    color: #fff;
}

.ff-sd-title {
    margin: 0 0 14px;
    font-size: 48px;
    line-height: 1.08;
    color: #fff;
}

.ff-sd-lead {
    margin: 0 0 22px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.ff-sd-btn-light {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    color: #fff !important;
}

.ff-sd-btn-light:hover {
    background: #fff !important;
    color: var(--ptf-color-2) !important;
}

.ff-sd-body {
    padding: 56px 0 40px;
}

.ff-sd-heading {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.2;
    color: var(--ptf-color-2);
}

.ff-sd-quote {
    position: relative;
    margin: 0 0 36px;
    padding: 28px 28px 28px 32px;
    border-radius: 16px;
    border-left: 4px solid var(--ptf-color-accent);
    background: #fff;
    box-shadow: 0 14px 30px rgba(15, 57, 68, 0.06);
}

.ff-sd-quote-mark {
    color: var(--ptf-color-accent);
    opacity: 0.35;
    margin-bottom: 10px;
}

.ff-sd-quote p {
    margin: 0;
    font-size: 20px;
    line-height: 1.55;
    color: var(--ptf-color-2);
    font-weight: 500;
}

.ff-sd-block {
    margin-bottom: 36px;
}

.ff-sd-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.ff-sd-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #d9e4e8;
    border-radius: 12px;
    color: var(--ptf-color-2);
    font-size: 15px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(12px);
    animation: ffSdBulletIn 0.55s ease forwards;
}

@keyframes ffSdBulletIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ff-sd-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fdeede;
    color: var(--ptf-color-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.ff-sd-rich {
    background: #fff;
    border: 1px solid #d9e4e8;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(15, 57, 68, 0.04);
}

.ff-sd-rich p {
    line-height: 1.8;
    margin-bottom: 14px;
}

.ff-sd-rich h2,
.ff-sd-rich h3 {
    margin-top: 22px;
    margin-bottom: 10px;
    color: var(--ptf-color-2);
}

.ff-sd-rich ul,
.ff-sd-rich ol {
    margin: 0 0 14px 20px;
    line-height: 1.8;
}

.ff-sd-rich blockquote {
    margin: 18px 0;
    padding: 16px 18px;
    border-left: 4px solid var(--ptf-color-accent);
    background: #f7fbfc;
    border-radius: 10px;
    color: var(--ptf-color-2);
}

.ff-sd-rich img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 12px 0;
    display: block;
}

.ff-sd-tags {
    margin-top: 8px;
    margin-bottom: 20px;
}

.ff-sd-sidebar {
    position: sticky;
    top: 100px;
}

.ff-sd-card {
    background: #fff;
    border: 1px solid #d9e4e8;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 16px;
    box-shadow: 0 12px 26px rgba(15, 57, 68, 0.05);
}

.ff-sd-card--accent {
    border-color: rgba(254, 121, 3, 0.45);
    box-shadow: 0 14px 28px rgba(254, 121, 3, 0.1);
}

.ff-sd-card h4 {
    margin: 0 0 10px;
    color: var(--ptf-color-2);
    font-size: 18px;
}

.ff-sd-card p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.55;
}

.ff-sd-contact-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--ptf-color-2);
    font-weight: 600;
    font-size: 14px;
}

.ff-sd-other-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ff-sd-other-list li + li {
    border-top: 1px solid #e5eef1;
}

.ff-sd-other-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    color: var(--ptf-color-2);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
}

.ff-sd-other-list a:hover {
    color: var(--ptf-color-accent);
}

.ff-sd-cta-band {
    margin-top: 20px;
    padding: 48px 0 64px;
    background: linear-gradient(180deg, #eef4f6 0%, #e7f0f3 100%);
    border-top: 1px solid #dbe6ea;
}

.ff-sd-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

a.ff-service-item {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

a.ff-service-item:hover {
    transform: translateY(-4px);
    border-color: rgba(254, 121, 3, 0.45);
    box-shadow: 0 18px 32px rgba(15, 57, 68, 0.1);
    color: inherit;
}

@media (max-width: 991px) {
    .ff-sd-hero {
        min-height: 46vh;
        padding: 7rem 0 3.2rem;
    }

    .ff-sd-title {
        font-size: 36px;
    }

    .ff-sd-sidebar {
        position: static;
    }

    .ff-sd-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .ff-sd-title {
        font-size: 30px;
    }

    .ff-sd-quote p {
        font-size: 17px;
    }

    .ff-sd-rich {
        padding: 20px;
    }
}

/* ========== Services Index Page ========== */
.ff-services-index {
    background: #f3f7f8;
}

.ff-si-hero {
    padding: 8rem 0 2.5rem;
    background: linear-gradient(180deg, #e8f1f3 0%, #f3f7f8 100%);
    border-bottom: 1px solid #dbe6ea;
}

.ff-si-hero .ff-sd-breadcrumb {
    color: var(--ptf-color-4);
    margin-bottom: 16px;
}

.ff-si-hero .ff-sd-breadcrumb a {
    color: var(--ptf-color-2);
}

.ff-si-title {
    margin: 0 0 14px;
    font-size: 46px;
    line-height: 1.1;
    color: var(--ptf-color-2);
}

.ff-si-lead {
    margin: 0;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ptf-color-4);
}

.ff-si-body {
    padding: 48px 0 40px;
}

.ff-si-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ff-si-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #d9e4e8;
    border-radius: 16px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(15, 57, 68, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ff-si-card:hover {
    transform: translateY(-5px);
    border-color: rgba(254, 121, 3, 0.45);
    box-shadow: 0 18px 34px rgba(15, 57, 68, 0.1);
    color: inherit;
}

.ff-si-card-media {
    height: 170px;
    overflow: hidden;
}

.ff-si-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ff-si-card-icon {
    padding: 28px 24px 0;
}

.ff-si-card-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ff-si-card-body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--ptf-color-2);
}

.ff-si-card-body p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ptf-color-4);
    flex: 1;
}

.ff-si-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ptf-color-accent);
}

.ff-si-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    background: #fff;
    border: 1px solid #d9e4e8;
    border-radius: 16px;
}

.ff-si-empty h3 {
    color: var(--ptf-color-2);
    margin-bottom: 8px;
}

@media (max-width: 991px) {
    .ff-si-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ff-si-title {
        font-size: 34px;
    }
}

@media (max-width: 575px) {
    .ff-si-grid {
        grid-template-columns: 1fr;
    }

    .ff-si-title {
        font-size: 28px;
    }

    .ff-si-hero {
        padding-top: 7rem;
    }
}

/* Tips section cards */
.tips-cta-wrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tips-card {
    border: 1px solid #d9e4e8;
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    height: 100%;
    box-shadow: 0 10px 22px rgba(15, 57, 68, 0.05);
}

.tips-card h5 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.35;
    color: var(--ptf-color-2);
}

.tips-card p {
    margin: 0;
    color: var(--ptf-color-4);
    font-size: 14px;
    line-height: 1.6;
}