/* ── Mobile vs Desktop visibility ─────────────────────────── */
/* Don't touch .desk-only display — let each section's own CSS handle it */
.mob-only { display: none !important; }

@media (max-width: 640px) {
  .mob-only  { display: block !important; }
  .desk-only { display: none  !important; }
}

/* ─────────────────────────────────────────────────────────── */
/* HERO — mobile                                               */
/* ─────────────────────────────────────────────────────────── */
.hero-mob {
  min-height: 100svh;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}

/* Subtle glow behind text */
.hero-mob::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(15,98,254,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-mob::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 60%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(161,194,189,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-mob-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(161,194,189,0.7);
  margin-bottom: 1.5rem;
}

.hero-mob-h1 {
  font-size: clamp(3rem, 13vw, 4.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.04;
  letter-spacing: -2px;
  margin: 0 0 1.25rem 0;
}

.hero-mob-h1 strong {
  font-weight: 800;
  display: block;
}

.hero-mob-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 340px;
  margin: 0;
}

.hero-mob-bottom {
  position: relative;
  z-index: 1;
}

.hero-mob-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-mob-pills span {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  background: rgba(255,255,255,0.04);
}

.hero-mob-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-mob-actions .btn-primary {
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 10px;
}

.hero-mob-actions .btn-ghost-mob {
  display: block;
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

/* ─────────────────────────────────────────────────────────── */
/* ABOUT — mobile                                              */
/* ─────────────────────────────────────────────────────────── */
.about-mob {
  padding: 4rem 1.5rem;
  background: var(--white);
}

.about-mob-header {
  margin-bottom: 2rem;
}

.about-mob-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 0.75rem;
}

.about-mob-h2 {
  font-size: clamp(2rem, 9vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0 0 0.75rem 0;
}

.about-mob-sub {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}

.about-mob-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.about-mob-card {
  background: var(--grey-bg);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-mob-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
}

.about-mob-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.about-mob-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────── */
/* SERVICES — mobile                                           */
/* ─────────────────────────────────────────────────────────── */
.services-mob {
  padding: 4rem 1.5rem;
  background: var(--dark);
}

.services-mob-header {
  margin-bottom: 2rem;
}

.services-mob-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.75rem;
}

.services-mob-h2 {
  font-size: clamp(2rem, 9vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0 0 0.6rem 0;
}

.services-mob-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin: 0;
}

.services-mob-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Last item spans full width if odd count */
.services-mob-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.services-mob-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.25rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.services-mob-card:active {
  background: rgba(15,98,254,0.12);
  border-color: rgba(15,98,254,0.35);
}

.services-mob-card-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
}

.services-mob-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.services-mob-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.services-mob-card-cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

/* ─────────────────────────────────────────────────────────── */
/* PROJECTS — mobile (horizontal scroll snap)                  */
/* ─────────────────────────────────────────────────────────── */
.projects-mob {
  padding: 4rem 0;
  background: var(--white);
  overflow: hidden;
}

.projects-mob-header {
  padding: 0 1.5rem 2rem;
  border-bottom: 1px solid var(--light-grey);
  margin-bottom: 2rem;
}

.projects-mob-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 0.75rem;
}

.projects-mob-h2 {
  font-size: clamp(2rem, 9vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0;
}

.projects-mob-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 1.5rem 1.5rem;
  scrollbar-width: none;
}
.projects-mob-scroll::-webkit-scrollbar { display: none; }

.projects-mob-card {
  flex: 0 0 82vw;
  max-width: 320px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--light-grey);
  background: var(--white);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s;
}

.projects-mob-card:active {
  transform: scale(0.98);
}

.projects-mob-img {
  height: 180px;
  overflow: hidden;
  background: var(--grey-bg);
}

.projects-mob-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-mob-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.projects-mob-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid-grey);
}

.projects-mob-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.projects-mob-cta {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.projects-mob-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 0.5rem 1.5rem 0;
}

.projects-mob-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--light-grey);
  display: block;
}

.projects-mob-dots span.active {
  background: var(--accent);
  width: 18px;
  border-radius: 3px;
}

/* ─────────────────────────────────────────────────────────── */
/* CONTACT — mobile                                            */
/* ─────────────────────────────────────────────────────────── */
.contact-mob {
  padding: 4rem 1.5rem;
  background: var(--grey-bg);
}

.contact-mob-header {
  margin-bottom: 2rem;
}

.contact-mob-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 0.75rem;
}

.contact-mob-h2 {
  font-size: clamp(2rem, 9vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0 0 0.75rem 0;
}

.contact-mob-sub {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}

.contact-mob-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--light-grey);
  margin-bottom: 1.5rem;
}

.contact-mob-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-mob-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-mob-info-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-mob-info-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.15rem 0;
}

.contact-mob-info-text p {
  font-size: 0.83rem;
  color: var(--text);
  margin: 0;
}
