/* ============================================
   Palo Alto TMS - Static Site Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --green: #719070;
  --green-hover: #5d775c;
  --purple-bg: #e9d2f4;
  --purple-text: #8a4baf;
  --lavender: #f5f0f7;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --yellow-400: #facc15;
  --green-500: #22c55e;
  --yellow-500: #eab308;
  --orange-500: #f97316;
  --red-500: #ef4444;
  --red-700: #b91c1c;
  --radius: 0.5rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Open Sans', sans-serif;
  --font-sf: -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

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

input, textarea {
  font: inherit;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  z-index: 100;
  font-size: 0.875rem;
}

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

/* --- Utility --- */
.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-muted {
  color: var(--gray-500);
}

/* --- Animations --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInZoom {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

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

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-bounce {
  animation: bounce 2s ease-in-out infinite;
}

.animate-fade-in-zoom {
  animation: fadeInZoom 1s ease-out 0.5s both;
}

/* ============================================
   ANIMATED LOGO SECTION
   ============================================ */
.animated-logo-section {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(to bottom, #faf5ff, #fdf2f8, #fff7ed);
  transition: height 0.3s ease-out;
}

.animated-logo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.animated-logo-float {
  display: flex;
  align-items: center;
  justify-content: center;
}

.animated-logo-img {
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: 40vh;
}

.celebration-banner {
  position: absolute;
  bottom: 5rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  transition: opacity 0.7s ease, transform 0.7s ease;
  opacity: 0;
  transform: scale(0.95);
}

.celebration-banner.visible {
  opacity: 1;
  transform: scale(1);
}

.celebration-banner-card {
  max-width: 28rem;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid #9333ea;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0.75rem;
  text-align: center;
}

.celebration-banner-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9333ea;
  font-weight: 600;
}

.celebration-banner-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
}

.scroll-indicator {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  opacity: 0.7;
}

.scroll-indicator > span,
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.scroll-indicator svg {
  margin-top: 0.25rem;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@supports not (backdrop-filter: blur(12px)) {
  .site-header {
    background: var(--white);
  }
}

.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.logo-text {
  font-size: 1.25rem;
  color: var(--green);
  font-family: var(--font-sf);
}

.logo-text-light {
  font-weight: 300;
}

.logo-text-bold {
  font-weight: 700;
}

/* Desktop nav */
.main-nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-900);
  text-decoration-offset: 4px;
}

.nav-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-cta {
  margin-left: 1.5rem;
}

/* Hamburger */
.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--gray-900);
}

/* ============================================
   MOBILE NAV
   ============================================ */
.main-nav.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 4rem;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem;
  gap: 0;
  box-shadow: var(--shadow-lg);
  z-index: 49;
}

.main-nav.mobile-open .nav-link {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
  width: 100%;
}

.main-nav.mobile-open .nav-cta {
  margin-left: 0;
  margin-top: 0.75rem;
  text-align: center;
  justify-content: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.625rem 1rem;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.5;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
}

.btn-outline {
  background: transparent;
  color: var(--gray-900);
  border-color: var(--gray-200);
}

.btn-outline:hover {
  background: var(--gray-50);
}

.btn-lg {
  padding: 0.75rem 2rem;
}

.btn-full {
  width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  width: 100%;
  padding: 3rem 0;
}

.section-white {
  background: var(--white);
}

.section-gray {
  background: var(--gray-50);
}

.section-lavender {
  background: var(--lavender);
}

.section-header {
  max-width: 58rem;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-header p {
  max-width: 85%;
  margin: 1rem auto 0;
  color: var(--gray-500);
}

/* ============================================
   HERO
   ============================================ */
.hero-section {
  padding: 2rem 0;
  background: linear-gradient(to bottom, var(--white), var(--lavender));
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero-content {
  overflow: hidden;
}

.hero-content h1 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 1rem 0;
}

.hero-description {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

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

.hero-image-wrapper {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 90vw;
}

.hero-map-img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  object-fit: contain;
  box-shadow: var(--shadow-xl);
}

.hero-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: 5rem;
  height: 5rem;
}

.hero-badge-img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
}

/* Badge */
.badge {
  display: inline-block;
  border-radius: var(--radius);
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

.badge-purple {
  background: var(--purple-bg);
  color: var(--purple-text);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.card-header {
  padding: 1.5rem 1.5rem 0;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.card-description {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.card-content {
  padding: 1.5rem;
  padding-top: 0.75rem;
  color: var(--gray-500);
}

.cards-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.cards-grid-3 {
  grid-template-columns: 1fr;
}

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */
.two-col-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.tech-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 1rem 0;
}

.tech-content > .text-muted {
  margin-bottom: 1.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.feature-item h3 {
  font-weight: 700;
  font-size: 1rem;
}

.feature-item p {
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.icon-check {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.icon-check-sm {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--green);
  flex-shrink: 0;
}

.icon-green {
  color: var(--green);
}

.rounded-shadow-img {
  width: 100%;
  border-radius: 0.75rem;
  object-fit: cover;
  box-shadow: var(--shadow-xl);
}

.image-caption {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
  text-align: center;
  font-style: italic;
}

.tech-image {
  margin: 0 auto;
  width: 100%;
  max-width: 500px;
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.benefit-icon {
  border-radius: 50%;
  background: var(--purple-bg);
  padding: 0.5rem;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.benefit-item p {
  color: var(--gray-500);
}

/* ============================================
   TABS (Process Section)
   ============================================ */
.tabs-container {
  margin-top: 3rem;
}

.tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 0.25rem;
}

.tab-trigger {
  flex: 1 1 auto;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: calc(var(--radius) - 2px);
  color: var(--gray-500);
  background: transparent;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab-trigger:hover {
  color: var(--gray-700);
}

.tab-trigger.active {
  background: var(--white);
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  display: none;
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-top: 1.5rem;
}

.tab-panel.active {
  display: block;
}

.tab-grid {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.tab-panel h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.tab-panel .text-muted {
  margin-top: 0.5rem;
}

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

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-image-wrapper {
  margin: 0 auto;
}

.tab-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.self-assessment-intro {
  margin-bottom: 1.5rem;
}

.self-assessment-intro h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

/* ============================================
   LOCATION
   ============================================ */
.location-card-wrapper {
  max-width: 28rem;
  margin: 0 auto;
  margin-top: 3rem;
}

.location-card {
  background: var(--white);
}

.location-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-description {
  margin-bottom: 1rem;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.location-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green);
}

.location-link:hover {
  text-decoration: underline;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 60rem;
  margin: 3rem auto 0;
}

.testimonial-card {
  background: var(--white);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--purple-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
}

.star-rating {
  display: flex;
  color: var(--yellow-400);
  gap: 0.25rem;
}

.testimonial-text {
  color: var(--gray-500);
  font-style: italic;
  margin-top: 0.75rem;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.accordion-wrapper {
  max-width: 48rem;
  margin: 3rem auto 0;
}

.accordion-item {
  border-bottom: 1px solid var(--gray-200);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  font-weight: 500;
  text-align: left;
  color: var(--gray-900);
  transition: text-decoration 0.2s;
}

.accordion-trigger:hover {
  text-decoration: underline;
}

.accordion-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

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

.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 0;
}

.accordion-content.open {
  padding-bottom: 1rem;
}

.accordion-content p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-section-inner {
  max-width: 48rem;
  margin: 0 auto;
}

.contact-section-inner h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.contact-section-inner > .text-muted {
  margin-top: 0.5rem;
}

.contact-form-card {
  max-width: 28rem;
  margin: 1.5rem auto 0;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-xl);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.875rem;
  background: var(--white);
  color: var(--gray-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(113, 144, 112, 0.15);
}

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

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

.cf-turnstile {
  margin: 1rem 0;
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.form-status.success {
  background: #f0fdf4;
  color: #15803d;
}

.form-status.error {
  background: #fef2f2;
  color: #b91c1c;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  width: 100%;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.site-footer .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-logo-wrapper {
  height: 6rem;
  max-width: 200px;
}

.footer-logo {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 1rem;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-500);
  transition: color 0.2s;
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-info a {
  color: var(--gray-500);
  transition: color 0.2s;
}

.footer-info a:hover {
  color: var(--gray-900);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ============================================
   SELF-ASSESSMENT (rendered by JS)
   ============================================ */
.sa-card {
  border: 2px solid var(--purple-bg);
  border-radius: var(--radius);
  overflow: hidden;
}

.sa-header {
  background: var(--lavender);
  padding: 1.5rem;
  text-align: center;
}

.sa-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.sa-header p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
}

.sa-body {
  padding: 1.5rem;
}

.sa-tabs {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 0.25rem;
  margin-bottom: 1.5rem;
}

.sa-tab {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: calc(var(--radius) - 2px);
  color: var(--gray-500);
  background: transparent;
  transition: all 0.2s;
  white-space: nowrap;
  text-align: center;
}

.sa-tab.active {
  background: var(--white);
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
}

.sa-panel {
  display: none;
}

.sa-panel.active {
  display: block;
}

.sa-prompt {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.sa-progress-bar {
  width: 100%;
  height: 0.5rem;
  background: var(--gray-200);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.sa-progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 9999px;
  transition: width 0.3s ease;
  width: 0%;
}

.sa-progress-text {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-align: right;
  margin-top: 0.25rem;
}

.sa-questions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.sa-question-label {
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.sa-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.sa-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.sa-option input[type="radio"] {
  accent-color: var(--green);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.sa-alert {
  padding: 1rem;
  border-radius: var(--radius);
  color: var(--white);
  margin-top: 1.5rem;
}

.sa-alert-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.sa-alert-desc {
  font-size: 0.875rem;
}

.sa-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.sa-footer {
  background: var(--gray-50);
  padding: 1.5rem;
}

.sa-summary-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.sa-summary-item {
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.sa-summary-item h4 {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sa-dot {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.sa-summary-item p {
  font-size: 0.875rem;
  margin-top: 0.25rem;
  color: var(--gray-500);
}

.sa-next-alert {
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  margin-top: 1rem;
}

.sa-next-alert strong {
  display: block;
  margin-bottom: 0.25rem;
}

.sa-next-alert p {
  font-size: 0.875rem;
}

.sa-cta {
  text-align: center;
  margin-top: 1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* sm: 640px */
@media (min-width: 640px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .hero-badge {
    width: 6rem;
    height: 6rem;
  }

  .hero-image-wrapper {
    max-width: 500px;
  }

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

  .sa-options {
    grid-template-columns: 1fr 1fr;
  }

  .celebration-banner-text {
    font-size: 0.875rem;
  }

  .celebration-banner-label {
    font-size: 0.6rem;
  }
}

/* md: 768px */
@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .section {
    padding: 6rem 0;
  }

  .section-header h2 {
    font-size: 2.25rem;
  }

  .section-header p {
    font-size: 1.125rem;
  }

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

  .hero-content h1 {
    font-size: 1.875rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .hero-badge {
    width: 7rem;
    height: 7rem;
  }

  /* Show desktop nav, hide hamburger */
  .main-nav {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .main-nav.mobile-open {
    /* Reset mobile styles on desktop */
    position: static;
    flex-direction: row;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    gap: 1.5rem;
  }

  .main-nav.mobile-open .nav-link {
    padding: 0;
    border: none;
    width: auto;
  }

  .main-nav.mobile-open .nav-cta {
    margin-left: 1.5rem;
    margin-top: 0;
  }

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

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

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

  .tab-trigger {
    flex: 0 1 auto;
  }

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

  .site-footer .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .tech-content h2 {
    font-size: 2.25rem;
  }

  .tech-content > .text-muted {
    font-size: 1.125rem;
  }

  .sa-options {
    grid-template-columns: repeat(4, 1fr);
  }

  .sa-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .celebration-banner-text {
    font-size: 1rem;
  }
}

/* lg: 1024px */
@media (min-width: 1024px) {
  .section {
    padding: 8rem 0;
  }

  .section-header h2 {
    font-size: 3rem;
  }

  .hero-section {
    padding: 6rem 0;
  }

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

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-badge {
    width: 8rem;
    height: 8rem;
  }

  .hero-image-wrapper {
    max-width: none;
  }

  .two-col-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tech-image {
    max-width: none;
  }

  .cards-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

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

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

  .tech-content h2 {
    font-size: 3rem;
  }

  .contact-section-inner h2 {
    font-size: 3rem;
  }
}

/* xl: 1280px */
@media (min-width: 1280px) {
  .hero-section {
    padding: 8rem 0;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1.25rem;
  }
}

/* Portrait mobile adjustments for animated logo */
@media (max-width: 767px) and (orientation: portrait) {
  .animated-logo-img {
    max-width: 85vw;
    max-height: 30vh;
  }
}
