/* ═══════════════════════════════════════════════════════════
   STARANA DIGITAL SOLUTIONS — Stylesheet
   Palette: #F1F7F9 · #749DC8 · #0A61C9 · #064089 · #07326A
════════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --c-light:      #F1F7F9;
  --c-blue-soft:  #749DC8;
  --c-blue:       #0A61C9;
  --c-blue-deep:  #064089;
  --c-navy:       #07326A;
  --c-navy-dark:  #051d40;
  --c-white:      #FFFFFF;
  --c-text:       #0D1B2A;
  --c-muted:      #52657A;
  --c-border:     #dce9f5;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --pad: 0 2rem;
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.28s ease;
  --shadow-sm: 0 2px 12px rgba(7,50,106,.07);
  --shadow-md: 0 6px 28px rgba(7,50,106,.12);
  --shadow-lg: 0 16px 56px rgba(7,50,106,.18);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; }
input, select, textarea { font-family: var(--font); }

/* ── Container ──────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--c-blue);
  color: var(--c-white);
  border-color: var(--c-blue);
}
.btn-primary:hover {
  background: var(--c-blue-deep);
  border-color: var(--c-blue-deep);
  box-shadow: 0 8px 24px rgba(10,97,201,.35);
}

.btn-white {
  background: var(--c-white);
  color: var(--c-navy);
  border-color: var(--c-white);
}
.btn-white:hover {
  background: var(--c-light);
  box-shadow: 0 8px 24px rgba(255,255,255,.25);
}

.btn-ghost {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,.45);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
}

.btn-sm { padding: .6rem 1.35rem; font-size: .82rem; }

/* ── Section Labels ─────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: .9rem;
}
.lbl-light { color: var(--c-blue-soft); }

/* ── Section Titles ─────────────────────────────────────── */
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.025em;
  color: var(--c-text);
  margin-bottom: 1.1rem;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--c-muted);
  line-height: 1.78;
  max-width: 560px;
}
.section-header {
  text-align: center;
  margin-bottom: 3.75rem;
}
.section-header .section-desc {
  margin: 0 auto;
}

/* ── Color modifiers ────────────────────────────────────── */
.clr-white { color: var(--c-white) !important; }
.clr-fade  { color: rgba(255,255,255,.68) !important; }

/* ── Section backgrounds ────────────────────────────────── */
.section      { padding: 6.5rem 0; }
.bg-light     { background: var(--c-light); }
.bg-navy      { background: var(--c-navy); }
.bg-gradient  { background: linear-gradient(140deg, var(--c-blue) 0%, var(--c-navy) 100%); }


/* ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.15rem 0;
  transition: background 0.1s ease, box-shadow 0.1s ease;
  transform: translateZ(0);
}

/* Persistent gradient scrim so header is ALWAYS readable on the hero */
#header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 110px;
  background: linear-gradient(to bottom, rgba(4,22,52,.72) 0%, transparent 100%);
  pointer-events: none;
  transition: opacity 0.1s ease;
  z-index: 0;
}
/* Scrim hides once white header takes over */
#header.scrolled::before { opacity: 0; }

#header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(7,50,106,.06), 0 4px 20px rgba(7,50,106,.1);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;           /* space between logo and nav links */
  position: relative;
  z-index: 1; /* above the ::before scrim */
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}
.logo-icon {
  height: 38px;
  width: auto;
}
.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: var(--c-white);
  transition: color 0.1s ease;
}
.logo-sub {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-top: .3rem;
  transition: color 0.1s ease;
}
#header.scrolled .logo-name { color: var(--c-navy); }
#header.scrolled .logo-sub  { color: var(--c-muted); }

/* Nav — centred between logo and CTA */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-left: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: .1rem;
}
.nav-link {
  display: block;
  padding: .45rem .85rem;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: 6px;
  transition: color 0.1s ease, background 0.1s ease;
}
.nav-link:hover { color: var(--c-white); }
#header.scrolled .nav-link { color: var(--c-muted); }
#header.scrolled .nav-link:hover {
  color: var(--c-blue);
  background: var(--c-light);
}

/* Header CTA */
.header-cta { flex-shrink: 0; }

/* Hamburger — lives outside <header> in the root stacking context so it is
   always above the mobile nav overlay (which is inside #header's context) */
.hamburger {
  display: none;
  position: fixed;
  top: 1.15rem;
  right: 1.5rem;
  z-index: 2000;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform 0.1s ease, opacity 0.1s ease, background 0.1s ease;
  transform-origin: center;
}
/* Dark spans when header is in scrolled (white) state — class added via JS */
.hamburger.header-scrolled span { background: var(--c-text); }
/* X spans always white when overlay is open */
.hamburger.open span { background: var(--c-white) !important; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1);
}
#hero.loaded .hero-bg { transform: scale(1); }

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5,29,64,.94) 0%,
    rgba(7,50,106,.88) 40%,
    rgba(6,64,137,.78) 100%
  );
}

/* subtle noise texture */
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 1;
}

/* Two-column hero */
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ── Left column ── */
.hero-left { /* text side — no extra styles needed */ }

/* ── Right column ── */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.hero-img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.1);
}

/* Floating glassmorphism stat badges */
.hv-card {
  position: absolute;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.hv-card--tl { top: 1.75rem; left: -2.25rem; }
.hv-card--br { bottom: -1.5rem; right: -2rem; }

.hvc-num {
  display: block;
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--c-white);
  letter-spacing: -.04em;
  line-height: 1;
}
.hvc-lbl {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.72);
  margin-top: .3rem;
  white-space: nowrap;
}

/* Decorative glow blob behind the image */
.hv-glow {
  position: absolute;
  inset: -15%;
  background: radial-gradient(ellipse at 55% 45%, rgba(10,97,201,.35) 0%, transparent 68%);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .38rem 1rem;
  background: rgba(116,157,200,.18);
  border: 1px solid rgba(116,157,200,.35);
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-blue-soft);
  margin-bottom: 2rem;
}
.hero-label::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-blue-soft);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.75); }
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--c-white);
  margin-bottom: 1.5rem;
}
.hero-title span { color: var(--c-blue-soft); }

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.75);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 2.75rem;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,.55), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 1; transform: scaleY(1); }
  50%      { opacity: .3; transform: scaleY(.6); }
}


/* ══════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
  padding-bottom: 2rem;
  padding-right: 2rem;
}

.about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--c-blue);
  color: var(--c-white);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 36px rgba(10,97,201,.42);
  text-align: center;
}
.badge-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}
.badge-lbl {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  opacity: .85;
  margin-top: .4rem;
  line-height: 1.4;
}

.about-dot-grid {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, var(--c-border) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  z-index: -1;
  border-radius: 8px;
}

.about-content { padding-left: .5rem; }

.about-text {
  font-size: 1.025rem;
  color: var(--c-muted);
  line-height: 1.82;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}
.stat-num {
  display: block;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--c-blue);
  letter-spacing: -.04em;
  line-height: 1;
}
.stat-lbl {
  display: block;
  font-size: .78rem;
  color: var(--c-muted);
  margin-top: .35rem;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--c-border);
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--c-white);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10,97,201,.2);
}

.service-icon {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  position: relative;
}
.service-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,.15));
}
.service-icon svg { position: relative; z-index: 1; }

/* Individual icon gradients */
.si-1 { background: linear-gradient(140deg, #1a73e8 0%, var(--c-blue-deep) 100%); }
.si-2 { background: linear-gradient(140deg, var(--c-blue-deep) 0%, var(--c-navy) 100%); }
.si-3 { background: linear-gradient(140deg, var(--c-blue-soft) 0%, var(--c-blue) 100%); }
.si-4 { background: linear-gradient(140deg, var(--c-blue) 0%, #3a8be0 100%); }
.si-5 { background: linear-gradient(140deg, var(--c-navy) 0%, var(--c-blue) 100%); }
.si-6 { background: linear-gradient(140deg, var(--c-blue-deep) 0%, var(--c-blue-soft) 100%); }

.service-body { padding: 1.75rem; }

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .65rem;
  letter-spacing: -.01em;
}

.service-desc {
  font-size: .88rem;
  color: var(--c-muted);
  line-height: 1.75;
}


/* ══════════════════════════════════════════════════════════
   DIGITAL PROJECTS
══════════════════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}

/* Featured project card */
.project-card {
  display: block;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(116,157,200,.25);
  border-radius: var(--radius);
  padding: 2.5rem 2.5rem 2rem;
  transition: background var(--transition), border-color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-blue-soft), var(--c-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.project-card:hover::before { transform: scaleX(1); }
.project-card:hover {
  background: rgba(255,255,255,.11);
  border-color: rgba(116,157,200,.5);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.project-tag-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.project-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-blue-soft);
}
.project-live {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(74,222,128,.12);
  border: 1px solid rgba(74,222,128,.3);
  padding: .15rem .55rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.project-live::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease infinite;
}

.project-name {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -.03em;
  margin-bottom: .85rem;
  line-height: 1.1;
}

.project-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.62);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.project-link-row {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--c-blue-soft);
  transition: color var(--transition), gap var(--transition);
}
.project-card:hover .project-link-row {
  color: var(--c-white);
  gap: .65rem;
}

/* Coming soon placeholder */
.project-soon {
  background: rgba(255,255,255,.03);
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  min-height: 260px;
}
.project-soon-inner { text-align: center; }
.soon-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.3);
  margin: 0 auto 1.25rem;
}
.project-soon-inner h3 {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  margin-bottom: .5rem;
}
.project-soon-inner p {
  font-size: .85rem;
  color: rgba(255,255,255,.3);
  line-height: 1.65;
}


/* ══════════════════════════════════════════════════════════
   WHY STARANA
══════════════════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
}

.why-intro {
  font-size: 1.05rem;
  color: var(--c-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--c-light);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
  margin-top: .1rem;
  transition: background var(--transition), border-color var(--transition);
}
.why-item:hover .why-icon {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: var(--c-white);
}

.why-item h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .3rem;
  letter-spacing: -.01em;
}
.why-item p {
  font-size: .875rem;
  color: var(--c-muted);
  line-height: 1.7;
}

/* Visual column */
.why-visual {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 2rem;
}

.why-img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.why-float-card {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 260px;
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  border: 1px solid var(--c-border);
}
.wfc-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: var(--c-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  margin-top: .05rem;
}
.why-float-card p {
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.5;
}


/* ══════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  align-items: start;
}

.contact-info .section-title { margin-bottom: 1rem; }

.contact-intro {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: rgba(255,255,255,.8);
}
.contact-details li svg { color: var(--c-blue-soft); flex-shrink: 0; }
.contact-details li a {
  color: rgba(255,255,255,.8);
  transition: color var(--transition);
}
.contact-details li a:hover { color: var(--c-white); }

/* Form */
.contact-form-wrap {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.form-group label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  font-size: .9rem;
  color: var(--c-white);
  width: 100%;
  transition: border-color var(--transition), background var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,.35);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.15);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

/* Custom select */
.select-wrap { position: relative; }
.select-wrap select {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  padding: .85rem 2.5rem .85rem 1rem;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.select-wrap select option { background: var(--c-navy); color: var(--c-white); }
.select-wrap select:focus {
  outline: none;
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.15);
}
.select-arrow {
  position: absolute;
  right: .9rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.5);
  pointer-events: none;
}

.form-submit { width: 100%; justify-content: center; margin-top: .25rem; }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }

/* Success state */
.form-success {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: rgba(10,97,201,.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
.form-success.visible { display: flex; }
.form-success-inner { text-align: center; padding: 2rem; }
.success-icon {
  width: 60px;
  height: 60px;
  background: rgba(74,222,128,.2);
  border: 2px solid rgba(74,222,128,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  margin: 0 auto 1.25rem;
}
.form-success-inner h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: .5rem;
}
.form-success-inner p {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
}


/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer { background: var(--c-navy-dark); }

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 4rem;
  padding-top: 4.5rem;    /* left/right comes from .container — do NOT override with shorthand */
  padding-bottom: 3.5rem;
  align-items: start;
}

/* Footer logo lockup (icon + CSS text — gives precise alignment control) */
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.35rem;
  text-decoration: none;
}
.footer-logo-icon {
  height: 38px;
  width: auto;
  flex-shrink: 0;
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.footer-logo-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: .04em;
}
.footer-logo-sub {
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: .32rem;
}

.footer-tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: .75rem;
}
.footer-location {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h5 {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.35rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.footer-col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--c-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
}
.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.28);
  text-align: center;
  margin-bottom: .4rem;
}
.footer-reg {
  font-size: .7rem;
  color: rgba(255,255,255,.16);
  text-align: center;
  letter-spacing: .02em;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .footer-reg {
    font-size: .65rem;
    line-height: 1.8;
  }
}


/* ══════════════════════════════════════════════════════════
   MOBILE CTA (hidden on desktop, shown in mobile menu)
══════════════════════════════════════════════════════════ */
.mobile-cta { display: none; }


/* ══════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet  ≤ 1024px
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .section { padding: 5rem 0; }

  /* Hero: reduce gap on tablet, hide floating cards that would clip */
  .hero-content { gap: 3rem; padding-top: 7rem; }
  .hv-card      { display: none; }
  .hero-img     { height: 360px; }

  .about-grid   { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-visual { order: -1; }
  .about-img    { height: 420px; }
  .about-content { padding-left: 0; }

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

  .why-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .why-visual { padding-left: 0; padding-bottom: 1.75rem; }
  .why-img    { height: 400px; }
  .why-float-card { left: 1rem; bottom: .5rem; }

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

  .footer-inner { grid-template-columns: 1fr; gap: 2.75rem; }
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile  ≤ 768px
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --pad: 0 1.5rem; }
  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2.5rem; }

  /* ── Header ──────────────────────────────── */
  .hamburger { display: flex; }
  .header-cta { display: none; }

  /* Full-screen mobile nav overlay */
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: var(--c-navy-dark);
    z-index: 1050;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Top padding clears the header bar */
    padding: 80px 2rem 3rem;
    overflow-y: auto;
  }
  .nav.open { display: flex; }

  .nav-list {
    flex-direction: column;
    gap: .2rem;
    text-align: center;
    width: 100%;
    max-width: 320px;
  }
  .nav-link {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255,255,255,.75) !important;
    padding: .9rem 1.5rem;
    border-radius: 10px;
    letter-spacing: .01em;
  }
  .nav-link:hover,
  .nav-link:active {
    color: var(--c-white) !important;
    background: rgba(255,255,255,.07);
  }

  /* Mobile CTA inside nav */
  .mobile-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
    max-width: 320px;
  }
  .mobile-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  /* ── Hero ────────────────────────────────── */
  .hero-content  {
    grid-template-columns: 1fr;  /* stack columns on mobile */
    gap: 2.5rem;
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
  .hero-right    { display: none; }   /* hide visual on mobile — bg image is enough */
  .hero-subtitle { font-size: .975rem; max-width: 100%; }
  .hero-scroll   { display: none; }

  /* ── About ───────────────────────────────── */
  .about-visual { padding-right: .5rem; padding-bottom: 2rem; }
  .about-img    { height: 300px; }
  .about-badge  { padding: 1.1rem 1.25rem; bottom: 0; right: 0; }
  .badge-num    { font-size: 1.65rem; }
  .badge-lbl    { font-size: .72rem; }
  .about-text   { font-size: .95rem; }
  .about-stats  { gap: 1.25rem; }
  .stat-num     { font-size: 1.75rem; }

  /* ── Services ────────────────────────────── */
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-icon  { height: 90px; }
  .service-body  { padding: 1.35rem 1.5rem; }

  /* ── Projects ────────────────────────────── */
  .projects-grid { grid-template-columns: 1fr; gap: 1rem; max-width: 100%; }
  .project-card  { padding: 1.75rem 1.5rem 1.5rem; }
  .project-name  { font-size: 1.3rem; }
  .project-soon  { min-height: 160px; padding: 1.75rem; }

  /* ── Why Starana ─────────────────────────── */
  .why-float-card { display: none; }
  .why-visual  { padding-bottom: 0; }
  .why-img     { height: 260px; }
  .why-intro   { font-size: .975rem; margin-bottom: 1.75rem; }
  .why-list    { gap: 1.25rem; }
  .why-item h4 { font-size: .92rem; }
  .why-item p  { font-size: .84rem; }

  /* ── Contact ─────────────────────────────── */
  .contact-grid     { gap: 2rem; }
  .contact-intro    { font-size: .925rem; margin-bottom: 1.5rem; }
  .contact-form-wrap { padding: 1.5rem; }
  .form-row         { grid-template-columns: 1fr; gap: 1rem; }

  /* ── Footer ──────────────────────────────── */
  .footer-inner  { padding-top: 3rem; padding-bottom: 2rem; gap: 2rem; }
  .footer-logo   { height: 38px; margin-bottom: 1rem; }
  .footer-nav    { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .footer-tagline { font-size: .875rem; }
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Small Mobile  ≤ 480px
══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root { --pad: 0 1rem; }
  .section { padding: 3rem 0; }

  /* ── Header ──────────────────────────────── */
  .logo-sub  { display: none; }
  .logo-icon { height: 32px; }
  .logo-name { font-size: .95rem; }

  /* ── Hero ────────────────────────────────── */
  .hero-title { letter-spacing: -.02em; }
  .hero-ctas  { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* ── About ───────────────────────────────── */
  .about-visual   { padding-right: 0; padding-bottom: .5rem; }
  .about-dot-grid { display: none; }
  .about-img      { height: 260px; }

  /* Badge goes below image as a full-width strip */
  .about-badge {
    position: static;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    border-radius: var(--radius-sm);
    width: 100%;
    padding: 1rem 1.25rem;
  }
  .badge-num      { font-size: 1.75rem; }
  .badge-lbl br   { display: none; }

  /* Stats: 3-column grid, no flex dividers */
  .about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--c-border);
  }
  .stat-divider { display: none; }
  .stat {
    text-align: center;
    padding: 0 .5rem;
    border-right: 1px solid var(--c-border);
  }
  .stat:last-child { border-right: none; }
  .stat-num { font-size: 1.45rem; }
  .stat-lbl { font-size: .7rem; margin-top: .25rem; }

  /* ── Services ────────────────────────────── */
  .section-title   { letter-spacing: -.02em; }
  .service-body    { padding: 1.25rem; }
  .service-title   { font-size: 1rem; }

  /* ── Projects ────────────────────────────── */
  .project-card  { padding: 1.4rem 1.25rem 1.25rem; }
  .project-name  { font-size: 1.15rem; }

  /* ── Why ─────────────────────────────────── */
  .why-img { height: 220px; }

  /* ── Contact ─────────────────────────────── */
  .contact-form-wrap { padding: 1.25rem; }
  .form-group input,
  .form-group textarea,
  .select-wrap select { font-size: 1rem; } /* prevent iOS zoom on focus */

  /* ── Footer ──────────────────────────────── */
  .footer-nav     { grid-template-columns: 1fr 1fr; }
  .footer-col h5  { margin-bottom: .85rem; }
}
