/* ═══════════════════════════════════════════════
   RESCUED RESOURCES — Global Stylesheet
   Brand: #2e5d8c (blue) · #ccd7f0 (lavender)
   Fonts: Belgrano (display) · Segoe UI (body)
═══════════════════════════════════════════════ */

@font-face {
  font-family: 'Belgrano';
  src: url('../assets/Belgrano.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --blue:           #2e5d8c;
  --blue-dark:      #1e3d5c;
  --blue-mid:       #3a70a8;
  --lavender:       #ccd7f0;
  --lavender-light: #e8edf8;
  --lavender-mid:   #d8e4f4;
  --white:          #ffffff;
  --off-white:      #f8f9fc;
  --dark:           #1a2e40;
  --gray:           #5a6a7e;
  --gray-light:     #8a9ab0;
  --border:         #d0daf0;
  --font-display:   'Belgrano', Georgia, serif;
  --font-body:      'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow-sm:      0 1px 4px rgba(46,93,140,0.08);
  --shadow-md:      0 4px 16px rgba(46,93,140,0.12);
  --shadow-lg:      0 8px 32px rgba(46,93,140,0.16);
  --radius:         8px;
  --transition:     all 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; color: var(--dark); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { color: var(--gray); line-height: 1.7; }

/* ── LAYOUT ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 12px;
  display: block;
}

.section-label-light {
  color: var(--lavender);
  opacity: 0.8;
}

.section-header {
  margin-bottom: 48px;
}

.section-header h2 { margin-bottom: 12px; }
.section-header p  { font-size: 1.05rem; max-width: 600px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ── NAVIGATION ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--dark);
  border-radius: 6px;
  transition: var(--transition);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: var(--lavender-light);
  text-decoration: none;
}

.nav-cta {
  flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  text-decoration: none;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}

/* ── HERO — HOME ── */
.hero-home {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-mid) 100%);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(204,215,240,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-home .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lavender);
  opacity: 0.8;
  margin-bottom: 20px;
  display: block;
}

.hero-home h1 {
  color: var(--white);
  margin-bottom: 20px;
  max-width: 700px;
}

.hero-home h1 em {
  color: var(--lavender);
  font-style: normal;
}

.hero-home .hero-sub {
  font-size: 1.15rem;
  color: var(--lavender);
  opacity: 0.88;
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-home .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-bg-logo {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

/* ── HERO — INTERIOR PAGES ── */
.hero-page {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 64px 0 56px;
}

.hero-page .breadcrumb {
  font-size: 12.5px;
  color: var(--lavender);
  opacity: 0.7;
  margin-bottom: 16px;
}

.hero-page .breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.hero-page .breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.hero-page .breadcrumb span { margin: 0 8px; }

.hero-page h1 {
  color: var(--white);
  margin-bottom: 16px;
  max-width: 700px;
}

.hero-page .hero-sub {
  color: var(--lavender);
  opacity: 0.88;
  font-size: 1.1rem;
  max-width: 620px;
  line-height: 1.7;
}

/* ── PAIN BAR ── */
.pain-bar {
  background: var(--lavender-light);
  border-top: 3px solid var(--lavender-mid);
  border-bottom: 3px solid var(--lavender-mid);
  padding: 32px 0;
}

.pain-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.pain-item {
  padding: 0 32px;
  border-right: 1px solid var(--border);
}

.pain-item:last-child { border-right: none; }

.pain-item .icon {
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
}

.pain-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.pain-item p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--gray);
}

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.22s ease;
  transform-origin: left;
}

.service-card:hover {
  border-color: var(--lavender);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  text-decoration: none;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .card-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  flex: 1;
  margin-bottom: 20px;
}

.service-card .card-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.18s ease;
  text-decoration: none;
}

.service-card .card-link:hover { gap: 10px; text-decoration: none; }

/* Featured service cards (larger) */
.service-card-featured {
  padding: 36px;
  background: var(--lavender-light);
  border-color: var(--lavender-mid);
}

.service-card-featured h3 { font-size: 1.35rem; }

/* ── ABOUT TEASER ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col-60-40 {
  grid-template-columns: 3fr 2fr;
}

/* ── STAT BLOCKS ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-block .stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--blue);
  display: block;
  margin-bottom: 4px;
}

.stat-block .stat-label {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.4;
}

/* ── INDUSTRIES ── */
.industry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-tag {
  background: var(--lavender-light);
  border: 1px solid var(--lavender-mid);
  color: var(--blue);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* ── PROCESS STEPS ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: steps;
}

.process-step {
  position: relative;
}

.process-step::before {
  counter-increment: steps;
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.process-step p { font-size: 14px; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--lavender);
  opacity: 0.88;
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── ICON LIST ── */
.icon-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.icon-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.icon-list .li-icon {
  width: 28px;
  height: 28px;
  background: var(--lavender-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid var(--border);
}

.icon-list .li-text strong {
  display: block;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 2px;
}

.icon-list .li-text span {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.5;
}

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: var(--lavender-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
}

.highlight-box p {
  font-size: 15px;
  font-style: italic;
  color: var(--dark);
  line-height: 1.7;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── FOOTER ── */
.footer {
  background: var(--blue-dark);
  padding: 60px 0 32px;
  color: var(--lavender);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 42px;
  width: auto;
  margin-bottom: 16px;
  opacity: 0.9;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--lavender);
  opacity: 0.7;
  line-height: 1.65;
  max-width: 240px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--lavender);
  opacity: 0.55;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--lavender);
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.footer-col ul li a:hover {
  opacity: 1;
  text-decoration: none;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-item a,
.footer-contact-item span {
  font-size: 14px;
  color: var(--lavender);
  opacity: 0.8;
  text-decoration: none;
  line-height: 1.6;
}

.footer-contact-item a:hover { opacity: 1; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(204,215,240,0.15);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--lavender);
  opacity: 0.45;
}

/* ── CONTACT FORM ── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46,93,140,0.1);
}

.form-group textarea { min-height: 140px; resize: vertical; }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.bg-off-white { background: var(--off-white); }
.bg-lavender-light { background: var(--lavender-light); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .two-col-60-40 { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps { grid-template-columns: 1fr; }
  .pain-bar-grid { grid-template-columns: 1fr; gap: 24px; }
  .pain-item { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 24px; }
  .pain-item:last-child { border-bottom: none; padding-bottom: 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .services-grid, .services-grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-home { padding: 64px 0; }
  .stat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
