:root {
  --blue-deep:   #020B18;
  --blue-ink:    #06182E;
  --blue-core:   #0A4AFF;
  --blue-bright: #3B82F6;
  --blue-glow:   #60A5FA;
  --white:       #F8FAFF;
  --gray-light:  #CBD5E1;
  --gray-mid:    #64748B;
  --accent:      #00E5FF;
  --font-head:   'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--blue-deep);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
}

body * {
  box-sizing: border-box;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,74,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,74,255,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 1;
}

/* ─── CURSOR ─── */
#cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, opacity .2s;
  mix-blend-mode: screen;
}

#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0,229,255,.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 60px;
  background: linear-gradient(to bottom, rgba(2,11,24,.9), transparent);
  backdrop-filter: blur(2px);
  transition: background .4s, padding .4s, border-bottom .4s;
  width: 100%;
}

nav.scrolled {
  background: rgba(2,11,24,.95);
  backdrop-filter: blur(20px);
  padding: 16px 60px;
  border-bottom: 1px solid rgba(10,74,255,.15);
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  display: block;
  height: 42px;
  width: auto;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-light);
  text-decoration: none;
  transition: color .2s;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

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

.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--blue-core);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  transition: background .2s, box-shadow .2s !important;
  white-space: nowrap;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: #1a5cff !important;
  box-shadow: 0 0 30px rgba(10,74,255,.5) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
  padding: 8px;
  flex-shrink: 0;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all .3s;
  display: block;
}

nav.open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

nav.open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,11,24,.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-top: 100px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
}

nav.open .nav-overlay {
  display: flex;
}

.nav-overlay a {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: color .2s;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.nav-overlay a:hover {
  color: var(--accent);
}

/* Mobile-First Navbar Responsive */
@media (max-width: 768px) {
  nav {
    padding: 16px 20px;
  }

  nav.scrolled {
    padding: 12px 20px;
  }

  .nav-logo {
    font-size: 18px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-overlay {
    gap: 32px;
    padding-top: 80px;
  }

  .nav-overlay a {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 12px 16px;
  }

  nav.scrolled {
    padding: 10px 16px;
  }

  .nav-logo {
    font-size: 16px;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
  }

  .nav-overlay {
    gap: 24px;
    padding-top: 70px;
  }

  .nav-overlay a {
    font-size: 18px;
  }
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--blue-core);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  display: inline-block;
  transition: box-shadow .3s, transform .2s;
  border: none;
  cursor: pointer;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.1), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.btn-primary:hover {
  box-shadow: 0 8px 40px rgba(10,74,255,.6);
  transform: translateY(-2px);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--gray-light);
  padding: 16px 36px;
  border-radius: 8px;
  border: 1px solid rgba(10,74,255,.3);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
  letter-spacing: .02em;
  display: inline-block;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--blue-bright);
  color: var(--white);
  background: rgba(10,74,255,.1);
}

.btn-ghost {
  color: var(--gray-light);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
  background: none;
  border: none;
  cursor: pointer;
}

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

.btn-ghost svg {
  transition: transform .2s;
}

.btn-ghost:hover svg {
  transform: translateX(4px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: box-shadow .3s, transform .2s;
}

.btn-whatsapp:hover {
  box-shadow: 0 8px 40px rgba(37,211,102,.5);
  transform: translateY(-2px);
}

/* ─── SECTIONS COMMON ─── */
section {
  position: relative;
  z-index: 2;
  padding: 120px 0;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
}

.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-tag::before {
  content: '//';
  opacity: .5;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0;
}

h1 {
  font-size: clamp(48px, 6vw, 96px);
  line-height: 1.1;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.1;
  margin-bottom: 20px;
}

h2 em, h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-bright), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

p {
  margin: 0 0 16px 0;
  line-height: 1.7;
}

.section-intro {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-light);
  max-width: 560px;
  margin: 0;
}

/* Mobile-First Body Responsive */
@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  .container {
    padding: 0 24px;
  }

  h1 {
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 16px;
  }

  h2 {
    font-size: clamp(24px, 4vw, 40px);
    margin-bottom: 16px;
  }

  h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  p {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .section-intro {
    font-size: 16px;
  }

  .section-tag {
    font-size: 10px;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  section {
    padding: 60px 0;
  }

  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 12px;
  }

  h2 {
    font-size: clamp(20px, 3.5vw, 32px);
    margin-bottom: 12px;
  }

  h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  p {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .section-intro {
    font-size: 14px;
  }

  .section-tag {
    font-size: 9px;
    margin-bottom: 10px;
  }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(0,0) scale(1);
  }
  33% {
    transform: translate(30px,-40px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(.95);
  }
}

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

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

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .8s ease;
}

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

/* ─── TAGS & PILLS ─── */
.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-glow);
  background: rgba(10,74,255,.1);
  border: 1px solid rgba(10,74,255,.2);
  padding: 5px 12px;
  border-radius: 100px;
  display: inline-block;
}

.tag-pill {
  background: rgba(10,74,255,.1);
  border: 1px solid rgba(10,74,255,.2);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-glow);
  letter-spacing: .06em;
  text-transform: uppercase;
  display: inline-block;
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid rgba(10,74,255,.12);
  padding: 60px 0 40px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 60px;
}

.footer-brand .nav-logo {
  font-size: 24px;
  display: block;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.6;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(10,74,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  transition: all .2s;
  background: none;
  cursor: pointer;
  text-decoration: none;
}

.social-btn:hover {
  border-color: var(--blue-core);
  color: var(--blue-glow);
  background: rgba(10,74,255,.1);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--white);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--gray-mid);
  text-decoration: none;
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--blue-glow);
}

.footer-bottom {
  border-top: 1px solid rgba(10,74,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 60px;
  padding-right: 60px;
}

.footer-copy {
  font-size: 13px;
  color: var(--gray-mid);
}

.footer-copy span {
  color: var(--accent);
}

/* ─── FORMS ─── */
.form-group {
  margin-bottom: 24px;
  width: 100%;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(6,24,46,.6);
  border: 1px solid rgba(10,74,255,.2);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-mid);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(10,74,255,.15);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #ef4444;
  animation: shake .3s;
}

@media (max-width: 768px) {
  .form-group {
    margin-bottom: 16px;
  }

  .form-group label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px 14px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .form-group {
    margin-bottom: 12px;
  }

  .form-group label {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 10px 12px;
    font-size: 16px;
  }
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2393C5FD' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ─── LISTS & TEXT ─── */
ul, ol {
  margin: 0 0 16px 0;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
  line-height: 1.7;
}

a {
  color: var(--blue-glow);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--accent);
}

strong, b {
  font-weight: 600;
}

em, i {
  font-style: italic;
}

/* ─── RESPONSIVE LISTS & TEXT ─── */
@media (max-width: 768px) {
  ul, ol {
    margin-bottom: 12px;
    padding-left: 20px;
  }

  li {
    margin-bottom: 6px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  ul, ol {
    margin-bottom: 10px;
    padding-left: 16px;
  }

  li {
    margin-bottom: 4px;
    font-size: 14px;
  }
}

.form-message {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.3);
  color: #86efac;
}

.form-message.error {
  display: block;
  background: rgba(239,68,68,.15);
  border: 1px solid rgba(239,68,68,.3);
  color: #fca5a5;
}

/* ─── TABS ─── */
.tabs-header {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(10,74,255,.15);
}

.tab-btn {
  background: none;
  border: none;
  color: var(--gray-light);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 0;
  cursor: pointer;
  transition: color .2s;
  position: relative;
  letter-spacing: -.02em;
}

.tab-btn:hover {
  color: var(--white);
}

.tab-btn.active {
  color: var(--white);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.tab-panel {
  display: none;
  opacity: 0;
  transition: opacity .3s;
}

.tab-panel.active {
  display: block;
  opacity: 1;
}

/* ─── ACCORDION ─── */
.faq-item {
  border-bottom: 1px solid rgba(10,74,255,.15);
  padding: 24px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  transition: color .2s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  color: var(--gray-light);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 16px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ─── RESPONSIVE ─── */
/* Mobile First: Base styles for mobile (< 480px) */
@media (max-width: 480px) {
  nav {
    padding: 16px 16px;
  }

  nav.scrolled {
    padding: 12px 16px;
  }

  .nav-logo img {
    height: 32px !important;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
  }

  .nav-cta {
    display: none;
  }

  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: clamp(28px, 7vw, 42px);
    line-height: 1.2;
  }

  h2 {
    font-size: clamp(22px, 5vw, 32px);
    line-height: 1.3;
  }

  h3 {
    font-size: clamp(18px, 4vw, 24px);
  }

  p {
    font-size: 14px;
    line-height: 1.6;
  }

  .btn-primary,
  .btn-outline {
    padding: 12px 20px;
    font-size: 13px;
    width: 100%;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 12px;
  }

  .section-tag {
    font-size: 12px;
  }

  .nav-overlay a {
    font-size: 20px;
  }

  .nav-overlay {
    gap: 24px;
    padding-top: 80px;
  }
}

/* Tablet: 480px - 768px */
@media (min-width: 481px) and (max-width: 768px) {
  nav {
    padding: 18px 20px;
  }

  nav.scrolled {
    padding: 14px 20px;
  }

  .nav-logo img {
    height: 36px !important;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .container {
    padding: 0 20px;
  }

  h1 {
    font-size: clamp(32px, 7vw, 52px);
  }

  h2 {
    font-size: clamp(24px, 5vw, 36px);
  }

  .btn-primary,
  .btn-outline {
    padding: 14px 28px;
    font-size: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 0 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Desktop: 769px and above */
@media (min-width: 769px) {
  nav {
    padding: 24px 60px;
  }

  nav.scrolled {
    padding: 16px 60px;
  }

  .nav-logo img {
    height: 42px !important;
  }

  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-cta {
    display: inline-block;
  }

  .container {
    padding: 0 60px;
  }

  h1 {
    font-size: clamp(48px, 8vw, 80px);
  }

  h2 {
    font-size: clamp(32px, 5vw, 56px);
  }

  .btn-primary,
  .btn-outline {
    padding: 16px 36px;
    font-size: 15px;
    width: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    padding: 0 60px;
  }

  .footer-bottom {
    flex-direction: row;
    gap: 24px;
    align-items: center;
    padding-left: 60px;
    padding-right: 60px;
  }
}

/* Legacy: 900px breakpoint for backward compatibility */
@media (max-width: 900px) {
  nav {
    padding: 20px 24px;
  }

  nav.scrolled {
    padding: 14px 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .container {
    padding: 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding-left: 24px;
    padding-right: 24px;
  }

  h1 {
    font-size: clamp(36px, 8vw, 60px);
  }

  h2 {
    font-size: clamp(28px, 5vw, 42px);
  }
}

/* Mobile-First Grid Optimizations */
@media (max-width: 768px) {
  /* Service cards, portfolio grid, pricing grid */
  .service-grid,
  .portfolio-grid,
  .pricing-grid,
  .team-grid,
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Hero sections */
  .page-hero,
  #hero {
    padding: 100px 16px 60px !important;
    min-height: auto !important;
  }

  /* Section spacing */
  section {
    padding: 60px 0 !important;
  }

  /* Contact grid */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Marquee text */
  .marquee-text {
    font-size: clamp(24px, 6vw, 48px) !important;
  }

  /* Process steps */
  .process-steps {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Form elements */
  .form-group {
    margin-bottom: 16px !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Tabs */
  .tabs-header {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  .tab-btn {
    padding: 12px 16px !important;
    font-size: 14px !important;
  }

  /* Buttons in mobile */
  .btn-primary,
  .btn-outline,
  .btn-whatsapp {
    width: 100% !important;
    text-align: center !important;
  }

  /* CTA section */
  .cta-inner {
    padding: 40px 16px !important;
  }

  .cta-glow {
    font-size: clamp(24px, 6vw, 42px) !important;
  }

  /* Flex layouts */
  .flex-row {
    flex-direction: column !important;
  }

  /* Stats */
  .stat-item {
    padding: 20px 16px !important;
  }

  /* Service detail layout */
  .service-layout {
    flex-direction: column !important;
    gap: 32px !important;
  }

  .service-content,
  .service-visual {
    width: 100% !important;
  }

  /* Testimonial carousel */
  .testimonial-card {
    padding: 24px 16px !important;
  }

  /* FAQ items */
  .faq-item {
    padding: 16px 0 !important;
  }

  .faq-question {
    font-size: 16px !important;
  }

  /* Contact info */
  .contact-info-quick {
    flex-direction: column !important;
    gap: 24px !important;
  }

  /* Social buttons */
  .footer-socials {
    gap: 12px !important;
  }

  .social-btn {
    width: 36px !important;
    height: 36px !important;
  }
}

@media (max-width: 480px) {
  /* Extra small screen optimizations */
  section {
    padding: 40px 0 !important;
  }

  .page-hero,
  #hero {
    padding: 80px 16px 40px !important;
  }

  h1 {
    margin-bottom: 16px !important;
  }

  h2 {
    margin-bottom: 12px !important;
  }

  p {
    margin-bottom: 12px !important;
  }

  /* Reduce gaps on small screens */
  .service-grid,
  .portfolio-grid,
  .team-grid {
    gap: 16px !important;
  }

  /* Smaller padding for containers */
  .container {
    padding: 0 12px !important;
  }

  /* Reduce button padding */
  .btn-primary,
  .btn-outline,
  .btn-whatsapp {
    padding: 10px 16px !important;
    font-size: 12px !important;
  }

  /* Smaller section tags */
  .section-tag {
    font-size: 10px !important;
    margin-bottom: 12px !important;
  }

  /* Compact form */
  .form-group {
    margin-bottom: 12px !important;
  }

  input,
  textarea,
  select {
    font-size: 16px !important;
    padding: 10px 12px !important;
  }

  /* Smaller footer */
  .footer-grid {
    gap: 24px !important;
  }

  .footer-bottom {
    font-size: 11px !important;
  }

  /* Compact navbar on scroll */
  nav.scrolled {
    padding: 10px 12px !important;
  }

  /* Reduce spacing in lists */
  ul, ol {
    margin-left: 16px !important;
  }

  li {
    margin-bottom: 8px !important;
  }
}
