/* CIMS LLC — Design 2: Modern with animations
   Bold gradients, animated blobs, glassmorphism touches,
   smooth hover micro-interactions. */

:root {
  --navy: #1B2A4E;
  --navy-deep: #0F1A35;
  --navy-soft: #2A3B66;
  --ink: #0a0f1f;
  --gray-900: #1f2937;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50:  #f7f8fc;
  --white: #ffffff;
  --red: #D90012;
  --blue: #0033A0;
  --orange: #F2A800;
  --whatsapp: #25D366;
  --grad-hero: linear-gradient(135deg, #1B2A4E 0%, #2A3B66 60%, #0F1A35 100%);
  --grad-accent: linear-gradient(135deg, #D90012 0%, #F2A800 100%);
  --grad-blue-orange: linear-gradient(135deg, #0033A0 0%, #F2A800 100%);
  --shadow-soft: 0 10px 40px rgba(15, 26, 53, 0.08);
  --shadow-strong: 0 20px 60px rgba(15, 26, 53, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --header-h: 78px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* ===================== ANIMATED BG ===================== */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  animation: float 22s ease-in-out infinite;
}
.blob-red    { background: var(--red);    top: -120px;  left: -160px; animation-delay: 0s; }
.blob-blue   { background: var(--blue);   top: 40%;     right: -200px; animation-delay: -6s; }
.blob-orange { background: var(--orange); bottom: -180px; left: 30%;   animation-delay: -12s; }

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(60px, -40px) scale(1.05); }
  66%      { transform: translate(-40px, 50px) scale(0.95); }
}

/* ===================== HEADER INFO (temp + datetime) ===================== */
.header-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  line-height: 1.2;
  flex-shrink: 0;
}
.hi-temp {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-family: 'Space Grotesk', sans-serif;
}
.hi-icon { font-size: 16px; line-height: 1; }
.hi-value {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hi-datetime-wrap { position: relative; }
.hi-datetime {
  background: transparent;
  border: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  padding: 2px 8px;
  margin: 0 -8px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3px;
  transition: all var(--transition);
}
.hi-datetime:hover {
  background: rgba(27, 42, 78, 0.06);
  color: var(--navy);
}

/* Calendar popup */
.calendar-popup {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  transform: translateY(-8px);
  width: 300px;
  background: var(--white);
  color: var(--gray-900);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 200;
  border: 1px solid rgba(27, 42, 78, 0.08);
  overflow: hidden;
}
.calendar-popup::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red) 0% 33%, var(--blue) 33% 66%, var(--orange) 66% 100%);
  border-radius: var(--radius) var(--radius) 0 0;
}
.calendar-popup.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cal-header {
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  font-size: 15px;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: capitalize;
  margin-top: 4px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-size: 13px;
}
.cal-wd {
  text-align: center;
  font-weight: 700;
  color: var(--gray-500);
  padding: 6px 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cal-day {
  text-align: center;
  padding: 8px 0;
  border-radius: 8px;
  color: var(--gray-700);
  font-weight: 500;
  cursor: default;
  transition: all 0.2s ease;
}
.cal-day:hover { background: var(--gray-100); }
.cal-today {
  background: var(--grad-accent);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(217, 0, 18, 0.25);
}
.cal-today:hover { background: var(--grad-accent); color: var(--white); }
.cal-empty { padding: 8px 0; }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 100;
  transition: all var(--transition);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 24px rgba(15, 26, 53, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
}
.brand-logo {
  width: 44px; height: 44px;
  transition: transform var(--transition);
}
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.brand-tag {
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-menu ul {
  display: flex;
  gap: 8px;
}
.nav-menu a {
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  transition: all var(--transition);
}
.nav-menu a:hover {
  color: var(--navy);
  background: rgba(27, 42, 78, 0.06);
}

.lang-switcher {
  display: flex;
  background: rgba(27, 42, 78, 0.06);
  padding: 4px;
  border-radius: 999px;
}
.lang-btn {
  background: transparent;
  border: none;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  cursor: pointer;
  border-radius: 999px;
  transition: all var(--transition);
  font-family: inherit;
  letter-spacing: 0.5px;
}
.lang-btn:hover { color: var(--navy); }
.lang-btn.active {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(27, 42, 78, 0.25);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  transition: var(--transition);
  border-radius: 2px;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 56px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(27, 42, 78, 0.06);
  border: 1px solid rgba(27, 42, 78, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 1px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 var(--orange);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(242, 168, 0, 0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(242, 168, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 168, 0, 0); }
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.08;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  background: linear-gradient(180deg, var(--ink) 0%, var(--navy-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-slogan {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 18px;
  display: inline-block;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  display: grid;
  place-items: center;
  padding: 20px;
}
.logo-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse, rgba(242, 168, 0, 0.35) 0%, rgba(217, 0, 18, 0.2) 40%, transparent 70%);
  filter: blur(50px);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.15); opacity: 1; }
}
.hero-logo {
  position: relative;
  width: 100%;
  z-index: 2;
  animation: floatLogo 6s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(27, 42, 78, 0.25);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary > * { position: relative; z-index: 2; }
.btn-primary:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(217, 0, 18, 0.35);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary svg { transition: transform var(--transition); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid rgba(27, 42, 78, 0.2);
}
.btn-ghost:hover {
  border-color: var(--navy);
  background: rgba(27, 42, 78, 0.06);
  color: var(--navy);
  transform: translateY(-3px);
}

/* ===================== SECTIONS ===================== */
.section {
  padding: 72px 0;
  position: relative;
}
.section-alt {
  background: var(--gray-50);
}

.section-head {
  margin-bottom: 40px;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 4px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-sub {
  font-size: 18px;
  color: var(--gray-500);
}

/* ===================== ABOUT ===================== */
.about-card {
  max-width: 880px;
  margin: 0 auto 48px;
  padding: 40px 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(27, 42, 78, 0.06);
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--red) 0% 33%, var(--blue) 33% 66%, var(--orange) 66% 100%);
}
.about-card p {
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 18px;
}
.about-card p:last-child { margin-bottom: 0; }
.about-list-intro {
  font-weight: 700 !important;
  color: var(--navy) !important;
  font-size: 18px !important;
  margin-top: 14px !important;
  margin-bottom: 16px !important;
}
.about-list {
  list-style: none;
  counter-reset: about-counter;
  margin: 0 0 28px;
  padding: 0;
}
.about-list li {
  counter-increment: about-counter;
  position: relative;
  padding: 22px 24px 22px 76px;
  margin-bottom: 14px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.about-list li:nth-child(1) { border-left: 4px solid var(--red); }
.about-list li:nth-child(2) { border-left: 4px solid var(--blue); }
.about-list li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-soft);
}
.about-list li::before {
  content: counter(about-counter);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}
.about-list li:nth-child(1)::before {
  background: var(--grad-accent);
  box-shadow: 0 6px 16px rgba(217, 0, 18, 0.25);
}
.about-list li:nth-child(2)::before {
  background: var(--grad-blue-orange);
  box-shadow: 0 6px 16px rgba(0, 51, 160, 0.25);
}
.about-list li strong {
  display: block;
  color: var(--navy);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px;
  font-family: 'Space Grotesk', sans-serif;
}
.about-list li span {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.about-list-clickable {
  cursor: pointer;
  padding-right: 64px !important;
}
.about-list-clickable:focus-visible {
  outline: none;
  transform: translateX(4px);
  box-shadow: var(--shadow-strong);
}
.about-list-clickable:hover { box-shadow: var(--shadow-soft); }
.about-list-clickable:nth-child(1):hover,
.about-list-clickable:nth-child(1):focus-visible {
  background: linear-gradient(135deg, rgba(217, 0, 18, 0.06) 0%, rgba(242, 168, 0, 0.06) 100%);
}
.about-list-clickable:nth-child(2):hover,
.about-list-clickable:nth-child(2):focus-visible {
  background: linear-gradient(135deg, rgba(0, 51, 160, 0.06) 0%, rgba(242, 168, 0, 0.06) 100%);
}
.about-list-clickable:hover .about-list-arrow,
.about-list-clickable:focus-visible .about-list-arrow { transform: translateY(-50%) translateX(6px); }
.about-list-arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 700;
  opacity: 0.7;
  transition: all var(--transition);
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-list-clickable:hover .about-list-arrow { opacity: 1; }
.about-list-clickable:nth-child(2) .about-list-arrow {
  background: var(--grad-blue-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-tagline {
  margin-top: 28px !important;
  margin-bottom: 0 !important;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  color: var(--white) !important;
  border-radius: var(--radius-lg);
  font-style: italic;
  font-size: 19px !important;
  text-align: center;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}
.about-tagline::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red) 0% 33%, var(--blue) 33% 66%, var(--orange) 66% 100%);
}

.standards-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  margin-bottom: 32px;
}
.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.standard-pill {
  padding: 28px 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(27, 42, 78, 0.08);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.standard-pill::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--accent);
  transition: width var(--transition);
}
.standard-pill:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.standard-pill:hover::before { width: 8px; }
.pill-code {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.pill-desc { font-size: 14px; color: var(--gray-500); }

/* ===================== SERVICES ===================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.service-card {
  background: var(--white);
  padding: 48px 44px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 42, 78, 0.06);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 0;
  background: var(--grad-accent);
  transition: height var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: transparent;
}
.service-card:hover::before { height: 5px; }

.service-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--grad-accent);
  color: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  transition: transform var(--transition);
  box-shadow: 0 10px 24px rgba(217, 0, 18, 0.25);
}
.service-icon svg { width: 30px; height: 30px; }
.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-4deg);
}
.service-card:nth-child(2) .service-icon {
  background: var(--grad-blue-orange);
  box-shadow: 0 10px 24px rgba(0, 51, 160, 0.25);
}
.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.service-card p {
  color: var(--gray-700);
  font-size: 16px;
  margin-bottom: 24px;
}
.service-arrow {
  font-size: 22px;
  color: var(--orange);
  font-weight: 700;
  transition: transform var(--transition);
}
.service-card:hover .service-arrow { transform: translateX(8px); }

/* ===================== RESOURCES ===================== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.resource-card {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 42, 78, 0.06);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.resource-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  border-radius: inherit;
}
.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}
.resource-card:hover::after { opacity: 0.04; }
.resource-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.resource-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.resource-card p {
  color: var(--gray-700);
  font-size: 15px;
  margin-bottom: 18px;
}
.resource-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.resource-link::after {
  content: '→';
  transition: transform var(--transition);
}
.resource-card:hover .resource-link::after { transform: translateX(6px); }

/* ===================== CONTACT ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  background: var(--white);
  border: 1px solid rgba(27, 42, 78, 0.06);
  border-radius: var(--radius);
  transition: all var(--transition);
}
a.contact-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}
.contact-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--grad-accent);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(217, 0, 18, 0.2);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-card:nth-child(2) .contact-icon { background: var(--grad-blue-orange); box-shadow: 0 6px 16px rgba(0, 51, 160, 0.2); }
.contact-card:nth-child(3) .contact-icon { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%); box-shadow: 0 6px 16px rgba(27, 42, 78, 0.2); }
.contact-card:nth-child(4) .contact-icon { background: linear-gradient(135deg, #1877F2 0%, #0a4faf 100%); box-shadow: 0 6px 16px rgba(24, 119, 242, 0.25); }
.contact-card:nth-child(5) .contact-icon { background: linear-gradient(135deg, #0A66C2 0%, #004182 100%); box-shadow: 0 6px 16px rgba(10, 102, 194, 0.25); }
.contact-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 42, 78, 0.06);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  background: var(--gray-50);
  border: 2px solid transparent;
  color: var(--navy);
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--gray-500); }
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 168, 0, 0.1);
}
.form-row textarea { resize: vertical; min-height: 130px; }
.contact-form .btn-primary { align-self: flex-start; }
.form-note {
  font-size: 14px;
  color: var(--orange);
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition);
}
.form-note.visible { opacity: 1; }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red) 0% 33%, var(--blue) 33% 66%, var(--orange) 66% 100%);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  width: 50px; height: 50px;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
  object-fit: contain;
}
.footer-name {
  color: var(--white);
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}
.footer-tag { font-size: 13px; }
.footer-meta { font-size: 13px; }

/* ===================== PROCESS ===================== */
#process .section-head h2 {
  white-space: nowrap;
  font-size: clamp(20px, 3vw, 36px);
}
@media (max-width: 600px) {
  #process .section-head h2 {
    white-space: normal;
    font-size: 22px;
  }
}
.process-flow {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  overflow-x: auto;
  padding-bottom: 4px;
}
.process-step {
  flex: 0 0 auto;
  background: var(--white);
  border: 1px solid rgba(27, 42, 78, 0.06);
  border-radius: var(--radius-lg);
  padding: 22px 22px;
  position: relative;
  overflow: visible;
  transition: all var(--transition);
  text-align: center;
}
.process-step h3 {
  white-space: nowrap;
}
.process-step:nth-child(7) h3 {
  white-space: normal;
  line-height: 1.3;
}
.process-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.process-step::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -16px;
  font-size: 22px;
  font-weight: 700;
  transform: translateY(-50%);
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 2;
  transition: transform var(--transition);
}
.process-step:last-child::after { display: none; }
.process-step:nth-child(2n)::after {
  background: var(--grad-blue-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.process-step {
  cursor: pointer;
  outline: none;
}
.process-step:hover,
.process-step:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: transparent;
}
.process-step:hover::before,
.process-step:focus-visible::before,
.process-step.active::before { transform: scaleX(1); }
.process-step:hover::after { transform: translateY(-50%) translateX(4px); }
.process-step.active {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: transparent;
  background: linear-gradient(135deg, var(--white) 0%, rgba(242, 168, 0, 0.06) 100%);
}
.process-step.active .step-icon {
  transform: scale(1.08) rotate(-4deg);
}

/* Details panel */
.process-details {
  position: relative;
  margin-top: 28px;
  background: var(--white);
  border: 1px solid rgba(27, 42, 78, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px 56px 24px 28px;
  box-shadow: var(--shadow-soft);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: all var(--transition);
  overflow: hidden;
}
.process-details::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: var(--grad-accent);
}
.process-details.open {
  opacity: 1;
  transform: translateY(0);
}
.process-details p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-700);
  margin: 0;
  font-style: italic;
}
.process-details p a {
  color: var(--orange);
  font-weight: 700;
  font-style: normal;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color var(--transition);
}
.process-details p a:hover { color: var(--red); }
.process-details-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 300;
}
.process-details-close:hover {
  background: var(--grad-accent);
  color: var(--white);
  transform: rotate(90deg);
}
.process-step .step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 8px 18px rgba(217, 0, 18, 0.25);
  transition: transform var(--transition);
}
.process-step .step-icon svg { width: 26px; height: 26px; }
.process-step:nth-child(2n) .step-icon {
  background: var(--grad-blue-orange);
  box-shadow: 0 8px 18px rgba(0, 51, 160, 0.25);
}
.process-step:hover .step-icon {
  transform: scale(1.08) rotate(-4deg);
}
.process-step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

/* On smaller screens — horizontal scroll to keep the chain feel */
@media (max-width: 900px) {
  .process-flow {
    gap: 24px;
    padding-bottom: 10px;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .process-step {
    scroll-snap-align: start;
  }
  .process-step::after { right: -20px; font-size: 20px; }
}

/* ===================== FAQ ===================== */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: 1px solid rgba(27, 42, 78, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.faq-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0;
  background: var(--grad-accent);
  transition: width var(--transition);
}
.faq-item[open] {
  box-shadow: var(--shadow-strong);
  border-color: transparent;
}
.faq-item[open]::before { width: 4px; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: background var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(242, 168, 0, 0.04); }
.faq-q-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-accent);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(217, 0, 18, 0.2);
  transition: transform var(--transition);
}
.faq-q-icon svg { width: 22px; height: 22px; }
.faq-item:nth-child(2n) .faq-q-icon {
  background: var(--grad-blue-orange);
  box-shadow: 0 6px 16px rgba(0, 51, 160, 0.2);
}
.faq-item[open] .faq-q-icon,
.faq-item summary:hover .faq-q-icon {
  transform: scale(1.08) rotate(-4deg);
}
.faq-q-text {
  flex: 1;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.4;
  font-family: 'Space Grotesk', sans-serif;
}
.faq-toggle {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(27, 42, 78, 0.06);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.faq-toggle svg { width: 18px; height: 18px; }
.faq-item[open] .faq-toggle {
  background: var(--grad-accent);
  color: var(--white);
  transform: rotate(180deg);
  box-shadow: 0 6px 16px rgba(217, 0, 18, 0.25);
}
.faq-answer {
  padding: 4px 26px 24px 90px;
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.7;
}
.faq-answer br + 🔹,
.faq-answer br { display: block; margin-top: 4px; }

/* ===================== APPLY BUTTONS ===================== */
.about-list-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 22px;
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.about-list-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}
.about-list-btn:hover {
  color: var(--white);
  border-color: transparent;
  transform: translateX(4px);
  box-shadow: 0 8px 22px rgba(217, 0, 18, 0.3);
}
.about-list-btn:hover::before { opacity: 1; }

.contact-cta {
  text-align: center;
  margin-bottom: 56px;
}
.contact-apply-btn {
  font-size: 16px;
  padding: 18px 38px;
}

/* ===================== APPLY MODAL ===================== */
.apply-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 26, 53, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.apply-modal.open { display: flex; }
.apply-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  padding: 44px;
  position: relative;
  box-shadow: var(--shadow-strong);
  margin: auto 0;
  overflow: hidden;
  animation: applyIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.apply-dialog::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--red) 0% 33%, var(--blue) 33% 66%, var(--orange) 66% 100%);
}
@keyframes applyIn {
  from { opacity: 0; transform: translateY(-30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.apply-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 300;
}
.apply-close:hover {
  background: var(--grad-accent);
  color: var(--white);
  transform: rotate(90deg);
}
.apply-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.apply-header p {
  color: var(--gray-500);
  font-size: 15px;
  margin-bottom: 30px;
}
.apply-form .form-group { margin-bottom: 22px; }
.apply-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  font-family: 'Space Grotesk', sans-serif;
}
.apply-form input[type="text"],
.apply-form input[type="tel"],
.apply-form input[type="email"],
.apply-form textarea {
  width: 100%;
  padding: 13px 18px;
  background: var(--gray-50);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--gray-900);
  transition: all var(--transition);
}
.apply-form input:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(242, 168, 0, 0.12);
}
.apply-form textarea { resize: vertical; min-height: 70px; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.radio-card,
.check-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--gray-50);
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: var(--gray-700);
  transition: all var(--transition);
}
.radio-card:hover,
.check-card:hover {
  background: var(--white);
  border-color: rgba(27, 42, 78, 0.15);
}
.radio-card input,
.check-card input {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
  cursor: pointer;
  flex-shrink: 0;
}
.radio-card:has(input:checked),
.check-card:has(input:checked) {
  border-color: var(--orange);
  background: rgba(242, 168, 0, 0.08);
  color: var(--navy);
  font-weight: 600;
}
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-conditional {
  display: none;
  margin-top: 12px;
}
.form-conditional.visible { display: block; animation: applyIn 0.25s ease; }
.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}
.apply-form .form-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--orange);
  opacity: 0;
  text-align: center;
  font-weight: 600;
}
.apply-form .form-note.visible { opacity: 1; }
.apply-form .form-note.error { color: var(--red); }

@media (max-width: 720px) {
  .apply-dialog { padding: 32px 22px; }
  .form-grid-2,
  .radio-group { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
}

/* ===================== WHATSAPP FLOAT ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); }
.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  animation: waPulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0;   }
}

/* ===================== REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero-inner { gap: 48px; }
  .standards-grid { grid-template-columns: 1fr 1fr; }
  .resources-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-visual { order: -1; }
  .logo-wrap { max-width: 240px; }
  .hero-actions { justify-content: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .about-card { padding: 36px 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 48px 0; }
  .hero { padding-top: calc(var(--header-h) + 20px); padding-bottom: 40px; }
  .header-info {
    margin-right: 8px;
    gap: 0;
  }
  .hi-temp { font-size: 12px; gap: 4px; }
  .hi-icon { font-size: 14px; }
  .hi-datetime { font-size: 10px; padding: 1px 6px; margin: 0 -6px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--gray-100);
    transform: translateY(-150%);
    transition: transform var(--transition);
    box-shadow: 0 8px 24px rgba(15, 26, 53, 0.08);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu ul { flex-direction: column; gap: 8px; width: 100%; }
  .services-grid,
  .resources-grid,
  .standards-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .contact-form { padding: 24px; }
}
