:root {
  --navy: #0a1628;
  --navy-muted: #1e3354;
  --teal: #5a8ba0;
  --teal-light: #789db1;
  --gold: #c9a227;
  --gold-light: #e0bc4a;
  --cyan: #2d9cdb;
  --cyan-dark: #1a7aad;
  --white: #ffffff;
  --off-white: #f4f6f9;
  --warm: #f8f6f2;
  --gray-100: #e8ecf1;
  --gray-200: #c5cdd8;
  --gray-600: #5a6678;
  --text: #2c3440;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 22, 40, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1140px, 92vw); margin-inline: auto; }

/* Headings — DM Sans only so & renders consistently everywhere */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
}
h1 { font-weight: 700; letter-spacing: -0.03em; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.section-label::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal-light));
  margin-top: 0.5rem;
  border-radius: 2px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: 700;
}
.section-subtitle { font-size: 1.05rem; color: var(--gray-600); max-width: 640px; line-height: 1.75; }
.mb-lg { margin-bottom: 2.5rem; }
.mb-md { margin-bottom: 2rem; }
.text-center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }
.btn-whatsapp { background: #25d366; color: var(--white); border-color: #25d366; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3); }
.btn-whatsapp:hover { background: #1fb855; transform: translateY(-2px); }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 2px 20px rgba(10, 22, 40, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; transition: opacity 0.2s; }
.brand-logo:hover { opacity: 0.88; }
.brand-logo img { height: 56px; width: auto; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  position: relative;
}
.nav-link:hover { color: var(--navy); background: var(--off-white); }
.nav-link.active { color: var(--navy); font-weight: 600; background: rgba(90, 139, 160, 0.1); }
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span {
  display: block; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Footer */
.footer { background: linear-gradient(180deg, var(--navy) 0%, #060e18 100%); color: rgba(255, 255, 255, 0.75); padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand .brand-logo {
  margin-bottom: 1rem;
  background: var(--white);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.footer-brand .brand-logo img { height: 72px; }
.footer-desc { font-size: 0.9rem; line-height: 1.7; max-width: 360px; }
.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer ul li { margin-bottom: 0.6rem; }
.footer ul a { font-size: 0.9rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 1.5rem 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-disclaimer { max-width: 400px; text-align: right; }

/* Hero home */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  padding-top: var(--header-height);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.94) 0%, rgba(30, 51, 84, 0.88) 60%, rgba(90, 139, 160, 0.15) 100%),
    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='%23c9a227' fill-opacity='0.05'%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");
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 55%; height: 80%;
  background: radial-gradient(ellipse, rgba(90, 139, 160, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; padding: 4rem 0 4rem; max-width: 720px; }
.hero-badge {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  background: rgba(90, 139, 160, 0.2);
  border: 1px solid rgba(90, 139, 160, 0.4);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  margin-bottom: 1.25rem;
  line-height: 1.12;
}
.hero p { font-size: 1.1rem; color: rgba(255, 255, 255, 0.78); line-height: 1.75; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-muted) 70%, #2a4a62 100%);
  color: var(--white);
  padding: calc(var(--header-height) + 3.5rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(90, 139, 160, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(201, 162, 39, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--cyan));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); max-width: 600px; }
.page-hero .section-label { color: var(--gold-light); }
.page-hero .section-label::after { background: linear-gradient(90deg, var(--gold-light), var(--teal-light)); }

.section { padding: 5rem 0; }
.section-alt { background: var(--warm); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  border-top: 3px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--gold);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; font-weight: 600; }
.card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.65; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.check-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.65rem; color: var(--gray-600); line-height: 1.65; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

.disclaimer-box {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  box-shadow: var(--shadow);
}

.home-process-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.process-preview-steps { display: flex; flex-direction: column; gap: 0.75rem; }
.preview-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  font-weight: 500;
  color: var(--navy);
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-left-color 0.2s;
}
.preview-step:hover { transform: translateX(4px); border-left-color: var(--teal); }
.preview-num { font-size: 1rem; color: var(--teal); font-weight: 700; min-width: 2rem; }

.about-text p { color: var(--gray-600); margin-bottom: 1.25rem; font-size: 1rem; line-height: 1.75; }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.client-chip {
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.client-chip:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.services-layout { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
.services-nav { display: flex; flex-direction: column; gap: 0.35rem; position: sticky; top: calc(var(--header-height) + 1.5rem); }
.services-nav-item {
  text-align: left;
  padding: 0.85rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.4;
}
.services-nav-item:hover { border-color: var(--teal); color: var(--navy); background: rgba(90, 139, 160, 0.06); }
.services-nav-item.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.2);
}
.services-panel { display: none; animation: fadeIn 0.35s ease; }
.services-panel.active { display: block; }
.services-panel h2 { font-size: 1.75rem; margin-bottom: 1rem; font-weight: 700; }
.services-summary { font-size: 1.05rem; color: var(--gray-600); margin-bottom: 1.5rem; line-height: 1.7; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.process-timeline { position: relative; padding-left: 2rem; max-width: 720px; }
.process-timeline::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--teal));
}
.process-step { position: relative; padding-bottom: 2.5rem; }
.process-step:last-child { padding-bottom: 0; }
.process-step::before {
  content: '';
  position: absolute; left: -2rem; top: 0.35rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
  transform: translateX(-6px);
}
.process-phase { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--teal); margin-bottom: 0.35rem; }
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 600; }
.process-step p { color: var(--gray-600); font-size: 0.95rem; }
.process-intro p, .nature-text p, .tdr-intro p, .tdr-process-overview p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 800px;
}

.assignment-list { columns: 2; column-gap: 2rem; }
.assignment-list li { break-inside: avoid; margin-bottom: 0.75rem; }
.sector-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}
.sector-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.sector-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--teal)); flex-shrink: 0; }

.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none; border: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--teal); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 400;
  transition: transform 0.25s ease, background 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(90, 139, 160, 0.15); color: var(--teal); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .faq-answer { max-height: 320px; padding-bottom: 1.25rem; }
.faq-answer p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.65; }

.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-muted) 60%, #2a4a62 100%);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; font-weight: 700; }
.cta-band p { color: rgba(255, 255, 255, 0.8); margin-bottom: 2rem; max-width: 520px; margin-inline: auto; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.coming-soon {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--gray-200);
  box-shadow: var(--shadow);
}
.coming-soon h3 { margin-bottom: 0.75rem; font-weight: 600; }
.coming-soon p { color: var(--gray-600); }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h2, .contact-form-wrap h2 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 700; }
.contact-intro { color: var(--gray-600); margin-bottom: 2rem; line-height: 1.7; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex; gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}
.contact-card:hover { border-color: var(--teal); transform: translateX(4px); }
.contact-icon { font-size: 1.25rem; flex-shrink: 0; }
.contact-card strong { display: block; color: var(--navy); font-size: 0.9rem; margin-bottom: 0.25rem; }
.contact-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.5; }
.contact-card a { color: var(--cyan-dark); font-weight: 500; }
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--off-white);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(90, 139, 160, 0.2);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success { text-align: center; padding: 2rem 1rem; display: none; }
.form-success.visible { display: block; }
.form-success p { color: var(--gray-600); margin-bottom: 1.5rem; line-height: 1.7; }

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; }

@media (max-width: 1024px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-height); left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    background: var(--white);
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    border-top: 1px solid var(--gray-100);
    box-shadow: -4px 0 24px rgba(10, 22, 40, 0.1);
  }
  .nav.open { transform: translateX(0); }
  .nav-link { padding: 1rem 1.25rem; font-size: 1rem; border-radius: 8px; }
}
@media (max-width: 768px) {
  .home-process-preview { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; }
  .services-layout { grid-template-columns: 1fr; }
  .services-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .assignment-list { columns: 1; }
  .brand-logo img { height: 48px; }
}
@media (max-width: 480px) {
  .footer-brand .brand-logo img { height: 64px; }
}
