/* =============================================
   TOGAR GLOBAL, INC. — MODERN REDESIGN
   ============================================= */

/* === 1. GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* === 2. VARIABLES === */
:root {
  --navy:        #0B1F3A;
  --navy-mid:    #162B4D;
  --navy-light:  #1E3A5F;
  --teal:        #1B4D3E;
  --teal-mid:    #2A6B5C;
  --teal-light:  #3D8F7C;
  --gold:        #C5973A;
  --gold-light:  #DDAE52;
  --white:       #FFFFFF;
  --off-white:   #F7F9FC;
  --gray-light:  #EEF1F6;
  --gray-mid:    #D1D9E6;
  --text-dark:   #1A202C;
  --text-mid:    #4A5568;
  --text-light:  #718096;

  --font-heading: 'Outfit', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 4px rgba(11,31,58,0.07);
  --shadow-md: 0 4px 20px rgba(11,31,58,0.10);
  --shadow-lg: 0 8px 40px rgba(11,31,58,0.14);
  --shadow-xl: 0 20px 60px rgba(11,31,58,0.18);

  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --nav-height: 76px;
  --max-width:  1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === 3. RESET & BASE === */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === 4. TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
p  { font-size: 1rem; line-height: 1.75; color: var(--text-mid); }

/* === 5. LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 6rem 0; }
.section-sm { padding: 3.5rem 0; }

/* === 6. BUTTONS === */
.btn, .btn-outline, .btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; border-radius: 8px;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
  transition: var(--transition); letter-spacing: 0.01em;
}
.btn {
  background: var(--gold); color: var(--navy);
  box-shadow: 0 4px 14px rgba(197,151,58,0.35);
}
.btn:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 20px rgba(197,151,58,0.50);
  transform: translateY(-1px);
}
.btn-navy {
  background: var(--navy); color: var(--white);
  box-shadow: 0 4px 14px rgba(11,31,58,0.35);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}
.btn-outline {
  border: 2px solid var(--gold); color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold); color: var(--navy);
}
.btn-ghost {
  border: 2px solid rgba(255,255,255,0.5); color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--white); background: rgba(255,255,255,0.1);
}

/* Section label (eyebrow text) */
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
}

/* Section heading block */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { color: var(--navy); margin-bottom: 0.75rem; }
.section-header p { max-width: 580px; margin: 0 auto; }

/* Divider accent */
.divider {
  width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px; margin: 0.75rem auto 0;
}

/* === 7. NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: var(--nav-height);
  display: flex; align-items: center;
  padding: 0 2rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11,31,58,0.08);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-inner {
  max-width: var(--max-width); width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.65rem;
}
.nav-logo img {
  height: 40px; width: 40px; object-fit: contain; border-radius: 6px;
}
.nav-logo-text {
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700;
  color: var(--navy); line-height: 1.2;
}
.nav-logo-text span { display: block; font-size: 0.7rem; font-weight: 400; color: var(--text-light); letter-spacing: 0.05em; }
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-mid);
  padding: 0.5rem 0.9rem; border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--navy); background: var(--gray-light);
}
.nav-cta {
  padding: 0.5rem 1.25rem !important; border-radius: 8px !important;
  background: var(--navy) !important; color: var(--white) !important;
}
.nav-cta:hover {
  background: var(--teal) !important;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: 8px; cursor: pointer;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: var(--transition);
}
.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 menu */
.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: var(--white); z-index: 998;
  padding: 1rem 2rem 1.5rem;
  border-bottom: 1px solid var(--gray-mid);
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.75rem 0; font-size: 1rem; font-weight: 500;
  color: var(--text-dark); border-bottom: 1px solid var(--gray-light);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active, .mobile-menu a:hover { color: var(--navy); }

/* === 8. HOME HERO === */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #0D2845 50%, var(--teal) 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding-top: var(--nav-height);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(27,77,62,0.4) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(197,151,58,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; width: 100%; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(197,151,58,0.15); border: 1px solid rgba(197,151,58,0.35);
  color: var(--gold); padding: 0.4rem 1rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); animation: blink 1.5s ease infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}
.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-content h1 span { color: var(--gold); }
.hero-content p {
  color: rgba(255,255,255,0.75); font-size: 1.15rem;
  margin-bottom: 2.25rem; max-width: 480px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.4); font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollDrop 2s ease infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* === 9. GLOBE SVG ART === */
.hero-art {
  display: flex; justify-content: center; align-items: center;
}
.hero-svg {
  width: 100%; max-width: 520px; height: auto;
  filter: drop-shadow(0 0 40px rgba(27,77,62,0.4));
}
.globe-node-pr {
  animation: nodeGlow 3s ease-in-out infinite;
}
@keyframes nodeGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(197,151,58,0.6)); }
  50%       { filter: drop-shadow(0 0 12px rgba(197,151,58,1)); }
}

/* === 10. STATS BAR === */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  padding: 2.5rem 0;
}
.stats-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-item {
  text-align: center; padding: 1.25rem;
  border-right: 1px solid var(--gray-light);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800;
  color: var(--navy); line-height: 1; margin-bottom: 0.35rem;
}
.stat-number sup { font-size: 1rem; vertical-align: super; }
.stat-label {
  font-size: 0.82rem; font-weight: 500; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* === 11. FEATURE CARDS === */
.features { background: var(--off-white); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.feature-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2.25rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197,151,58,0.3);
}
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; flex-shrink: 0;
}
.card-icon svg { width: 26px; height: 26px; }
.feature-card h3 { color: var(--navy); margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.92rem; flex: 1; }
.feature-card ul {
  margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.4rem;
}
.feature-card ul li {
  font-size: 0.9rem; color: var(--text-mid);
  padding-left: 1.25rem; position: relative;
}
.feature-card ul li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.feature-card .btn-outline { margin-top: 1.5rem; align-self: flex-start; font-size: 0.85rem; padding: 0.6rem 1.2rem; }

/* === 12. CERTIFIED SECTION === */
.certified {
  background: var(--navy);
  position: relative; overflow: hidden;
}
.certified::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(197,151,58,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.certified-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.certified-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cert-badge {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 1.25rem;
  display: flex; align-items: center; gap: 0.85rem;
  transition: var(--transition);
}
.cert-badge:hover {
  background: rgba(197,151,58,0.1); border-color: rgba(197,151,58,0.4);
}
.cert-badge-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cert-badge-icon svg { width: 18px; height: 18px; }
.cert-badge-text { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.85); line-height: 1.3; }
.cert-badge-text span { display: block; font-size: 0.72rem; font-weight: 400; color: rgba(255,255,255,0.45); margin-top: 0.1rem; }
.certified-cta h2 { color: var(--white); margin-bottom: 1rem; }
.certified-cta p { color: rgba(255,255,255,0.65); margin-bottom: 2rem; }

/* === 13. CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; position: relative;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.75); margin-top: 0.5rem; }

/* === 14. PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--teal) 100%);
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(27,77,62,0.35) 0%, transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero-tag {
  display: inline-block;
  color: var(--gold); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 560px; font-size: 1.1rem; }

/* === 15. ABOUT PAGE === */
.about-story .container {
  display: block; max-width: 720px;
}
.about-text h2 { color: var(--navy); margin-bottom: 1.25rem; }
.about-text p { margin-bottom: 1rem; }
.about-photos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.photo-placeholder {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gray-light), var(--gray-mid));
  aspect-ratio: 4/3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.75rem;
  color: var(--text-light); font-size: 0.85rem; text-align: center;
  padding: 1.5rem; border: 2px dashed var(--gray-mid);
}
.photo-placeholder svg { opacity: 0.4; }
.about-values { background: var(--off-white); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-light);
}
.value-icon {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  display: flex; align-items: center; justify-content: center;
}
.value-icon svg { width: 28px; height: 28px; }
.value-card h3 { color: var(--navy); margin-bottom: 0.75rem; }
.lets-meet {
  background: var(--navy);
  text-align: center;
}
.lets-meet h2 { color: var(--white); margin-bottom: 1rem; }
.lets-meet blockquote {
  font-size: 1.1rem; font-style: italic;
  color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto 2rem;
  line-height: 1.8;
}

/* === 16. SERVICES PAGE === */
.services-pillars { background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light); transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.service-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 1rem; }
.service-card p { font-size: 0.95rem; }

.services-process { background: var(--white); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 28px; left: 12.5%; right: 12.5%;
  height: 2px; background: var(--gray-mid); z-index: 0;
}
.process-step {
  text-align: center; padding: 0 1rem;
  position: relative; z-index: 1;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--navy);
}
.process-step h3 { color: var(--navy); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.88rem; }

/* === 17. CLIENTS PAGE === */
.clients-section { padding: 5rem 0; }
.clients-section:nth-child(even) { background: var(--off-white); }
.sector-label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-heading); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem;
}
.sector-label.public { color: var(--navy); }
.sector-label.private { color: var(--teal); }
.sector-label svg { width: 16px; height: 16px; }
.clients-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  margin-top: 2.5rem;
}
.client-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem 1.5rem; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-light);
  transition: var(--transition);
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.client-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: rgba(11,31,58,0.2);
}
.client-seal {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gray-light), var(--gray-mid));
  display: flex; align-items: center; justify-content: center;
}
.client-seal svg { width: 32px; height: 32px; }
.client-card h4 {
  font-family: var(--font-heading); font-size: 0.92rem; font-weight: 600;
  color: var(--navy); line-height: 1.3;
}
.client-card span { font-size: 0.78rem; color: var(--text-light); }
.clients-private-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  margin-top: 2.5rem;
}
.client-private {
  background: var(--white); border-radius: var(--radius);
  padding: 2.5rem 2rem; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-light);
  transition: var(--transition);
}
.client-private:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: rgba(27,77,62,0.3);
}
.client-private h4 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.4rem; }
.client-private span { font-size: 0.85rem; color: var(--text-light); }

/* === 18. CONTACT PAGE === */
.contact-section { background: var(--off-white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem;
}
.contact-info h2 { color: var(--navy); margin-bottom: 0.75rem; }
.contact-info > p { margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
}
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item-text { padding-top: 0.1rem; }
.contact-item-text strong {
  display: block; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-light); margin-bottom: 0.2rem;
}
.contact-item-text a, .contact-item-text p {
  color: var(--text-dark); font-weight: 500;
}
.contact-item-text a:hover { color: var(--teal); }

.contact-form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
}
.contact-form-card h3 { color: var(--navy); margin-bottom: 0.5rem; }
.contact-form-card > p { margin-bottom: 2rem; font-size: 0.92rem; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--text-dark); margin-bottom: 0.5rem; letter-spacing: 0.02em;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.8rem 1rem;
  border: 1.5px solid var(--gray-mid); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text-dark);
  background: var(--white); outline: none;
  transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,31,58,0.08);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-light); }
.form-submit { width: 100%; margin-top: 0.5rem; justify-content: center; }
.form-success {
  display: none; text-align: center; padding: 2rem;
  background: rgba(27,77,62,0.06); border-radius: var(--radius);
  border: 1px solid rgba(27,77,62,0.2);
}
.form-success.visible { display: block; }
.form-success h3 { color: var(--teal); margin-bottom: 0.5rem; }
.form-success p { font-size: 0.95rem; color: var(--text-mid); }

/* === 19. FOOTER === */
.footer {
  background: var(--navy);
  padding: 4rem 0 0;
}
.footer-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand .nav-logo-text, .footer-brand .nav-logo-text span { color: var(--white); opacity: 0.9; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); max-width: 260px; }
.footer-col h4 {
  font-family: var(--font-heading); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a {
  font-size: 0.9rem; color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact p {
  font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-bottom: 0.5rem;
}
.footer-contact a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-width); margin: 3rem auto 0; padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-certs {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
}
.footer-cert-chip {
  font-size: 0.72rem; font-weight: 600;
  background: rgba(197,151,58,0.12); border: 1px solid rgba(197,151,58,0.25);
  color: var(--gold); padding: 0.3rem 0.75rem; border-radius: 50px;
}

/* === 20. ANIMATIONS === */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1; transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* === 21. SERVICE DETAIL ROWS (responsive) === */
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.detail-row + .detail-row { margin-top: 5rem; }

/* === 22. RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-art { display: none; }
  .hero-content p { max-width: 100%; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--gray-light); }
  .certified-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-story .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  .hamburger { display: flex; }
  .nav-links { display: none; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 4rem 0; }

  /* Hero badge — prevent awkward wrap */
  .hero-badge { font-size: 0.72rem; letter-spacing: 0.06em; padding: 0.35rem 0.85rem; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--gray-light); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--gray-light); }

  .features-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  /* Services detail rows */
  .detail-row { grid-template-columns: 1fr; gap: 2rem; }
  .detail-row .detail-art { order: -1 !important; min-height: 200px !important; }


  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-private-grid { grid-template-columns: 1fr; }
  .certified-badges { grid-template-columns: 1fr; }
  .cta-banner .container { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn, .hero-buttons .btn-ghost { width: 100%; justify-content: center; }

  /* Process steps 1-col on small */
  .process-steps { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  .hero-badge { font-size: 0.65rem; }
  .container { padding: 0 1.25rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: 1fr; }
  .certified-badges { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
  .footer-certs { justify-content: center; }
}

/* === 23. INLINE SVG LOGO === */
.nav-logo-svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: visible;
}
.footer-logo-svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 7px;
}

/* === 24. LANGUAGE TOGGLE === */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.75rem;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-light);
  background: transparent;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.lang-btn:hover {
  color: var(--navy);
  background: var(--gray-light);
}
.lang-btn.active {
  color: var(--navy);
  background: var(--gray-light);
  border-color: var(--gray-mid);
}
.lang-btn svg {
  border-radius: 2px;
  flex-shrink: 0;
  display: block;
}
/* Mobile lang toggle inside mobile-menu */
.mobile-lang-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-light);
}
.mobile-lang-row .lang-btn {
  flex: 1;
  justify-content: center;
  padding: 0.55rem 0.5rem;
  border: 1.5px solid var(--gray-mid);
  font-size: 0.82rem;
}
.mobile-lang-row .lang-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
@media (max-width: 768px) {
  .lang-toggle { display: none; }
}

/* === 25. MOBILE OVERFLOW GUARD === */
html, body { overflow-x: hidden; max-width: 100%; }
.navbar, .mobile-menu, .hero, .stats-bar,
.features, .certified, .cta-banner,
.page-hero, .footer { max-width: 100%; }

/* Ensure about-photos all stack on mobile */
@media (max-width: 768px) {
  .about-photos { grid-template-columns: 1fr !important; }
  .about-photos .photo-placeholder { grid-column: span 1 !important; aspect-ratio: 4/3 !important; }

  /* Sector tab buttons full width on mobile */
  .sector-tabs-row { flex-direction: column; }
  .sector-tabs-row a { width: 100%; }

  /* Private clients grid single col */
  .clients-private-grid { grid-template-columns: 1fr !important; }

  /* Contact grid */
  .contact-grid { gap: 2rem; }
}
