/* ==========================================================================
   Smart Accounting Solutions UK — Primary Stylesheet
   Version: 1.1
   Brand Colors:
     Primary Blue:   #0969A8
     Navy Blue:      #092B59
     Light BG:       #F4F8FC
     White:          #FFFFFF
     Accent Red:     #C62835
     WhatsApp Green: #20B767
   ========================================================================== */

/* --- 1. Design Tokens & Custom Properties --- */
:root {
  /* Brand Palette */
  --primary-blue: #0969A8;
  --primary-blue-hover: #075284;
  --primary-blue-subtle: rgba(9, 105, 168, 0.08);
  --navy-blue: #092B59;
  --navy-dark: #051936;
  --navy-surface: #0E356D;
  --light-bg: #F4F8FC;
  --light-card-bg: #F8FAFD;
  --white: #FFFFFF;
  --accent-red: #C62835;
  --accent-red-subtle: rgba(198, 40, 53, 0.09);
  --whatsapp-green: #20B767;
  --whatsapp-hover: #199955;
  --whatsapp-glow: rgba(32, 183, 103, 0.28);

  /* Neutrals & Text */
  --text-dark: #0A192F;
  --text-main: #1E293B;
  --text-muted: #475569;
  --text-light: #64748B;
  --border-light: #E2E8F0;
  --border-card: #E4ECF4;
  --border-hover: #CBD5E1;

  /* Typography */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing Scale */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4.5rem;

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Elevations */
  --shadow-sm: 0 1px 3px rgba(9, 43, 89, 0.06), 0 1px 2px rgba(9, 43, 89, 0.04);
  --shadow-md: 0 4px 14px rgba(9, 43, 89, 0.08), 0 2px 6px rgba(9, 43, 89, 0.04);
  --shadow-lg: 0 12px 30px rgba(9, 43, 89, 0.12), 0 4px 10px rgba(9, 43, 89, 0.05);
  --shadow-xl: 0 20px 45px rgba(9, 43, 89, 0.16);
  --shadow-card-hover: 0 16px 36px rgba(9, 105, 168, 0.14);

  /* Transitions */
  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 240ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 360ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1200px;
  --container-padding: clamp(1rem, 4vw, 2rem);
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

/* Prevent Android Chrome Font Inflation / Text Autosizing */
body, body * {
  max-height: 999999px;
}

/* Accessibility: Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background-color: var(--navy-blue);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--accent-red);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-blue);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

a:hover {
  color: var(--primary-blue-hover);
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
  box-sizing: border-box;
}

/* Visible Focus Indicator for Accessibility */
:focus-visible {
  outline: 3px solid var(--primary-blue);
  outline-offset: 3px;
}

/* --- 3. Top Notification / Info Strip --- */
.top-strip {
  background-color: var(--navy-dark);
  color: #CBD5E1;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0;
}

.top-strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 2.25rem;
  text-align: center;
}

.top-strip-left, .top-strip-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #E2E8F0;
}

.top-strip-item a {
  color: #E2E8F0;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.top-strip-item a:hover {
  color: var(--white);
  text-decoration: underline;
}

.top-strip-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: #93C5FD;
}

.uk-flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.uk-flag-badge img {
  width: 16px;
  height: 10px;
  border-radius: 1px;
}

@media (max-width: 991px) {
  .top-strip {
    display: block;
    background-color: var(--navy-dark);
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .top-strip-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.65rem 1rem;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .top-strip .uk-flag-badge {
    display: none; /* Hide UK flag badge on mobile top bar so phone & email fit on 1 clean line */
  }

  .top-strip-item {
    font-size: 0.75rem;
    gap: 0.3rem;
    white-space: nowrap;
    color: #E2E8F0;
    min-width: 0;
    flex-shrink: 1;
    display: inline-flex;
    align-items: center;
  }

  .top-strip-item a {
    color: #E2E8F0;
    max-width: 155px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
  }

  .top-strip-icon {
    width: 13px;
    height: 13px;
    stroke: #93C5FD;
    flex-shrink: 0;
  }
}

/* --- 4. Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 2px 10px rgba(9, 43, 89, 0.03);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(9, 43, 89, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

/* Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 52px;
  width: auto;
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-blue);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary-blue);
  background-color: var(--primary-blue-subtle);
}

.nav-link.active {
  color: var(--primary-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  line-height: 1.25;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(9, 105, 168, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(9, 105, 168, 0.35);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--white);
  box-shadow: 0 4px 14px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(32, 183, 103, 0.38);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--navy-blue);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background-color: var(--light-bg);
  transform: translateY(-1px);
}

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

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Responsive Button Text Helpers */
.btn-text-mobile {
  display: none;
}

.btn-text-full {
  display: inline;
}

/* Mobile Nav Toggle Button */
.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--light-bg);
  border: 1px solid var(--border-light);
  cursor: pointer;
  padding: 0;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.nav-toggle:hover {
  background-color: #E2E8F0;
  border-color: rgba(9, 43, 89, 0.2);
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 20px;
  height: 2px;
  background-color: var(--navy-blue);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), top 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) {
  top: 12px;
}
.nav-toggle span:nth-child(2) {
  top: 19px;
}
.nav-toggle span:nth-child(3) {
  top: 26px;
}

/* Mathematically centered, crisp X transformation */
.nav-toggle[aria-expanded="true"] {
  background-color: #EEF4FA;
  border-color: rgba(9, 43, 89, 0.25);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

/* Mobile Navigation Dropdown */
@media (max-width: 991px) {
  :root {
    --header-height: 68px;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .brand-link {
    min-width: 0;
    flex-shrink: 1;
    display: flex;
    align-items: center;
  }

  .brand-logo-img {
    height: 36px;
    max-width: 215px;
    width: auto;
    object-fit: contain;
  }

  .nav-toggle {
    display: block;
    flex-shrink: 0;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    padding: 0.85rem var(--container-padding) 1.15rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 2px solid rgba(9, 43, 89, 0.08);
    box-shadow: 0 16px 32px -8px rgba(9, 43, 89, 0.16);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    max-height: calc(100vh - var(--header-height) - 16px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    width: 100%;
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--navy-blue);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    background-color: var(--light-bg);
    border: 1px solid var(--border-light);
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  }

  .nav-link:hover, .nav-link:active {
    background-color: #EBF2F9;
    color: var(--primary-blue);
    border-color: rgba(9, 105, 168, 0.25);
    transform: translateX(3px);
  }

  .nav-link::after {
    content: '→';
    font-size: 1rem;
    color: var(--primary-blue);
    opacity: 0.7;
    transition: transform var(--transition-fast);
  }

  .nav-link:hover::after {
    transform: translateX(3px);
    opacity: 1;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    min-width: 0;
  }

  .header-actions .btn-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.75rem;
    font-size: 0.785rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    background-color: var(--whatsapp-green);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(32, 183, 103, 0.28);
    border: none;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.25;
    flex-shrink: 0;
    transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  }

  .header-actions .btn-header-cta:hover,
  .header-actions .btn-header-cta:active {
    background-color: var(--whatsapp-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(32, 183, 103, 0.38);
    color: var(--white);
  }
}

/* --- 5. Section Utilities & Badges --- */
.section {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.section-light {
  background-color: var(--light-bg);
}

.section-navy {
  background-color: var(--navy-blue);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 4vw, 3.75rem);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-blue);
  background-color: var(--primary-blue-subtle);
  border: 1px solid rgba(9, 105, 168, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-badge-red {
  color: var(--accent-red);
  background-color: var(--accent-red-subtle);
  border-color: rgba(198, 40, 53, 0.2);
}

.section-badge-white {
  color: #93C5FD;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.65;
}

.section-navy .section-title {
  color: var(--white);
}

.section-navy .section-subtitle {
  color: #CBD5E1;
}

/* --- 6. Hero Section --- */
.hero-section {
  position: relative;
  background: linear-gradient(175deg, #FFFFFF 0%, #F4F8FC 65%, #E9F1FA 100%);
  padding-block: clamp(3rem, 5vw, 5rem) clamp(3.5rem, 6vw, 5.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(9, 105, 168, 0.08);
  border: 1px solid rgba(9, 105, 168, 0.2);
  color: var(--navy-blue);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero-eyebrow .accent-pill {
  color: var(--accent-red);
}

.hero-title {
  font-size: clamp(1.75rem, 5.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--navy-blue);
  margin-bottom: 1rem;
}

.hero-title .title-accent {
  color: var(--primary-blue);
  display: inline-block;
  position: relative;
}

.hero-lead {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.hero-description {
  font-size: clamp(1.025rem, 1.25vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.85rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  width: 100%;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-blue);
}

.hero-trust-icon {
  width: 16px;
  height: 16px;
  color: var(--whatsapp-green);
  flex-shrink: 0;
}

/* Hero Visual Banner */
.hero-visual-wrapper {
  position: relative;
}

.hero-card-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background-color: var(--white);
  transition: transform var(--transition-normal);
}

.hero-card-frame:hover {
  transform: translateY(-4px);
}

.hero-main-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Floating Badges on Hero Visual */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  transition: transform var(--transition-fast);
}

.floating-badge:hover {
  transform: scale(1.02);
}

.floating-badge-top {
  top: -16px;
  right: -12px;
}

.floating-badge-bottom {
  bottom: -18px;
  left: -12px;
}

.badge-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-icon-box.green {
  background-color: rgba(32, 183, 103, 0.12);
  color: var(--whatsapp-green);
}

.badge-icon-box.blue {
  background-color: rgba(9, 105, 168, 0.12);
  color: var(--primary-blue);
}

.badge-icon-box svg {
  width: 20px;
  height: 20px;
}

.badge-text-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy-blue);
  line-height: 1.2;
}

.badge-text-sub {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.2;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .floating-badge {
    display: none !important;
  }
}

/* --- 7. Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  align-items: start;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(9, 105, 168, 0.35);
}

.service-card:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.service-card.is-expanded {
  border-color: var(--primary-blue);
  box-shadow: 0 6px 20px rgba(9, 105, 168, 0.12);
  background-color: #F8FAFC;
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.85rem;
}

.service-card-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(9, 105, 168, 0.08) 0%, rgba(9, 43, 89, 0.04) 100%);
  border: 1px solid rgba(9, 105, 168, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  flex-shrink: 0;
  transition: background var(--transition-normal), color var(--transition-normal), transform var(--transition-fast);
}

.service-card:hover .service-icon-box,
.service-card.is-expanded .service-icon-box {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--navy-blue) 100%);
  color: var(--white);
}

.service-icon-box img,
.service-icon-box svg {
  width: 22px;
  height: 22px;
  display: block;
}

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin: 0;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}

.service-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  background-color: var(--light-bg);
  border: 1px solid var(--border-light);
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.service-card:hover .service-toggle-icon {
  color: var(--primary-blue);
  border-color: rgba(9, 105, 168, 0.3);
}

.service-card.is-expanded .service-toggle-icon {
  transform: rotate(180deg);
  background-color: rgba(9, 105, 168, 0.12);
  color: var(--primary-blue);
  border-color: rgba(9, 105, 168, 0.35);
}

.service-desc-wrapper {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, margin-top 0.25s ease, padding-top 0.25s ease;
}

.service-card.is-expanded .service-desc-wrapper {
  max-height: 160px;
  opacity: 1;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.service-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Service CTA Banner */
.services-bottom-cta {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.services-bottom-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle, rgba(9, 105, 168, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content h3 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  margin-bottom: 0.5rem;
}

.cta-content p {
  color: #CBD5E1;
  font-size: 1rem;
  max-width: 580px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- 8. About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.about-text-content {
  display: flex;
  flex-direction: column;
}

.about-heading {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: var(--navy-blue);
}

.about-lead-paragraph {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  border-left: 3px solid var(--primary-blue);
  padding-left: 1rem;
}

.about-paragraph {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-block: 1.5rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--light-bg);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.about-feature-icon {
  width: 20px;
  height: 20px;
  color: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.about-feature-item strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--navy-blue);
  margin-bottom: 0.2rem;
}

.about-feature-item span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* About Side Visual Card */
.about-visual-card {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 3.5vw, 3rem);
  color: var(--white);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.about-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  color: #93C5FD;
}

.about-card-title {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.about-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.about-card-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.about-card-item svg {
  width: 20px;
  height: 20px;
  color: var(--whatsapp-green);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.about-card-item div h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.about-card-item div p {
  color: #CBD5E1;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.about-card-footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.about-card-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #E2E8F0;
}

.about-card-location svg {
  width: 18px;
  height: 18px;
  color: var(--accent-red);
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* --- 9. Why Choose Us Section --- */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(9, 105, 168, 0.3);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-blue-subtle);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.why-card:hover .why-card-icon {
  background-color: var(--primary-blue);
  color: var(--white);
}

.why-card-icon svg {
  width: 24px;
  height: 24px;
}

.why-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.why-card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- 10. Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: flex-start;
}

.contact-cards-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.85rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(9, 105, 168, 0.3);
}

.contact-card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon-box.whatsapp {
  background-color: rgba(32, 183, 103, 0.12);
  color: var(--whatsapp-green);
}

.contact-card-icon-box.email {
  background-color: rgba(9, 105, 168, 0.12);
  color: var(--primary-blue);
}

.contact-card-icon-box.location {
  background-color: rgba(198, 40, 53, 0.12);
  color: var(--accent-red);
}

.contact-card-icon-box svg {
  width: 24px;
  height: 24px;
}

.contact-card-body {
  flex-grow: 1;
}

.contact-card-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.contact-card-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 0.35rem;
}

.contact-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

/* Quick Inquiry Builder Card */
.inquiry-generator-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.inquiry-card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.inquiry-card-title {
  font-size: 1.35rem;
  color: var(--navy-blue);
  margin-bottom: 0.35rem;
}

.inquiry-card-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-blue);
  margin-bottom: 0.45rem;
}

.form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text-main);
  background-color: var(--light-bg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(9, 105, 168, 0.15);
}

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

.inquiry-actions-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.inquiry-privacy-note {
  font-size: 0.785rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-top: 1rem;
  text-align: center;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .inquiry-generator-card {
    position: static;
  }
}

/* --- 11. Footer (Clean & Balanced Brand Lockup) --- */
.site-footer {
  background-color: var(--navy-dark);
  color: #94A3B8;
  padding: 2.75rem 0 2rem;
  border-top: 3px solid var(--primary-blue);
  font-size: 0.875rem;
}

.footer-simple-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.35rem;
}

/* Footer Brand Lockup: Logo right next to the Business Name */
.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-lg);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.footer-brand-lockup:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.footer-brand-emblem {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-uk-pill {
  font-size: 0.7rem;
  font-weight: 800;
  color: #93C5FD;
  background: rgba(9, 105, 168, 0.35);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(147, 197, 253, 0.3);
}

.footer-brand-tagline {
  font-size: 0.775rem;
  font-weight: 500;
  color: #94A3B8;
  letter-spacing: 0.02em;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  color: #94A3B8;
  font-size: 0.875rem;
}

.footer-contact-row a {
  color: #E2E8F0;
  text-decoration: none;
}

.footer-contact-row a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-contact-row .sep {
  color: #475569;
}

.footer-copy {
  color: #64748B;
  font-size: 0.8125rem;
  padding-top: 0.35rem;
}

.footer-copy a {
  color: #94A3B8;
  text-decoration: underline;
}

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

/* --- 12. Floating WhatsApp Button & Back to Top --- */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--whatsapp-green);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(32, 183, 103, 0.45);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.floating-whatsapp-btn:hover {
  background-color: var(--whatsapp-hover);
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 26px rgba(32, 183, 103, 0.55);
}

.floating-whatsapp-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 990;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--navy-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

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

@media (max-width: 480px) {
  .floating-whatsapp-btn span {
    display: none;
  }
  .floating-whatsapp-btn {
    padding: 0.85rem;
    border-radius: var(--radius-full);
  }
}

/* --- 13. Privacy Modal / Dialog --- */
.dialog-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 25, 54, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.dialog-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.dialog-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  transform: scale(0.95);
  transition: transform var(--transition-fast);
}

.dialog-overlay.is-active .dialog-modal {
  transform: scale(1);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.dialog-title {
  font-size: 1.35rem;
  color: var(--navy-blue);
}

.dialog-close-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  background-color: var(--light-bg);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dialog-close-btn:hover {
  background-color: var(--border-light);
  color: var(--navy-dark);
}

.dialog-content {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.dialog-content h4 {
  font-size: 1.05rem;
  color: var(--navy-blue);
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}

/* ==========================================================================
   14. Comprehensive Mobile & Tablet Responsive Optimization
   ========================================================================== */

/* Tablets & Small Desktops (<= 991px) */
@media (max-width: 991px) {
  .section {
    padding-block: clamp(2.5rem, 5vw, 4rem);
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .inquiry-generator-card {
    position: static;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --container-padding: 1rem;
  }

  .site-header {
    box-shadow: 0 2px 10px rgba(9, 43, 89, 0.05);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    width: 100%;
    min-width: 0;
  }

  .brand-link {
    min-width: 0;
    flex-shrink: 1;
    display: flex;
    align-items: center;
  }

  .brand-logo-img {
    height: 36px;
    max-width: 165px;
    width: auto;
    object-fit: contain;
  }

  .header-actions {
    gap: 0.45rem;
    flex-shrink: 0;
  }

  .header-actions .btn-header-cta {
    padding: 0.38rem 0.7rem;
    font-size: 0.775rem;
    flex-shrink: 0;
  }

  /* Hero Section */
  .hero-section {
    padding-block: 2rem 2.75rem;
    width: 100%;
    overflow: hidden;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    width: 100%;
    min-width: 0;
  }

  .hero-content {
    width: 100%;
    min-width: 0;
  }

  .hero-eyebrow {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.85rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.8vw, 2.35rem);
    line-height: 1.2;
    margin-bottom: 0.65rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-lead {
    font-size: clamp(1.05rem, 4vw, 1.2rem);
    margin-bottom: 0.65rem;
    line-height: 1.35;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    justify-content: center;
  }

  .hero-trust-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding-top: 1rem;
    width: 100%;
    min-width: 0;
  }

  .hero-trust-item {
    font-size: 0.85rem;
  }

  .hero-visual-wrapper {
    margin-top: 0.5rem;
    width: 100%;
    overflow: hidden;
  }

  .hero-card-frame {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }

  .floating-badge {
    display: none !important;
  }

  /* Services List — Sleek 1-Line Compact Rows for Mobile (No Extra Details) */
  .services-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    min-width: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .service-card {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-md);
    background-color: var(--white);
    border: 1px solid var(--border-card);
    box-shadow: 0 1px 3px rgba(9, 43, 89, 0.04);
    min-height: auto;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    cursor: pointer;
  }

  .service-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }

  .service-card.is-expanded {
    border-color: var(--primary-blue);
    background-color: #F8FAFC;
    box-shadow: 0 2px 8px rgba(9, 105, 168, 0.08);
  }

  .service-card-header {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.65rem;
  }

  .service-card-title-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 1;
    min-width: 0;
  }

  .service-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(9, 105, 168, 0.08);
    border: 1px solid rgba(9, 105, 168, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    flex-shrink: 0;
  }

  .service-icon-box img,
  .service-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .service-title {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin: 0;
    flex: 1;
    min-width: 0;
    line-height: 1.3;
    text-align: left;
    word-break: break-word;
  }

  .service-toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    background-color: var(--light-bg);
    border: 1px solid var(--border-light);
    flex-shrink: 0;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
  }

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

  .service-card.is-expanded .service-toggle-icon {
    transform: rotate(180deg);
    background-color: rgba(9, 105, 168, 0.12);
    color: var(--primary-blue);
  }

  .service-desc-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, margin-top 0.22s ease, padding-top 0.22s ease;
  }

  .service-card.is-expanded .service-desc-wrapper {
    max-height: 160px;
    opacity: 1;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
  }

  .service-desc {
    display: block !important;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
  }

  .services-bottom-cta {
    margin-top: 2.25rem;
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-lg);
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  .cta-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
  }

  .cta-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .cta-buttons {
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
  }

  /* Contact Section - Clean 1-Line Compact Rows on Mobile */
  .section-title {
    font-size: clamp(1.65rem, 5.5vw, 2.2rem);
  }

  .section-subtitle {
    font-size: 0.925rem;
    margin-bottom: 1.5rem;
  }

  .contact-grid {
    gap: 1.5rem;
    width: 100%;
    min-width: 0;
  }

  .contact-cards-column {
    gap: 0.65rem;
    width: 100%;
    min-width: 0;
  }

  /* 1-Line Compact Contact Card */
  .contact-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    gap: 0.65rem;
    border-radius: var(--radius-md);
    background-color: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .contact-card-icon-box {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    margin: 0;
  }

  .contact-card-icon-box svg,
  .contact-card-icon-box img {
    width: 18px;
    height: 18px;
  }

  .contact-card-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
    gap: 0.55rem;
    margin: 0;
  }

  /* Hide extra lengthy details on mobile */
  .contact-card-label {
    display: none !important;
  }

  .contact-card-desc {
    display: none !important;
  }

  .contact-card-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
    word-break: break-all;
  }

  /* Compact 1-line action pill button */
  .contact-card .btn {
    flex-shrink: 0;
    padding: 0.38rem 0.7rem;
    font-size: 0.775rem;
    font-weight: 600;
    border-radius: 9999px;
    margin: 0;
    white-space: nowrap;
    width: auto;
    height: auto;
    gap: 0.35rem;
  }

  .contact-card .btn .btn-icon {
    width: 13px;
    height: 13px;
  }

  .btn-text-full {
    display: none !important;
  }

  .btn-text-mobile {
    display: inline !important;
  }

  /* Form & Quick Inquiry Card - Compact on Mobile */
  .inquiry-generator-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .inquiry-card-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }

  .inquiry-card-title {
    font-size: 1.15rem;
  }

  .inquiry-card-sub {
    font-size: 0.825rem;
    margin-top: 0.2rem;
  }

  .inquiry-privacy-note {
    display: none;
  }

  /* 16px font-size prevents unwanted iOS Safari zoom */
  .form-select, .form-textarea {
    font-size: 16px;
    padding: 0.7rem 0.85rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .inquiry-actions-group {
    margin-top: 1rem;
    gap: 0.65rem;
  }

  .inquiry-actions-group .btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.925rem;
    justify-content: center;
  }

  /* Footer on Mobile */
  .site-footer {
    padding: 2.25rem 0 1.75rem;
    width: 100%;
    overflow: hidden;
  }

  .footer-simple-inner {
    gap: 1.15rem;
    width: 100%;
    min-width: 0;
  }

  .footer-brand-lockup {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 0.6rem 0.75rem;
    box-sizing: border-box;
  }

  .footer-brand-info {
    min-width: 0;
    flex-shrink: 1;
  }

  .footer-brand-name {
    font-size: 0.95rem;
    flex-wrap: wrap;
    line-height: 1.25;
  }

  .footer-brand-tagline {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .footer-contact-row {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
    width: 100%;
    min-width: 0;
  }

  .footer-contact-row a {
    word-break: break-all;
  }

  .footer-contact-row .sep {
    display: none;
  }

  .footer-copy {
    font-size: 0.775rem;
    line-height: 1.5;
  }
}

/* Small Smart Phones (<= 480px, including standard Android 360px) */
@media (max-width: 480px) {
  :root {
    --container-padding: 0.75rem;
  }

  .header-inner {
    gap: 0.35rem;
    width: 100%;
    min-width: 0;
  }

  .brand-logo-img {
    height: 32px;
    max-width: 135px;
    width: auto;
    object-fit: contain;
  }

  .header-actions {
    gap: 0.35rem;
    flex-shrink: 0;
    min-width: 0;
  }

  .header-actions .btn-header-cta {
    padding: 0.34rem 0.58rem;
    font-size: 0.735rem;
    flex-shrink: 0;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .nav-toggle span {
    left: 8px;
  }

  .top-strip {
    padding: 0.3rem 0;
    width: 100%;
    overflow: hidden;
  }

  .top-strip-right {
    gap: 0.45rem;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .top-strip-item {
    font-size: 0.71rem;
    gap: 0.22rem;
    min-width: 0;
    flex-shrink: 1;
  }

  .top-strip-item a {
    max-width: 120px;
  }

  .top-strip-icon {
    width: 12px;
    height: 12px;
  }

  /* Keep 1-line contact item compact on small screens */
  .contact-card {
    padding: 0.55rem 0.65rem;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .contact-card-icon-box {
    width: 30px;
    height: 30px;
  }

  .contact-card-icon-box svg,
  .contact-card-icon-box img {
    width: 15px;
    height: 15px;
  }

  .contact-card-value {
    font-size: 0.8rem;
  }

  .contact-card .btn {
    padding: 0.32rem 0.55rem;
    font-size: 0.735rem;
  }

  /* Floating WhatsApp FAB */
  .floating-whatsapp-btn {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 20px rgba(32, 183, 103, 0.45);
    z-index: 99;
  }

  .floating-whatsapp-btn span {
    display: none;
  }

  .floating-whatsapp-icon {
    width: 22px;
    height: 22px;
  }

  .back-to-top {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    width: 38px;
    height: 38px;
    z-index: 99;
  }
}
