/* =============================================
   AX CLOUD — Corporate Engineering Report
   Editorial / Swiss / Corporate-Brutalist system
   ============================================= */

:root {
  /* Palette — white / graphite / institutional blue */
  --ink: #15181C;
  --ink-2: #3D424A;
  --ink-mute: #767C86;
  --blue: #0A3D91;
  --blue-bright: #1554C7;
  --paper: #FFFFFF;
  --paper-tint: #F3F4F5;
  --line: rgba(21, 24, 28, 0.15);
  --line-strong: rgba(21, 24, 28, 0.32);

  /* Typography */
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container-max: 1320px;
  --gutter: clamp(1.5rem, 4vw, 3.5rem);
  --section-py: clamp(4.5rem, 9vw, 8rem);

  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Spring-like easing (Framer Motion-style natural motion) */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --stagger-step: 110ms;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink-2);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
}

::selection {
  background: var(--blue);
  color: #fff;
}

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-wide {
  max-width: var(--container-max);
}

/* ===== TYPOGRAPHIC PRIMITIVES ===== */
.kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 3rem;
  max-width: 18ch;
}

.text-link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 0.15rem;
  transition: color var(--transition), border-color var(--transition);
}

.text-link:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* Giant background index numerals */
.section-index,
.hero-index {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(9rem, 24vw, 22rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  pointer-events: none;
  z-index: 0;
  user-select: none;
  --parallax-y: 0px;
  transform: translate(8%, -12%) translateY(var(--parallax-y));
  will-change: transform;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background var(--transition), color var(--transition), border-color var(--transition),
    transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
  transition-duration: 0.12s;
}

.btn-fill {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
}

.btn-fill:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 10px 22px -8px rgba(10, 61, 145, 0.55);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-line:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 22px -8px rgba(21, 24, 28, 0.45);
}

.btn-invert {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-invert:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.35);
}

.btn-nav {
  padding: 0.6rem 1.25rem;
  font-size: 0.78rem;
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: 78px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0 auto 0 3rem;
}

.nav-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color var(--transition);
}

.nav-links a em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--ink-mute);
}

.nav-links a:hover {
  color: var(--blue);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 130px var(--gutter) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-index {
  transform: translate(4%, -18%) translateY(var(--parallax-y));
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-bottom: 4rem;
}

.hero-text {
  max-width: 640px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: uppercase;
  margin: 0.5rem 0 1.75rem;
}

.hero-title span {
  color: var(--blue);
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 46ch;
  margin-bottom: 2.5rem;
}

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

.hero-figure {
  justify-self: end;
}

.hero-figure figcaption {
  margin-top: 0.85rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}

/* Technical panel (photography substitute) */
.tech-panel {
  background: var(--ink);
  padding: 1.75rem;
  width: 100%;
}

.tech-svg {
  width: 100%;
  height: auto;
  color: rgba(255, 255, 255, 0.82);
}

.tech-accent {
  color: var(--blue-bright);
  stroke: var(--blue-bright);
}

.tech-accent-fill {
  fill: var(--blue-bright);
}

.tech-label {
  font-family: var(--font-body);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  fill: rgba(255, 255, 255, 0.62);
}

.tech-label-c {
  text-anchor: middle;
}

.tech-label-r {
  text-anchor: end;
}

.hero-specs {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}

.hero-specs li {
  flex: 1;
  min-width: 180px;
  padding: 1rem 0;
  border-right: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.hero-specs li:last-child {
  border-right: none;
}

/* ===== ABOUT ===== */
.about {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.about-statement span {
  color: var(--blue);
}

.about-body p {
  color: var(--ink-2);
  margin-bottom: 1.25rem;
}

.about-body strong {
  color: var(--ink);
  font-weight: 600;
}

.fact-list {
  margin: 2rem 0 2rem;
  border-top: 1px solid var(--line);
}

.fact-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.fact-list span {
  font-family: var(--font-display);
  color: var(--ink-mute);
  font-size: 0.8rem;
}

.fact-list em {
  font-style: normal;
  font-weight: 400;
  color: var(--ink-mute);
  font-size: 0.82rem;
  margin-left: auto;
}

/* ===== SERVICES — alternating editorial blocks ===== */
.services {
  padding-top: var(--section-py);
}

.services>.container {
  margin-bottom: 2rem;
}

.services .section-title {
  margin-bottom: 0;
}

.service-block {
  position: relative;
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 8vw, 6rem) 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.service-index {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(8rem, 20vw, 16rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  pointer-events: none;
  z-index: 0;
}

.service-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  width: 100%;
}

.service-block:nth-child(even) .service-text {
  order: 2;
}

.service-block:nth-child(even) .service-figure {
  order: 1;
}

.service-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.service-desc {
  color: var(--ink-2);
  max-width: 48ch;
  margin-bottom: 1.75rem;
}

.service-specs {
  border-top: 1px solid var(--line);
  margin-bottom: 2rem;
}

.service-specs li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-2);
  position: relative;
  padding-left: 1rem;
}

.service-specs li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--blue);
}

.service-figure figcaption {
  margin-top: 0.85rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--ink-mute);
}

/* ===== METRICS (DIFERENCIAIS) ===== */
.metrics {
  position: relative;
  padding: var(--section-py) 0;
  background: var(--paper-tint);
  overflow: hidden;
}

.metrics-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}

.metric {
  padding: 2.5rem 1rem 0;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: none;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.metric-suffix {
  color: var(--blue);
}

.metric-label {
  display: block;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== PROCESS (METODOLOGIA) ===== */
.process {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
}

.process-list {
  border-top: 1px solid var(--line);
}

.process-item {
  display: grid;
  grid-template-columns: minmax(120px, 240px) 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}

.process-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.25rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.process-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.65rem;
}

.process-body p {
  color: var(--ink-2);
  max-width: 60ch;
}

/* ===== RESULTS (BENEFICIOS) ===== */
.results {
  padding: var(--section-py) 0;
  background: var(--paper-tint);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.result-cell {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.result-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--blue);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.result-cell h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.result-cell p {
  font-size: 0.85rem;
  color: var(--ink-mute);
}

/* ===== CTA BAND ===== */
.cta-band {
  padding: var(--section-py) 0;
  background: var(--ink);
  text-align: center;
}

.cta-band .kicker-invert {
  color: rgba(255, 255, 255, 0.65);
  display: inline-block;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 600;
  color: #fff;
  max-width: 20ch;
  margin: 0 auto 1.25rem;
  line-height: 1.25;
}

.cta-lede {
  color: rgba(255, 255, 255, 0.62);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
}

/* ===== CONTACT ===== */
.contact {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

.contact-desc {
  color: var(--ink-2);
  margin: 1.25rem 0 2.25rem;
  max-width: 44ch;
}

.contact-channels {
  border-top: 1px solid var(--line);
}

.contact-channels li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.channel-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-mute);
}

.channel-value {
  font-weight: 600;
  color: var(--ink);
  transition: color var(--transition);
}

a.channel-value:hover {
  color: var(--blue);
}

.contact-form-wrapper {
  border: 1px solid var(--line);
  padding: 2.25rem;
}

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

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

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

.form-group label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--line-strong);
  border-radius: 0;
  padding: 0.55rem 0.05rem;
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-mute);
  opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--blue);
}

.form-group select {
  cursor: pointer;
}

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

.form-privacy {
  font-size: 0.72rem;
  color: var(--ink-mute);
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--line-strong);
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--ink-mute);
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.footer-social a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links li {
  font-size: 0.85rem;
  color: var(--ink-mute);
}

.footer-links a {
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: var(--ink-mute);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.985);
  transition: opacity 0.9s var(--ease-spring), transform 0.9s var(--ease-spring);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Orchestrated child stagger (Framer Motion staggerChildren equivalent) —
   children animate in sequence once their revealed ancestor becomes visible */
.service-specs li,
.fact-list li,
.results-grid .result-cell,
.metrics-row .metric {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring);
}

.reveal.visible .service-specs li,
.reveal.visible .fact-list li,
.results-grid.visible .result-cell,
.metrics-row.visible .metric {
  opacity: 1;
  transform: translateY(0);
}

.service-specs li:nth-child(1), .fact-list li:nth-child(1), .results-grid .result-cell:nth-child(1), .metrics-row .metric:nth-child(1) { transition-delay: calc(var(--stagger-step) * 0); }
.service-specs li:nth-child(2), .fact-list li:nth-child(2), .results-grid .result-cell:nth-child(2), .metrics-row .metric:nth-child(2) { transition-delay: calc(var(--stagger-step) * 1); }
.service-specs li:nth-child(3), .fact-list li:nth-child(3), .results-grid .result-cell:nth-child(3), .metrics-row .metric:nth-child(3) { transition-delay: calc(var(--stagger-step) * 2); }
.service-specs li:nth-child(4), .fact-list li:nth-child(4), .results-grid .result-cell:nth-child(4) { transition-delay: calc(var(--stagger-step) * 3); }
.results-grid .result-cell:nth-child(5) { transition-delay: calc(var(--stagger-step) * 4); }
.results-grid .result-cell:nth-child(6) { transition-delay: calc(var(--stagger-step) * 5); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  :root {
    --section-py: 4rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 1rem var(--gutter) 1.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.75rem 0;
  }

  .btn-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-figure {
    justify-self: stretch;
    max-width: 420px;
  }

  .hero-specs {
    flex-direction: column;
  }

  .hero-specs li {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .service-inner {
    grid-template-columns: 1fr;
  }

  .service-block:nth-child(even) .service-text,
  .service-block:nth-child(even) .service-figure {
    order: initial;
  }

  .service-block {
    min-height: 0;
  }

  .metrics-row {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 2rem;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .results-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .section-index,
  .hero-index,
  .service-index {
    font-size: 6rem;
  }
}

/* ===== ACCESSIBILITY ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
