/* ===========================================
   AppFormance Tech — Main Stylesheet
   Brand: Montserrat | #4ABAEB | #A7CF3B | #191919
   =========================================== */

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

:root {
  --blue:        #4ABAEB;
  --green:       #A7CF3B;
  --black:       #191919;
  --white:       #ffffff;
  --light:       #f5f8fa;
  --mid:         #e4eaef;
  --text:        #2d3748;
  --text-muted:  #64748b;
  --gradient:    linear-gradient(135deg, #4ABAEB 0%, #A7CF3B 100%);
  --gradient-r:  linear-gradient(135deg, #3aa8d8 0%, #8db830 100%);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
  --shadow:      0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.12);
  --shadow-blue: 0 4px 24px rgba(74,186,235,0.25);
  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  all 0.3s ease;
  --nav-h:       80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: var(--black); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 0.9rem; font-weight: 700; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }

/* ===== LAYOUT ===== */
.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

.section { padding: 6rem 0; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

/* ===== TAGS / LABELS ===== */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(74,186,235,0.10);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-tag.light { color: var(--white); background: rgba(255,255,255,0.15); }

.section-title { margin-bottom: 0.75rem; }
.section-desc { color: var(--text-muted); font-size: 1.05rem; }

/* ===== GRADIENT TEXT UTILITY ===== */
.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--gradient-r);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(74,186,235,0.4);
}

.btn-ghost-white {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.22);
  border-color: var(--white);
}

.btn-full { width: 100%; justify-content: center; }

/* ===== LOGO ===== */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

/* Image-based logo */
.logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Footer logo: white pill container so the PNG shows on dark bg */
.footer-logo-link { display: inline-block; }
.footer-logo-wrap {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
}
.logo-img-footer { height: 32px; width: auto; }

/* Legacy text logo (kept for fallback) */
.logo-icon { flex-shrink: 0; }
.logo-text {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1;
  white-space: nowrap;
}
.logo-appf {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-ormance { color: var(--black); }
.logo-ormance-white { color: var(--white); }

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.header.scrolled {
  border-bottom-color: var(--mid);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.855rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover { color: var(--blue); background: rgba(74,186,235,0.07); }

.nav-cta {
  background: var(--gradient);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.82rem;
  margin-left: 0.5rem;
}
.nav-cta:hover {
  background: var(--gradient-r) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient);
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Geometric triangle decorations */
.geo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.tri {
  position: absolute;
  opacity: 0;
  animation: fadeTriIn 1s ease forwards;
}

@keyframes fadeTriIn {
  to { opacity: 1; }
}

/* Using clip-path triangles instead of border hack */
.tri-a {
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.18);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  top: 12%; right: 18%;
  animation-delay: 0.2s;
  transform: rotate(10deg);
}
.tri-b {
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.25);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  top: 28%; right: 28%;
  animation-delay: 0.4s;
  transform: rotate(-15deg);
}
.tri-c {
  width: 110px; height: 110px;
  background: rgba(255,255,255,0.10);
  clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
  bottom: 18%; right: 8%;
  animation-delay: 0.3s;
  transform: rotate(5deg);
}
.tri-d {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.15);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  top: 55%; left: 3%;
  animation-delay: 0.5s;
}
.tri-e {
  width: 35px; height: 35px;
  background: rgba(255,255,255,0.2);
  clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
  top: 18%; right: 6%;
  animation-delay: 0.6s;
}
.tri-f {
  width: 45px; height: 45px;
  background: rgba(255,255,255,0.12);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  bottom: 30%; left: 8%;
  animation-delay: 0.35s;
  transform: rotate(20deg);
}

.dots-pattern {
  position: absolute;
  top: 8%; left: 2%;
  width: 130px; height: 130px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.35) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0;
  animation: fadeTriIn 1.2s ease 0.5s forwards;
}
.dots-pattern-2 {
  position: absolute;
  bottom: 10%; right: 3%;
  width: 100px; height: 100px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.25) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0;
  animation: fadeTriIn 1.2s ease 0.7s forwards;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4rem 0 5rem;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(6px);
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.8;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.18;
}

.hero-title .underline-accent {
  position: relative;
  color: var(--white);
}
.hero-title .underline-accent::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.55);
  border-radius: 2px;
}

.hero-desc {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.88);
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.hero-stat span {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.hero-stat-sep {
  width: 1px;
  height: 42px;
  background: rgba(255,255,255,0.2);
}

/* ===== ABOUT ===== */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-left .section-tag { display: inline-block; margin-bottom: 1rem; }
.about-left h2 { margin-bottom: 1.25rem; }
.about-left > p { color: var(--text-muted); margin-bottom: 1rem; }
.about-left > p strong { color: var(--black); font-weight: 700; }
.about-left .btn { margin-top: 0.75rem; }

.about-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.outcome-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--light);
  border: 1px solid var(--mid);
  border-radius: var(--radius);
  transition: var(--transition);
}
.outcome-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.oc-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.oc-icon.blue  { background: rgba(74,186,235,0.12);  color: var(--blue); }
.oc-icon.green { background: rgba(167,207,59,0.12);  color: #7aaa1a; }
.oc-icon.dark  { background: rgba(25,25,25,0.07);    color: var(--black); }

.outcome-card h3 { font-size: 0.98rem; margin-bottom: 0.3rem; }
.outcome-card p { font-size: 0.86rem; color: var(--text-muted); margin: 0; }

/* ===== PHILOSOPHY ===== */
.philosophy { background: var(--light); }

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.phil-card {
  padding: 2.5rem 2.25rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.phil-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.phil-card.mission {
  background: var(--white);
  border: 2px solid rgba(74,186,235,0.2);
}
.phil-card.vision {
  background: var(--black);
  color: var(--white);
}
.phil-card.vision h3 { color: var(--white); }
.phil-card.vision p  { color: rgba(255,255,255,0.75); margin: 0; }

.phil-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.mission .phil-icon { background: rgba(74,186,235,0.1);  color: var(--blue); }
.vision  .phil-icon { background: rgba(74,186,235,0.15); color: var(--blue); }

.phil-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.phil-card p  { line-height: 1.8; }

/* ===== PILLARS ===== */
.pillars { background: var(--white); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--light);
  border: 2px solid var(--mid);
  position: relative;
  transition: var(--transition);
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(74,186,235,0.35);
}

.pillar-card.featured {
  background: var(--gradient);
  border-color: transparent;
}
.pillar-card.featured:hover { box-shadow: 0 8px 40px rgba(74,186,235,0.45); }

.pillar-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(0,0,0,0.06);
  line-height: 1;
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.pillar-card.featured .pillar-num { color: rgba(255,255,255,0.22); }

.pillar-icon { margin-bottom: 1.25rem; color: var(--blue); }
.pillar-card.featured .pillar-icon { color: var(--white); }

.pillar-card h3 { font-size: 1.08rem; margin-bottom: 0.75rem; }
.pillar-card.featured h3 { color: var(--white); }

.pillar-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; margin: 0; }
.pillar-card.featured p { color: rgba(255,255,255,0.88); }

/* ===== SERVICES ===== */
.services { background: var(--black); }

.services .section-tag.light { color: var(--white); background: rgba(255,255,255,0.1); }
.services .section-title { color: var(--white); }
.services .section-desc   { color: rgba(255,255,255,0.55); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(74,186,235,0.3);
  transform: translateY(-5px);
}

.svc-icon { color: var(--blue); margin-bottom: 1.5rem; }

.service-card h3 { color: var(--white); font-size: 1.12rem; margin-bottom: 0.75rem; }
.service-card > p { font-size: 0.88rem; color: rgba(255,255,255,0.58); line-height: 1.75; margin-bottom: 1.5rem; }

.svc-features { display: flex; flex-direction: column; gap: 0.5rem; }
.svc-features li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}
.svc-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.45em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gradient);
}

/* ===== METHODOLOGY ===== */
.methodology { background: var(--light); }

.method-track {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.method-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.method-connector {
  width: 2px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--blue), var(--green));
  margin-left: 1.75rem;
  opacity: 0.35;
}

.step-badge {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: var(--shadow-blue);
}

.step-body { padding-bottom: 0.5rem; }
.step-body h3 { font-size: 1.12rem; margin-bottom: 0.6rem; }
.step-body p  { color: var(--text-muted); line-height: 1.75; margin: 0; }

/* ===== WHY US ===== */
.why-us { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--mid);
  transition: var(--transition);
}
.why-item:hover {
  border-color: rgba(74,186,235,0.3);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.why-item:nth-child(5) {
  grid-column: 1 / -1;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.why-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(74,186,235,0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item h3 { font-size: 0.98rem; margin-bottom: 0.4rem; }
.why-item p  { font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--gradient);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p  { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 2rem; max-width: 540px; margin-inline: auto; margin-bottom: 2rem; }
.cta-banner .btn-ghost-white { font-size: 0.92rem; padding: 0.85rem 2.2rem; }

/* ===== CONTACT ===== */
.contact { background: var(--light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info .section-tag { display: inline-block; margin-bottom: 1rem; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2.25rem; }

.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }

.ci {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ci-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(74,186,235,0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black);
  margin-bottom: 0.3rem;
}
.ci p, .ci a { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.ci a:hover { color: var(--blue); }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--mid);
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.03em;
}
.form-group label .req { color: var(--blue); }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--black);
  background: var(--light);
  border: 1.5px solid var(--mid);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.form-group textarea { resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(74,186,235,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0bec5; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo { margin-bottom: 1.25rem; }
.footer-tagline {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
  max-width: 260px;
  line-height: 1.65;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul a { font-size: 0.86rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--blue); }

.footer-col address { font-style: normal; }
.footer-col address p { font-size: 0.86rem; line-height: 1.65; margin-bottom: 0.75rem; }
.footer-col address a { font-size: 0.86rem; color: var(--blue); }
.footer-col address a:hover { color: var(--green); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.28); margin: 0; }

/* ===== SCROLL-IN ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* Stagger delays */
.reveal-d1 { transition-delay: 0.05s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.19s; }
.reveal-d4 { transition-delay: 0.26s; }
.reveal-d5 { transition-delay: 0.33s; }

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) {
  .pillars-grid  { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .about-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid  { grid-template-columns: 1fr; gap: 3rem; }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 768px) {
  :root { --nav-h: 68px; }

  .section { padding: 4rem 0; }

  /* Nav */
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 0.2rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--mid);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-menu.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-link  { padding: 0.75rem 1rem; font-size: 0.92rem; }
  .nav-cta   { text-align: center; margin-left: 0; border-radius: var(--radius-sm); margin-top: 0.5rem; }

  /* Hero */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stat-sep { display: none; }
  .hero-stats { gap: 1.5rem; }

  /* Grids */
  .philosophy-grid { grid-template-columns: 1fr; }
  .pillars-grid    { grid-template-columns: 1fr; }
  .services-grid   { grid-template-columns: 1fr; }
  .why-grid        { grid-template-columns: 1fr; }
  .why-item:nth-child(5) { grid-column: auto; max-width: none; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }

  .hero-inner { padding: 2.5rem 0 3.5rem; }
  .contact-form-wrap { padding: 1.5rem; }

  .step-badge { width: 44px; height: 44px; font-size: 1rem; }
  .method-connector { margin-left: 1.5rem; }
}
