/* =========================================================
   ABK Engenharia, Consultoria e Serviços, SA
   Main Stylesheet — style.css
   ========================================================= */

/* ─── FONTS ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@400;600;700&display=swap');

/* ─── VARIABLES ─────────────────────────────────────────── */
:root {
  --blue-deep:    #1a2e5e;
  --blue-mid:     #1e3d8f;
  --blue-accent:  #2a5cc8;
  --blue-light:   #3a7bd5;
  --white:        #ffffff;
  --off-white:    #f5f6f9;
  --text-dark:    #1a2e5e;
  --text-mid:     #2c4070;
  --text-muted:   #7a8aaa;
  --border:       #d0d8ec;
  --shadow:       0 4px 24px rgba(26, 46, 94, 0.10);
  --shadow-lg:    0 12px 48px rgba(26, 46, 94, 0.18);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Barlow', sans-serif;
  --font-cond:    'Barlow Condensed', sans-serif;

  --header-h:     72px;
  --radius:       4px;
  --transition:   0.3s ease;
  --max-w:        1200px;
}

/* ─── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── UTILITY ───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.text-blue   { color: var(--blue-mid); }
.text-white  { color: var(--white); }
.text-muted  { color: var(--text-muted); }
.fw-600      { font-weight: 600; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ─── SCROLL REVEAL ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ─── HEADER ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(26,46,94,0.07);
}

.header-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img {
  height: 44px;
  width: auto;
  /* Logo is white-on-black, invert to show on white bg */
  /* logo-blue.png already has the correct colour — no filter needed */
}

/* NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--blue-mid);
  background: rgba(30,61,143,0.06);
}

/* LANG SWITCHER */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.lang-btn {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition);
}
.lang-btn.active {
  background: var(--blue-mid);
  color: var(--white);
}
.lang-btn + .lang-btn {
  border-left: 1px solid var(--border);
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--blue-deep);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* MAIN OFFSET */
.page-offset { padding-top: var(--header-h); }

/* ─── PAGE HERO BANNER ──────────────────────────────────── */
.page-hero {
  background: var(--blue-deep);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 10%;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.025);
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}
.page-hero .breadcrumb {
  display: flex;
  gap: 8px;
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.35); }

/* ─── INDEX / HERO ──────────────────────────────────────── */
.home-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 55%, var(--blue-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 40px 32px;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
}
.home-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
}
.home-hero-logo {
  width: 320px;
  margin: 0 auto 40px;
  filter: brightness(0) invert(1);
}
.home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.9rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.2;
  opacity: 0.92;
  white-space: nowrap;
}
.home-hero-line {
  width: 60px; height: 2px;
  background: rgba(255,255,255,0.4);
  margin: 32px auto;
}
.home-hero-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 13px 36px;
  background: var(--white);
  color: var(--blue-deep);
  font-family: var(--font-cond);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.home-hero-cta:hover {
  background: var(--blue-accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image-wrap {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.15;
  margin-bottom: 24px;
}
.about-content p {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 20px;
  background: var(--off-white);
  border-left: 3px solid var(--blue-mid);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.about-badge span {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-mid);
}

/* ─── IDENTITY ───────────────────────────────────────────── */
.identity-header-band {
  background: var(--blue-deep);
  padding: 56px 0 48px;
}
.identity-header-band h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 80px 0;
}
.identity-card {
  padding: 0;
}
.identity-card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--blue-mid);
}
.identity-card-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--blue-mid);
  fill: none;
  stroke-width: 1.5;
}
.identity-card h3 {
  font-family: var(--font-cond);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-mid);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.identity-card p,
.identity-card li {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
}
.identity-card ul {
  list-style: none;
  padding: 0;
}
.identity-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}
.identity-card li::before {
  content: '·';
  color: var(--blue-accent);
  font-size: 1.2rem;
  line-height: 1.5;
  flex-shrink: 0;
}

/* ─── SERVICES ───────────────────────────────────────────── */
.services-img-banner {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 40%;
}
.services-list-wrap {
  padding: 56px 0;
}
.services-list-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 36px;
}
.services-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 48px;
}
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.97rem;
  color: var(--text-mid);
  transition: color var(--transition);
}
.service-item:hover { color: var(--blue-mid); }
.service-item-num {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--blue-accent);
  flex-shrink: 0;
  padding-top: 2px;
}

/* ─── TEAM ───────────────────────────────────────────────── */
.team-cards { display: flex; flex-direction: column; gap: 64px; padding: 72px 0; }

.team-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.team-card-photo {
  position: relative;
  overflow: hidden;
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}
.team-card:hover .team-card-photo img { transform: scale(1.03); }

.team-card-body {
  padding: 40px 48px;
}
.team-card-name-bar {
  background: var(--blue-deep);
  padding: 12px 20px;
  margin: -40px -48px 28px;
  border-bottom: 3px solid var(--blue-accent);
}
.team-card-name-bar h3 {
  font-family: var(--font-cond);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
}
.team-card-body p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 12px;
}
.expertise-bar {
  background: var(--blue-mid);
  padding: 8px 16px;
  margin: 20px 0 12px;
  border-radius: var(--radius);
  display: inline-block;
}
.expertise-bar span {
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.expertise-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  font-style: italic;
}

/* ─── MANIFEST ───────────────────────────────────────────── */
.manifest-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.manifest-left {
  background: var(--blue-deep);
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.manifest-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
}
.manifest-left p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  font-style: italic;
}
.manifest-right {
  padding: 72px 56px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.manifest-right p {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ─── SOLUTIONS ──────────────────────────────────────────── */
.solutions-hero {
  background: linear-gradient(160deg, var(--blue-deep) 0%, var(--blue-accent) 100%);
  padding: 72px 0 64px;
}
.solutions-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 72px 0;
}
.solution-card {
  background: rgba(30, 61, 143, 0.07);
  border-radius: 12px;
  padding: 32px 28px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.solution-card:hover {
  background: var(--blue-deep);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.solution-card:hover h3,
.solution-card:hover p {
  color: var(--white);
}
.solution-card h3 {
  font-family: var(--font-cond);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-mid);
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color var(--transition);
}
.solution-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  transition: color var(--transition);
}

/* ─── PROJECTS ───────────────────────────────────────────── */
.projects-banner {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.projects-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.projects-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,46,94,0.85) 40%, rgba(26,46,94,0.3));
  display: flex;
  align-items: flex-end;
  padding: 32px;
}
.projects-banner-overlay h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.projects-banner-overlay span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

.projects-section { padding: 64px 0; }
.projects-section h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-mid);
}

.project-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}
.project-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.project-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.project-card-body {
  padding: 24px 28px;
}
.project-card-body h4 {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.project-card-body p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 10px;
}
.project-card-body p + p {
  font-size: 0.84rem;
  padding-left: 10px;
  border-left: 2px solid var(--blue-accent);
}
.project-meta {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.project-meta-item label {
  display: block;
  font-family: var(--font-cond);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.project-meta-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-mid);
}

/* Supervision list */
.supervision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.supervision-item {
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue-mid);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  background: var(--off-white);
}
.supervision-item h4 {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 12px;
  line-height: 1.5;
}
.supervision-meta {
  display: flex;
  gap: 24px;
  font-size: 0.83rem;
}
.supervision-meta label {
  font-family: var(--font-cond);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}
.supervision-meta span {
  font-weight: 600;
  color: var(--blue-mid);
}

/* ─── CONTACTS ───────────────────────────────────────────── */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  min-height: 520px;
  align-items: stretch;
}
.contacts-left {
  background: var(--blue-deep);
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}
.contacts-left img.contacts-logo {
  width: 160px;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}
.contact-info-block label {
  display: block;
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.contact-info-block p,
.contact-info-block a {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
}
.contact-info-block a:hover { color: var(--white); text-decoration: underline; }
.contacts-right {
  background: var(--off-white);
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contacts-right h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 40px;
}
.contacts-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.contacts-detail-item label {
  display: block;
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}
.contacts-detail-item p,
.contacts-detail-item a {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.8;
}
.contacts-detail-item a:hover { color: var(--blue-mid); }

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--blue-deep);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-inner p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-cond);
  letter-spacing: 0.04em;
}
.footer-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-nav a {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-nav a:hover { color: rgba(255,255,255,0.8); }

/* ─── BREADCRUMB STRIP ──────────────────────────────────── */
.breadcrumb-strip {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb-strip nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.breadcrumb-strip a { color: var(--blue-mid); }
.breadcrumb-strip a:hover { text-decoration: underline; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .about-grid        { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap  { max-width: 600px; }
  .identity-grid     { grid-template-columns: 1fr; gap: 40px; }
  .solutions-grid    { grid-template-columns: repeat(2, 1fr); }
  .team-card         { grid-template-columns: 280px 1fr; }
  .project-cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .manifest-layout   { grid-template-columns: 1fr; }
  .manifest-left,
  .manifest-right    { padding: 48px 36px; }
  .contacts-layout   { grid-template-columns: 1fr; }
  .contacts-left,
  .contacts-right    { padding: 48px 36px; }
  .team-card         { grid-template-columns: 1fr; }
  .team-card-photo img { min-height: 240px; height: 240px; }
  .supervision-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 2px;
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: 10px 12px; width: 100%; font-size: 0.85rem; }

  .services-cols { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .home-hero-logo { width: 200px; }
  .home-hero h1 { white-space: normal; font-size: 1rem; }
  .container { padding: 0 20px; }
  .section  { padding: 52px 0; }
  .team-card-body { padding: 28px 24px; }
  .team-card-name-bar { margin: -28px -24px 20px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .home-hero { padding: 40px 20px; }
  .manifest-left,
  .manifest-right { padding: 40px 20px; }
  .contacts-left,
  .contacts-right { padding: 40px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
