/* =========================================================
   TRA Enterprises — Stylesheet
   Modern corporate technology design.
   ========================================================= */

:root {
  --color-primary: #0B1220;
  --color-secondary: #111827;
  --color-accent: #2563EB;
  --color-accent-dark: #1D4ED8;
  --color-bg-light: #F8FAFC;
  --color-text: #0F172A;
  --color-muted: #64748B;
  --color-white: #FFFFFF;
  --color-border: #E2E8F0;
  --color-border-dark: #1E293B;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;

  --container-w: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12);

  --header-h: 76px;
  --transition: 200ms ease;
}

/* -------------------- Reset -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* -------------------- Section basics -------------------- */
section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.section-head p {
  margin-top: 14px;
  color: var(--color-muted);
  font-size: 17px;
}

.section-alt {
  background: var(--color-bg-light);
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition),
    color var(--transition), border-color var(--transition),
    box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline-light:hover {
  border-color: var(--color-white);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-name {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-text);
  transition: color var(--transition), background var(--transition);
}

.main-nav a:hover {
  color: var(--color-accent);
  background: rgba(37, 99, 235, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  flex-shrink: 0;
}

.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 14px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 88px 0 96px;
  background: var(--color-primary);
  color: var(--color-white);
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(148, 163, 184, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.09) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
}

.hero-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(37, 99, 235, 0) 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #93B4FF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60A5FA;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.hero-lead {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.7;
  color: #CBD5E1;
  max-width: 560px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: #94A3B8;
  font-size: 14px;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-panel {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 28px;
  backdrop-filter: blur(6px);
}

.hero-visual-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.14);
  margin-bottom: 12px;
  animation: floatIn 6s ease-in-out infinite;
}

.hero-visual-row:nth-child(2) { animation-delay: 0.6s; }
.hero-visual-row:nth-child(3) { animation-delay: 1.2s; margin-bottom: 0; }

@keyframes floatIn {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero-visual-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.18);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-visual-text .t1 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
}

.hero-visual-text .t2 {
  font-size: 12px;
  color: #94A3B8;
  margin-top: 2px;
}

.hero-visual-orbit {
  position: absolute;
  inset: -30px;
  border: 1px dashed rgba(148, 163, 184, 0.2);
  border-radius: 50%;
  z-index: -1;
}

/* =========================================================
   About
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.about-text p {
  color: var(--color-muted);
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.info-card h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
}

.info-list dt {
  font-size: 12.5px;
  color: var(--color-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.info-list dd {
  margin: 4px 0 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-text);
}

.info-divider {
  height: 1px;
  background: var(--color-border);
  margin: 4px 0;
}

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

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.25);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* =========================================================
   Why choose us
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.why-card p {
  color: var(--color-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* =========================================================
   Technology
   ========================================================= */
.tech-section {
  background: var(--color-primary);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.tech-section .eyebrow {
  color: #93B4FF;
}

.tech-section .section-head h2 {
  color: var(--color-white);
}

.tech-section .section-head p {
  color: #94A3B8;
}

.tech-intro {
  max-width: 760px;
  color: #CBD5E1;
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.tech-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tech-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.16);
  font-weight: 600;
  font-size: 15px;
  transition: border-color var(--transition), background var(--transition);
}

.tech-chip:hover {
  border-color: rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.08);
}

.tech-chip svg {
  color: #60A5FA;
  flex-shrink: 0;
}

/* =========================================================
   Partners
   ========================================================= */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-card {
  text-align: center;
  padding: 40px 26px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.partner-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.partner-card h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--color-text);
}

.partner-role {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.contact-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card h3 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.contact-card p {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.55;
}

.map-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-light);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.map-panel-copy {
  flex: 1 1 260px;
  min-width: 0;
}

.map-panel-copy h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.map-panel-copy p {
  color: var(--color-muted);
  font-size: 15px;
  max-width: 460px;
  overflow-wrap: break-word;
}

.map-panel > .btn {
  flex-shrink: 0;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--color-primary);
  color: #94A3B8;
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--color-white);
  margin-bottom: 14px;
}

.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
}

.footer-tagline {
  font-size: 14.5px;
  color: #94A3B8;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14.5px;
  color: #94A3B8;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 13.5px;
  color: #64748B;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: #94A3B8;
}

.footer-legal a:hover {
  color: var(--color-white);
}

/* =========================================================
   Legal pages (privacy / terms)
   ========================================================= */
.legal-hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 72px 0 48px;
}

.legal-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
}

.legal-hero p {
  margin-top: 12px;
  color: #94A3B8;
  font-size: 15px;
}

.legal-content {
  padding: 64px 0 96px;
}

.legal-content-inner {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 21px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--color-text);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--color-muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.legal-content ul {
  margin-top: 10px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-content ul li {
  list-style: disc;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-accent);
  font-size: 14.5px;
  margin-bottom: 32px;
}

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

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

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

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

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

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

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

  .hero-visual {
    height: 340px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }
}

@media (max-width: 860px) {
  section {
    padding: 72px 0;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 260ms ease;
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 16px 14px;
    font-size: 17px;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
  }

  .header-nav-cta {
    display: block;
    margin-top: 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn-primary.header-cta {
    display: none;
  }

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

  .hero-visual {
    height: 300px;
    order: -1;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

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

  .map-panel {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 28px;
  }

  .map-panel-copy {
    flex-basis: auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .services-grid,
  .why-grid,
  .tech-chip-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 16px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .map-panel .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

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

@media (max-width: 400px) {
  .container {
    padding: 0 18px;
  }

  .hero h1 {
    font-size: 30px;
  }
}

/* -------------------- Reduced motion -------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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