/* BoTec — BOCHITO TECHNOLOGIES SAPI DE C.V. */
:root {
  --purple: #58065f;
  --purple-dark: #3d0444;
  --purple-light: #a333c8;
  --magenta: #e94e77;
  --teal: #00b5ad;
  --green: #21ba45;
  --yellow: #fbbd08;
  --coral: #e85d4c;
  --white: #ffffff;
  --off-white: #faf9fc;
  --gray-100: #f5f3f7;
  --gray-200: #e8e4ed;
  --gray-600: #5c5568;
  --gray-800: #2d2838;
  --shadow: 0 4px 24px rgba(88, 6, 95, 0.08);
  --shadow-lg: 0 12px 40px rgba(88, 6, 95, 0.12);
  --radius: 12px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal); }

.container {
  width: 80%;
  margin: 0 auto;
}

.site-top .container {
  width: 90%;
}

/* ── Letterhead decorative background ── */
.letterhead-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sphere {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(255,255,255,0.9) 0%,
    rgba(163,51,200,0.25) 30%,
    rgba(233,78,119,0.18) 70%,
    rgba(163,51,200,0.08) 100%);
  filter: blur(1px);
}

.sphere--lg { width: 280px; height: 280px; top: 8%; left: -4%; opacity: 0.7; }
.sphere--md { width: 160px; height: 160px; bottom: 18%; left: 42%; opacity: 0.55; }
.sphere--sm { width: 90px; height: 90px; bottom: 6%; right: 8%; opacity: 0.5; }

.swoosh {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 420px;
  height: 320px;
  opacity: 0.35;
}

.swoosh svg { width: 100%; height: 100%; }

/* ── Toolbar + Header (letterhead style) ── */
.site-top {
  position: sticky;
  top: 0;
  z-index: 100;
}

.toolbar {
  background: #916AFF;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.82rem;
}

.toolbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  gap: 1rem;
}

.toolbar-links {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.toolbar-links a {
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}

.toolbar-links a:hover {
  color: var(--teal);
}

.toolbar-links span {
  opacity: 0.85;
}

.site-header {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 5px solid #5D005D;
  box-shadow: 0 2px 16px rgba(88, 6, 95, 0.07);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0.65rem 0;
  gap: 1.5rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  min-width: 0;
}

.header-brand:hover .header-brand__title {
  color: var(--purple-dark);
}

.header-brand__logo {
  height: clamp(50px, 8vw, 62px);
  width: auto;
  flex-shrink: 0;
}

.header-brand__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  border-left: 3px solid #916AFF;
  padding-left: 1rem;
}

.header-brand__title {
  font-size: clamp(0.72rem, 1.8vw, 0.9rem);
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.25;
}

.header-brand__subtitle {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  justify-self: end;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.35rem;
  align-items: center;
}

.main-nav a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--purple);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.main-nav a:hover {
  background: rgba(145, 106, 255, 0.14);
  color: var(--purple-dark);
}

.main-nav a.active {
  background: #5D005D;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(93, 0, 93, 0.25);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--purple);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: var(--purple);
  font-size: 1.25rem;
  line-height: 1;
}

/* ── Main content ── */
main { position: relative; z-index: 1; }

/* ── Hero ── */
.hero {
  padding: 4rem 0 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--purple);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 4px 16px rgba(88, 6, 95, 0.3);
}

.btn-primary:hover {
  background: var(--purple-dark);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-outline:hover {
  background: var(--purple);
  color: white;
}

.btn-teal {
  background: var(--teal);
  color: white;
}

.btn-teal:hover { background: #009a93; color: white; }

.btn-whatsapp {
  justify-content: center;
}

.btn-block {
  width: 100%;
}

.btn__icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  flex-shrink: 0;
}

.contact-wa-btn {
  margin-top: 1rem;
  width: 100%;
}

.hero-visual {
  position: relative;
}

.hero-image {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.hero-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
}

.hero-card h3 {
  color: var(--purple);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-200);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border-radius: 10px;
  background: var(--gray-100);
}

.stat-item strong {
  display: block;
  font-size: 1.75rem;
  color: var(--purple);
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* ── Sections ── */
section { padding: 4rem 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

.section-alt { background: var(--off-white); }

/* ── Services cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.service-card:nth-child(1)::before { background: var(--teal); }
.service-card:nth-child(2)::before { background: var(--green); }
.service-card:nth-child(3)::before { background: var(--yellow); }
.service-card:nth-child(4)::before { background: var(--magenta); }

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 100%;
  height: clamp(190px, 15vw, 240px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  flex-shrink: 0;
  overflow: hidden;
}

.service-card:nth-child(1) .service-icon { background: rgba(0,181,173,0.12); }
.service-card:nth-child(2) .service-icon { background: rgba(33,186,69,0.12); }
.service-card:nth-child(3) .service-icon { background: rgba(251,189,8,0.15); }
.service-card:nth-child(4) .service-icon { background: rgba(233,78,119,0.12); }

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.service-card-body {
  padding: 1.75rem 2rem 2.25rem;
}

.service-card h3 {
  color: var(--purple);
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--purple);
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.about-list {
  list-style: none;
  margin-top: 1.5rem;
}

.about-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--gray-800);
}

.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

/* ── Values strip ── */
.values-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.value-item {
  text-align: center;
  padding: 1.75rem 1rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  border-radius: 20px;
  font-size: 2.5rem;
  line-height: 1;
}

.value-item:nth-child(1) .value-icon { background: rgba(0,181,173,0.12); }
.value-item:nth-child(2) .value-icon { background: rgba(33,186,69,0.12); }
.value-item:nth-child(3) .value-icon { background: rgba(251,189,8,0.15); }
.value-item:nth-child(4) .value-icon { background: rgba(233,78,119,0.12); }

.value-item strong {
  display: block;
  color: var(--purple);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.value-item span {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* ── Page banner ── */
.page-banner {
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(88,6,95,0.06) 0%, rgba(0,181,173,0.06) 100%);
  border-bottom: 1px solid var(--gray-200);
}

.page-banner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.page-banner p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

.page-banner--services {
  padding: 3.5rem 0;
  text-align: center;
}

.page-badge {
  display: inline-block;
  background: rgba(88, 6, 95, 0.08);
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.page-banner--services p {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.88rem, 1.15vw, 1.1rem);
  line-height: 1.7;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .page-banner--services p {
    white-space: normal;
    max-width: 640px;
    font-size: 1.05rem;
  }
}

/* ── Services page ── */
.services-intro {
  padding: 4rem 0 1rem;
}

.services-intro .section-header {
  max-width: none;
  margin-bottom: 0;
}

.services-intro .section-header p {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.82rem, 1.05vw, 1.05rem);
  line-height: 1.7;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .services-intro .section-header p {
    white-space: normal;
    max-width: 640px;
    font-size: 1.05rem;
  }
}

.services-catalog {
  padding: 4rem 0 5rem;
}

.services-catalog-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.service-block {
  display: grid;
  grid-template-columns: 42% 58%;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.service-block:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-block:nth-child(even) {
  grid-template-columns: 58% 42%;
}

.service-block:nth-child(even) .service-block__visual {
  order: 2;
}

.service-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 1;
}

.service-block--teal::before { background: var(--teal); }
.service-block--green::before { background: var(--green); }
.service-block--yellow::before { background: var(--yellow); }
.service-block--magenta::before { background: var(--magenta); }

.service-block__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(220px, 28vw, 320px);
  padding: 2rem;
  box-sizing: border-box;
}

.service-block--teal .service-block__visual { background: rgba(0, 181, 173, 0.1); }
.service-block--green .service-block__visual { background: rgba(33, 186, 69, 0.1); }
.service-block--yellow .service-block__visual { background: rgba(251, 189, 8, 0.12); }
.service-block--magenta .service-block__visual { background: rgba(233, 78, 119, 0.1); }

.service-block__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.service-block__body {
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-block__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 0.65rem;
}

.service-block--teal .service-block__tag { color: var(--teal); }
.service-block--green .service-block__tag { color: var(--green); }
.service-block--yellow .service-block__tag { color: #c99200; }
.service-block--magenta .service-block__tag { color: var(--magenta); }

.service-block h3 {
  color: var(--purple);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.service-block__lead {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-block__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1.5rem;
  margin-bottom: 1.5rem;
}

.service-block__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  color: var(--gray-800);
  line-height: 1.45;
}

.service-block__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.service-block--green .service-block__list li::before { background: var(--green); }
.service-block--yellow .service-block__list li::before { background: var(--yellow); }
.service-block--magenta .service-block__list li::before { background: var(--magenta); }

.service-block__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--purple);
  transition: gap 0.2s, color 0.2s;
}

.service-block__link::after {
  content: '→';
  transition: transform 0.2s;
}

.service-block__link:hover {
  color: var(--teal);
  gap: 0.55rem;
}

.service-block__link:hover::after {
  transform: translateX(3px);
}

/* ── Legal content ── */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-updated {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.legal-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.legal-content h3 {
  color: var(--purple);
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.legal-content h4 {
  color: var(--purple-dark);
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  color: var(--gray-600);
  margin-bottom: 0.4rem;
  line-height: 1.65;
}

.legal-content li::marker {
  color: var(--teal);
}

.legal-content a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--teal);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom a:hover {
  color: var(--teal);
}

/* ── Floating action buttons ── */
.fab-stack {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.25s, visibility 0.25s;
  text-decoration: none;
}

.fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.fab svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.fab-whatsapp {
  background: #25D366;
  color: #ffffff;
  order: 2;
}

.fab-scroll-up {
  background: #5D005D;
  color: #ffffff;
  border: none;
  cursor: pointer;
  order: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.fab-scroll-up.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  color: var(--purple);
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(88, 6, 95, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: var(--purple);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.contact-item a,
.contact-item span {
  color: var(--gray-800);
  font-size: 1rem;
}

.contact-item a:hover { color: var(--teal); }

.contact-form-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.contact-form-card h3 {
  color: var(--purple);
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--purple);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,181,173,0.15);
  background: white;
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-error {
  color: var(--magenta);
  font-size: 0.82rem;
  margin-top: 0.3rem;
  display: none;
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: var(--magenta);
}

.form-group.invalid .form-error { display: block; }

.form-success {
  display: none;
  background: rgba(33,186,69,0.1);
  border: 1px solid var(--green);
  color: #1a7a32;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.form-success.visible { display: block; }

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: white;
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 1.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-primary {
  background: white;
  color: var(--purple);
}

.cta-band .btn-primary:hover {
  background: var(--gray-100);
  color: var(--purple-dark);
}

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--gray-800);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 56px;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.footer-col li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.footer-col li::marker {
  color: var(--teal);
}

.footer-col a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  opacity: 0.65;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .values-strip { grid-template-columns: 1fr 1fr; }

  .service-block,
  .service-block:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-block:nth-child(even) .service-block__visual {
    order: 0;
  }

  .service-block__visual {
    height: clamp(190px, 40vw, 260px);
  }

  .service-block__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .toolbar-inner {
    justify-content: center;
    font-size: 0.78rem;
    padding: 0.4rem 0;
  }

  .toolbar-links {
    justify-content: center;
    gap: 0.75rem 1rem;
  }

  .toolbar-location {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
  }

  .header-brand {
    gap: 0.65rem;
  }

  .header-brand__info {
    padding-left: 0.65rem;
  }

  .header-brand__subtitle {
    display: none;
  }

  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    display: none;
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    padding: 0.5rem;
    gap: 0.25rem;
  }

  .main-nav a {
    border-radius: 8px;
  }

  .form-row { grid-template-columns: 1fr; }
  .values-strip { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .service-block__body { padding: 1.75rem 1.5rem; }

  .fab-stack {
    right: 1rem;
    bottom: 1rem;
  }

  .fab {
    width: 50px;
    height: 50px;
  }
}
