/* ============================================
   Quality Alarm Systems, Inc. - Main Stylesheet
   ============================================ */

/* CSS Reset & Variables */
:root {
  --primary: #0f2440;
  --primary-light: #1a365d;
  --accent: #e67e22;
  --accent-hover: #d35400;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #6c757d;
  --gray-700: #495057;
  --gray-900: #212529;
  --success: #28a745;
  --error: #dc3545;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* Override body color in footer */
body .footer {
  color: rgba(255, 255, 255, 0.8);
}

body .footer h3,
body .footer h4 {
  color: var(--white);
}

body .footer p,
body .footer a,
body .footer li,
body .footer span {
  color: rgba(255, 255, 255, 0.8);
}

/* Override body color in page-header */
body .page-header {
  color: var(--white);
}

body .page-header h1 {
  color: var(--white);
}

body .page-header p {
  color: rgba(255, 255, 255, 0.9);
}

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

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

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

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

.section-dark h2, .section-dark h3 {
  color: var(--white);
}

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

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

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

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.logo:hover {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: var(--white);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary);
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius);
}

.mobile-nav-link:hover {
  background: var(--gray-100);
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  max-width: 800px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  color: var(--white);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--primary);
}

.section-header p {
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-body {
  padding: 1.5rem;
}

.service-body h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-body p {
  color: var(--gray-500);
  margin-bottom: 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--accent);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--accent);
  color: var(--white);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--gray-500);
  margin-bottom: 0;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

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

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item span,
.contact-item a {
  color: var(--gray-700);
}

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

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  transition: var(--transition);
  background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
}

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

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

.form-checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.form-checkbox label {
  font-size: 0.9rem;
  color: var(--gray-700);
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 1rem;
}

.form-message {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 500;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.field-error {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Services Page - Full Width Cards */
.service-full {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

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

.service-full-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.service-full-content {
  padding: 2rem;
}

.service-full-content h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-full-content p {
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

.service-examples {
  background: var(--gray-100);
  padding: 1.25rem;
  border-radius: var(--radius);
}

.service-examples h4 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.service-examples ul {
  color: var(--gray-700);
}

.service-examples li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-examples li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Business Hours */
.business-hours {
  background: var(--gray-100);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-top: 2rem;
}

.business-hours h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 500;
  color: var(--gray-700);
}

.hours-time {
  color: var(--gray-500);
}

.hours-time.closed {
  color: var(--error);
}

/* Map */
.map-wrapper {
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: var(--white);
  padding: 1.5rem;
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-text p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.cookie-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-500);
  transition: var(--transition);
}

.cookie-modal-close:hover {
  color: var(--primary);
}

.cookie-modal-content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.cookie-modal-content > p {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.cookie-option-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-option-header label {
  font-weight: 600;
  color: var(--gray-700);
}

.cookie-option-header input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.cookie-option-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
}

/* Footer */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  color: rgba(255, 255, 255, 0.8);
}

.footer-brand h3 {
  color: var(--white) !important;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8) !important;
}

.footer-brand a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-brand a:hover {
  color: var(--accent);
}

.footer-column {
  color: rgba(255, 255, 255, 0.8);
}

.footer-column h4 {
  color: var(--white) !important;
  font-size: 1rem;
  margin-bottom: 1rem;
}

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

.footer-links li {
  list-style: none;
  margin: 0;
}

.footer-links a,
.footer-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  display: block;
}

.footer-links a:hover,
.footer-link:hover {
  color: var(--accent) !important;
}

.footer-disclaimer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.footer-disclaimer p {
  font-size: 0.85rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6) !important;
  margin: 0;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  color: var(--primary);
  margin-bottom: 2rem;
  padding-top: 1rem;
}

.legal-content h2 {
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  color: var(--gray-700);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

.legal-content ol li {
  list-style: decimal;
}

.legal-content a {
  color: var(--accent);
}

.legal-meta {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

/* Page Header */
.page-header {
  background: var(--primary);
  color: var(--white);
  padding: 8rem 0 3rem;
  text-align: center;
}

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

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.page-header .breadcrumb {
  margin-bottom: 1rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  background: var(--gray-100);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.breadcrumb-link {
  color: var(--gray-500);
}

.breadcrumb-link:hover {
  color: var(--primary);
}

.breadcrumb-separator {
  color: var(--gray-300);
}

.breadcrumb-current {
  color: var(--gray-700);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--accent);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  z-index: 9999;
  transition: top 0.3s;
}

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

/* Utility Classes */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Content Grid (About page) */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-text h2 {
  color: var(--primary);
}

.content-text p {
  color: var(--gray-700);
}

.content-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

/* Service Areas Tags */
.service-areas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.area-tag {
  background: var(--gray-100);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  color: var(--gray-700);
}

/* Service Detail (Services page) */
.service-detail {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
}

.service-detail.reverse {
  grid-template-columns: 1fr 400px;
}

.service-detail.reverse .service-detail-image {
  order: 2;
}

.service-detail-image {
  height: 100%;
  min-height: 300px;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content {
  padding: 2rem;
}

.service-detail-content h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-detail-content p {
  color: var(--gray-700);
}

.use-cases {
  background: var(--gray-100);
  padding: 1.25rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
}

.use-cases h4 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.use-cases ul {
  color: var(--gray-700);
}

.use-cases li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.use-cases li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Contact Page */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
}

.contact-form-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.contact-form-card h2 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card,
.business-hours-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-info-card h2,
.business-hours-card h2 {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

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

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.contact-item span,
.contact-item a {
  color: var(--gray-700);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table td:first-child {
  font-weight: 500;
  color: var(--gray-700);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--gray-500);
}

.hours-table .closed {
  color: var(--error);
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .content-grid,
  .content-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  
  .service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
  }
  
  .service-detail-image {
    min-height: 200px;
  }

@media (max-width: 768px) {
  .nav-list {
    display: none;
  }
  
  .nav-cta {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-card {
    padding: 1.5rem;
  }
  
  .service-full-content {
    padding: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .cookie-banner,
  .cookie-modal,
  .btn {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  body {
    font-size: 12pt;
  }
}
