/* Palette derived from brand pdf (navy & gold) - Light Mode */
:root {
  --navy: #2c5f8d;
  --navy-soft: #4a7ba7;
  --gold: #d4a017;
  --gold-soft: #e2b94d;
  --bg: #ffffff;
  --text: #1a1f2e;
  --muted: #4a5568;
  --card: rgba(255, 255, 255, 0.9);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

body {
  margin: 0;
  font-family: 'Almarai', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(212, 160, 23, 0.06), transparent 30%),
              radial-gradient(circle at 80% 0%, rgba(44, 95, 141, 0.15), transparent 35%),
              #f8fafc;
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--text);
}

p {
  margin: 0;
  color: var(--muted);
}

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

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

* {
  -webkit-tap-highlight-color: transparent;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 120px clamp(20px, 4vw, 80px) 120px clamp(20px, 4vw, 80px);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9)), url('') center/cover no-repeat;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(212, 160, 23, 0.08), transparent 35%);
  pointer-events: none;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 3vw, 60px);
  gap: 16px;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.glass {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

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

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 11;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.mobile-menu-toggle:hover {
  background: rgba(212, 160, 23, 0.15);
  border-color: var(--gold);
}

.mobile-menu-toggle:active {
  background: rgba(212, 160, 23, 0.2);
  transform: scale(0.95);
}

.mobile-menu-toggle.active .menu-icon {
  transform: rotate(180deg);
}

.menu-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
  display: block;
  pointer-events: none;
}

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

.nav-link {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
}

.nav-link:hover {
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--gold);
}

.nav-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  align-items: center;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.primary-btn {
  background: linear-gradient(145deg, var(--gold), var(--gold-soft));
  color: #0b1322;
  padding: 14px 22px;
  box-shadow: var(--shadow);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(212, 160, 23, 0.35);
}

.primary-btn.lg { padding: 14px 24px; }
.primary-btn.xl { 
  padding: 18px 32px; 
  font-size: 1.15rem;
  font-weight: 800;
  min-width: 200px;
  opacity: 1 !important;
}
.ghost-btn.lg { padding: 14px 22px; }
.ghost-btn.xl { 
  padding: 18px 32px; 
  font-size: 1.15rem;
  font-weight: 800;
  min-width: 200px;
}

.ghost-btn {
  background: transparent;
  color: var(--text);
  padding: 12px 18px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.ghost-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.ghost-btn.xl {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  opacity: 1 !important;
}

.ghost-btn.xl:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--gold);
  color: var(--gold);
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  top: 130px;
}

.hero-text {
  max-width: 100%;
}

.hero-text .eyebrow {
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: block;
}

.hero-text h1 {
  font-size: clamp(40px, 6vw, 64px);
  margin: 16px 0 24px;
  line-height: 1.2;
  font-weight: 800;
}

.hero-text .lede {
  max-width: 100%;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 32px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-actions button {
  opacity: 1 !important;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.floating-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(212, 160, 23, 0.3);
  border-radius: 24px;
  padding: 32px;
  width: 100%;
  max-width: 320px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  opacity: 1;
}

.floating-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 25px 70px rgba(212, 160, 23, 0.2);
}

.floating-card span {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.3rem;
  display: block;
  margin-bottom: 12px;
}

.floating-card strong {
  color: var(--text);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 8px;
}

.floating-card small {
  color: var(--muted);
  font-size: 0.95rem;
}

.floating-actions {
  position: absolute;
  right: 40px;
  bottom: 50px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.floating-btn {
  background: linear-gradient(145deg, var(--navy-soft), var(--navy));
  color: #fff;
  padding: 18px 28px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  font-size: 1.15rem;
  font-weight: 700;
  min-width: 140px;
  transition: all 0.3s ease;
}

.floating-btn:hover {
  background: linear-gradient(145deg, var(--gold), var(--gold-soft));
  color: #0b1322;
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212, 160, 23, 0.4);
}

.float-anim {
  animation: float 4s ease-in-out infinite;
}

.float-anim:hover {
  animation-play-state: paused;
}

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

.section {
  padding: 90px clamp(20px, 4vw, 80px);
  position: relative;
}

.section.muted {
  background: rgba(248, 250, 252, 0.8);
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.section-lede {
  color: var(--muted);
  margin-top: 12px;
}

.carousel-container {
  perspective: 1200px;
  margin: 40px auto;
  max-width: 900px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 20px;
}

.service-carousel {
  position: relative;
  width: 100%;
  height: 300px;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
}

.service-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(6px);
  text-align: center;
  transform-style: preserve-3d;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.6s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.service-card h3 {
  color: var(--text);
}

.service-card p {
  color: var(--muted);
}

.service-card:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 20px 40px rgba(212, 160, 23, 0.2);
  border-color: var(--gold);
}

.service-card:nth-child(1) { transform: translate(-50%, -50%) rotateY(0deg) translateZ(230px); }
.service-card:nth-child(2) { transform: translate(-50%, -50%) rotateY(120deg) translateZ(230px); }
.service-card:nth-child(3) { transform: translate(-50%, -50%) rotateY(240deg) translateZ(230px); }

.service-detail-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 720px;
  width: min(720px, 100% - 40px);
  max-height: 70vh;
  min-height: fit-content;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 999999;
  pointer-events: auto;
}

.service-detail-panel.active {
  display: block;
}

.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.detail-header h3 {
  color: var(--text);
}

.close-detail {
  background: transparent;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

#detail-list {
  list-style: disc;
  padding-inline-start: 20px;
  color: var(--muted);
}

.carousel-arrow {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 10px;
  z-index: 2;
}

.carousel-arrow:hover {
  background: var(--gold);
  color: #0b1322;
}

.grid {
  display: grid;
  gap: 16px;
}

.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.why-card, .audience-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.why-card:hover, .audience-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.audience-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  margin-top: 24px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.timeline-step {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.timeline-step.right {
  justify-content: flex-end;
}

.timeline-step.left {
  justify-content: flex-start;
}

.timeline-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 12px 56px 12px 24px;
  max-width: 460px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.timeline-step.left .timeline-pill {
  padding-inline: 24px 56px;
}

.pill-content strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.pill-content p {
  font-size: 0.9rem;
}

.pill-number {
  position: absolute;
  top: 50%;
  right: -22px;
  inset-inline-end: -20px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, var(--gold-soft), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b1322;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.timeline-step:hover .timeline-pill {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.timeline-step.active .timeline-pill {
  border-color: var(--gold);
  background: rgba(212, 160, 23, 0.15);
}

.contact-form {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

#form-message {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.primary-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-loader {
  display: inline-block;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  color: var(--text);
  font-weight: 700;
}

input, textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-family: inherit;
}

input:focus, textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

.footer {
  background: #ffffff;
  padding: 18px clamp(20px, 4vw, 80px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.scroll-top {
  background: var(--gold);
  color: #0b1322;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 900;
}

.scroll-top:hover {
  transform: translateY(-2px);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.modal-content h3 {
  color: var(--text);
}

.modal-content p {
  color: var(--muted);
}

.close-modal {
  position: absolute;
  top: 12px;
  left: 12px;
  background: transparent;
  color: var(--text);
  font-size: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

/* Medium Desktop */
@media (min-width: 1025px) and (max-width: 1439px) {
  .hero-content {
    gap: 50px;
    max-width: 1200px;
    top: 130px;
  }

  .hero-text h1 {
    font-size: clamp(48px, 5vw, 60px);
  }

  .floating-actions {
    right: 30px;
    bottom: 40px;
  }
}

/* Tablet and below */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    top: 0;
  }

  .hero-visual {
    justify-content: center;
    margin-top: 32px;
  }

  .floating-actions {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 32px;
    flex-direction: row;
    justify-content: center;
  }

  .carousel-container {
    max-width: 100%;
    padding: 0 20px;
  }

  .service-card {
    width: 240px;
  }

  .service-card:nth-child(1) { transform: translate(-50%, -50%) rotateY(0deg) translateZ(200px); }
  .service-card:nth-child(2) { transform: translate(-50%, -50%) rotateY(120deg) translateZ(200px); }
  .service-card:nth-child(3) { transform: translate(-50%, -50%) rotateY(240deg) translateZ(200px); }

  .service-detail-panel {
    max-width: 90%;
    padding: 18px 20px;
  }

  .why-grid,
  .audience-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Mobile and Tablet */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    padding: 12px clamp(16px, 3vw, 24px);
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    transition: opacity 0.3s ease;
  }

  .navbar.menu-open::after {
    opacity: 1;
  }

  .logo {
    order: 1;
    flex-shrink: 0;
    z-index: 1001;
  }

  .mobile-menu-toggle {
    display: flex;
    order: 2;
    margin-right: auto;
    margin-left: 12px;
    z-index: 1001;
  }

  .nav-actions {
    order: 3;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 clamp(16px, 3vw, 24px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease 0.1s,
                padding 0.3s ease,
                transform 0.3s ease;
    pointer-events: none;
    z-index: 999;
  }

  .navbar.menu-open .nav-actions {
    max-height: 200px;
    opacity: 1;
    padding: 16px clamp(16px, 3vw, 24px);
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-actions .ghost-btn.lg,
  .nav-actions .primary-btn.lg {
    padding: 14px 20px;
    font-size: 0.95rem;
    width: 100%;
    margin: 0;
  }

  .nav-links {
    order: 4;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 0 clamp(16px, 3vw, 24px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease 0.15s,
                padding 0.3s ease,
                transform 0.3s ease;
    pointer-events: none;
    z-index: 998;
  }

  .navbar.menu-open .nav-links {
    max-height: 600px;
    opacity: 1;
    padding: 16px clamp(16px, 3vw, 24px) 20px;
    transform: translateY(0);
    pointer-events: auto;
    top: calc(100% + 80px);
  }

  .nav-link {
    padding: 14px 18px;
    font-size: 1rem;
    width: 100%;
    text-align: right;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid transparent;
  }

  .nav-link:hover,
  .nav-link:active {
    background: rgba(212, 160, 23, 0.2);
    border-color: rgba(212, 160, 23, 0.4);
    transform: translateX(-4px);
  }

  .logo-img {
    height: 42px;
  }

  .hero {
    padding: 100px clamp(16px, 4vw, 40px) 100px clamp(16px, 4vw, 40px);
    min-height: 100vh;
    padding-top: calc(70px + env(safe-area-inset-top));
  }

  .hero-content {
    grid-template-columns: 1fr;
    top: 0;
    gap: 32px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero-text h1 {
    font-size: clamp(28px, 6vw, 42px);
  }

  .hero-actions {
    justify-content: center;
    gap: 12px;
  }

  .hero-actions .primary-btn.xl,
  .hero-actions .ghost-btn.xl {
    padding: 14px 20px;
    font-size: 1rem;
    width: 100%;
    max-width: 280px;
  }

  .floating-card {
    max-width: 100%;
    padding: 20px;
  }

  .floating-actions {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    margin-top: 24px;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }

  .floating-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .section {
    padding: 60px clamp(16px, 4vw, 40px);
  }

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

  .section-heading h2 {
    font-size: clamp(24px, 5vw, 32px);
  }

  .carousel-container {
    margin: 32px auto;
  }

  .service-carousel {
    height: 380px;
  }

  .service-card {
    width: 200px;
    padding: 18px;
  }

  .service-card:nth-child(1) { transform: translate(-50%, -50%) rotateY(0deg) translateZ(160px); }
  .service-card:nth-child(2) { transform: translate(-50%, -50%) rotateY(120deg) translateZ(160px); }
  .service-card:nth-child(3) { transform: translate(-50%, -50%) rotateY(240deg) translateZ(160px); }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 20px;
    margin: 0 6px;
  }

  .service-detail-panel {
    max-width: 95%;
    max-height: 80vh;
    padding: 16px 18px;
  }

  .detail-header h3 {
    font-size: 1.2rem;
  }

  #detail-list {
    font-size: 0.9rem;
    padding-inline-start: 18px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .audience-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }

  .timeline {
    max-width: 100%;
    gap: 16px;
  }

  .timeline-step {
    justify-content: center;
  }

  .timeline-step.right,
  .timeline-step.left {
    justify-content: center;
  }

  .timeline-pill {
    max-width: calc(100% - 30px);
    padding: 10px 48px 10px 20px;
    width: 100%;
    margin: 0 auto;
  }

  .timeline-step.left .timeline-pill {
    padding-inline: 20px 48px;
  }

  .pill-number {
    inset-inline-end: -12px;
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .timeline {
    padding: 0 15px;
  }

  .contact-form {
    max-width: 100%;
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .modal-content {
    max-width: 90%;
    padding: 20px;
    margin: 20px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .navbar {
    padding: 10px 16px;
  }

  .logo {
    order: 1;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    margin-left: 8px;
  }

  .menu-icon {
    font-size: 16px;
  }

  .nav-actions {
    padding: 0 16px;
  }

  .navbar.menu-open .nav-actions {
    padding: 14px 16px;
  }

  .nav-actions .ghost-btn.lg,
  .nav-actions .primary-btn.lg {
    padding: 12px 18px;
    font-size: 0.9rem;
  }

  .nav-links {
    padding: 0 16px;
  }

  .navbar.menu-open .nav-links {
    padding: 14px 16px 18px;
    margin-top: 30px;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .hero {
    padding: 90px 16px 90px 16px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-actions .primary-btn.xl,
  .hero-actions .ghost-btn.xl {
    padding: 12px 18px;
    font-size: 0.95rem;
  }

  .section {
    padding: 50px 16px;
  }

  .service-carousel {
    height: 320px;
  }

  .service-card {
    width: 180px;
    padding: 16px;
  }

  .service-card:nth-child(1) { transform: translate(-50%, -50%) rotateY(0deg) translateZ(140px); }
  .service-card:nth-child(2) { transform: translate(-50%, -50%) rotateY(120deg) translateZ(140px); }
  .service-card:nth-child(3) { transform: translate(-50%, -50%) rotateY(240deg) translateZ(140px); }

  .service-card h3 {
    font-size: 1rem;
  }

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

  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 18px;
    margin: 0 4px;
  }

  .service-detail-panel {
    max-width: 98%;
    padding: 14px 16px;
  }

  .detail-header h3 {
    font-size: 1.1rem;
  }

  #detail-list {
    font-size: 0.85rem;
  }

  .timeline-pill {
    padding: 8px 42px 8px 16px;
    max-width: calc(100% - 25px);
  }

  .timeline-step.left .timeline-pill {
    padding-inline: 16px 42px;
  }

  .pill-number {
    inset-inline-end: -10px;
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .timeline {
    padding: 0 12px;
  }

  .pill-content strong {
    font-size: 0.95rem;
  }

  .pill-content p {
    font-size: 0.85rem;
  }

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

  input, textarea {
    padding: 10px;
    font-size: 0.9rem;
  }

  .modal-content {
    max-width: 95%;
    padding: 16px;
  }
}

/* Large Desktop */
@media (min-width: 1440px) {
  .hero {
    padding: 140px clamp(40px, 6vw, 120px) 140px clamp(40px, 6vw, 120px);
  }

  .hero-content {
    gap: 80px;
    max-width: 1600px;
    top: 130px;
  }

  .hero-text h1 {
    font-size: 72px;
  }

  .hero-text .lede {
    font-size: 1.25rem;
  }

  .floating-actions {
    right: 60px;
    bottom: 60px;
  }

  .floating-btn {
    padding: 20px 32px;
    font-size: 1.2rem;
    min-width: 160px;
  }

  .section {
    padding: 100px clamp(40px, 6vw, 120px);
  }

  .carousel-container {
    max-width: 1000px;
  }

  .service-card {
    width: 300px;
  }

  .service-card:nth-child(1) { transform: translate(-50%, -50%) rotateY(0deg) translateZ(260px); }
  .service-card:nth-child(2) { transform: translate(-50%, -50%) rotateY(120deg) translateZ(260px); }
  .service-card:nth-child(3) { transform: translate(-50%, -50%) rotateY(240deg) translateZ(260px); }

  .timeline {
    max-width: 800px;
  }
}

