/* ═══════════════════════════════════════════════════
   ANSIKA INTERIORS — MAIN STYLESHEET
   Palette: #007a97 (primary blue) / White / Light grey
   Font: Mulish
═══════════════════════════════════════════════════ */

/* ─── RESET ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Mulish', system-ui, sans-serif;
  color: #1e293b;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}
h1,h2,h3,h4 { font-family: 'Mulish', sans-serif; }
a { color: inherit; text-decoration: none; transition: color .2s; }
img { display: block; max-width: 100%; height : -webkit-fill-available; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }

/* ─── VARIABLES ──────────────────────────────────── */
:root {
  --blue:       #007a97;
  --blue-dark:  #005f80;
  --blue-light: #daf0f4;
  --blue-pale:  #edf8fa;
  --text:       #1e293b;
  --text-mid:   #475569;
  --text-light: #64748b;
  --border:     #e2e8f0;
  --bg-light:   #f8fafc;
  --bg-tinted:  #f0f9fc;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 32px rgba(0,122,151,.12);
}

/* ─── CONTAINER ──────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 480px) { .container { padding: 0 1.125rem; } }
@media (max-width: 360px) { .container { padding: 0 1rem; } }

/* ─── REVEAL ANIMATION ───────────────────────────── */
[data-animate] {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}
[data-animate="fade-up"]   { transform: translateY(28px); }
[data-animate="fade-left"] { transform: translateX(-28px); }
[data-animate="fade-right"]{ transform: translateX(28px); }
[data-animate].in-view { opacity: 1; transform: none; }

/* ─── SKIP LINK ──────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--blue);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: .875rem;
  z-index: 9999;
  transition: top .2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ─── HEADER ─────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.08); }

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 768px) {
  .logo-img { height: 45px; }
}
@media (max-width: 480px) {
  .logo-img { height: 45px; }
}

/* Desktop nav */
.nav-desktop { display: none; }
@media (min-width: 1024px) { .nav-desktop { display: flex; align-items: center; } }
.nav-desktop ul { display: flex; align-items: center; gap: .25rem; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .75rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text-mid);
  border-radius: 6px;
  transition: all .2s;
  position: relative;
}
.nav-link:hover { color: var(--blue); }
.nav-link.active {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  border-radius: 0;
  padding-bottom: calc(.5rem - 2px);
}
.nav-toggle { background: none; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s;
  z-index: 50;
}
.dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item {
  display: block;
  padding: .625rem 1rem;
  font-size: .875rem;
  color: var(--text-mid);
  border-radius: 8px;
  transition: all .15s;
}
.dropdown-item:hover { background: var(--blue-pale); color: var(--blue); padding-left: 1.25rem; }

/* Header search */
.header-search {
  display: none;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .375rem .875rem;
  background: var(--bg-light);
  color: var(--text-light);
}
@media (min-width: 1024px) { .header-search { display: flex; } }
.header-search input {
  border: none;
  background: none;
  font-size: .875rem;
  color: var(--text);
  outline: none;
  width: 140px;
  font-family: inherit;
}
.header-search input::placeholder { color: var(--text-light); }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column;
  justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 8px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  z-index: 99;
  padding: .75rem 1.5rem 1.25rem;
}
.nav-mobile ul { display: flex; flex-direction: column; }
.nav-mobile li + li { border-top: 1px solid var(--border); }
.nav-mobile .nav-link {
  display: block; width: 100%;
  padding: .875rem 0;
  font-size: .9375rem;
  border-radius: 0; border-bottom: none;
}
.nav-mobile .nav-link.active { border-bottom: none; border-left: 3px solid var(--blue); padding-left: .75rem; color: var(--blue); }

/* Mobile nav services group */
.nav-mobile-group { border-top: 1px solid var(--border); }
.nav-mobile-label {
  display: block;
  padding: .875rem 0;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text-mid);
}
.nav-mobile-sub { padding-left: 1rem; border-top: 1px solid var(--border); }
.nav-mobile-sub li + li { border-top: 1px solid #f1f5f9; }
.nav-mobile-sub .nav-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-light);
  padding: .7rem 0;
  letter-spacing: 0;
}
.nav-mobile-sub .nav-link:hover { color: var(--blue); }

/* ─── INFO BAR ───────────────────────────────────── */
.info-bar {
  margin-top: 70px;
  background: linear-gradient(to bottom, #fff, var(--bg-light));
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.info-bar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .info-bar { margin-top: 62px; padding: 1.5rem 0; }
  .info-bar-grid { gap: 1rem; }
}
@media (max-width: 480px) {
  .info-bar { padding: 1.25rem 0; margin-top: 62px; }
  .info-bar-grid { grid-template-columns: 1fr; gap: 0.75rem; }
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,122,151,.1);
  border-color: rgba(0,122,151,.25);
}
@media (max-width: 480px) {
  .info-card { padding: 1.125rem 1.25rem; gap: 0.875rem; }
}
.info-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.info-text { flex: 1; }
.info-label {
  display: block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--blue);
  margin-bottom: .375rem;
}
.info-main { font-size: .9375rem; font-weight: 600; color: var(--text); margin-bottom: .2rem; }
.info-sub { font-size: .8125rem; color: var(--text-light); }
.info-cta { font-size: .8125rem; font-weight: 700; color: var(--blue); display: inline-block; margin-top: .25rem; }
.info-cta:hover { opacity: .8; }/* ─── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,18,35,.78) 0%,
    rgba(10,18,35,.5) 55%,
    rgba(10,18,35,.15) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 7rem 0 4rem;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
@media (max-width: 480px) {
  .hero-content { padding: 5.5rem 1.125rem 2.5rem; }
}

/* Left-aligned hero block — always left, never centered */
.hero-left {
  max-width: 560px;
  width: 100%;
  text-align: left;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
  text-align: left;
}
.hero-blue { color: var(--blue); }

.hero-desc {
  font-size: clamp(.9375rem, 2.5vw, 1.0625rem);
  color: rgba(255,255,255,.88);
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: 2rem;
  font-weight: 400;
  text-align: left;
}

.btn-hero {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  background: var(--blue);
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  padding: .9rem 2rem;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0,122,151,.45);
  transition: all .25s;
  border: 2px solid var(--blue);
  white-space: nowrap;
}
.btn-hero:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,122,151,.5);
}

/* Hero feature cards — vertical stack, always left-aligned */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
  width: 100%;
  max-width: 500px;
}
@media (max-width: 480px) {
  .hero-features { gap: 0.75rem; margin-top: 2rem; }
}

.hero-feat {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 1.125rem 1.375rem;
  transition: background .25s, border-color .25s;
  text-align: left;
}
@media (max-width: 480px) {
  .hero-feat { padding: 0.875rem 1rem; gap: 0.875rem; }
}
.hero-feat:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(0,122,151,.5);
}

.hero-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,122,151,.4);
}

.hero-feat-text {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.hero-feat-text strong {
  font-size: .9375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.hero-feat-text span {
  font-size: .8125rem;
  color: rgba(255,255,255,.7);
  line-height: 1.4;
}

/* ─── TYPOGRAPHY HELPERS ─────────────────────────── */
.eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .875rem;
}
.light-eyebrow { color: var(--blue); }
.section-h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -.015em;
}
.blue-text { color: var(--blue); }
.light-weight { font-weight: 400; color: #64748b; }
.body-text { font-size: 1rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1rem; }
.body-text.lighter { color: var(--text-light); font-size: .975rem; }
.center-text { text-align: center; }

/* ─── ABOUT ──────────────────────────────────────── */
.about { padding: 5rem 0; background: #fff; }
@media (max-width: 480px) { .about { padding: 3.5rem 0; } }
@media (max-width: 768px) { .about { padding: 4rem 0; } }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;   /* both columns same height */
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0,0,0,.12);
  height: 100%;           /* fill the grid row height */
  min-height: 520px;
}
.about-img-frame img {
  width: 100%;
  height: 100%;           /* fill frame, not fixed px */
  object-fit: cover;
  display: block;
}
.about-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: 1.25rem 1.5rem;
  gap: .5rem;
}
.as-item { text-align: center; }
.as-num {
  display: block;
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.as-lbl { font-size: .6875rem; color: #64748b; margin-top: .25rem; font-weight: 600; }
.as-div { width: 1px; height: 36px; background: var(--border); }

/* Right column — flex column, distributes content to fill height */
.about-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;  /* spread content top → bottom */
  padding-top: .25rem;
}

/* Top block: eyebrow + heading + paragraphs */
.about-right-top { flex: 0 0 auto; }

/* Checks and boxes pushed to fill remaining space */
.about-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: auto 0 0;          /* flex auto margin pushes it down */
  padding-top: 2rem;
}
@media (max-width: 480px) {
  .about-checks { gap: 0.875rem; padding-top: 1.5rem; }
}
.ach {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
}
.ach-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.about-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  flex-shrink: 0;
}
.abox {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
@media (max-width: 480px) {
  .about-boxes { gap: 0.75rem; margin-top: 1.5rem; }
  .abox { padding: 1.125rem; }
}
.abox h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.abox p { font-size: .875rem; color: var(--text-light); line-height: 1.6; }

/* ─── SERVICES ───────────────────────────────────── */
.services {
  position: relative;
  padding: 5rem 0;
  background: #0f172a;
  overflow: hidden;
}
@media (max-width: 480px) { .services { padding: 3.5rem 0; } }
@media (max-width: 768px) { .services { padding: 4rem 0; } }
.services-bg-wrap { position: absolute; inset: 0; }
.services-bg { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.services-overlay {
  position: absolute; inset: 0;
  background: rgba(15,23,42,.78);
}
.services-hdr {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 3.5rem;
  padding: 0 1.5rem;
}
@media (max-width: 480px) {
  .services-hdr { padding: 0 1.125rem; }
}
.services-h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 1rem;
}
.services-h2 strong { font-weight: 800; color: #fff; }
.services-desc { font-size: 1rem; color: rgba(255,255,255,.65); line-height: 1.7; max-width: 560px; margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  position: relative; z-index: 1;
}
.svc-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s, box-shadow .35s, border-color .35s;
  border: 1px solid rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
}
.svc-card:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 20px 48px rgba(0,0,0,.2); 
  border-color: var(--blue-pale);
}

.svc-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-pale) 0%, #f0f9fb 100%);
}
.svc-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.svc-card:hover .svc-img-wrap img { transform: scale(1.08); }

/* Subtle overlay on hover */
.svc-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,122,151,.08);
  opacity: 0;
  transition: opacity .35s;
  z-index: 1;
}
.svc-card:hover .svc-img-wrap::after { opacity: 1; }

.svc-plus {
  position: absolute;
  top: 1rem; right: 1rem;
  transform: translateX(0);
  width: 48px; height: 48px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,122,151,.4);
  transition: background .2s, transform .2s;
  z-index: 2;
  text-decoration: none;
  border: none; cursor: pointer;
}
.svc-plus:hover { 
  background: var(--blue-dark); 
  transform: scale(1.12) rotate(90deg);
}
.svc-plus svg {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-body { 
  padding: 1.875rem 1.75rem; 
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
@media (max-width: 480px) {
  .svc-body { padding: 1.5rem 1.25rem; }
}
.svc-body h3 { 
  font-size: 1.25rem; 
  font-weight: 800; 
  color: var(--text); 
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}
.svc-row { 
  display: flex; 
  align-items: flex-start; 
  gap: .875rem;
  flex-grow: 1;
}
.svc-ico { 
  color: var(--blue); 
  flex-shrink: 0; 
  margin-top: 2px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-ico svg {
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc-row p { 
  font-size: .9375rem; 
  color: var(--text-mid); 
  line-height: 1.6;
  margin: 0;
}

/* ─── PROJECTS ───────────────────────────────────── */
.projects { padding: 5rem 0; background: #fff; }
@media (max-width: 480px) { .projects { padding: 3.5rem 0; } }
@media (max-width: 768px) { .projects { padding: 4rem 0; } }
.proj-hdr { margin-bottom: 2.5rem; padding: 0 1.5rem; }
.proj-hdr .section-h2 { margin-bottom: 1rem; }
.proj-hdr-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}
.proj-hdr-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
}
.proj-hdr-link:hover {
  gap: 0.75rem;
}
.proj-hdr-link:hover::after {
  width: 100%;
}
.proj-hdr-link svg {
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}
.proj-hdr-link:hover svg {
  transform: translateX(4px);
}
@media (max-width: 480px) {
  .proj-hdr { padding: 0 1.125rem; }
  .proj-hdr-link { font-size: 0.875rem; }
}

.carousel { overflow: hidden; width: 100%; }
.carousel-track {
  display: flex;
  gap: 1rem;
  overflow: visible;
  padding-bottom: 1rem;
}


.proj-card {
  flex: 0 0 auto;
  width: clamp(200px, 28vw, 340px);
  height: clamp(280px, 38vw, 440px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .3s;
  direction: ltr;
}
.proj-card:hover { transform: translateY(-10px) scale(1.02); }
.proj-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.proj-card:hover img { transform: scale(1.1); }
.proj-info {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity .4s;
}
.proj-card:hover .proj-info { opacity: 1; }
.proj-tag {
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .5rem;
  transform: translateY(8px);
  transition: transform .3s .05s;
}
.proj-card:hover .proj-tag { transform: translateY(0); }
.proj-info h3 {
  font-size: 1.125rem; font-weight: 700; color: #fff;
  margin-bottom: .75rem;
  transform: translateY(8px);
  transition: transform .3s .08s;
}
.proj-card:hover .proj-info h3 { transform: translateY(0); }
.proj-arrow {
  width: 40px; height: 40px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transform: translateY(8px);
  transition: transform .3s .1s, background .2s;
}
.proj-card:hover .proj-arrow { transform: translateY(0); }
.proj-arrow:hover { background: var(--blue-dark); }

/* ─── PROCESS ────────────────────────────────────── */
.process {
  padding: 5rem 0;
  background: var(--bg-light);
}
@media (max-width: 480px) { .process { padding: 3.5rem 0; } }
@media (max-width: 768px) { .process { padding: 4rem 0; } }
.proc-hdr { text-align: center; margin-bottom: 3rem; padding: 0 1.5rem; }
@media (max-width: 480px) {
  .proc-hdr { padding: 0 1.125rem; }
}

.proc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.proc-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #bae6fd;
  overflow: hidden;
  transition: transform .35s, border-color .3s, box-shadow .35s;
}
.proc-card:hover {
  transform: translateY(-10px);
  border-color: var(--blue);
  box-shadow: 0 16px 40px rgba(0,122,151,.15);
}
.proc-bar { height: 4px; background: var(--blue); }
.proc-inner { padding: 2rem 2rem 2.5rem; text-align: center; }
@media (max-width: 480px) {
  .proc-inner { padding: 1.5rem 1.5rem 2rem; }
}
.proc-inner h3 {
  font-size: 1.125rem; font-weight: 800;
  color: var(--text);
  margin-bottom: .875rem;
  transition: color .2s;
}
.proc-card:hover .proc-inner h3 { color: var(--blue); }
.proc-inner p { font-size: .9375rem; color: var(--text-light); line-height: 1.65; margin-bottom: 2rem; }
.proc-icon {
  display: flex; justify-content: center;
  color: var(--blue);
  transition: transform .3s;
}
.proc-card:hover .proc-icon { transform: scale(1.1); }

/* ─── TESTIMONIALS ───────────────────────────────── */
.testimonials {
  padding: 5rem 0;
  background: var(--bg-light);
}
@media (max-width: 480px) { .testimonials { padding: 3.5rem 0; } }
@media (max-width: 768px) { .testimonials { padding: 4rem 0; } }
.test-hdr { text-align: center; margin-bottom: 3rem; padding: 0 1.5rem; }
.test-hdr .body-text { max-width: 600px; margin: 0 auto; }
@media (max-width: 480px) {
  .test-hdr { padding: 0 1.125rem; }
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.test-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform .3s, box-shadow .3s;
}
@media (max-width: 480px) {
  .test-card { padding: 1.5rem; }
}
.test-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.test-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.stars { color: #f59e0b; font-size: 1.0625rem; letter-spacing: .05em; }
.quote-mark { color: #cbd5e1; opacity: .6; }

.test-text {
  font-size: .9375rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.test-author {
  display: flex;
  align-items: center;
  gap: .875rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.test-author img {
  width: 48px; height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
}
.test-author cite {
  display: block;
  font-size: .9375rem;
  font-weight: 700;
  font-style: normal;
  color: var(--text);
  margin-bottom: .2rem;
}
.test-author p { font-size: .8125rem; color: var(--text-light); }

/* ─── CONTACT ────────────────────────────────────── */
.contact { padding: 5rem 0; background: var(--bg-light); }
@media (max-width: 480px) { .contact { padding: 3.5rem 0; } }
@media (max-width: 768px) { .contact { padding: 4rem 0; } }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-left .body-text { max-width: 400px; }
.contact-left .section-h2 { margin-bottom: 1rem; }

.benefits { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.benefit-item { display: flex; align-items: center; gap: 1.125rem; }
.ben-num {
  width: 44px; height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8125rem; font-weight: 800;
  color: var(--text);
  background: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.benefit-item p { font-size: 1rem; font-weight: 600; color: var(--text); }

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0,122,151,.1), 0 1px 4px rgba(0,0,0,.04);
  border: 1px solid rgba(186,230,253,.5);
  min-height: 440px;
  display: flex; flex-direction: column; justify-content: center;
}
@media (max-width: 480px) {
  .form-card { padding: 1.5rem; min-height: unset; }
}
.form-h { font-size: 1.625rem; font-weight: 800; color: var(--text); margin-bottom: .5rem; }
.form-sub { font-size: .9rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1.5rem; }

#apptForm { display: flex; flex-direction: column; gap: 1.25rem; }
@media (max-width: 480px) {
  #apptForm { gap: 1rem; }
}

.f-input {
  width: 100%;
  padding: 0.875rem 1.125rem;
  font-family: inherit;
  font-size: max(16px, .9375rem); /* prevent iOS auto-zoom on focus */
  color: var(--text);
  background: #fff;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}
@media (max-width: 480px) {
  .f-input { padding: 0.8rem 1rem; font-size: 1rem; }
}
.f-input::placeholder { color: #94a3b8; }
.f-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,122,151,.12); }

/* ─── Form validation ───────────────────────────── */
.f-input--error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important;
}
.f-error-msg {
  display: block;
  font-size: .8125rem;
  color: #ef4444;
  font-weight: 600;
  margin-top: .35rem;
  margin-bottom: .25rem;
  padding-left: .25rem;
}

.f-select-wrap { position: relative; }
.f-select { cursor: pointer; padding-right: 2.5rem; color: #94a3b8; }
.f-select.has-value { color: var(--text); }
.f-arrow {
  position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%);
  color: #94a3b8; pointer-events: none;
}

.btn-submit {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; padding: 1rem 1.5rem;
  background: var(--blue); color: #fff;
  font-family: inherit; font-size: 1rem; font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,122,151,.35);
  transition: all .25s;
  cursor: pointer;
}
@media (max-width: 480px) {
  .btn-submit { padding: 0.9375rem 1.25rem; font-size: 0.9375rem; }
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* Success */
.success-wrap { text-align: center; padding: 2rem 1rem; }
.success-icon {
  width: 72px; height: 72px;
  background: #dcfce7; color: #16a34a;
  font-size: 1.75rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.success-wrap h3 { font-size: 1.75rem; font-weight: 800; color: var(--text); margin-bottom: .75rem; }
.success-wrap p { color: var(--text-light); font-size: 1rem; margin-bottom: 1.5rem; }
.btn-reset-form { background: none; color: var(--blue); font-weight: 700; font-size: .9375rem; text-decoration: underline; cursor: pointer; font-family: inherit; }

/* ─── FOOTER ─────────────────────────────────────── */
.footer { background: #0f172a; color: #cbd5e1; padding: 4rem 0 0; }
@media (max-width: 480px) { .footer { padding: 3rem 0 0; } }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #1e293b;
}
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }
@media (max-width: 480px) { .footer-grid { gap: 1.5rem; padding-bottom: 2rem; } }

.footer-logo { margin-bottom: 1.5rem; }
.footer-logo .logo-img {
  height: 72px;
  width: auto;
  /* Show logo in original colors — no filter */
  filter: none;
  opacity: 1;
}
.footer-desc { font-size: .9375rem; color: #94a3b8; line-height: 1.75; margin-bottom: 1.5rem; }

.fsocial { display: flex; gap: .625rem; }
.fsocial a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #1e293b;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8;
  transition: all .2s;
}
.fsocial a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

.fheading { font-size: .9375rem; font-weight: 700; color: #fff; margin-bottom: 1.25rem; }

.flinks { display: flex; flex-direction: column; gap: .625rem; }
.flinks a { font-size: .9rem; color: #94a3b8; transition: all .2s; display: inline-block; }
.flinks a:hover { color: #fff; transform: translateX(4px); }

.faddr { display: flex; flex-direction: column; gap: 1.25rem; font-size: .9rem; color: #94a3b8; line-height: 1.7; }
.faddr strong { color: #fff; display: block; margin-bottom: .2rem; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.faddr a { color: var(--blue); }
.faddr a:hover { opacity: .8; }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .875rem;
  font-size: .8125rem;
  color: #475569;
}
@media (max-width: 600px) { .footer-bottom { flex-direction: column; text-align: center; } }
.flegal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.flegal a { color: #475569; font-size: .8125rem; transition: color .2s; }
.flegal a:hover { color: #94a3b8; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   Breakpoints: 480 | 640 | 768 | 900 | 1024
═══════════════════════════════════════════════════ */

/* ─── 480px and below (small phones) ────────────── */
@media (max-width: 480px) {

  /* Container */
  .container { padding: 0 1rem; }

  /* Hero */
  .hero { min-height: 100svh; align-items: flex-start; padding-top: 0; }
  .hero-content { padding: 6rem 1rem 3rem; }
  .hero-left { max-width: 100%; }
  .hero-title { font-size: 2.4rem; letter-spacing: -.01em; }
  .hero-desc { font-size: .9rem; max-width: 100%; }
  .btn-hero { font-size: .8125rem; padding: .7rem 1.25rem; white-space: normal; max-width: calc(100% - 2rem); }
  .hero-features { margin-top: 1.75rem; gap: .625rem; }
  .hero-feat { padding: .75rem .875rem; gap: .75rem; }
  .hero-feat-icon { width: 38px; height: 38px; }
  .hero-feat-text strong { font-size: .875rem; }
  .hero-feat-text span { font-size: .75rem; }

  /* Info bar */
  .info-bar { display: none; }
  .info-bar-grid { grid-template-columns: 1fr; gap: .75rem; }
  .info-card { padding: 1rem 1.125rem; gap: .75rem; }
  .info-icon { width: 40px; height: 40px; }

  /* About */
  .about { padding: 3rem 0; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-frame { min-height: 260px; }
  .about-stats { grid-template-columns: 1fr auto 1fr auto 1fr; padding: .875rem .75rem; gap: .15rem; }
  .as-num { font-size: 1.1rem; }
  .as-lbl { font-size: .6rem; }
  .as-div { height: 24px; }
  .about-right { padding-top: 0; }
  .about-checks { flex-direction: column; gap: .625rem; padding-top: 1.25rem; }
  .about-boxes { grid-template-columns: 1fr; gap: .75rem; margin-top: 1.25rem; }
  .section-h2 { font-size: 1.625rem; }

  /* Services */
  .services { padding: 3rem 0; }
  .svc-grid { grid-template-columns: 1fr; gap: 2rem; }
  .svc-img { height: 200px; }

  /* Projects */
  .projects { padding: 3rem 0; }
  .proj-card { width: clamp(220px, 72vw, 300px); height: clamp(260px, 55vw, 340px); }

  /* Process */
  .process { padding: 3rem 0; }
  .proc-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials { padding: 3rem 0; }
  .test-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact { padding: 3rem 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-left .body-text { max-width: 100%; }
  .form-card { padding: 1.5rem; min-height: unset; }
  .benefits { gap: 1.125rem; margin-top: 1.5rem; }

  /* Footer */
  .footer { padding: 3rem 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .flegal { justify-content: center; gap: 1rem; }
}

/* ─── 481px – 640px (large phones) ──────────────── */
@media (min-width: 481px) and (max-width: 640px) {

  .container { padding: 0 1.25rem; }

  /* Hero */
  .hero-content { padding: 6.5rem 1.25rem 3.5rem; }
  .hero-left { max-width: 100%; }
  .hero-title { font-size: 2.5rem; }
  .hero-desc { max-width: 100%; font-size: .9375rem; }
  .btn-hero { font-size: .875rem; padding: .85rem 1.75rem; }
  .hero-feat { padding: .8rem 1rem; }

  /* Info bar */
  .info-bar { display: none; }
  .info-bar-grid { grid-template-columns: 1fr; gap: .875rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-frame { min-height: 300px; }
  .about-checks { flex-direction: column; gap: .75rem; padding-top: 1.5rem; }
  .about-boxes { grid-template-columns: 1fr; }

  /* Services */
  .svc-grid { grid-template-columns: 1fr; }
  .svc-img { height: 220px; }

  /* Process / Testimonials */
  .proc-grid { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .form-card { min-height: unset; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── 641px – 768px (small tablets) ─────────────── */
@media (min-width: 641px) and (max-width: 768px) {

  /* Hero */
  .hero-content { padding: 6.5rem 1.5rem 4rem; }
  .hero-left { max-width: 480px; }
  .hero-title { font-size: 2.75rem; }

  /* Info bar */
  .info-bar { display: none; }
  .info-bar-grid { grid-template-columns: 1fr 1fr; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-frame { min-height: 340px; }
  .about-right { flex-direction: column; }
  .about-boxes { grid-template-columns: 1fr 1fr; }

  /* Services */
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  /* Process / Testimonials */
  .proc-grid { grid-template-columns: 1fr 1fr; }
  .test-grid { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-card { min-height: unset; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── 769px – 900px (landscape tablet) ──────────── */
@media (min-width: 769px) and (max-width: 900px) {

  /* Hero */
  .hero-content { padding: 6.5rem 1.5rem 4rem; }
  .hero-left { max-width: 520px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-frame { min-height: 380px; }

  /* Services */
  .svc-grid { grid-template-columns: repeat(3, 1fr); }

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

/* ─── 901px – 1024px (small desktop / large tablet) */
@media (min-width: 901px) and (max-width: 1024px) {

  /* Hero */
  .hero-content { padding: 7rem 0 5rem; }
  .hero-left { max-width: 500px; }

  /* About */
  .about-grid { gap: 2rem; }
}

/* ─── Shared tablet collapse (≤768px) ───────────── */
@media (max-width: 768px) {
  .info-bar { margin-top: 70px; }
  .about-img-frame img { height: 100%; object-fit: cover; }
  .about-stats { padding: 1rem; }
  .as-num { font-size: 1.25rem; }
}

/* ─── PRINT ──────────────────────────────────────── */
@media print {
  .header, .footer, .hamburger, .hero-features { display: none; }
  body { color: #000; background: #fff; }
  .hero { min-height : -webkit-fill-available; }
}

/* ─── REDUCED MOTION ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
  [data-animate] { opacity: 1; transform: none; }
}

/* ─── TOUCH DEVICES — remove hover-only effects ─── */
@media (hover: none) {
  .proj-info { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 60%); }
  .proj-tag, .proj-info h3, .proj-arrow { transform: translateY(0); }
  .hero-feat:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
}


/* ═══════════════════════════════════════════════════
   COMPREHENSIVE MOBILE FIXES — v2
   Covers all viewports: 320px → 1024px
   Added: touch targets, overflow, font-scaling, tap highlights
═══════════════════════════════════════════════════ */

/* ─── GLOBAL MOBILE HELPERS ──────────────────────── */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
* { -webkit-tap-highlight-color: transparent; }
img, video, iframe { max-width: 100%; height : -webkit-fill-available; }
button, a, select, input, textarea { touch-action: manipulation; }

/* ─── HEADER — all phones ────────────────────────── */
@media (max-width: 1023px) {
  .header-inner { height: 62px; gap: 1rem; }
  .logo-img { height: 45px; }
  /* Mobile nav full height & scroll */
  .nav-mobile {
    top: 62px;
    max-height: calc(100dvh - 62px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  /* push page content below fixed header */
  .info-bar,
  .breadcrumb-bar,
  .page-hero { margin-top: 62px; }
}

/* ─── HERO — phones ──────────────────────────────── */
@media (max-width: 767px) {
  .hero { min-height: 100svh; }
  .hero-content { padding: 5.5rem 1.25rem 3rem; flex-direction: column; }
  .hero-left { max-width: 100%; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 2.9rem); letter-spacing: -.01em; }
  .hero-desc { font-size: .9375rem; max-width: 100%; margin-bottom: 1.5rem; }
  .btn-hero {
    width: auto;
    justify-content: center;
    font-size: .8125rem;
    padding: .7rem 1.25rem;
    white-space: normal;
    max-width: calc(100% - 2rem);
  }
  .hero-features { margin-top: 1.75rem; gap: .625rem; max-width: 100%; }
  .hero-feat { padding: .75rem 1rem; gap: .75rem; }
  .hero-feat-icon { width: 40px; height: 40px; flex-shrink: 0; }
  .hero-feat-text strong { font-size: .875rem; }
  .hero-feat-text span { font-size: .75rem; }
}

/* ─── INFO BAR ───────────────────────────────────── */
@media (max-width: 767px) {
  .info-bar { padding: 1.25rem 0; }
  .info-bar-grid { grid-template-columns: 1fr; gap: .75rem; }
  .info-card { padding: 1rem 1.25rem; gap: .875rem; }
  .info-icon { width: 42px; height: 42px; flex-shrink: 0; }
  .info-main { font-size: .9rem; }
  .info-sub { font-size: .8rem; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .info-bar-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── ABOUT ──────────────────────────────────────── */
@media (max-width: 899px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-frame { min-height: 300px; max-height: 420px; }
  .about-img-frame img { max-height: 420px; }
  .about-stats { padding: 1rem 1.25rem; gap: .25rem; }
  .as-num { font-size: 1.2rem; }
  .as-lbl { font-size: .65rem; }
  .as-div { height: 28px; }
  .about-right { padding-top: 0; }
  .about-checks { flex-direction: row; flex-wrap: wrap; gap: .75rem; padding-top: 1.25rem; }
  .about-boxes { grid-template-columns: 1fr 1fr; gap: .875rem; }
}
@media (max-width: 500px) {
  .about-boxes { grid-template-columns: 1fr; }
  .about-checks { flex-direction: column; }
  .about-img-frame { min-height: 250px; }
  .as-num { font-size: 1.1rem; }
  .as-lbl { font-size: .6rem; }
}

/* ─── SERVICES GRID ──────────────────────────────── */
@media (max-width: 767px) {
  .services { padding: 3rem 0; }
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .svc-img-wrap { aspect-ratio: 16/9; }
  .services-hdr { margin-bottom: 2rem; }
  .services-h2 { font-size: clamp(1.625rem, 6vw, 2.25rem); }
}
@media (min-width: 480px) and (max-width: 767px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── PROJECTS CAROUSEL ──────────────────────────── */
@media (max-width: 767px) {
  .projects { padding: 3rem 0; }
  .proj-card { width: clamp(230px, 75vw, 310px); height: clamp(280px, 58vw, 360px); }
  /* ensure proj-info always visible on touch */
  .proj-info { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 55%); }
  .proj-tag, .proj-info h3, .proj-arrow { transform: translateY(0); }
}

/* ─── PROCESS ────────────────────────────────────── */
@media (max-width: 767px) {
  .process { padding: 3rem 0; }
  .proc-grid { grid-template-columns: 1fr; gap: 1rem; }
  .proc-inner { padding: 1.5rem 1.5rem 2rem; }
  .proc-hdr { margin-bottom: 2rem; }
}
@media (min-width: 580px) and (max-width: 767px) {
  .proc-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── TESTIMONIALS ───────────────────────────────── */
@media (max-width: 767px) {
  .testimonials { padding: 3rem 0; }
  .test-grid { grid-template-columns: 1fr; }
  .test-hdr { margin-bottom: 2rem; }
}
@media (min-width: 580px) and (max-width: 900px) {
  .test-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── CONTACT ────────────────────────────────────── */
@media (max-width: 899px) {
  .contact { padding: 3rem 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-left .body-text { max-width: 100%; }
  .form-card { min-height: unset; padding: 1.75rem; }
  .benefits { margin-top: 1.5rem; gap: 1rem; }
}
@media (max-width: 480px) {
  .form-card { padding: 1.25rem; }
  .form-h { font-size: 1.375rem; }
  .f-input { padding: .75rem 1rem; font-size: .9rem; }
  .btn-submit { padding: .875rem 1rem; font-size: .9375rem; }
}

/* ─── FOOTER ─────────────────────────────────────── */
@media (max-width: 767px) {
  .footer { padding: 2.5rem 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .625rem; }
  .flegal { justify-content: center; gap: 1rem; }
}

/* ─── SECTION HEADINGS — fluid on small screens ─── */
@media (max-width: 480px) {
  .section-h2 { font-size: clamp(1.5rem, 6.5vw, 2rem); letter-spacing: -.01em; }
  .about { padding: 3rem 0; }
  .about-img-frame { min-height: 220px; }
}

/* ─── TOUCH: always-visible overlays ────────────── */
@media (hover: none) {
  .proj-info { opacity: 1; }
  .proj-tag, .proj-info h3, .proj-arrow { transform: translateY(0); }
  .project-overlay { opacity: 1; }
}

/* ─── MINIMUM TOUCH TARGET SIZE ─────────────────── */
.hamburger { min-width: 44px; min-height: 44px; }
.nav-link { min-height: 44px; }
.dropdown-item { min-height: 44px; display: flex; align-items: center; }
.btn-hero, .btn-submit, .sp-submit-btn, .filter-btn { min-height: 48px; }
.fsocial a { min-width: 44px; min-height: 44px; }
.proj-arrow { min-width: 44px; min-height: 44px; }

/* ─── PREVENT HORIZONTAL OVERFLOW ───────────────── */
.hero, .about, .services, .projects, .process, .testimonials, .contact, .footer {
  max-width: 100vw;
  overflow-x: hidden;
}
.carousel { overflow: hidden; }
.carousel-track { overflow: visible; }

/* ─── SECTION SPACING TABLET (768–1023) ─────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  .about { padding: 4rem 0; }
  .about-grid { gap: 2.5rem; }
  .about-img-frame { min-height: 380px; }
  .services { padding: 4rem 0; }
  .services-grid { grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; }
  .projects { padding: 4rem 0; }
  .process { padding: 4rem 0; }
  .proc-grid { grid-template-columns: 1fr 1fr 1fr; }
  .testimonials { padding: 4rem 0; }
  .test-grid { grid-template-columns: 1fr 1fr 1fr; }
  .contact { padding: 4rem 0; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
}


/* ═══════════════════════════════════════════════════
   SEARCH DROPDOWN
═══════════════════════════════════════════════════ */
.header-search {
  position: relative; /* anchor for dropdown */
}
.header-search input:focus {
  width: 200px;
  transition: width .3s ease;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,.14);
  overflow: hidden;
  z-index: 9999;
  display: none;
  flex-direction: column;
}
.search-dropdown.open { display: flex; }

.search-dropdown-header {
  padding: .625rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
}

.search-results-list {
  list-style: none;
  max-height: 380px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.search-result-item a {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .75rem 1rem;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
  border-bottom: 1px solid var(--border);
}
.search-result-item:last-child a { border-bottom: none; }
.search-result-item a:hover,
.search-result-item a:focus { background: var(--bg-tinted); outline: none; }
.search-result-item.active a { background: var(--bg-tinted); }

.search-result-thumb {
  width: 52px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-light);
}
.search-result-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.search-result-info { flex: 1; min-width: 0; }
.search-result-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.search-result-title mark {
  background: none;
  color: var(--blue);
  font-weight: 800;
}
.search-result-cat {
  font-size: .7rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .2rem;
}
.search-result-loc {
  font-size: .7rem;
  color: var(--text-light);
  margin-top: .1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-no-results {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--text-light);
  font-size: .875rem;
}
.search-no-results span {
  display: block;
  font-size: 1.5rem;
  margin-bottom: .5rem;
}

.search-dropdown-footer {
  padding: .625rem 1rem;
  font-size: .75rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  background: var(--bg-light);
  text-align: center;
}

/* ── Mobile nav search box ─────────────────────────── */
.nav-mobile-search {
  padding: .75rem 0 .5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: .25rem;
  position: relative;
}
.header-search-mobile {
  display: flex;
  align-items: center;
  gap: .625rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: .5rem 1rem;
  background: var(--bg-light);
  transition: border-color .2s, box-shadow .2s;
}
.header-search-mobile:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,122,151,.1);
  background: #fff;
}
.header-search-mobile svg {
  flex-shrink: 0;
  color: var(--text-light);
}
.header-search-mobile input {
  border: none;
  background: none;
  font-size: .9375rem;
  color: var(--text);
  outline: none;
  width: 100%;
  font-family: inherit;
}
.header-search-mobile input::placeholder { color: var(--text-light); }

/* Mobile dropdown — full width, attached below search box */
.nav-mobile-search .search-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  width: 100%;
  border-radius: 12px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
