@import url('https://fonts.googleapis.com/css2?family=Chivo:wght@400;500;700;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg:          hsl(0, 0%, 98%);
  --fg:          hsl(210, 20%, 12%);
  --card:        hsl(0, 0%, 100%);
  --primary:     hsl(200, 85%, 45%);
  --primary-fg:  hsl(0, 0%, 100%);
  --border:      hsl(210, 15%, 85%);
  --steel:       hsl(210, 8%, 45%);
  --accent:      hsl(210, 15%, 90%);
}

html.dark {
  --bg:          hsl(210, 20%, 7%);
  --fg:          hsl(210, 10%, 96%);
  --card:        hsl(210, 18%, 10%);
  --primary:     hsl(200, 85%, 50%);
  --primary-fg:  hsl(210, 20%, 7%);
  --border:      hsl(210, 15%, 16%);
  --steel:       hsl(210, 8%, 60%);
  --accent:      hsl(210, 15%, 22%);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Chivo', sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s, color 0.2s;
  display: flex;
  flex-direction: column;
}

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

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

ul {
  list-style: none;
}

/* ---- HEADER ---- */
.site-header {
  border-bottom: 2px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}

@media (min-width: 768px) {
  .site-header {
    padding: 1.5rem 3rem;
  }
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo {
  height: 2.5rem;
  width: auto;
}

@media (min-width: 768px) {
  .logo {
    height: 3rem;
  }
}

.brand-name {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--fg);
}

@media (min-width: 768px) {
  .brand-name {
    font-size: 1.5rem;
  }
}

.brand-name span {
  color: var(--steel);
}

/* Desktop nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.desktop-nav a.nav-link {
  color: var(--steel);
  transition: color 0.15s;
}

.desktop-nav a.nav-link:hover {
  color: var(--fg);
}

.nav-cta {
  background-color: var(--primary);
  color: var(--primary-fg) !important;
  padding: 0.75rem 1.5rem;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.15s !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.nav-cta:hover {
  opacity: 0.9 !important;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: 2px solid var(--border);
  cursor: pointer;
  color: var(--fg);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s;
}

.theme-toggle:hover {
  background-color: var(--accent);
}

.theme-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sun { display: none; }
.icon-moon { display: block; }

html.dark .icon-sun { display: block; }
html.dark .icon-moon { display: none; }

/* Mobile controls */
.mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .mobile-controls {
    display: none;
  }
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-menu { display: block; }
.icon-x    { display: none; }

.menu-toggle.open .icon-menu { display: none; }
.menu-toggle.open .icon-x    { display: block; }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--bg);
  border-bottom: 2px solid var(--border);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 50;
}

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

.mobile-nav .mobile-link {
  color: var(--steel);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.mobile-nav .mobile-cta {
  background-color: var(--primary);
  color: var(--primary-fg);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.mobile-nav .mobile-cta svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- HERO ---- */
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 4rem 1.5rem;
  border-bottom: 2px solid var(--border);
  align-items: center;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 6rem 3rem;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 8rem 3rem;
    align-items: center;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .hero-content {
    gap: 2.5rem;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--fg);
  hyphens: auto;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--steel);
  max-width: 40ch;
  line-height: 1.4;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-primary {
  background-color: var(--fg);
  color: var(--bg);
  padding: 1rem 2rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.15em;
  transition: opacity 0.15s;
  text-align: center;
  font-size: 0.875rem;
  display: inline-block;
}

@media (min-width: 768px) {
  .btn-primary {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
  }
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  border: 2px solid var(--accent);
  color: var(--fg);
  padding: 1rem 2rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.15em;
  transition: border-color 0.15s;
  text-align: center;
  font-size: 0.875rem;
  display: inline-block;
}

@media (min-width: 768px) {
  .btn-secondary {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
  }
}

.btn-secondary:hover {
  border-color: var(--steel);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-image-wrapper {
    padding-bottom: 3rem;
  }
}

.hero-image-frame {
  border: 2px solid var(--accent);
  padding: 0.5rem;
  background-color: var(--card);
}

@media (min-width: 768px) {
  .hero-image-frame {
    padding: 0.75rem;
  }
}

.hero-image-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  opacity: 0.8;
}

.hero-badge {
  position: absolute;
  bottom: -1rem;
  left: -0.5rem;
  background-color: var(--primary);
  color: var(--primary-fg);
  padding: 1rem 1.5rem;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 6px 6px 0px var(--bg);
}

@media (min-width: 768px) {
  .hero-badge {
    bottom: -1.5rem;
    left: -1.5rem;
    font-size: 2rem;
    padding: 1.5rem;
  }
}

/* ---- SERVICES ---- */
.services-section {
  padding: 4rem 1.5rem;
  border-bottom: 2px solid var(--border);
}

@media (min-width: 768px) {
  .services-section {
    padding: 6rem 3rem;
  }
}

@media (min-width: 1024px) {
  .services-section {
    padding: 8rem 3rem;
  }
}

.section-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  gap: 1rem;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    margin-bottom: 5rem;
  }
}

.section-title {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  color: var(--fg);
}

.section-tag {
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  background-color: var(--primary);
  flex-shrink: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  border: 2px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  transition: border-color 0.15s, background-color 0.15s;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .service-card {
    padding: 2.5rem;
    gap: 4rem;
  }
}

.service-card:hover {
  border-color: var(--steel);
  background-color: var(--card);
}

.service-card.highlighted {
  border-color: var(--primary);
  background-color: var(--card);
}

.service-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--primary-fg);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  letter-spacing: 0.15em;
}

.service-code {
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 900;
  color: var(--accent);
  transition: color 0.15s;
  line-height: 1;
}

.service-card:hover .service-code,
.service-card.highlighted .service-code {
  color: var(--primary);
}

.service-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--fg);
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .service-title {
    font-size: 1.5rem;
  }
}

.service-desc {
  color: var(--steel);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
}

@media (min-width: 768px) {
  .service-desc {
    font-size: 1.125rem;
  }
}

/* ---- AREA ---- */
.area-section {
  display: flex;
  flex-direction: column;
  border-bottom: 2px solid var(--border);
}

@media (min-width: 1024px) {
  .area-section {
    flex-direction: row;
  }
}

.area-content {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .area-content {
    padding: 4rem;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .area-content {
    width: 50%;
    padding: 6rem;
    border-right: 2px solid var(--border);
  }
}

.area-title {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--fg);
}

.area-desc {
  color: var(--steel);
  font-size: 1.125rem;
  font-weight: 500;
  max-width: 45ch;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .area-desc {
    font-size: 1.25rem;
  }
}

.area-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  color: var(--fg);
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .area-list {
    gap: 1.5rem;
    margin-top: 2rem;
  }
}

.area-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--border);
  padding-bottom: 1rem;
}

.area-list-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.area-list-label svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.area-list-label.primary svg { color: var(--primary); }
.area-list-label.steel  svg { color: var(--steel); }

.area-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
}

.area-tag.primary {
  background-color: var(--card);
  color: var(--primary);
}

.area-tag.steel {
  color: var(--steel);
}

.area-stats {
  background-color: var(--card);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
}

@media (min-width: 768px) {
  .area-stats {
    padding: 4rem;
    gap: 5rem;
  }
}

@media (min-width: 1024px) {
  .area-stats {
    width: 50%;
    padding: 6rem;
  }
}

.stat-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
}

@media (min-width: 768px) {
  .stat-block {
    gap: 1rem;
    padding-left: 2rem;
  }
}

.stat-block.highlighted {
  border-left-color: var(--primary);
}

.stat-value {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  color: var(--fg);
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--steel);
  font-weight: 700;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .stat-label {
    font-size: 1rem;
  }
}

/* ---- REFERENCES ---- */
.references-section {
  padding: 4rem 1.5rem;
  border-bottom: 2px solid var(--border);
}

@media (min-width: 768px) {
  .references-section {
    padding: 6rem 3rem;
  }
}

@media (min-width: 1024px) {
  .references-section {
    padding: 8rem 3rem;
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
  }
}

.testimonial-card {
  border: 2px solid var(--border);
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  transition: border-color 0.15s;
}

.testimonial-card:hover {
  border-color: var(--steel);
}

.testimonial-quote {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--fg);
}

@media (min-width: 768px) {
  .testimonial-quote {
    font-size: 1.25rem;
  }
}

.testimonial-author {
  font-weight: 900;
  color: var(--fg);
}

.testimonial-company {
  color: var(--steel);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ---- CONTACT / FOOTER ---- */
.contact-section {
  background-color: var(--primary);
  color: var(--primary-fg);
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-section {
    padding: 6rem 3rem;
    gap: 6rem;
  }
}

@media (min-width: 1024px) {
  .contact-section {
    padding: 8rem 3rem;
  }
}

.contact-top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-top {
    flex-direction: row;
    align-items: flex-end;
  }
}

.contact-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.9;
  max-width: 14ch;
}

.contact-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .contact-right {
    align-items: flex-end;
  }
}

.contact-hours {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  background-color: var(--bg);
  color: var(--primary);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .contact-hours {
    font-size: 1rem;
  }
}

.contact-hours svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-phone {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--primary-fg);
  transition: opacity 0.15s;
}

.contact-phone:hover {
  opacity: 0.8;
}

.footer-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  border-top: 4px solid var(--primary-fg);
  padding-top: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

@media (min-width: 1024px) {
  .footer-info {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-fg);
}

.footer-info-item svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.footer-info-item .dot {
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--primary-fg);
  flex-shrink: 0;
}

.footer-info-item a,
.footer-info-item span {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}

.footer-info-item a:hover {
  opacity: 0.8;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.8;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .footer-legal {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-legal a {
  text-decoration: underline;
  transition: opacity 0.15s;
}

.footer-legal a:hover {
  opacity: 1;
}

/* ---- LEGAL PAGE ---- */
.legal-main {
  padding: 3rem 1.5rem;
  max-width: 56rem;
  flex: 1;
}

@media (min-width: 768px) {
  .legal-main {
    padding: 5rem 3rem;
  }
}

@media (min-width: 1024px) {
  .legal-main {
    padding: 5rem 6rem;
  }
}

.legal-section {
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .legal-section {
    margin-bottom: 6rem;
  }
}

.legal-h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  color: var(--fg);
  margin-bottom: 2rem;
  hyphens: auto;
}

@media (min-width: 768px) {
  .legal-h1 {
    margin-bottom: 3rem;
  }
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--steel);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .legal-content {
    font-size: 1.125rem;
  }
}

.legal-h2 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.legal-h3 {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--fg);
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.legal-footer {
  border-top: 2px solid var(--border);
  padding: 1.5rem;
  font-size: 0.875rem;
  color: var(--steel);
  font-weight: 500;
  margin-top: auto;
}

@media (min-width: 768px) {
  .legal-footer {
    padding: 1.5rem 3rem;
  }
}

.back-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--steel);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.back-link:hover {
  color: var(--fg);
}

.back-link svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: var(--primary-fg);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 200;
  transition: top 0.1s;
}

.skip-link:focus {
  top: 1rem;
}

/* ---- CONTACT FORM ---- */
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  border-top: 4px solid var(--primary-fg);
  border-bottom: 4px solid var(--primary-fg);
  padding: 2.5rem 0;
}

@media (min-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-fg);
  opacity: 0.8;
}

.form-group input,
.form-group textarea {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--primary-fg);
  padding: 0.875rem 1rem;
  font-family: 'Chivo', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  width: 100%;
  transition: border-color 0.15s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-fg);
}

.form-group textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  grid-column: 1 / -1;
}

.form-checkbox input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  cursor: pointer;
  accent-color: var(--primary-fg);
}

.form-checkbox label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary-fg);
  opacity: 0.8;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  line-height: 1.5;
}

.form-checkbox label a {
  text-decoration: underline;
  opacity: 1;
}

.btn-form-submit {
  grid-column: 1 / -1;
  background-color: var(--primary-fg);
  color: var(--primary);
  border: none;
  padding: 1rem 2.5rem;
  font-family: 'Chivo', sans-serif;
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: opacity 0.15s;
  align-self: start;
  justify-self: start;
}

.btn-form-submit:hover {
  opacity: 0.9;
}

.form-error-msg {
  grid-column: 1 / -1;
  background-color: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  color: var(--primary-fg);
}

.btn-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
