/* ============================================
   TGS LAW FIRM — Main Stylesheet
   WCAG 2.1 AA Compliant
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-navy: #1B2A4A;
  --color-navy-dark: #0F1A2E;
  --color-navy-light: #2A3F6A;
  --color-gold: #C8A951;
  --color-gold-dark: #A8893A;
  --color-gold-light: #D4BC72;
  --color-white: #FFFFFF;
  --color-off-white: #F5F6F8;
  --color-light-gray: #E8E9EB;
  --color-medium-gray: #6B7280;
  --color-dark-text: #1A1A2E;
  --color-body-text: #374151;

  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1200px;
  --header-height: 80px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-body-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-gold);
}

ul {
  list-style: none;
}

/* --- Focus Styles (ADA) --- */
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* --- Skip Link (ADA) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top var(--transition);
}

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

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-padding {
  padding: 5rem 0;
}

.section-padding-sm {
  padding: 3rem 0;
}

.text-center {
  text-align: center;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark-text);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-medium-gray);
  max-width: 600px;
  margin: 0.75rem auto 0;
}

.gold-accent {
  color: var(--color-gold);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-navy-dark);
  border-color: var(--color-gold);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: var(--color-white);
  color: var(--color-navy);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo svg {
  height: 44px;
  width: auto;
}

/* --- Desktop Nav --- */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-dark-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--color-gold);
}

.nav-link[aria-current="page"] {
  font-weight: 600;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  cursor: pointer;
}

.dropdown-toggle .chevron {
  transition: transform var(--transition);
  width: 12px;
  height: 12px;
}

.dropdown-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 240px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
}

.dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  color: var(--color-body-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background-color: var(--color-off-white);
  color: var(--color-navy);
}

/* --- Mobile Nav --- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-dark-text);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link,
  .dropdown-toggle {
    padding: 1rem;
    font-size: 1.125rem;
    width: 100%;
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 0 1rem;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }

  .dropdown-menu.open {
    display: block;
    max-height: 500px;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 50%, var(--color-navy-light) 100%);
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 50%, rgba(200, 169, 81, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
}

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

/* --- Practice Areas Section --- */
.practice-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.practice-card {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition);
}

.practice-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold-light);
  transform: translateY(-2px);
}

.practice-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-off-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-gold);
}

.practice-card-icon svg {
  width: 24px;
  height: 24px;
}

.practice-card h3 {
  margin-bottom: 0.75rem;
}

.practice-card p {
  color: var(--color-medium-gray);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.practice-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy);
  transition: all var(--transition);
}

.practice-card .card-link:hover {
  color: var(--color-gold);
  gap: 0.625rem;
}

.practice-card .card-link svg {
  width: 16px;
  height: 16px;
}

/* --- About / Why TGS Section --- */
.about-section {
  background-color: var(--color-off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-light-gray);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.about-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  text-align: center;
  padding: 2rem;
  gap: 1rem;
}

.about-image-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.4;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

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

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-light-gray);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-navy);
  display: block;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--color-medium-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    max-height: 400px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Differentiators Section --- */
.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.diff-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
}

.diff-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.diff-icon svg {
  width: 28px;
  height: 28px;
}

.diff-card h3 {
  margin-bottom: 0.75rem;
}

.diff-card p {
  color: var(--color-medium-gray);
  font-size: 0.9375rem;
}

@media (max-width: 768px) {
  .differentiators-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  color: var(--color-white);
  text-align: center;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* --- Contact Form Section --- */
.contact-section {
  background-color: var(--color-off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--color-medium-gray);
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
}

.contact-detail-text strong {
  display: block;
  color: var(--color-dark-text);
  margin-bottom: 0.25rem;
}

.contact-detail-text span {
  color: var(--color-medium-gray);
  font-size: 0.9375rem;
}

/* Form */
.contact-form {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-dark-text);
  margin-bottom: 0.5rem;
}

.form-group .required {
  color: #DC2626;
  margin-left: 0.125rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark-text);
  background: var(--color-off-white);
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-medium-gray);
}

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

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #DC2626;
}

.form-error {
  font-size: 0.8125rem;
  color: #DC2626;
  margin-top: 0.375rem;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-submit {
  width: 100%;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.visible {
  display: block;
}

.form-success svg {
  width: 48px;
  height: 48px;
  color: #16A34A;
  margin-bottom: 1rem;
}

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

/* --- Footer --- */
.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  max-width: 320px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- Page Hero (interior pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  margin-top: var(--header-height);
  padding: 4rem 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- About Page Specifics --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-light-gray);
  transition: all var(--transition);
}

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

.team-card-image {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-image .placeholder-icon {
  color: rgba(255, 255, 255, 0.3);
}

.team-card-image .placeholder-icon svg {
  width: 80px;
  height: 80px;
}

.team-card-body {
  padding: 1.5rem;
}

.team-card-body h3 {
  margin-bottom: 0.25rem;
}

.team-card-body .team-title {
  color: var(--color-gold);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.team-card-body p {
  color: var(--color-medium-gray);
  font-size: 0.9375rem;
}

/* --- Services Page Specifics --- */
.service-detail {
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-light-gray);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail:nth-child(even) {
  background-color: var(--color-off-white);
}

.service-detail-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-detail:nth-child(even) .service-detail-inner {
  direction: rtl;
}

.service-detail:nth-child(even) .service-detail-inner > * {
  direction: ltr;
}

.service-detail-content h2 {
  margin-bottom: 1rem;
}

.service-detail-content > p {
  color: var(--color-body-text);
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  color: var(--color-body-text);
  font-size: 0.9375rem;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.875rem;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
}

.service-detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-large {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.service-icon-large svg {
  width: 80px;
  height: 80px;
}

@media (max-width: 768px) {
  .service-detail-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail:nth-child(even) .service-detail-inner {
    direction: ltr;
  }

  .service-detail-visual {
    order: -1;
  }

  .service-icon-large {
    width: 120px;
    height: 120px;
  }

  .service-icon-large svg {
    width: 48px;
    height: 48px;
  }
}

/* --- Contact Page Specifics --- */
.contact-page-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--color-navy);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-gold);
  color: var(--color-navy-dark);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}
