/* Typography setup */
:root {
  --brand-teal: #0f9aa6;
  --brand-green: #24c168;
  --brand-deep: #0b5a66;
  --dark: #0e1720;
  --text: #25313c;
  --muted: #5a6b7a;
  --surface: #ffffff;
  --gradient-hero: linear-gradient(180deg, #0a6b79 0%, #4fd1b1 100%);
  --gradient-green: radial-gradient(1200px 600px at 15% 20%, rgba(255,255,255,0.25), rgba(255,255,255,0) 40%), linear-gradient(90deg, #1c774b 0%, #2dbb63 100%);
  --gradient-purple: radial-gradient(1200px 600px at 80% 20%, rgba(255,255,255,0.18), rgba(255,255,255,0) 40%), linear-gradient(90deg, #5b60d6 0%, #9a6ee8 100%);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-elev: 0 12px 40px rgba(16, 24, 40, 0.2);
}

html, body { 
  height: 100%; 
  overflow-x: hidden;
}
body {
  margin: 0;
  padding-top: 80px;
  color: var(--text);
  background: #f7f8fa;
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
}

.display, h1, h2, h3 {
  margin: 0 0 12px;
  color: var(--text);
}

.display {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 3.5vw + 1rem, 4rem);
  line-height: 1.05;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 2.2vw + 1rem, 3rem);
  line-height: 1.1;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--surface);
}

.eyebrow {
  letter-spacing: .02em;
  text-transform: none;
  opacity: .95;
}

.lead { color: var(--text); max-width: 60ch; }
.lead.subtle { color: var(--text); }
strong { font-weight: 800; color: inherit; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header { 
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 1000; 
  background: transparent; 
  color: #fff; 
  transition: all 0.3s ease;
}
.site-header.scrolled { 
  background: rgba(255, 255, 255, 0.95) !important; 
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.site-header.scrolled .brand { 
  color: #333 !important; 
  transition: color 0.3s ease;
}
.site-header.scrolled .menu a { 
  color: #3794AA !important; 
  font-family: 'Roboto', sans-serif !important;
  transition: color 0.3s ease;
}
.site-header.scrolled .menu a:hover { 
  color: #2a7a8a !important; 
  transition: color 0.3s ease;
}

.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: flex; align-items: center; color: #fff; transition: color 0.3s ease; position: relative; width: 152px; height: 40px; }
.logo { width: 152px; height: 40px; transition: opacity 0.3s ease; }
.logo-transparent { opacity: 1; position: absolute; top: 0; left: 0; }
.logo-white { opacity: 0; position: absolute; top: 0; left: 0; }
.site-header.scrolled .logo-transparent { 
  opacity: 0 !important; 
  transition: opacity 0.3s ease;
}
.site-header.scrolled .logo-white { 
  opacity: 1 !important; 
  transition: opacity 0.3s ease;
}
.menu a { color: #eaf6f8; text-decoration: none; margin-left: 22px; font-family: 'Roboto', sans-serif !important; font-size: 16px; font-weight: 700; transition: color 0.3s ease; }
.menu a:hover { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; font-family: 'Montserrat', sans-serif; transition: transform .12s ease, box-shadow .2s ease, background .2s ease; }
.btn-dark { background: #111827; color: #fff; box-shadow: 0 6px 20px rgba(17,24,39,.25); }
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(17,24,39,.35); }
.btn-dark:active { transform: translateY(0); }

/* Hero */
.hero { 
  background: var(--gradient-hero); 
  color: #fff; 
  padding: 48px 0 0; 
  margin-top: -80px; /* Pull up to cover the header area */
  margin-bottom: -15px; /* Pull down into next section by 15px (was 23px, now 8px less) */
  padding-top: 128px; /* Add extra padding to account for the pull-up */
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-card { background: #ffffff; color: var(--text); padding: 32px; border-radius: var(--radius-xl); box-shadow: var(--shadow-elev); margin-top: -80px; }
.hero-card .display { color: #1c8b52; }
.hero-phone { display: flex; justify-content: center; position: relative; z-index: 10; margin-bottom: -80px; }
.phone-full { width: 360px; max-width: 100%; filter: drop-shadow(0 24px 40px rgba(0,0,0,.25)); border-radius: 34px; }
.phone-hero { width: 360px; max-width: 100%; height: auto; object-fit: contain; }

.store-buttons { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.store-button { 
  height: 60px; 
  width: auto; 
  transition: transform 0.2s ease, filter 0.2s ease;
  border-radius: 8px;
}
.store-button:hover { 
  transform: translateY(-2px); 
  filter: brightness(1.1);
}
.store-button:active { 
  transform: translateY(0); 
}

/* Headline slab */
.headline-slab { background: #fff; padding: 260px 0; text-align: center; }
.headline-slab h2 { color: #1b6a7a; }

/* Feature block (green) */
.feature { padding: 80px 0; }
.feature-green { 
  background: var(--gradient-green); 
  color: #eafff5; 
  position: relative; 
  overflow: hidden;
}

.feature-green::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 736px;
  height: 370px;
  background-image: url('assets/SM background logo element.png');
  background-size: 736px 370px;
  background-repeat: no-repeat;
  background-position: left bottom;
  opacity: 0.7;
  z-index: 1;
  /* Adjust horizontal position by changing left value or adding margin-left */
  /* Example: left: 50px; or margin-left: 100px; */
}
.feature-grid { 
  display: grid; 
  grid-template-columns: .9fr 1.1fr; 
  gap: 48px; 
  align-items: center;
  position: relative;
  z-index: 2;
}
.feature-phone { 
  display: flex; 
  justify-content: center; 
}
.phone-shadow { width: 320px; max-width: 100%; filter: drop-shadow(0 24px 50px rgba(0,0,0,.35)); border-radius: 28px; }
.feature-headline { 
  color: #ffffff; 
  margin: 0 0 24px 0;
}
.feature-content h2 { color: #ffffff; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

/* Interactive feature items */
.feature-item { 
  padding: 0; 
  background: rgba(255,255,255,.12); 
  border: 1px solid rgba(255,255,255,.22); 
  border-radius: var(--radius-md); 
  backdrop-filter: blur(2px);
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.feature-item:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.32);
}

.feature-item.active {
  background: rgba(255,255,255,.20);
  border-color: rgba(255,255,255,.40);
}

.feature-item-header {
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feature-item-title {
  font-weight: 500;
  color: #ffffff;
  font-size: 1.1rem;
  margin: 0;
}

.feature-item-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1);
  transform: rotate(180deg);
}

.feature-item.active .feature-item-icon {
  transform: rotate(0deg);
}

.feature-item-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 14px;
}

.feature-item.active .feature-item-content {
  max-height: 200px;
  padding: 0 14px 14px 14px;
}

.feature-item-content h2 {
  margin: 0 0 8px 0;
  font-size: 1.5rem;
  color: #ffffff;
}

.feature-item-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
}

/* Phone container with smooth transitions */
.phone-container {
  position: relative;
  width: 320px;
  height: auto;
  margin: 0 auto;
}

.phone-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.phone-container img.active {
  opacity: 1;
  position: relative;
}

/* Testimonials - Single Quote Carousel */
.testimonials { 
  background: #ffffff; 
  padding: 100px 0 150px 0; 
  text-align: center; 
  position: relative;
}

  .testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/Tetimonial_Quote_IMG.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
  }

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.testimonials h2 { 
  color: #F58C17; 
  margin-bottom: 12px;
}

.testimonials-subhead { 
  color: var(--muted); 
  margin-bottom: 48px;
}

/* Single testimonial container */
.testimonial-single { 
  position: relative;
  margin: 0 auto;
  max-width: 600px;
  height: 180px; /* Even more reduced height */
  display: flex;
  align-items: center;
  margin-top: 48px; /* More space above the card */
  margin-bottom: 48px; /* More space below the card */
  padding: 32px 0; /* 32px padding above and below */
}

.testimonial-quote {
  background: #ffffff;
  border-radius: 40px; /* Even more rounded corners */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  padding: 36px 32px; /* Further reduced padding */
  border: 1px solid #f0f4f7;
  transition: all 0.6s ease;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-quote blockquote {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.testimonial-quote p {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  font-weight: 400;
  text-align: center;
  transition: all 0.6s ease;
}

/* Quote styling - decorative quotation marks removed */

/* Hover and focus pause for accessibility - now handled by JavaScript */

/* Dot Navigation */
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  margin-bottom: 16px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #D8D8D8;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.testimonial-dot:hover {
  background: #B8B8B8;
  transform: scale(1.1);
}

.testimonial-dot.active {
  background: #F58C17;
  transform: scale(1.2);
}

.testimonial-dot:focus {
  outline: 2px solid #3794AA;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(55, 148, 170, 0.3);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .testimonials-track {
    transition: none;
  }
}

/* CTA purple */
.cta { 
  background: var(--gradient-purple); 
  color: #fff; 
  padding: 80px 0 0; 
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/Large BG logo element.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.cta .container {
  position: relative;
  z-index: 2;
  padding-bottom: 0;
  margin-bottom: 0;
}
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; gap: 40px; margin-bottom: 0; padding-bottom: 0; }
.cta-copy { display: flex; flex-direction: column; justify-content: center; padding-bottom: 80px; }
.cta-copy h2 { color: #ffffff; }
.cta-phone { display: flex; justify-content: center; align-items: flex-end; margin-bottom: 0; padding-bottom: 0; }
.phone-crop { width: 360px; max-width: 100%; filter: drop-shadow(0 24px 40px rgba(0,0,0,.3)); margin-bottom: -1px; padding-bottom: 0; display: block; vertical-align: bottom; }

/* Footer */
.site-footer { 
  background: #F5F5F5; 
  color: #595959; 
  padding: 22px 0; 
  position: relative;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-links a { color: #595959; text-decoration: none; margin-left: 18px; }
.footer-links a:hover { color: #333333; }

/* Contact Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modal.show {
  opacity: 1;
}

.modal-content {
  background-color: #ffffff;
  margin: 5% auto;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: modalSlideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #333;
}

.modal h2 {
  color: var(--text);
  font-size: 2rem;
  margin: 0 0 12px 0;
  text-align: center;
}

.modal p {
  color: var(--muted);
  text-align: center;
  margin: 0 0 32px 0;
  font-size: 1.1rem;
}


.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group:not(:last-child) {
  margin-bottom: 12px;
}

.email-field {
  padding-bottom: 6px;
}


.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e6eef2;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(15, 154, 166, 0.1);
}

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

.submit-btn {
  background: var(--brand-teal);
  color: #ffffff;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.submit-btn:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 154, 166, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(55, 148, 170, 0.3);
}

/* Checkbox Section */
.checkbox-section {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 20px 0;
}

.checkbox-column {
  width: 24px;
  flex-shrink: 0;
}

.checkbox-text-column {
  flex: 1;
}

.checkbox-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  filter: brightness(0) saturate(100%) invert(53%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.checkbox-icon:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(55, 148, 170, 0.3);
}

.checkbox-icon.checked {
  filter: brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(1000%) hue-rotate(90deg) brightness(80%) contrast(100%);
}

.checkbox-text-column p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted);
}

.checkbox-text-column a {
  color: var(--brand-teal);
  text-decoration: none;
}

.checkbox-text-column a:hover {
  text-decoration: underline;
}




/* Mobile responsive for modal */
@media (max-width: 639px) {
  .modal-content {
    margin: 10% auto;
    padding: 30px 24px;
    width: 95%;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .modal h2 {
    font-size: 1.5rem;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .feature-grid, .cta-grid { grid-template-columns: 1fr; }
  .hero-card { order: 2; }
  .hero-phone { order: 1; }
  .quotes { grid-template-columns: 1fr; }
}

/* Tablet responsive - 2 cards visible */
@media (max-width: 1023px) and (min-width: 640px) {
  .testimonial-card { 
    flex: 0 0 calc(50% - var(--slide-gap) / 2);
  }
}

/* Desktop navigation - hide mobile menu toggle */
.mobile-menu-toggle {
  display: none;
}

/* Mobile responsive */
@media (max-width: 639px) {
  /* Prevent horizontal overflow on mobile */
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  /* Navigation */
  .site-header {
    top: 0;
  }
  
  .nav {
    padding: 20px 20px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .brand {
    display: flex;
    align-items: center;
    position: relative;
    width: 152px;
    height: 40px;
  }
  
  .logo {
    position: relative;
  }
  
  .logo-transparent {
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .logo-white {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-menu-toggle:focus {
    outline: 2px solid #3794AA;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(55, 148, 170, 0.3);
  }
  
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
  }
  
  .menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Trigger scrolled header style when mobile menu is active */
  .site-header:has(.menu.active) {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  }
  
  .site-header:has(.menu.active) .logo-transparent {
    opacity: 0 !important;
  }
  
  .site-header:has(.menu.active) .logo-white {
    opacity: 1 !important;
  }
  
  .site-header:has(.menu.active) .mobile-menu-toggle {
    color: #3794AA !important;
  }
  
  .menu a {
    color: #13707F;
    padding: 12px 0;
    border-bottom: 1px solid #e6eef2;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .menu a:last-child {
    border-bottom: none;
  }
  
  /* Mobile menu toggle button */
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    transition: all 0.4s ease;
  }
  
  .site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  }
  
  .site-header.scrolled .brand {
    color: #333;
  }
  
  .site-header.scrolled .logo-transparent {
    opacity: 0;
  }
  
  .site-header.scrolled .logo-white {
    opacity: 1;
  }
  
  .site-header.scrolled .mobile-menu-toggle {
    color: #3794AA;
  }
  
  .desktop-menu {
    display: none;
  }
  
  /* Mobile logo alignment */
  .brand {
    position: relative;
  }
  
  .logo {
    position: relative;
  }
  
  .logo-white {
    position: absolute;
    top: 0;
    left: 0;
  }
  
  /* Hero section */
  .hero {
    padding: 228px 0 132px 0;
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .hero-grid {
    gap: 30px;
    text-align: center;
  }
  
  .hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .display {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 16px;
  }
  
  .lead {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  
  .store-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .store-button {
    height: 50px;
    width: auto;
  }
  
  /* Feature section */
  .feature {
    padding: 172px 0;
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .feature-grid {
    gap: 30px;
  }
  
  .feature-phone {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .feature-list {
    gap: 16px;
  }
  
  .feature-item {
    padding: 16px;
  }
  
  .feature-item-title {
    font-size: 1.1rem;
  }
  
  .feature-item-content h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }
  
  .feature-item-content p {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  /* Testimonials */
  .testimonials {
    padding: 132px 0 152px 0;
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  
  .testimonials h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }
  
  .testimonial-single {
    max-width: 100%;
    margin: 0 auto;
    height: 160px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 32px 0;
  }
  
  .testimonial-quote {
    padding: 24px 18px;
    border-radius: 32px;
  }
  
  .testimonial-quote p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  
  .testimonials-dots {
    gap: 16px;
  }
  
  .testimonial-dot {
    width: 16px;
    height: 16px;
  }
  
  /* CTA section */
  .cta {
    padding: 112px 0 0 0;
    overflow-x: hidden;
    max-width: 100vw;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  .cta-grid {
    gap: 8px;
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  .cta-phone {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  .phone-crop {
    margin-bottom: -1px;
    padding-bottom: 0;
  }
  
  .cta-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px;
  }
  
  .cta h1 {
    font-size: 2rem;
    line-height: 1.1;
  }
  
  .cta .lead {
    font-size: 1.1rem;
    margin-bottom: 24px;
  }
  
  /* Footer */
  .site-footer {
    padding: 24px 0;
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .footer-grid {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .copyright {
    order: 1;
    text-align: center;
    width: 100%;
  }
  
  .footer-links {
    order: 2;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  /* General mobile improvements */
  .container {
    width: 90%;
    padding: 0 20px;
  }
  
  .headline-slab {
    padding: 272px 0;
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .headline-slab h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  
  .headline-slab .subhead {
    font-size: 1rem;
  }
  
  /* Touch targets */
  .store-button,
  .feature-item {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Better spacing */
  section {
    padding: 64px 0;
  }
  
  .phone-full {
    max-width: 140px;
  }
  
  .phone-shadow {
    max-width: 240px;
    display: block;
    margin: 0 auto;
    transition: opacity 0.3s ease;
    filter: none;
  }
  
  .phone-shadow:not(.active) {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .phone-shadow.active {
    opacity: 1;
    position: relative;
  }
  
  /* Hide hero image on mobile */
  .hero-phone {
    display: none;
  }
  
  /* Mobile Contact Modal */
  .modal-content {
    margin: 1% auto;
    padding: 20px;
    width: 98%;
    max-width: none;
    border-radius: 12px;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    top: 0;
    transform: none;
  }
  
  .modal h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  
  .modal p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 16px;
  }
  
  .form-group input, .form-group textarea {
    font-size: 16px;
    padding: 12px 16px;
  }
  
  .submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
  }
  
  /* Mobile modal width adjustment */
  #contact-modal .modal-content {
    width: calc(100% - 32px);
    padding: 30px 16px;
    margin: 20px 16px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    left: 0;
    right: 0;
    position: relative;
  }
}


