/* ============================================
   The Lighthouse Web Services - Global Stylesheet
   Modern, animated digital marketing agency website
   ============================================ */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
    --primary: #063b69;
    --secondary: #1b7c90;
    --tertiary: #fcb64e;
    --primary-dark: #042a4a;
    --primary-light: #0a5a9e;
    --secondary-dark: #145a68;
    --secondary-light: #2ba0b5;
    --tertiary-dark: #e89e2f;
    --tertiary-light: #ffc878;

    --text-dark: #0f1b2d;
    --text-body: #3a4a5f;
    --text-muted: #6b7c93;
    --text-light: #ffffff;
    --text-light-muted: rgba(255, 255, 255, 0.78);

    --bg-white: #ffffff;
    --bg-soft: #f6f9fc;
    --bg-soft-alt: #eef4f9;
    --bg-dark: #042038;

    --gradient-primary: linear-gradient(135deg, #063b69 0%, #1b7c90 100%);
    --gradient-tertiary: linear-gradient(135deg, #fcb64e 0%, #e89e2f 100%);
    --gradient-hero: linear-gradient(135deg, #042038 0%, #063b69 45%, #1b7c90 100%);
    --gradient-card: linear-gradient(135deg, rgba(252, 182, 78, 0.08) 0%, rgba(27, 124, 144, 0.08) 100%);

    --shadow-sm: 0 2px 8px rgba(6, 59, 105, 0.06);
    --shadow-md: 0 8px 24px rgba(6, 59, 105, 0.10);
    --shadow-lg: 0 18px 50px rgba(6, 59, 105, 0.15);
    --shadow-tertiary: 0 12px 30px rgba(252, 182, 78, 0.35);
    --shadow-hover: 0 22px 60px rgba(6, 59, 105, 0.22);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    --container: 1240px;
    --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: clip;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

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

ul {
    list-style: none;
}

/* ---------- Layout Helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 110px 0;
    position: relative;
}

.section-sm {
    padding: 70px 0;
}

.text-center { text-align: center; }
.text-tertiary { color: var(--tertiary); }
.text-secondary { color: var(--secondary); }
.text-primary { color: var(--primary); }

.bg-soft { background: var(--bg-soft); }
.bg-soft-alt { background: var(--bg-soft-alt); }
.bg-gradient-primary { background: var(--gradient-primary); color: var(--text-light); }
.bg-dark { background: var(--bg-dark); color: var(--text-light); }

/* ---------- Section Heading ---------- */
.section-heading {
    max-width: 720px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(252, 182, 78, 0.14);
    color: var(--tertiary-dark);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}

.section-heading .eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--tertiary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(252, 182, 78, 0.25);
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 18px;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-heading.light h2,
.section-heading.light p { color: var(--text-light); }
.section-heading.light p { color: var(--text-light-muted); }
.section-heading.light .eyebrow {
    background: rgba(252, 182, 78, 0.18);
    color: var(--tertiary);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn svg, .btn i {
    transition: transform var(--transition);
}

.btn:hover svg, .btn:hover i { transform: translateX(4px); }

.btn-primary {
    background: var(--gradient-tertiary);
    color: var(--primary-dark);
    box-shadow: var(--shadow-tertiary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(252, 182, 78, 0.5);
}

.btn-secondary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--primary);
    border-color: var(--text-light);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 2px solid rgba(6, 59, 105, 0.2);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-light {
    background: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(6, 59, 105, 0.08);
    padding: 5px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    width: 150px;
    height: 100px;
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.navbar.scrolled .logo { color: var(--primary); }

.logo-mark {
    background: white;
    padding: 5px;
    border-radius: 6px;
    box-shadow: 0px 1px 7px -3px;
    width: auto;
    height: 90px;
    object-fit: fill;
    display: block;
    flex-shrink: 0;
}

.logo-text { display: none; }
.logo-text small {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-submenu,
.mobile-menu-contact { display: none; }

.has-submenu { position: relative; }

.submenu-toggle { display: none; }

.has-submenu > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 0.72rem;
}

.has-submenu:hover > .mobile-submenu,
.has-submenu:focus-within > .mobile-submenu {
    display: block;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 310px;
    padding: 10px;
    background: var(--bg-white);
    border: 1px solid rgba(6, 59, 105, 0.08);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1200;
}

.has-submenu:hover > .mobile-submenu::before,
.has-submenu:focus-within > .mobile-submenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 28px;
    width: 16px;
    height: 16px;
    background: var(--bg-white);
    border-left: 1px solid rgba(6, 59, 105, 0.08);
    border-top: 1px solid rgba(6, 59, 105, 0.08);
    transform: rotate(45deg);
}

.has-submenu > .mobile-submenu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-size: 0.84rem;
    white-space: normal;
}

.has-submenu > .mobile-submenu > li > a:hover {
    background: rgba(6, 59, 105, 0.06);
    color: var(--primary);
}

.has-submenu > .mobile-submenu > li > a::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    font-size: 0.72rem;
    flex-shrink: 0;
}

.has-submenu > .mobile-submenu > .submenu-all {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(6, 59, 105, 0.1);
}

.has-submenu > .mobile-submenu > .submenu-all a {
    color: var(--secondary);
    font-weight: 800;
}

.has-submenu > .mobile-submenu > .submenu-all a::after {
    content: '\f054';
    color: var(--tertiary-dark);
}

.nav-links a {
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all var(--transition-fast);
    position: relative;
}

.navbar.scrolled .nav-links a { color: var(--text-dark); }

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--tertiary);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    background: rgba(6, 59, 105, 0.08);
    color: var(--primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-cta .btn {
    padding: 12px 24px;
    font-size: 0.88rem;
}

.phone-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.navbar.scrolled .phone-pill { color: var(--primary); }
.phone-pill:hover { color: var(--tertiary); }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--text-light);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.navbar.scrolled .nav-toggle {
    background: rgba(6, 59, 105, 0.08);
    color: var(--primary);
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero Section (Generic for inner pages) ---------- */
.hero {
    position: relative;
    padding: 180px 0 110px;
    background: var(--gradient-hero);
    color: var(--text-light);
    overflow: hidden;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(252, 182, 78, 0.18), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -250px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(27, 124, 144, 0.4), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(252, 182, 78, 0.15);
    border: 1px solid rgba(252, 182, 78, 0.3);
    color: var(--tertiary);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 28px;
}

.hero-content .eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tertiary);
    box-shadow: 0 0 0 4px rgba(252, 182, 78, 0.25);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.08;
}

.hero-content h1 .highlight {
    background: var(--gradient-tertiary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: 1.12rem;
    color: var(--text-light-muted);
    margin-bottom: 36px;
    max-width: 580px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat .num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--tertiary);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat .label {
    font-size: 0.85rem;
    color: var(--text-light-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* Hero Visual Card */
.hero-visual {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-card h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.hero-card .progress-row {
    margin-bottom: 18px;
}

.hero-card .progress-row .label {
    display: flex;
    justify-content: space-between;
    color: var(--text-light-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.hero-card .progress-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.hero-card .progress-fill {
    height: 100%;
    background: var(--gradient-tertiary);
    border-radius: var(--radius-pill);
    width: 0;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-card .metric-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.hero-card .metric {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
}

.hero-card .metric .num {
    font-size: 1.6rem;
    color: var(--tertiary);
    font-weight: 800;
}

.hero-card .metric .label {
    color: var(--text-light-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.floating-badge {
    position: absolute;
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-badge .icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gradient-tertiary);
    display: grid;
    place-items: center;
    color: var(--primary-dark);
}

.badge-1 {
    top: -20px;
    right: -30px;
    animation: float 4s ease-in-out infinite;
}

.badge-2 {
    bottom: -20px;
    left: -30px;
    animation: float 5s ease-in-out infinite 0.5s;
}

/* ---------- Marquee / Trust Strip ---------- */
.trust-strip {
    background: var(--bg-dark);
    padding: 28px 0;
    overflow: hidden;
}

.marquee {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

.marquee-item .dot {
    width: 6px;
    height: 6px;
    background: var(--tertiary);
    border-radius: 50%;
}

/* ---------- Services Grid ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid rgba(6, 59, 105, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-tertiary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--gradient-card);
    color: var(--secondary);
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    margin-bottom: 24px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-tertiary);
    color: var(--primary-dark);
    transform: rotate(-6deg) scale(1.08);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

.service-card .service-link {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.service-card:hover .service-link {
    color: var(--tertiary-dark);
    gap: 14px;
}

/* Service tag list */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.service-tag {
    background: rgba(27, 124, 144, 0.08);
    color: var(--secondary);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
}

/* ---------- Stats Section ---------- */
.stats-section {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(252, 182, 78, 0.18), transparent 60%);
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.stat-block {
    text-align: center;
    position: relative;
}

.stat-block:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.15);
}

.stat-block .num {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--tertiary);
    line-height: 1;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.stat-block .num .suffix {
    font-size: 0.6em;
    color: var(--text-light);
}

.stat-block .label {
    color: var(--text-light-muted);
    font-size: 0.92rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---------- Works / Portfolio ---------- */
.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.work-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    border: 1px solid rgba(6, 59, 105, 0.06);
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.work-visual {
    height: 260px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: var(--text-light);
}

.work-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(0,0,0,0.4) 100%);
}

.work-visual .badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    z-index: 2;
}

.work-visual .emoji {
    font-size: 4rem;
    z-index: 1;
    transition: transform var(--transition);
}

.work-card:hover .work-visual .emoji {
    transform: scale(1.15) rotate(-5deg);
}

.work-content {
    padding: 28px;
}

.work-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.work-content .meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.work-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.work-results {
    display: flex;
    gap: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(6, 59, 105, 0.08);
}

.work-result .num {
    color: var(--tertiary-dark);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

.work-result .label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    border: 1px solid rgba(6, 59, 105, 0.08);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.testimonial-card .quote-mark {
    position: absolute;
    top: 20px;
    right: 26px;
    font-size: 4rem;
    line-height: 1;
    color: rgba(252, 182, 78, 0.25);
    font-family: Georgia, serif;
    font-weight: 700;
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    color: var(--tertiary);
    font-size: 1rem;
}

.testimonial-card p {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-light);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info .name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.author-info .role {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: 70px 60px;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(252, 182, 78, 0.18), transparent 60%);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(27, 124, 144, 0.4), transparent 60%);
    border-radius: 50%;
}

.cta-box > * { position: relative; z-index: 2; }

.cta-box h2 {
    color: var(--text-light);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 18px;
}

.cta-box p {
    color: var(--text-light-muted);
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tertiary), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo { color: var(--text-light); margin-bottom: 22px; }

.footer-brand p {
    color: var(--text-light-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    display: grid;
    place-items: center;
    transition: all var(--transition-fast);
    font-size: 1.05rem;
}

.social-link:hover {
    background: var(--tertiary);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 22px;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-light-muted);
    font-size: 0.92rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--tertiary);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--tertiary);
    padding-left: 8px;
}

.footer-col ul li a:hover::before { opacity: 1; }

.footer-contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    color: var(--text-light-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    min-width: 0;
}

.footer-contact-item > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

.footer-contact-item .icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(252, 182, 78, 0.12);
    color: var(--tertiary);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.footer-contact-item a {
    color: var(--text-light-muted);
    transition: color var(--transition-fast);
}

.footer-contact-item a:hover { color: var(--tertiary); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-light-muted);
    font-size: 0.88rem;
    flex-wrap: wrap;
    gap: 14px;
}

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

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
    padding: 170px 0 90px;
    background: var(--gradient-hero);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(252, 182, 78, 0.18), transparent 60%);
    border-radius: 50%;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -150px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(27, 124, 144, 0.4), transparent 60%);
    border-radius: 50%;
}

.page-hero .container { position: relative; z-index: 2; }

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: var(--text-light-muted);
    font-size: 0.88rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.breadcrumb a { color: var(--tertiary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }

.page-hero h1 {
    color: var(--text-light);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 22px;
}

.page-hero h1 .highlight {
    background: var(--gradient-tertiary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero p {
    color: var(--text-light-muted);
    font-size: 1.12rem;
    max-width: 740px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ---------- Service Detail Page ---------- */
.service-detail-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 50px;
    align-items: start;
}

.service-main h2 {
    font-size: 1.9rem;
    margin: 36px 0 18px;
    color: var(--text-dark);
}

.service-main h2:first-child { margin-top: 0; }

.service-main p {
    color: var(--text-body);
    margin-bottom: 18px;
    line-height: 1.8;
}

.service-main ul.check-list {
    margin: 22px 0;
    display: grid;
    gap: 12px;
}

.service-main ul.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-body);
    line-height: 1.65;
    border-radius: 10px;
    padding: 3px;
    box-shadow: 1px 1px 5px -2px;
}

.check-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gradient-tertiary);
    color: var(--primary-dark);
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    font-weight: 800;
}

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

.sidebar-card {
    background: var(--bg-white);
    border: 1px solid rgba(6, 59, 105, 0.08);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.sidebar-card h4 {
    font-size: 1.1rem;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(6, 59, 105, 0.08);
}

.sidebar-card .other-services li {
    margin-bottom: 10px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.sidebar-card .other-services li:hover {
    background: rgba(27, 124, 144, 0.06);
    border-color: rgba(27, 124, 144, 0.12);
}

.sidebar-card .other-services a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.92rem;
}

.sidebar-card .other-services a:hover { color: var(--secondary); }

.sidebar-card .other-services .arrow {
    margin-left: auto;
    color: var(--tertiary);
    transition: transform var(--transition-fast);
}

.sidebar-card .other-services li:hover .arrow { transform: translateX(4px); }

.sidebar-cta {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.sidebar-cta h4 {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.sidebar-cta p {
    color: var(--text-light-muted);
    font-size: 0.92rem;
    margin-bottom: 22px;
    line-height: 1.65;
}

.sidebar-cta .btn {
    width: 100%;
}

/* ---------- Process / Steps ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--tertiary), var(--secondary));
    opacity: 0.25;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.process-step .step-num {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border: 2px solid var(--tertiary);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all var(--transition);
}

.process-step:hover .step-num {
    background: var(--gradient-tertiary);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.process-step h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ---------- Feature Blocks (Service Detail) ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-block {
    background: #f9f9f9;
    border: 1px solid rgba(6, 59, 105, 0.08);
    border-radius: var(--radius-md);
    padding: 10px 10px;
    transition: all var(--transition);
}

.feature-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-block .feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--gradient-card);
    color: var(--secondary);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
    transition: all var(--transition);
}

.feature-block:hover .feature-icon {
    background: var(--gradient-tertiary);
    color: var(--primary-dark);
}

.feature-block h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-block p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ---------- Contact Page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(6, 59, 105, 0.06);
}

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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid rgba(6, 59, 105, 0.12);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(27, 124, 144, 0.1);
}

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

.contact-info-list {
    margin-top: 30px;
}

.contact-info-item {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    border: 1px solid rgba(6, 59, 105, 0.06);
    transition: all var(--transition-fast);
}

.contact-info-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(252, 182, 78, 0.3);
}

.contact-info-item .icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: var(--text-light);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-item .label {
    color: var(--text-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-info-item .value {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-info-item .value a {
    color: var(--text-dark);
}

.contact-info-item .value a:hover { color: var(--secondary); }

/* ---------- Map embed ---------- */
.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 40px;
    border: 1px solid rgba(6, 59, 105, 0.08);
}

.map-wrap iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid rgba(6, 59, 105, 0.08);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: rgba(252, 182, 78, 0.4);
}

.faq-question {
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.02rem;
    gap: 16px;
    user-select: none;
}

.faq-question .toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(252, 182, 78, 0.14);
    color: var(--tertiary-dark);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    font-weight: 800;
}

.faq-item.active .faq-question .toggle {
    background: var(--gradient-tertiary);
    color: var(--primary-dark);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-body);
    line-height: 1.75;
    font-size: 0.97rem;
}

/* ---------- About Page Specifics ---------- */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.value-card {
    background: var(--bg-white);
    border: 1px solid rgba(6, 59, 105, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.value-card .value-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-card);
    color: var(--secondary);
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    margin: 0 auto 22px;
    transition: all var(--transition);
}

.value-card:hover .value-icon {
    background: var(--gradient-tertiary);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.value-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* About / Story image grid */
.story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.story-visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.story-visual .img-tile {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    display: grid;
    place-items: center;
    color: var(--text-light);
    font-size: 3rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.story-visual .img-tile:nth-child(1) { background: var(--gradient-primary); margin-top: 30px; }
.story-visual .img-tile:nth-child(2) { background: var(--gradient-tertiary); color: var(--primary-dark); }
.story-visual .img-tile:nth-child(3) { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); }
.story-visual .img-tile:nth-child(4) { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); margin-top: -30px; }

.story-visual .img-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 50%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(6, 59, 105, 0.08);
    transition: all var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.team-avatar {
    aspect-ratio: 1;
    background: var(--gradient-primary);
    color: var(--text-light);
    display: grid;
    place-items: center;
    font-size: 3rem;
    font-weight: 800;
    position: relative;
}

.team-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 50%);
}

.team-card:nth-child(2) .team-avatar { background: var(--gradient-tertiary); color: var(--primary-dark); }
.team-card:nth-child(3) .team-avatar { background: linear-gradient(135deg, var(--secondary-dark), var(--secondary)); }
.team-card:nth-child(4) .team-avatar { background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark)); }

.team-content { padding: 24px 20px; }

.team-content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.team-content .role {
    color: var(--tertiary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.team-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ---------- Tech Stack Strip ---------- */
.tech-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.tech-pill {
    background: var(--bg-white);
    border: 1px solid rgba(6, 59, 105, 0.08);
    color: var(--text-dark);
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.tech-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tertiary);
}

.tech-pill:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--secondary);
    border-color: rgba(27, 124, 144, 0.25);
}

/* ---------- Animation Utility (Reveal on Scroll) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Section with image on side ---------- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible;
    background: var(--gradient-primary);
    min-height: 460px;
    display: grid;
    place-items: center;
    color: var(--text-light);
    box-shadow: var(--shadow-lg);
}

.split-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(252,182,78,0.2), transparent 60%);
    border-radius: inherit;
    pointer-events: none;
}

.split-visual .floating-badge { z-index: 3; }

.split-visual .big-emoji {
    font-size: 8rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

.split-visual .about-image {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: contain;
    border-radius: inherit;
    position: relative;
    z-index: 1;
}

/* ---------- Mobile / Responsive ---------- */
@media (max-width: 1080px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-brand { grid-column: 1 / -1; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .process-grid::before { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .stat-block:not(:last-child)::after { display: none; }
}

@media (max-width: 920px) {
    .nav-links, .nav-cta .phone-pill { display: none; }
    .nav-cta { margin-right: 52px; }
    .nav-toggle {
        display: flex;
        position: fixed;
        top: 18px;
        right: 18px;
        z-index: 1300;
    }

    body.menu-open .nav-toggle {
        background: rgba(6, 59, 105, 0.08);
        color: var(--primary);
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: min(88vw, 380px);
        height: 100dvh;
        background: var(--bg-white);
        padding: 112px 24px 32px;
        gap: 8px;
        box-shadow: var(--shadow-lg);
        border-left: 1px solid rgba(6, 59, 105, 0.08);
        align-items: stretch;
        overflow-y: auto;
        z-index: 1100;
        transform: translateX(0);
        animation: mobile-menu-in 0.3s ease-out both;
    }

    @keyframes mobile-menu-in {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }

    .nav-links.mobile-open a {
        color: var(--text-dark) !important;
        padding: 14px 18px;
        border-radius: var(--radius-md);
    }

    .nav-links.mobile-open a:hover,
    .nav-links.mobile-open a.active {
        background: rgba(6, 59, 105, 0.06) !important;
        color: var(--primary) !important;
    }

    .nav-links.mobile-open .has-submenu > a {
        background: rgba(6, 59, 105, 0.04);
        color: var(--primary) !important;
    }

    .nav-links.mobile-open .has-submenu:not(.submenu-open) > .mobile-submenu {
        display: none !important;
    }

    .nav-links.mobile-open .has-submenu.submenu-open > .mobile-submenu {
        display: grid;
        position: static;
        width: auto;
        padding: 0 0 8px 12px;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        gap: 2px;
    }

    .nav-links.mobile-open .has-submenu > a {
        display: inline-flex;
        width: calc(100% - 48px);
    }

    .nav-links.mobile-open .has-submenu > a::after {
        display: none;
    }

    .nav-links.mobile-open .submenu-toggle {
        display: grid;
        position: absolute;
        top: 0;
        right: 0;
        width: 48px;
        height: 50px;
        place-items: center;
        border: 0;
        border-radius: var(--radius-md);
        background: rgba(6, 59, 105, 0.04);
        color: var(--primary);
        cursor: pointer;
        font-family: inherit;
        font-size: 1rem;
    }

    .nav-links.mobile-open .submenu-toggle i {
        transition: transform var(--transition-fast);
    }

    .nav-links.mobile-open .has-submenu.submenu-open .submenu-toggle i {
        transform: rotate(180deg);
    }

    .nav-links.mobile-open .mobile-submenu a {
        padding: 10px 14px;
        font-size: 0.88rem;
        color: var(--text-body) !important;
    }

    .nav-links.mobile-open .mobile-submenu a::after {
        content: '\f061';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        color: var(--secondary);
        font-size: 0.72rem;
    }

    .nav-links.mobile-open .mobile-submenu .submenu-all {
        margin-top: 4px;
        padding-top: 4px;
        border-top: 1px solid rgba(6, 59, 105, 0.1);
    }

    .nav-links.mobile-open .mobile-menu-contact {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: auto;
        padding: 24px 18px 0;
        border-top: 1px solid rgba(6, 59, 105, 0.1);
        color: var(--text-muted);
        font-size: 0.86rem;
        line-height: 1.5;
    }

    .nav-links.mobile-open .mobile-menu-contact > span:first-child {
        color: var(--primary);
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .nav-links.mobile-open .mobile-menu-contact a,
    .nav-links.mobile-open .mobile-menu-contact > span:last-child {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        padding: 0;
        color: var(--text-body) !important;
    }

    .nav-links.mobile-open .mobile-menu-contact i {
        width: 16px;
        color: var(--secondary);
        flex-shrink: 0;
        margin-top: 4px;
    }

    .hero-grid,
    .service-detail-layout,
    .contact-grid,
    .story-grid,
    .split-section { grid-template-columns: 1fr; gap: 40px; }

    .service-main,
    .service-sidebar,
    .contact-grid > *,
    .story-grid > *,
    .split-section > * { min-width: 0; }

    .hero-visual { display: none; }

    .split-visual .badge-1 { right: 0; }
    .split-visual .badge-2 { left: 0; }

    .services-grid,
    .testimonials-grid,
    .feature-grid,
    .value-grid,
    .works-grid { grid-template-columns: repeat(2, 1fr); }

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

    .cta-box { padding: 50px 30px; }

    .service-sidebar { position: static; }

    .section { padding: 80px 0; }
}

@media (max-width: 640px) {
    .container { padding: 0 18px; }
    .navbar { padding: 8px 0; }
    .nav-inner { gap: 10px; }
    .logo { width: 120px; height: 80px; }
    .logo-mark { width: 120px; height: 80px; }
    .logo-text small { font-size: 0.52rem; letter-spacing: 0.15em; }
    .nav-cta { gap: 8px; }
    .nav-cta .btn { padding: 10px 14px; font-size: 0.78rem; }
    .nav-toggle { width: 40px; height: 40px; flex-shrink: 0; }

    .breadcrumb {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .services-grid,
    .testimonials-grid,
    .feature-grid,
    .value-grid,
    .works-grid,
    .team-grid,
    .stats-grid,
    .process-grid { grid-template-columns: 1fr; }

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

    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { gap: 24px; }

    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }

    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-brand { grid-column: auto; }

    .floating-badge { display: none; }

    .contact-form { padding: 28px 22px; }

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

    .page-hero { padding: 130px 0 70px; }

    .reveal-left,
    .reveal-right {
        transform: translateY(24px);
    }

    .reveal-left.visible,
    .reveal-right.visible {
        transform: translateY(0);
    }

    .reveal,
    .reveal-scale,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Back to top button ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-tertiary);
    color: var(--primary-dark);
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-tertiary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 900;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(252, 182, 78, 0.5);
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
    transition: all var(--transition);
    z-index: 900;
    animation: pulse-ring 2.5s ease-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(8deg);
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Success message ---------- */
.form-success {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #1a7f3d;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-top: 18px;
    font-weight: 600;
    display: none;
    align-items: center;
    gap: 12px;
}

.form-success.show { display: flex; }

.form-success .icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
