
/* =========================================================
   LUWA TECHNOLOGY - MAIN STYLESHEET
   =========================================================

   CONTENTS
   01. Brand colours and design variables
   02. Reset and global styles
   03. Shared navigation and header
   04. Hero sections
   05. Buttons and links
   06. General sections and headings
   07. Homepage introduction
   08. Services and service cards
   09. Our approach and process steps
   10. About page
   11. Pricing page
   12. Contact page and forms
   13. Shared call-to-action panel
   14. Footer
   15. Back-to-top button
   16. Scroll reveal animations
   17. Responsive layouts
   18. Accessibility and reduced motion

   ========================================================= */


/* =========================================================
   01. BRAND COLOURS AND DESIGN VARIABLES

   Change colours and shared design settings here.
   The rest of the stylesheet uses these variables.
   ========================================================= */

:root {
    --midnight: #111827;
    --deep-blue: #243B53;
    --slate: #526D82;
    --silver: #CBD5DF;
    --background: #F5F7FA;
    --white: #FFFFFF;

    --text: #263342;
    --muted: #687789;
    --line: #E1E6EC;

    --dark-footer: #0C1320;
    --light-hover: #F8FAFC;

    --font-heading: 'Manrope', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --container-width: 1160px;
    --container-gutter: 90%;

    --transition-fast: 0.25s ease;
    --transition-normal: 0.3s ease;
}


/* =========================================================
   02. RESET AND GLOBAL STYLES

   Sets consistent sizing, spacing, fonts and page behaviour.
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    background: var(--background);
    color: var(--text);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(var(--container-width), var(--container-gutter));
    margin: auto;
}


/* =========================================================
   03. SHARED NAVIGATION AND HEADER

   Controls the shared header, logo, desktop navigation
   and mobile menu.
   ========================================================= */

header {
    background: rgba(17, 24, 39, 0.96);
    color: var(--white);
    padding: 19px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(203, 213, 223, 0.08);
    backdrop-filter: blur(14px);
    transition: padding var(--transition-normal),
                box-shadow var(--transition-normal);
}

header.scrolled {
    padding: 13px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LUWA logo */

.logo {
    font-family: var(--font-heading);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: 5px;
    display: inline-block;
    line-height: 1.1;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo span {
    display: block;
    font-family: var(--font-body);
    font-size: 9px;
    letter-spacing: 4px;
    color: var(--silver);
    margin-top: 4px;
}

/* Desktop navigation links */

nav {
    display: flex;
    align-items: center;
    gap: 35px;
    font-size: 13px;
}

nav a {
    color: #D6DEE7;
    transition: color var(--transition-fast);
    position: relative;
}

nav a:not(.nav-button)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1px;
    background: var(--silver);
    transition: width var(--transition-normal);
}

nav a:not(.nav-button):hover::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--white);
}

/* Navigation contact button */

.nav-button {
    border: 1px solid var(--silver);
    padding: 11px 18px;
    border-radius: 3px;
    transition: background var(--transition-fast),
                color var(--transition-fast);
}

.nav-button:hover {
    background: var(--silver);
    color: var(--midnight);
}

/* Mobile navigation toggle */

.menu-toggle {
    display: none;
    background: transparent;
    color: var(--white);
    border: 1px solid var(--slate);
    width: 42px;
    height: 42px;
    border-radius: 3px;
    font-size: 19px;
    cursor: pointer;
}


/* =========================================================
   04. HERO SECTIONS

   Controls the large introductory banner at the top
   of the homepage and individual pages.
   ========================================================= */

.hero {
    background:
        radial-gradient(
            ellipse at 75% 50%,
            rgba(82, 109, 130, 0.18),
            transparent 45%
        ),
        var(--midnight);

    color: var(--white);
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Subtle grid pattern behind hero content */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.16;

    background-image:
        linear-gradient(
            rgba(203, 213, 223, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(203, 213, 223, 0.08) 1px,
            transparent 1px
        );

    background-size: 70px 70px;
    mask-image: linear-gradient(to right, transparent, black);
}

/* Hero text and entrance animation */

.hero-content {
    position: relative;
    z-index: 2;
    padding: 110px 0;
    animation: heroEnter 1s ease both;
}

@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

/* Small uppercase section labels */

.eyebrow,
.section-label {
    color: #AABACB;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 28px;
}

/* Hero heading */

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(45px, 6vw, 76px);
    line-height: 1.12;
    letter-spacing: -4px;
    font-weight: 600;
    max-width: 750px;
}

/* Silver gradient text in hero headings */

.hero h1 span {
    background: linear-gradient(
        100deg,
        #AABACB,
        var(--background),
        #91A8BC
    );

    background-size: 200% auto;
    color: #AABACB;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: silverShimmer 7s ease-in-out infinite;
}

@keyframes silverShimmer {
    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

/* Hero description */

.hero-description,
.hero-content > p {
    color: #C2CCD7;
    font-size: 16px;
    line-height: 1.8;
    max-width: 510px;
    margin-top: 25px;
}

/* Decorative orbit animation */

.hero-decoration {
    position: absolute;
    right: -100px;
    top: 50%;
    width: 580px;
    height: 580px;
    border: 1px solid rgba(203, 213, 223, 0.2);
    border-radius: 50%;
    transform: translateY(-50%);
    animation: orbit 28s linear infinite;
    pointer-events: none;
}

.hero-decoration::before,
.hero-decoration::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(203, 213, 223, 0.15);
    border-radius: 50%;
}

.hero-decoration::before {
    inset: 70px;
}

.hero-decoration::after {
    inset: 145px;
}

.orbit-dot {
    position: absolute;
    top: 12%;
    left: 23%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--silver);
    box-shadow: 0 0 22px rgba(203, 213, 223, 0.8);
}

@keyframes orbit {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}


/* =========================================================
   05. BUTTONS AND LINKS

   Shared button styles used throughout the website.
   ========================================================= */

/* Homepage hero button layout */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 35px;
}

/* General button */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 22px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;

    transition: transform var(--transition-fast),
                background var(--transition-fast),
                color var(--transition-fast),
                box-shadow var(--transition-fast);
}

.button:hover {
    transform: translateY(-3px);
}

/* Primary button */

.button-primary {
    background: var(--background);
    color: var(--midnight);
}

.button-primary:hover {
    background: var(--silver);
    box-shadow: 0 8px 24px rgba(203, 213, 223, 0.15);
}

/* Secondary button */

.button-secondary {
    color: var(--white);
}

.button-secondary:hover {
    color: var(--silver);
}

/* Service page buttons */

.service-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;

    min-height: 42px;
    margin-top: auto;
    padding: 10px 18px;

    background: var(--deep-blue);
    color: var(--background);

    border: 1px solid var(--deep-blue);
    border-radius: 6px;

    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;

    transition: all var(--transition-fast);
}

.service-button:hover {
    background: var(--slate);
    border-color: var(--slate);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.12);
}

.service-button:focus-visible {
    outline: 3px solid var(--slate);
    outline-offset: 3px;
}

/* Text links */

.service-link,
.text-link {
    display: inline-block;
    color: var(--deep-blue);
    font-size: 11px;
    font-weight: 700;
    transition: transform var(--transition-fast),
                color var(--transition-fast);
}

.service-link {
    margin-top: 22px;
}

.service-link:hover,
.text-link:hover {
    color: var(--slate);
    transform: translateX(4px);
}


/* =========================================================
   06. GENERAL SECTIONS AND HEADINGS

   Controls common spacing and headings used across pages.
   ========================================================= */

section {
    padding: 100px 0;
}

h2 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    letter-spacing: -2px;
    color: var(--midnight);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 50px;
}

.section-heading h2 {
    margin-top: 15px;
}

.section-description {
    max-width: 350px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}


/* =========================================================
   07. HOMEPAGE INTRODUCTION
   ========================================================= */

.intro-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.5fr;
    gap: 70px;
}

.intro h2 span {
    color: var(--slate);
}

.intro-text {
    color: var(--muted);
    line-height: 1.9;
    margin-top: 23px;
    max-width: 650px;
    font-size: 15px;
}


/* =========================================================
   08. SERVICES AND SERVICE CARDS

   Controls the homepage service grid, service overview cards
   and individual service page content cards.
   ========================================================= */

/* Homepage services section */

.services {
    background: var(--white);
}

/* General service card grid */

.service-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

/* Homepage service grid borders */

.service-grid {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* Individual service cards */

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 22px 30px 0;

    transition: background var(--transition-normal),
                transform var(--transition-normal);
}

.service-card + .service-card {
    padding-left: 22px;
    border-left: 1px solid var(--line);
}

.service-card:hover {
    background: var(--light-hover);
    transform: translateY(-6px);
}

/* Vertical accent line used on the services overview
   and About page value cards */

.services-grid .service-card {
    padding-left: 28px;
    border-left: 2px solid var(--silver);
}

.services-grid .service-card:hover {
    border-left-color: var(--slate);
}

/* Service card numbers */

.service-number {
    font-size: 11px;
    color: #91A0AF;
}

/* Service card icons */

.service-icon {
    width: 48px;
    height: 48px;
    margin: 30px 0 22px;

    background: var(--background);
    border: 1px solid #DCE3EA;
    border-radius: 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 21px;
    color: var(--slate);

    transition: background var(--transition-normal),
                color var(--transition-normal),
                transform var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--deep-blue);
    color: var(--white);
    transform: rotate(-5deg) scale(1.06);
}

/* Service card headings and descriptions */

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--midnight);
    margin-bottom: 13px;
}

.service-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

/* Space between service feature lists and buttons */

.service-card ul {
    margin-bottom: 28px;
}


/* =========================================================
   09. OUR APPROACH AND PROCESS STEPS

   Controls the dark blue process section and its steps.
   ========================================================= */

.approach {
    background: var(--deep-blue);
    color: var(--white);
    overflow: hidden;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
}

.approach h2 {
    color: var(--white);
    margin: 20px 0;
}

.approach h2 span {
    color: var(--silver);
}

.approach-description {
    color: #D0DAE4;
    font-size: 14px;
    line-height: 1.9;
}

/* Process step container */

.steps {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

/* Animated vertical line */

.steps::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(203, 213, 223, 0.15);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1.5s ease;
}

.steps.visible::before {
    transform: scaleY(1);
}

/* Individual process step */

.step {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: padding-left var(--transition-normal);
}

.step:hover {
    padding-left: 8px;
}

.step-number {
    color: var(--silver);
    font-size: 12px;
    min-width: 10px;
}

.step h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 8px;
}

/* Process descriptions */

.step p {
    color: #C4D0DC;
    font-size: 12px;
    line-height: 1.7;
}

/* Service detail page process text */

.steps .step p {
    color: var(--slate);
    font-weight: 500;
    line-height: 1.8;
}


/* =========================================================
   10. ABOUT PAGE

   Controls the About page content, highlight panel
   and values section.
   ========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.about h2 {
    margin-bottom: 25px;
}

.about p,
.about-content p {
    color: var(--slate);
    line-height: 1.9;
    font-size: 14px;
    margin-bottom: 17px;
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 20px;
}

/* Dark About page highlight panel */

.about-highlight {
    background: var(--midnight);
    color: var(--background);
    padding: 45px;
    border-radius: 18px;
    border: 1px solid var(--deep-blue);
}

.about-highlight .eyebrow {
    color: var(--silver);
}

.about-highlight h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.4;
    margin: 20px 0;
}

.about-highlight p {
    color: var(--silver);
    line-height: 1.8;
}


/* =========================================================
   11. PRICING PAGE

   Controls website package cards, e-commerce pricing,
   maintenance plans and frequently asked questions.
   ========================================================= */

/* Website package grid */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
    margin-top: 55px;
}

/* Individual pricing cards */

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--silver);
    border-radius: 14px;

    transition: transform var(--transition-normal),
                box-shadow var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.07);
}

/* Highlighted pricing package */

.pricing-featured {
    border: 2px solid var(--deep-blue);
    background: var(--background);
}

/* Package labels */

.pricing-label {
    display: inline-block;
    color: var(--slate);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

/* Pricing card headings */

.pricing-card h3,
.support-card h3 {
    color: var(--midnight);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

/* Pricing card descriptions */

.pricing-description {
    color: var(--slate);
    font-size: 0.9rem;
    line-height: 1.7;
    min-height: 90px;
}

/* Package prices */

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 25px;
}

.pricing-price span,
.pricing-extra-price span {
    color: var(--slate);
    font-size: 0.85rem;
}

.pricing-price strong {
    color: var(--midnight);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
}

.pricing-note {
    color: var(--slate);
    font-size: 0.85rem;
    margin-top: 3px;
}

/* Divider between price and package inclusions */

.pricing-divider {
    height: 1px;
    background: var(--silver);
    margin: 25px 0;
}

/* Package feature lists */

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.pricing-features li {
    position: relative;
    padding-left: 23px;
    margin-bottom: 13px;
    color: var(--slate);
    font-size: 0.88rem;
    line-height: 1.6;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--deep-blue);
    font-weight: 700;
}

/* Pricing enquiry buttons */

.pricing-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: auto;
    padding: 11px 15px;

    background: var(--deep-blue);
    color: var(--background);

    border: 1px solid var(--deep-blue);
    border-radius: 6px;

    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;

    transition: all var(--transition-fast);
}

.pricing-button:hover {
    background: var(--slate);
    border-color: var(--slate);
    transform: translateY(-2px);
}

/* E-commerce package section */

.pricing-extra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    margin-top: 35px;
    padding: 35px;

    background: var(--background);
    border: 1px solid var(--silver);
    border-radius: 14px;
}

.pricing-extra h3 {
    color: var(--midnight);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.pricing-extra p {
    color: var(--slate);
    line-height: 1.8;
    max-width: 650px;
}

.pricing-extra-price {
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pricing-extra-price strong {
    color: var(--midnight);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 5px 0 10px;
}

/* Pricing disclaimers */

.pricing-disclaimer {
    color: var(--slate);
    font-size: 0.8rem;
    line-height: 1.8;
    margin-top: 22px;
}

/* Monthly maintenance plans */

.pricing-support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.support-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--silver);
    border-radius: 14px;

    transition: transform var(--transition-normal),
                box-shadow var(--transition-normal);
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.06);
}

/* Monthly maintenance prices */

.support-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 20px 0 25px;
}

.support-price strong {
    color: var(--midnight);
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
}

.support-price span {
    color: var(--slate);
    font-size: 0.85rem;
}

/* Pricing frequently asked questions */

.pricing-faq {
    max-width: 850px;
    margin: 40px auto 0;
}

.faq-item {
    padding: 25px 0;
    border-bottom: 1px solid var(--silver);
}

.faq-item h3 {
    color: var(--midnight);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.8;
}


/* =========================================================
   12. CONTACT PAGE AND FORMS

   Controls the contact information, enquiry form,
   input fields and send enquiry button.
   ========================================================= */

/* Two-column contact page layout */

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

/* Contact information column */

.contact-information {
    padding-top: 15px;
}

.contact-information h2,
.contact-form-heading h2 {
    color: var(--midnight);
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.3;
    margin: 15px 0 20px;
}

.contact-information > p,
.contact-form-heading > p {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Email and location details */

.contact-detail {
    margin-top: 35px;
}

.contact-detail-label {
    display: block;
    color: var(--slate);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.contact-detail a,
.contact-detail p {
    color: var(--midnight);
    font-size: 1rem;
    text-decoration: none;
}

.contact-detail a:hover {
    color: var(--slate);
}

/* Contact information note */

.contact-note {
    margin-top: 55px;
    padding: 25px;
    background: var(--background);
    border-left: 3px solid var(--slate);
}

.contact-note h3 {
    color: var(--midnight);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.contact-note p {
    color: var(--slate);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Contact form container */

.contact-form-wrapper {
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--silver);
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(17, 24, 39, 0.04);
}

/* Contact form heading */

.contact-form-heading {
    margin-bottom: 30px;
}

.contact-form-heading h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
}

/* Form layout */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

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

/* Form labels */

.form-group label {
    color: var(--midnight);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Form input fields, dropdowns and message box */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 14px;

    color: var(--midnight);
    background: var(--background);

    border: 1px solid var(--silver);
    border-radius: 6px;

    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;

    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.form-group input,
.form-group select {
    min-height: 47px;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* Input focus effect */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--slate);
    box-shadow: 0 0 0 3px rgba(82, 109, 130, 0.12);
}

/* Placeholder text */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8998A7;
}

/* Send enquiry button */

.contact-submit {
    width: 100%;
    min-height: 58px;
    padding: 16px 30px;

    background: var(--slate);
    color: var(--background);

    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;

    border: 1px solid var(--slate);
    border-radius: 7px;

    margin-top: 5px;
    cursor: pointer;

    transition: all var(--transition-fast);
}

.contact-submit:hover {
    background: var(--deep-blue);
    border-color: var(--deep-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.15);
}

/* Small privacy note below the form */

.form-disclaimer {
    color: var(--slate);
    font-size: 0.75rem;
    line-height: 1.6;
    text-align: center;
    margin-top: -5px;
}


/* =========================================================
   13. SHARED CALL-TO-ACTION PANEL

   Used at the bottom of pages to encourage visitors
   to contact LUWA Technology.
   ========================================================= */

.cta-panel {
    background: var(--background);
    border: 1px solid var(--silver);
    border-radius: 20px;
    padding: 65px 30px;
    text-align: center;
}

.cta-panel h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--midnight);
    margin: 18px 0;
}

.cta-panel p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--slate);
    line-height: 1.8;
}


/* =========================================================
   14. FOOTER

   Controls the shared footer displayed on every page.
   ========================================================= */

footer {
    background: var(--dark-footer);
    color: #D8E0E8;
    padding: 45px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding-bottom: 35px;
}

.footer-tagline {
    color: #9EADBC;
    font-size: 12px;
    line-height: 1.7;
}

.footer-email {
    transition: color var(--transition-fast);
}

.footer-email:hover {
    color: var(--silver);
}

/* Footer copyright and bottom links */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;

    display: flex;
    justify-content: space-between;

    color: #8795A5;
    font-size: 10px;
}

.footer-bottom a:hover {
    color: var(--white);
}


/* =========================================================
   15. BACK-TO-TOP BUTTON

   Controls the floating button that appears after
   the visitor scrolls down the page.
   ========================================================= */

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 44px;
    height: 44px;

    border: 1px solid rgba(203, 213, 223, 0.5);
    background: var(--midnight);
    color: var(--white);

    border-radius: 3px;
    font-size: 18px;
    cursor: pointer;
    z-index: 90;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    transition: opacity var(--transition-normal),
                transform var(--transition-normal),
                visibility var(--transition-normal),
                background var(--transition-normal);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--deep-blue);
}


/* =========================================================
   16. SCROLL REVEAL ANIMATIONS

   Elements using the .reveal class are visible by default.
   JavaScript adds .visible when they enter the viewport.

   Keeping them visible by default prevents blank pages
   if JavaScript or the observer fails.
   ========================================================= */

.reveal {
    opacity: 1;
    transform: translateY(0);

    transition: opacity 0.75s ease,
                transform 0.75s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1,
.reveal-delay-2,
.reveal-delay-3 {
    transition-delay: 0s;
}


/* =========================================================
   17. RESPONSIVE LAYOUTS

   These media queries adjust the website for tablets
   and mobile phones.
   ========================================================= */

/* ---------------------------------------------------------
   TABLETS AND SMALLER LAPTOPS
   --------------------------------------------------------- */

@media (max-width: 950px) {

    /* Homepage service cards */

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

    .service-card:nth-child(3) {
        border-left: none;
        padding-left: 0;
    }

    .service-card:nth-child(3),
    .service-card:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    /* Homepage contact panel */

    .contact-panel {
        padding: 45px;
    }

}


/* ---------------------------------------------------------
   TABLET LAYOUTS
   --------------------------------------------------------- */

@media (max-width: 900px) {

    /* Pricing cards */

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

    .pricing-card:last-child {
        grid-column: 1 / -1;
    }

    /* Contact page */

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-information {
        max-width: 650px;
    }

    .contact-note {
        margin-top: 35px;
    }

}


/* ---------------------------------------------------------
   SMALLER TABLETS
   --------------------------------------------------------- */

@media (max-width: 850px) {

    /* Homepage introduction and About layout */

    .intro-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Process section */

    .approach-grid {
        gap: 45px;
    }

}


/* ---------------------------------------------------------
   MOBILE AND SMALL TABLET LAYOUTS
   --------------------------------------------------------- */

@media (max-width: 768px) {

    /* About page */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-top: 40px;
    }

    .about-highlight {
        padding: 30px;
    }

    .about-highlight h3 {
        font-size: 1.5rem;
    }

    /* Shared call-to-action */

    .cta-panel {
        padding: 45px 22px;
    }

    /* Service page buttons */

    .service-button {
        min-height: 42px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    /* Pricing page */

    .pricing-grid,
    .pricing-support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card:last-child {
        grid-column: auto;
    }

    .pricing-card,
    .support-card {
        padding: 26px;
    }

    .pricing-description {
        min-height: auto;
    }

    .pricing-extra {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }

    .pricing-extra-price {
        min-width: 0;
    }

}


/* ---------------------------------------------------------
   MOBILE PHONES
   --------------------------------------------------------- */

@media (max-width: 600px) {

    /* Header and mobile navigation */

    header {
        padding: 15px 0;
    }

    .logo {
        font-size: 24px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        background: var(--midnight);
        padding: 0 5%;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;

        transition: max-height 0.35s ease,
                    opacity var(--transition-normal),
                    padding 0.35s ease,
                    visibility 0.35s ease;

        border-bottom: 1px solid rgba(203, 213, 223, 0.1);
    }

    nav.open {
        max-height: 350px;
        opacity: 1;
        visibility: visible;
        padding: 15px 5% 25px;
    }

    nav a {
        padding: 13px 0;
    }

    nav .nav-button {
        text-align: center;
        margin-top: 10px;
    }


    /* Hero section */

    .hero {
        min-height: 590px;
    }

    .hero-content {
        padding: 90px 0;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero-description,
    .hero-content > p {
        font-size: 14px;
    }

    .hero-decoration {
        width: 430px;
        height: 430px;
        right: -330px;
        opacity: 0.55;
    }

    .hero-buttons {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }


    /* General section spacing */

    section {
        padding: 75px 0;
    }

    .section-heading {
        display: block;
    }

    .section-description {
        margin-top: 20px;
    }


    /* Homepage service cards */

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .service-card + .service-card {
        border-left: none;
        border-top: 1px solid var(--line);
        padding: 25px 0;
    }

    .service-card:first-child {
        border-top: none;
    }


    /* Approach section */

    .approach-grid {
        grid-template-columns: 1fr;
    }


    /* Homepage contact panel */

    .contact-panel {
        padding: 35px 25px;
        grid-template-columns: 1fr;
        gap: 35px;
    }


    /* Contact page form */

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .contact-information h2,
    .contact-form-heading h2 {
        font-size: 1.6rem;
    }

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


    /* Footer */

    .footer-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-bottom {
        flex-wrap: wrap;
        gap: 15px;
    }


    /* Back-to-top button */

    .back-to-top {
        right: 15px;
        bottom: 15px;
    }

}


/* =========================================================
   18. ACCESSIBILITY AND REDUCED MOTION

   Respects visitors who have requested reduced animations
   in their device accessibility settings.
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

}


/* =========================================================
   19. LUWA VISUAL ENHANCEMENTS

   New accent colours, animated backgrounds, glowing details
   and improved hover effects.

   This section overrides selected styles above.
   ========================================================= */


/* ---------------------------------------------------------
   19.1 ADDITIONAL BRAND COLOURS
   --------------------------------------------------------- */

:root {
    --accent-blue: #3988F7;
    --accent-blue-light: #65A7FF;
    --accent-purple: #9175E8;
    --accent-cyan: #42C6C9;
    --accent-amber: #E8B86D;

    --gradient-primary: linear-gradient(
        110deg,
        var(--accent-blue),
        var(--accent-purple)
    );

    --gradient-cool: linear-gradient(
        110deg,
        var(--accent-cyan),
        var(--accent-blue)
    );

    --glow-blue: 0 0 30px rgba(57, 136, 247, 0.18);
}


/* ---------------------------------------------------------
   19.2 HERO BACKGROUND ENHANCEMENTS
   --------------------------------------------------------- */

.hero {
    background:
        radial-gradient(
            ellipse at 78% 30%,
            rgba(57, 136, 247, 0.20),
            transparent 40%
        ),
        radial-gradient(
            ellipse at 85% 80%,
            rgba(145, 117, 232, 0.16),
            transparent 38%
        ),
        radial-gradient(
            ellipse at 10% 90%,
            rgba(66, 198, 201, 0.09),
            transparent 35%
        ),
        var(--midnight);
}

/* Moving ambient glow */

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 420px;
    height: 420px;
    right: 12%;
    top: 15%;

    background: radial-gradient(
        circle,
        rgba(57, 136, 247, 0.13),
        rgba(145, 117, 232, 0.07) 45%,
        transparent 70%
    );

    filter: blur(25px);
    border-radius: 50%;
    pointer-events: none;

    animation: heroGlow 9s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        transform: translate(-20px, -10px) scale(0.9);
        opacity: 0.65;
    }

    100% {
        transform: translate(35px, 25px) scale(1.15);
        opacity: 1;
    }
}

/* More colourful orbit decoration */

.hero-decoration {
    border-color: rgba(101, 167, 255, 0.24);
}

.hero-decoration::before {
    border-color: rgba(145, 117, 232, 0.22);
}

.hero-decoration::after {
    border-color: rgba(66, 198, 201, 0.20);
}

.orbit-dot {
    background: var(--accent-blue-light);
    box-shadow:
        0 0 12px var(--accent-blue),
        0 0 30px rgba(57, 136, 247, 0.65);
}

/* More colourful hero heading */

.hero h1 span {
    background: linear-gradient(
        100deg,
        var(--accent-blue-light),
        #FFFFFF,
        var(--accent-purple),
        var(--accent-cyan)
    );

    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: silverShimmer 8s ease-in-out infinite;
}


/* ---------------------------------------------------------
   19.3 ACCENT COLOURS FOR SECTION LABELS
   --------------------------------------------------------- */

.eyebrow,
.section-label {
    color: var(--accent-blue);
}

.approach .eyebrow,
.about-highlight .eyebrow {
    color: var(--accent-cyan);
}

.intro h2 span {
    color: var(--accent-blue);
}


/* ---------------------------------------------------------
   19.4 BUTTON ENHANCEMENTS
   --------------------------------------------------------- */

.button-primary {
    background: var(--gradient-primary);
    background-size: 200% auto;
    color: #FFFFFF;
    border: 1px solid transparent;

    transition:
        background-position 0.4s ease,
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.button-primary:hover {
    background-position: right center;
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(57, 136, 247, 0.28);
    transform: translateY(-3px);
}

.nav-button {
    border-color: var(--accent-blue);
    background: rgba(57, 136, 247, 0.08);
}

.nav-button:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #FFFFFF;
    box-shadow: 0 5px 20px rgba(57, 136, 247, 0.25);
}

.service-button,
.pricing-button {
    background: var(--deep-blue);
    border-color: var(--deep-blue);

    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.service-button:hover,
.pricing-button:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(57, 136, 247, 0.22);
}


/* ---------------------------------------------------------
   19.5 SERVICE CARD ANIMATIONS
   --------------------------------------------------------- */

.service-card {
    transition:
        background var(--transition-normal),
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.service-card:hover {
    background: rgba(57, 136, 247, 0.035);
}

/* Colourful service icons */

.service-icon {
    background: linear-gradient(
        135deg,
        rgba(57, 136, 247, 0.09),
        rgba(145, 117, 232, 0.09)
    );

    border-color: rgba(57, 136, 247, 0.18);
    color: var(--accent-blue);
    border-radius: 10px;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #FFFFFF;

    box-shadow: 0 6px 20px rgba(57, 136, 247, 0.25);

    transform: translateY(-3px) rotate(-5deg) scale(1.08);
}

/* Service card vertical accent */

.services-grid .service-card {
    border-left-color: rgba(57, 136, 247, 0.25);
}

.services-grid .service-card:hover {
    border-left-color: var(--accent-blue);
}


/* ---------------------------------------------------------
   19.6 PRICING CARD ENHANCEMENTS
   --------------------------------------------------------- */

.pricing-card,
.support-card {
    position: relative;
    overflow: hidden;

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal);
}

.pricing-card::before,
.support-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;

    background: var(--gradient-primary);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.4s ease;
}

.pricing-card:hover::before,
.support-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover,
.support-card:hover {
    border-color: rgba(57, 136, 247, 0.35);
    box-shadow: 0 15px 35px rgba(17, 24, 39, 0.09);
}

.pricing-featured {
    border-color: var(--accent-blue);
    background:
        linear-gradient(
            145deg,
            rgba(57, 136, 247, 0.07),
            transparent 65%
        ),
        var(--background);
}

.pricing-featured::before {
    transform: scaleX(1);
}

.pricing-featured .pricing-label {
    color: var(--accent-blue);
}

.pricing-features li::before {
    color: var(--accent-blue);
}


/* ---------------------------------------------------------
   19.7 ABOUT AND CTA ENHANCEMENTS
   --------------------------------------------------------- */

.about-highlight {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(57, 136, 247, 0.20),
            transparent 45%
        ),
        var(--midnight);

    border-color: rgba(57, 136, 247, 0.3);
}

.about-highlight::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -90px;
    bottom: -90px;

    border: 1px solid rgba(66, 198, 201, 0.25);
    border-radius: 50%;

    box-shadow:
        0 0 0 25px rgba(66, 198, 201, 0.025),
        0 0 0 50px rgba(66, 198, 201, 0.02);

    pointer-events: none;
}

.cta-panel {
    background:
        radial-gradient(
            ellipse at 90% 0%,
            rgba(57, 136, 247, 0.10),
            transparent 45%
        ),
        var(--background);

    border-color: rgba(57, 136, 247, 0.22);
}

.cta-panel .section-label {
    color: var(--accent-blue);
}


/* ---------------------------------------------------------
   19.8 CONTACT FORM ENHANCEMENTS
   --------------------------------------------------------- */

.contact-form-wrapper {
    border-color: rgba(57, 136, 247, 0.18);

    transition:
        box-shadow var(--transition-normal),
        border-color var(--transition-normal);
}

.contact-form-wrapper:hover {
    border-color: rgba(57, 136, 247, 0.35);
    box-shadow: 0 15px 40px rgba(17, 24, 39, 0.07);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(57, 136, 247, 0.13);
}

.contact-submit {
    background: var(--gradient-primary);
    background-size: 200% auto;
    border-color: transparent;
}

.contact-submit:hover {
    background-position: right center;
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(57, 136, 247, 0.25);
}


/* ---------------------------------------------------------
   19.9 NAVIGATION AND FOOTER DETAILS
   --------------------------------------------------------- */

nav a:not(.nav-button)::after {
    background: var(--accent-blue);
    height: 2px;
}

nav a:hover,
nav a.active {
    color: var(--accent-blue-light);
}

.footer-email:hover {
    color: var(--accent-cyan);
}

.footer-bottom a {
    transition: color var(--transition-fast);
}


/* ---------------------------------------------------------
   19.10 BACK-TO-TOP BUTTON
   --------------------------------------------------------- */

.back-to-top {
    border-color: rgba(57, 136, 247, 0.5);
    box-shadow: 0 5px 20px rgba(17, 24, 39, 0.15);
}

.back-to-top:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 5px 22px rgba(57, 136, 247, 0.3);
}


/* ---------------------------------------------------------
   19.11 SMALL SCREEN ADJUSTMENTS
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .hero::after {
        right: -35%;
        top: 25%;
        opacity: 0.65;
    }

    .hero-decoration {
        border-color: rgba(57, 136, 247, 0.22);
    }

}


/* ---------------------------------------------------------
   19.12 ACCESSIBILITY
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .hero::after,
    .hero-decoration,
    .hero h1 span {
        animation: none !important;
    }

    .service-card,
    .service-icon,
    .pricing-card,
    .support-card,
    .button,
    .service-button,
    .pricing-button {
        transition: none !important;
    }

}

/* HOMEPAGE CONTACT FORM */
.contact-panel .contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 35px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(203, 213, 223, 0.2);
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-panel .contact-form > div {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.contact-panel .contact-form > div:nth-child(3),
.contact-panel .contact-form > div:nth-child(4),
.contact-panel .contact-form button,
.contact-panel .contact-form .form-note {
    grid-column: 1 / -1;
}

.contact-panel .contact-form label {
    color: var(--slate);
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-panel .contact-form input,
.contact-panel .contact-form select,
.contact-panel .contact-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.07);
    color: #FFFFFF;
    border: 1px solid rgba(203, 213, 223, 0.25);
    border-radius: 7px;
    font: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease,
                box-shadow 0.25s ease;
}

.contact-panel .contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-panel .contact-form input::placeholder,
.contact-panel .contact-form textarea::placeholder {
    color: rgba(122, 128, 134, 0.498);
}

.contact-panel .contact-form select {
    color: rgba(122, 128, 134, 0.498);
    cursor: pointer;
}

.contact-panel .contact-form select option {
    background: var(--midnight);
    color: #FFFFFF;
}

.contact-panel .contact-form input:focus,
.contact-panel .contact-form select:focus,
.contact-panel .contact-form textarea:focus {
    border-color: var(--accent-blue);
    background: rgba(57, 136, 247, 0.07);
    box-shadow: 0 0 0 3px rgba(57, 136, 247, 0.12);
}

.contact-panel .contact-form button {
    justify-self: start;
    min-width: 190px;
}

.contact-panel .form-note {
    margin: 0;
    color: rgba(35, 38, 41, 0.65);
    font-size: 0.78rem;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .contact-panel .contact-form {
        grid-template-columns: 1fr;
        padding: 22px;
        gap: 18px;
    }

    .contact-panel .contact-form > div,
    .contact-panel .contact-form button,
    .contact-panel .contact-form .form-note {
        grid-column: 1;
    }

    .contact-panel .contact-form button {
        width: 100%;
    }
}

/* =========================================
   20. ADDITIONAL ANIMATIONS
========================================= */

/* Smooth card hover effects */
.service-card,
.pricing-card,
.support-card {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.service-card:hover,
.pricing-card:hover,
.support-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(57, 136, 247, 0.13);
    border-color: rgba(57, 136, 247, 0.45);
}

/* Subtle animated light sweep */
.service-card::after,
.pricing-card::after,
.support-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        110deg,
        transparent,
        rgba(101, 167, 255, 0.08),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.service-card:hover::after,
.pricing-card:hover::after,
.support-card:hover::after {
    left: 150%;
}

/* Button hover animation */
.button,
.service-button,
.pricing-button {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.button:hover,
.service-button:hover,
.pricing-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(57, 136, 247, 0.2);
}

/* Animated contact form entrance */
.contact-panel .contact-form {
    animation: contactFormAppear 0.8s ease both;
}

@keyframes contactFormAppear {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gentle floating effect for service icons */
.service-icon {
    animation: iconFloat 4s ease-in-out infinite;
}

.service-card:nth-child(2) .service-icon {
    animation-delay: 0.5s;
}

.service-card:nth-child(3) .service-icon {
    animation-delay: 1s;
}

.service-card:nth-child(4) .service-icon {
    animation-delay: 1.5s;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Contact form focus animation */
.contact-panel .contact-form input:focus,
.contact-panel .contact-form select:focus,
.contact-panel .contact-form textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(57, 136, 247, 0.15),
                0 5px 18px rgba(57, 136, 247, 0.08);
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .service-icon,
    .contact-panel .contact-form {
        animation: none !important;
    }

    .service-card,
    .pricing-card,
    .support-card,
    .button,
    .service-button,
    .pricing-button {
        transition: none !important;
    }

    .service-card::after,
    .pricing-card::after,
    .support-card::after {
        display: none;
    }
}

/* PRICING PAGE CALL-TO-ACTION BUTTONS */

.pricing-extra-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.ecommerce-button,
.final-quote-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    background: var(--accent-blue);
    color: #FFFFFF;
    border: 1px solid var(--accent-blue);
    border-radius: 7px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ecommerce-button:hover,
.final-quote-button:hover {
    background: var(--accent-blue-light);
    border-color: var(--accent-blue-light);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(57, 136, 247, 0.25);
}

.ecommerce-button:focus-visible,
.final-quote-button:focus-visible {
    outline: 3px solid var(--accent-blue-light);
    outline-offset: 4px;
}

/* FINAL PRICING CTA */
.final-quote-button {
    margin-top: 12px;
    min-width: 190px;
}

@media (max-width: 600px) {
    .ecommerce-button,
    .final-quote-button {
        width: 100%;
    }
}


/* =========================================================
   21. ENHANCED SCROLL REVEAL ANIMATIONS
   ========================================================= */

/* Elements begin hidden only when JavaScript is available */
.js-motion .reveal {
    opacity: 0;
    transform: translateY(40px);

    transition:
        opacity 0.9s cubic-bezier(0.2, 0.65, 0.3, 1),
        transform 0.9s cubic-bezier(0.2, 0.65, 0.3, 1);

    will-change: opacity, transform;
}

/* Reveal elements when they enter the viewport */
.js-motion .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation timing */
.js-motion .reveal-delay-1 {
    transition-delay: 0.15s;
}

.js-motion .reveal-delay-2 {
    transition-delay: 0.3s;
}

.js-motion .reveal-delay-3 {
    transition-delay: 0.45s;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .js-motion .reveal,
    .js-motion .reveal.visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}




/* =========================================================
   LUWA — SCROLLING BOOK
   ========================================================= */

/* ---------------------------------------------------------
   1. BOOK SECTION AND LAYOUT
   --------------------------------------------------------- */

.book-scroll-section {
    --book-background: #111827;
    --book-page: #f8f9fb;
    --book-page-back: #f1f3f6;
    --book-blue: #3988f7;
    --book-light-blue: #65A7FF;
    --book-text-dark: #17283c;
    --book-text-muted: #687789;

    position: relative;
    color: var(--white);
    background: var(--book-background);
}

.book-scroll-track {
    position: relative;
    height: 260vh;
}

.book-sticky {
    position: sticky;
    top: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 100vh;
    height: 100svh;
    min-height: 650px;

    padding: 45px 6%;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 48%,
            rgba(57, 136, 247, 0.16),
            transparent 58%
        ),
        var(--book-background);
}


/* ---------------------------------------------------------
   2. SECTION HEADING
   --------------------------------------------------------- */

.book-heading {
    width: 100%;
    max-width: 1100px;
    margin-bottom: 34px;
    text-align: center;
}

.book-heading .section-label {
    color: var(--book-light-blue);
    letter-spacing: 0.18em;
}

.book-heading h2 {
    margin: 12px 0 8px;
    color: var(--white);
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    letter-spacing: -0.045em;
}

.book-heading p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}


/* ---------------------------------------------------------
   3. OPEN BOOK
   --------------------------------------------------------- */

.book-spread {
    position: relative;
    isolation: isolate;

    display: grid;
    grid-template-columns: 1fr 1fr;

    width: min(100%, 1050px);
    height: clamp(310px, 48vh, 480px);

    perspective: 2200px;

    border-radius: 3px;

    filter: drop-shadow(
        0 35px 45px rgba(0, 0, 0, 0.42)
    );
}


/* ---------------------------------------------------------
   4. LEFT-HAND PAGE
   --------------------------------------------------------- */

.book-left-page {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: clamp(22px, 4vw, 48px);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.09),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #243b53,
            #142338 75%
        );

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 0;
}

.book-left-page::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 22px;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.18),
        rgba(0, 0, 0, 0.035),
        transparent
    );

    pointer-events: none;
}

.book-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.book-brand span {
    color: var(--book-light-blue);
}

.book-left-content {
    position: relative;
    z-index: 1;
}

.book-kicker {
    display: block;
    margin-bottom: 18px;

    color: var(--book-light-blue);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.book-left-content h3 {
    margin: 0;

    color: var(--white);
    font-size: clamp(1.8rem, 3.5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.book-left-content h3 em {
    color: #8dbbff;
    font-style: normal;
}

.book-left-footer,
.book-page-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.book-left-footer {
    color: rgba(255, 255, 255, 0.5);
}


/* ---------------------------------------------------------
   5. RIGHT-HAND PAGE AREA
   --------------------------------------------------------- */

.book-pages {
    position: relative;
    z-index: 2;

    min-width: 0;
    overflow: visible;

    background: var(--book-page-back);
    border-radius: 0 3px 3px 0;

    perspective: 2200px;
    transform-style: preserve-3d;
}


/* ---------------------------------------------------------
   6. PAGE REVEALED UNDERNEATH
   --------------------------------------------------------- */

.book-under-page {
    position: absolute;
    inset: 0;
    z-index: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: clamp(22px, 4vw, 48px);
    overflow: hidden;

    color: var(--book-text-dark);

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.055),
            transparent 12%
        ),
        var(--book-page-back);

    box-shadow: inset 10px 0 20px -16px rgba(0, 0, 0, 0.45);
}

.book-under-page::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 12px;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.09),
        transparent
    );
}

.book-under-page h3 {
    margin: 0 0 20px;

    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.book-under-page h3 em {
    color: var(--book-blue);
    font-style: normal;
}

.book-under-page p {
    max-width: 370px;
    margin: 0;

    color: var(--book-text-muted);
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    line-height: 1.8;
}


/* ---------------------------------------------------------
   7. TURNING PAGE
   --------------------------------------------------------- */

.book-page {
    position: absolute;
    inset: 0;
    z-index: 3;

    width: 100%;
    height: 100%;

    overflow: visible;

    background: transparent;
    border: 0;

    transform-origin: left center;
    transform-style: preserve-3d;

    backface-visibility: visible;
    -webkit-backface-visibility: visible;

    will-change: transform;
}


/* Front and reverse sides of the same sheet */

.book-page-face {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: clamp(22px, 4vw, 48px);
    overflow: hidden;

    color: #263342;
    background: var(--book-page);

    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 0 5px 5px 0;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* Front of the page */

.book-page-front {
    transform: rotateY(0deg) translateZ(1px);

    background:
        radial-gradient(
            ellipse at 100% 50%,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0) 48%
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.12),
            transparent 12%,
            transparent 78%,
            rgba(0, 0, 0, 0.045)
        ),
        var(--book-page);
}


/* Reverse of the page */

.book-page-back {
    transform: rotateY(180deg) translateZ(1px);

    border-radius: 5px 0 0 5px;

    background:
        linear-gradient(
            270deg,
            rgba(0, 0, 0, 0.13),
            transparent 18%,
            rgba(255, 255, 255, 0.35) 100%
        ),
        var(--book-page-back);
}


/* ---------------------------------------------------------
   8. PAGE CONTENT AND TYPOGRAPHY
   --------------------------------------------------------- */

.book-face-top,
.book-face-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;

    color: #8491a0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.book-face-content {
    max-width: 430px;
}

.book-face-content .book-kicker {
    color: var(--book-blue);
}

.book-face-content h3 {
    margin: 0 0 20px;

    font-family: 'Manrope', sans-serif;
    color: var(--book-text-dark);
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.book-face-content h3 em {
    color: var(--book-blue);
    font-style: normal;
}

.book-face-content p {
    max-width: 370px;
    margin: 0;

    color: var(--book-text-muted);
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    line-height: 1.8;
}


/* ---------------------------------------------------------
   9. PAGE CURL, EDGE AND SHADOW EFFECTS
   --------------------------------------------------------- */

/* Simulated paper thickness along the outer edge */

.book-page::after {
    content: "";
    position: absolute;
    top: 1px;
    right: -2px;
    bottom: 1px;

    z-index: 6;
    width: 9px;

    background: linear-gradient(
        90deg,
        #d9dde3,
        #ffffff 35%,
        #e5e8ed 70%,
        #cbd1d9
    );

    opacity: 0.75;
    transform: translateZ(-1px);

    pointer-events: none;
}


/* Shadow that follows the turning page */

.book-page::before {
    content: "";
    position: absolute;
    inset: 0;

    z-index: 7;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.34),
        rgba(0, 0, 0, 0.13) 35%,
        transparent 75%
    );

    opacity: var(--turn-shadow, 0);

    pointer-events: none;
}


/* ---------------------------------------------------------
   10. PROGRESS INDICATOR
   --------------------------------------------------------- */

.book-progress {
    display: flex;
    align-items: center;
    gap: 18px;

    width: min(100%, 1050px);
    margin-top: 30px;
}

.book-progress-label,
.book-progress-count {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    white-space: nowrap;
}

.book-progress-track {
    flex: 1;
    height: 2px;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.18);
}

.book-progress-fill {
    width: 0%;
    height: 100%;

    background: var(--book-light-blue);

    /* JavaScript controls the smooth progress movement. */
    transition: none;
}


/* ---------------------------------------------------------
   11. MOBILE LAYOUT
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .book-scroll-track {
        height: 220vh;
    }

    .book-sticky {
        min-height: 560px;
        padding: 28px 5%;
    }

    .book-heading {
        margin-bottom: 22px;
    }

    .book-heading h2 {
        font-size: 1.65rem;
    }

    .book-heading p {
        font-size: 0.82rem;
    }

    .book-spread {
        height: clamp(330px, 52vh, 430px);
    }

    .book-left-page,
    .book-page-face,
    .book-under-page {
        padding: 18px 14px;
    }

    .book-brand {
        font-size: 1.1rem;
    }

    .book-left-content h3 {
        font-size: clamp(1.35rem, 6vw, 2rem);
    }

    .book-face-content h3,
    .book-under-page h3 {
        font-size: clamp(1.45rem, 6vw, 2.2rem);
    }

    .book-face-content p,
    .book-under-page p {
        font-size: 0.76rem;
        line-height: 1.6;
    }

    .book-kicker {
        font-size: 0.55rem;
        letter-spacing: 0.1em;
    }

    .book-face-top,
    .book-face-footer,
    .book-left-footer {
        font-size: 0.5rem;
    }

    .book-progress {
        gap: 10px;
        margin-top: 20px;
    }

    .book-progress-label,
    .book-progress-count {
        font-size: 0.5rem;
    }

    .book-page::before {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.2),
            transparent 65%
        );
    }
}


/* ---------------------------------------------------------
   12. ACCESSIBILITY — REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .book-scroll-track {
        height: auto;
    }

    .book-sticky {
        position: relative;
        min-height: 0;
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .book-page {
        transform: none !important;
    }

    .book-page-back {
        display: none;
    }

    .book-progress {
        display: none;
    }
}









/* =========================================================
   LUWA SERVICES — COLOURFUL PREMIUM DESIGN
   ========================================================= */

.services {
    position: relative;
    overflow: hidden;
}

/* Soft colour behind the service cards */
.services::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 450px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;

    background: radial-gradient(
        ellipse,
        rgba(48, 105, 190, 0.13),
        rgba(111, 79, 190, 0.055) 45%,
        transparent 72%
    );

    filter: blur(25px);
}

.services .container {
    position: relative;
    z-index: 1;
}

.services .section-heading {
    margin-bottom: 52px;
}

/* CARD GRID */
.services .service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* SERVICE CARDS */
.services .service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: 27px 25px 23px;

    border: 1px solid rgba(142, 171, 220, 0.2);
    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(36, 57, 91, 0.88),
            rgba(20, 34, 59, 0.96)
        );

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

/* Coloured glow in each card */
.services .service-card::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    top: -105px;
    right: -75px;
    border-radius: 50%;
    pointer-events: none;

    background: var(--service-glow, rgba(80, 145, 235, 0.3));
    filter: blur(45px);
    opacity: 0.75;

    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}

.services .service-card:nth-child(1) {
    --service-accent: #70b7ff;
    --service-glow: rgba(53, 145, 255, 0.48);
}

.services .service-card:nth-child(2) {
    --service-accent: #a99aff;
    --service-glow: rgba(130, 100, 255, 0.43);
}

.services .service-card:nth-child(3) {
    --service-accent: #55d9cb;
    --service-glow: rgba(35, 200, 178, 0.38);
}

.services .service-card:nth-child(4) {
    --service-accent: #f0b875;
    --service-glow: rgba(235, 151, 73, 0.37);
}

/* CARD HOVER */
.services .service-card:hover {
    transform: translateY(-8px);

    border-color: var(--service-accent);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.24),
        0 0 25px color-mix(in srgb, var(--service-accent), transparent 88%);
}

.services .service-card:hover::before {
    transform: scale(1.4);
    opacity: 1;
}

/* TOP ROW */
.services .service-card-top {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 36px;
}

/* NUMBER */
.services .service-number {
    padding-top: 7px;

    color: #b8c9e0;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

/* ICON PANEL */
.services .service-icon-art {
    width: 82px;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid color-mix(
        in srgb,
        var(--service-accent),
        transparent 58%
    );

    border-radius: 17px;

    background: color-mix(
        in srgb,
        var(--service-accent),
        transparent 88%
    );

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.services .service-icon-art svg {
    width: 47px;
    height: 47px;

    stroke: var(--service-accent);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    filter: drop-shadow(
        0 0 7px color-mix(
            in srgb,
            var(--service-accent),
            transparent 55%
        )
    );

    transition: transform 0.35s ease;
}

.services .service-card:hover .service-icon-art {
    transform: translateY(-4px) rotate(-3deg);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.2),
        0 0 20px color-mix(
            in srgb,
            var(--service-accent),
            transparent 82%
        );
}

.services .service-card:hover .service-icon-art svg {
    transform: scale(1.1);
}

/* TEXT */
.services .service-card-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.services .service-card h3 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.025em;
}

.services .service-card p {
    margin: 0;

    color: #d4dfed;

    font-size: 0.96rem;
    font-weight: 400;
    line-height: 1.8;
}

/* LINKS */
.services .service-link {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-top: 29px;
    padding-top: 19px;

    border-top: 1px solid rgba(188, 207, 232, 0.19);

    color: var(--service-accent);
    font-size: 0.9rem;
    font-weight: 700;

    text-decoration: none;

    transition: color 0.3s ease;
}

.services .service-link:hover {
    color: #ffffff;
}

.services .service-arrow {
    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid color-mix(
        in srgb,
        var(--service-accent),
        transparent 55%
    );

    border-radius: 50%;

    font-size: 1.1rem;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.services .service-card:hover .service-arrow {
    transform: translate(3px, -3px);
    background: color-mix(
        in srgb,
        var(--service-accent),
        transparent 85%
    );
}


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

@media (max-width: 1100px) {
    .services .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services .service-card {
        min-height: 360px;
    }
}

@media (max-width: 600px) {
    .services .section-heading {
        margin-bottom: 35px;
    }

    .services .service-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services .service-card {
        min-height: 0;
        padding: 23px 22px;
    }

    .services .service-card-top {
        margin-bottom: 25px;
    }

    .services .service-icon-art {
        width: 72px;
        height: 72px;
    }

    .services .service-icon-art svg {
        width: 42px;
        height: 42px;
    }

    .services .service-card p {
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services .service-card,
    .services .service-card::before,
    .services .service-icon-art,
    .services .service-icon-art svg,
    .services .service-arrow {
        transition: none;
    }

    .services .service-card:hover {
        transform: none;
    }
}


/* =========================================================
   SERVICES PAGE — MOBILE RESPONSIVENESS
   ========================================================= */

/* Prevent unexpected horizontal overflow */
.services-page {
    width: 100%;
    overflow-x: hidden;
}

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

.services-page img,
.services-page svg {
    max-width: 100%;
}

/* Container sizing */
.services-page .container {
    width: min(100% - 48px, 1200px);
    margin-inline: auto;
}

/* General section spacing */
.services-page .section {
    padding-top: clamp(65px, 8vw, 110px);
    padding-bottom: clamp(65px, 8vw, 110px);
}

/* =========================================================
   HERO
   ========================================================= */

.services-page .hero {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.services-page .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

.services-page .hero h1 {
    max-width: 850px;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
    overflow-wrap: break-word;
}

.services-page .hero h1 span {
    display: block;
}

.services-page .hero p {
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.services-page .hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.services-page .section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.services-page .section-heading h2 {
    font-size: clamp(2rem, 4.5vw, 3.3rem);
    line-height: 1.18;
    letter-spacing: -0.04em;
    overflow-wrap: break-word;
}

.services-page .section-heading p {
    max-width: 650px;
    font-size: 1rem;
    line-height: 1.8;
}

/* =========================================================
   SERVICE CARDS
   ========================================================= */

.services-page .services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.services-page .service-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 3vw, 36px);
    border-radius: 16px;
}

.services-page .service-card h3 {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    line-height: 1.35;
    overflow-wrap: break-word;
}

.services-page .service-card p {
    font-size: 0.98rem;
    line-height: 1.8;
}

.services-page .service-card ul {
    padding-left: 20px;
    margin-top: 18px;
    margin-bottom: 25px;
}

.services-page .service-card li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Keep buttons at the bottom of cards */
.services-page .service-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: auto;
    padding: 12px 16px;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

/* =========================================================
   HOW WE WORK
   ========================================================= */

.services-page .steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.services-page .step {
    min-width: 0;
}

.services-page .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.services-page .step h3 {
    font-size: 1.2rem;
    line-height: 1.35;
}

.services-page .step p {
    font-size: 0.96rem;
    line-height: 1.75;
}

/* =========================================================
   CTA PANEL
   ========================================================= */

.services-page .cta-panel {
    width: 100%;
    padding: clamp(30px, 6vw, 65px);
    border-radius: 18px;
    text-align: center;
}

.services-page .cta-panel h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.2;
    overflow-wrap: break-word;
}

.services-page .cta-panel p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.8;
}

.services-page .cta-panel .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    white-space: normal;
    text-align: center;
}


/* =========================================================
   TABLET — 768px AND BELOW
   ========================================================= */

@media (max-width: 768px) {

    .services-page .container {
        width: min(100% - 40px, 650px);
    }

    .services-page .hero {
        min-height: auto;
        padding: 110px 0 90px;
    }

    .services-page .hero h1 {
        font-size: clamp(2.6rem, 8vw, 4rem);
    }

    .services-page .hero p {
        font-size: 1rem;
    }

    .services-page .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .services-page .service-card {
        padding: 25px 22px;
    }

    .services-page .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 25px;
    }

    .services-page .section-heading {
        margin-bottom: 35px;
    }
}


/* =========================================================
   MOBILE — 520px AND BELOW
   ========================================================= */

@media (max-width: 520px) {

    .services-page .container {
        width: calc(100% - 36px);
    }

    .services-page .section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    /* Hero */
    .services-page .hero {
        padding: 95px 0 75px;
    }

    .services-page .hero h1 {
        font-size: clamp(2.35rem, 10.5vw, 3.2rem);
        line-height: 1.12;
        letter-spacing: -0.045em;
    }

    .services-page .hero h1 span {
        margin-top: 5px;
    }

    .services-page .hero p {
        margin-top: 22px;
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .services-page .hero .btn {
        width: 100%;
        margin-top: 12px;
    }

    /* Section headings */
    .services-page .section-heading {
        margin-bottom: 30px;
    }

    .services-page .section-heading h2 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .services-page .section-heading p {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    /* One service card per row */
    .services-page .services-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
    }

    .services-page .service-card {
        padding: 25px 23px;
        border-radius: 15px;
    }

    .services-page .service-card h3 {
        font-size: 1.3rem;
    }

    .services-page .service-card p {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .services-page .service-card ul {
        margin-top: 16px;
        margin-bottom: 24px;
    }

    .services-page .service-button {
        min-height: 50px;
        font-size: 0.9rem;
    }

    /* Process steps */
    .services-page .steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .services-page .step {
        position: relative;
        padding-left: 2px;
    }

    .services-page .step h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .services-page .step p {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    /* CTA */
    .services-page .cta-panel {
        padding: 35px 23px;
        border-radius: 15px;
    }

    .services-page .cta-panel h2 {
        font-size: 2rem;
    }

    .services-page .cta-panel p {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .services-page .cta-panel .btn {
        width: 100%;
        margin-top: 12px;
    }
}


/* =========================================================
   SMALL PHONES — 360px AND BELOW
   ========================================================= */

@media (max-width: 360px) {

    .services-page .container {
        width: calc(100% - 28px);
    }

    .services-page .hero h1 {
        font-size: 2.2rem;
    }

    .services-page .section-heading h2 {
        font-size: 1.85rem;
    }

    .services-page .service-card {
        padding: 22px 19px;
    }

    .services-page .cta-panel h2 {
        font-size: 1.8rem;
    }
}


/* =========================================================
   ABOUT PAGE — MOBILE RESPONSIVENESS
   ========================================================= */

.about-page {
    width: 100%;
    overflow-x: hidden;
}

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

.about-page img,
.about-page svg {
    max-width: 100%;
}

.about-page .container {
    width: min(100% - 48px, 1200px);
    margin-inline: auto;
}

.about-page .section {
    padding-top: clamp(65px, 8vw, 110px);
    padding-bottom: clamp(65px, 8vw, 110px);
}

/* =========================================================
   HERO
   ========================================================= */

.about-page .hero {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.about-page .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

.about-page .hero h1 {
    max-width: 850px;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
    overflow-wrap: break-word;
}

.about-page .hero h1 span {
    display: block;
}

.about-page .hero p {
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-page .hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.about-page .section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.about-page .section-heading h2 {
    font-size: clamp(2rem, 4.5vw, 3.3rem);
    line-height: 1.18;
    letter-spacing: -0.04em;
    overflow-wrap: break-word;
}

.about-page .section-heading p {
    max-width: 650px;
    font-size: 1rem;
    line-height: 1.8;
}

/* =========================================================
   INTRODUCTION GRID
   ========================================================= */

.about-page .about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 45px;
    align-items: stretch;
}

.about-page .about-content {
    min-width: 0;
}

.about-page .about-content h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    line-height: 1.35;
    margin-bottom: 22px;
}

.about-page .about-content p {
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 18px;
}

.about-page .about-highlight {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4vw, 45px);
    border-radius: 17px;
}

.about-page .about-highlight h3 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.3;
    overflow-wrap: break-word;
    margin: 20px 0;
}

.about-page .about-highlight p {
    font-size: 1rem;
    line-height: 1.8;
}

/* =========================================================
   VALUES CARDS
   ========================================================= */

.about-page .services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.about-page .service-card {
    min-width: 0;
    height: 100%;
    padding: clamp(25px, 3vw, 35px);
    border-radius: 16px;
}

.about-page .service-card h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    overflow-wrap: break-word;
}

.about-page .service-card p {
    font-size: 0.98rem;
    line-height: 1.8;
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.about-page .cta-panel {
    width: 100%;
    padding: clamp(30px, 6vw, 65px);
    border-radius: 18px;
    text-align: center;
}

.about-page .cta-panel h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.2;
    overflow-wrap: break-word;
}

.about-page .cta-panel p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.8;
}

.about-page .cta-panel .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    white-space: normal;
    text-align: center;
}


/* =========================================================
   TABLET — 768px AND BELOW
   ========================================================= */

@media (max-width: 768px) {

    .about-page .container {
        width: min(100% - 40px, 650px);
    }

    .about-page .hero {
        min-height: auto;
        padding: 110px 0 90px;
    }

    .about-page .hero h1 {
        font-size: clamp(2.6rem, 8vw, 4rem);
    }

    .about-page .hero p {
        font-size: 1rem;
    }

    .about-page .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-page .about-highlight {
        min-height: 250px;
    }

    .about-page .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .about-page .section-heading {
        margin-bottom: 35px;
    }
}


/* =========================================================
   MOBILE — 520px AND BELOW
   ========================================================= */

@media (max-width: 520px) {

    .about-page .container {
        width: calc(100% - 36px);
    }

    .about-page .section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    /* Hero */
    .about-page .hero {
        padding: 95px 0 75px;
    }

    .about-page .hero h1 {
        font-size: clamp(2.35rem, 10.5vw, 3.2rem);
        line-height: 1.12;
        letter-spacing: -0.045em;
    }

    .about-page .hero p {
        margin-top: 22px;
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .about-page .hero .btn {
        width: 100%;
        margin-top: 12px;
    }

    /* Section headings */
    .about-page .section-heading {
        margin-bottom: 30px;
    }

    .about-page .section-heading h2 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .about-page .section-heading p {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    /* Introduction */
    .about-page .about-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .about-page .about-content h3 {
        font-size: 1.4rem;
        margin-bottom: 17px;
    }

    .about-page .about-content p {
        font-size: 0.96rem;
        line-height: 1.8;
    }

    .about-page .about-highlight {
        min-height: 0;
        padding: 30px 24px;
        border-radius: 15px;
    }

    .about-page .about-highlight h3 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .about-page .about-highlight p {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    /* Values cards */
    .about-page .services-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .about-page .service-card {
        padding: 25px 23px;
        border-radius: 15px;
    }

    .about-page .service-card h3 {
        font-size: 1.2rem;
    }

    .about-page .service-card p {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    /* CTA */
    .about-page .cta-panel {
        padding: 35px 23px;
        border-radius: 15px;
    }

    .about-page .cta-panel h2 {
        font-size: 2rem;
    }

    .about-page .cta-panel p {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .about-page .cta-panel .btn {
        width: 100%;
        margin-top: 12px;
    }
}


/* =========================================================
   SMALL PHONES — 360px AND BELOW
   ========================================================= */

@media (max-width: 360px) {

    .about-page .container {
        width: calc(100% - 28px);
    }

    .about-page .hero h1 {
        font-size: 2.2rem;
    }

    .about-page .section-heading h2 {
        font-size: 1.85rem;
    }

    .about-page .about-highlight h3 {
        font-size: 1.6rem;
    }

    .about-page .cta-panel h2 {
        font-size: 1.8rem;
    }
}


/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {

    .about-page *,
    .about-page *::before,
    .about-page *::after {
        scroll-behavior: auto !important;
    }
}
