/* ============================================
   SmartCare Living - Complete Stylesheet
   ============================================ */

/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

:root {
  --orange: #f48222;
  --orange-dark: #d9711a;
  --teal: #08a9ac;
  --teal-dark: #078a8d;
  --dark: #333333;
  --black: #000000;
  --white: #ffffff;
  --light-gray: #f4f4f4;
  --medium-gray: #e0e0e0;
  --text-gray: #666666;
  --font: 'Plus Jakarta Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

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

ul { list-style: none; }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 44px;
  height: 44px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.logo-text span {
  color: var(--orange);
}

/* Navigation */
.nav { display: flex; align-items: center; gap: 8px; }

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--orange);
  background: rgba(244, 130, 34, 0.06);
}

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

.nav-dropdown .nav-link::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  transition: var(--transition);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}

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

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  color: var(--dark);
}

.dropdown-menu a:hover {
  background: rgba(244, 130, 34, 0.08);
  color: var(--orange);
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 169, 172, 0.3);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--orange);
  transform: translateY(-2px);
}

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

.btn-orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 130, 34, 0.3);
}

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

.btn-white:hover {
  background: var(--light-gray);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ---- Hero Section ---- */
.hero {
  margin-top: 72px;
  background: var(--orange);
  min-height: 600px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  min-height: 600px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 60px 60px 80px;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: var(--white);
  color: var(--dark);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  align-self: flex-start;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(135deg, #f5923e 0%, #e87518 100%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-placeholder .placeholder-content {
  text-align: center;
  color: var(--white);
  opacity: 0.8;
}

.hero-image-placeholder .placeholder-icon {
  font-size: 80px;
  margin-bottom: 16px;
}

/* ---- Award Banner ---- */
.award-banner {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 16px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.award-banner span {
  color: var(--orange);
}

/* ---- Features Section ---- */
.features {
  padding: 80px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-gray);
  max-width: 640px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(244, 130, 34, 0.25);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.5;
}

/* Alternate feature card */
.feature-card.teal {
  background: var(--teal);
}

.feature-card.teal:hover {
  box-shadow: 0 12px 40px rgba(8, 169, 172, 0.25);
}

/* ---- Storytelling / Info Sections ---- */
.info-section {
  padding: 80px 0;
}

.info-section.gray-bg {
  background: var(--light-gray);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.info-grid.reverse .info-image {
  order: 2;
}

.info-grid.reverse .info-content {
  order: 1;
}

.info-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.info-image-placeholder {
  background: linear-gradient(135deg, var(--light-gray) 0%, #ddd 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.info-content h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--dark);
}

.info-content h2 span {
  color: var(--orange);
}

.info-content p {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

.info-content .btn {
  margin-top: 8px;
}

/* Check list */
.check-list {
  margin: 20px 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--dark);
}

.check-list li::before {
  content: '\2713';
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ---- Reviews Section ---- */
.reviews {
  background: var(--orange);
  padding: 80px 0;
  overflow: hidden;
}

.reviews .section-header h2 {
  color: var(--white);
  font-size: 2.4rem;
}

.reviews .section-header p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
}

.reviews-track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s ease;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  min-width: calc(50% - 14px);
  flex-shrink: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #fbbf24;
  font-size: 1.3rem;
  margin-bottom: 18px;
  letter-spacing: 3px;
}

.review-card blockquote {
  font-size: 1.1rem;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
  flex: 1;
}

.review-author {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
}

.review-location {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-top: 4px;
}

/* Review Navigation */
.reviews-wrapper {
  position: relative;
  overflow: hidden;
}

.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.reviews-nav button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-nav button:hover {
  background: var(--white);
  color: var(--orange);
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.reviews-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: var(--transition);
}

.reviews-dots .dot.active {
  background: var(--white);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(255,255,255,0.4);
}

/* ---- Client Stories Section ---- */
.stories-section {
  padding: 80px 0;
  background: var(--light-gray);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.story-card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
}

.story-card-image.high { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.story-card-image.medium { background: linear-gradient(135deg, var(--orange), #f5a623); }
.story-card-image.low { background: linear-gradient(135deg, var(--teal), #0ec9cc); }

.risk-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
}

.story-card-content {
  padding: 28px;
}

.story-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.story-card .price {
  color: var(--orange);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.story-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--teal);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Footer ---- */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.footer-brand .logo-text span {
  color: var(--orange);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--orange);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

/* ---- Page Header ---- */
.page-header {
  margin-top: 72px;
  background: var(--orange);
  padding: 60px 0;
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Story Page Styles ---- */
.story-hero {
  margin-top: 72px;
  background: var(--orange);
  padding: 60px 0;
  color: var(--white);
}

.story-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.story-hero .risk-label {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(255,255,255,0.2);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.story-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.story-hero p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.7;
}

.family-requests {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
}

.family-requests h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.family-requests li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
}

.family-requests li::before {
  content: '\2713';
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background: var(--white);
  color: var(--orange);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
}

/* Tabs */
.tabs-section {
  padding: 60px 0;
}

.tab-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: 50px;
  border: 2px solid var(--medium-gray);
  background: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.tab-btn:hover:not(.active) {
  border-color: var(--orange);
  color: var(--orange);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tab-content-grid h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.tab-content-grid p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 12px;
}

.tab-image-placeholder {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

/* Cost Section */
.cost-section {
  padding: 60px 0;
  background: var(--light-gray);
}

.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.cost-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cost-card .label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-gray);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.cost-card .amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
}

.cost-card .amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-gray);
}

.cost-card .note {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-top: 8px;
  line-height: 1.5;
}

/* Installation Section */
.installation-section {
  padding: 60px 0;
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.zone-card {
  background: var(--white);
  border: 2px solid var(--medium-gray);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}

.zone-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.zone-card .zone-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.zone-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}

/* FAQ */
.faq-section {
  padding: 60px 0;
  background: var(--dark);
  color: var(--white);
}

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

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  transition: var(--transition);
  min-width: 24px;
  text-align: center;
}

.faq-item.open .faq-question::after {
  content: '\2212';
}

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

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 16px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* ---- About Page ---- */
.about-content {
  padding: 80px 0;
}

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

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.stat-card {
  background: var(--light-gray);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
}

.stat-card .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 4px;
}

.stat-card .label {
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 500;
}

/* ---- Blog Page ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 60px 0;
}

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

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--orange), #f5a623);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.blog-card-content {
  padding: 24px;
}

.blog-card .date {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--dark);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card .read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
}

.blog-card .read-more:hover {
  color: var(--orange-dark);
}

/* ---- Contact Page ---- */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--medium-gray);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--dark);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244, 130, 34, 0.1);
}

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

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 50px 40px;
    text-align: center;
    align-items: center;
  }

  .hero-badge { align-self: center; }

  .hero-image { min-height: 350px; }

  .hero h1 { font-size: 2.4rem; }

  .hero-buttons { justify-content: center; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-grid,
  .about-grid,
  .contact-grid,
  .story-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .info-grid.reverse .info-image,
  .info-grid.reverse .info-content {
    order: unset;
  }

  .review-card {
    min-width: calc(100% - 0px);
  }

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

  .stories-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    gap: 4px;
  }

  .nav.active { display: flex; }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 16px;
    display: none;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .menu-toggle {
    display: flex;
  }

  .hero h1 { font-size: 2rem; }
  .hero-content { padding: 40px 24px; }
  .section-header h2 { font-size: 1.8rem; }
  .page-header h1 { font-size: 2rem; }

  .features-grid,
  .stories-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-width: 100%;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .tab-buttons {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
  }
  .tab-btn {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.92rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .btn { padding: 12px 22px; font-size: 0.85rem; }
  .btn-lg { padding: 14px 28px; }
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-teal { color: var(--teal); }
.text-white { color: var(--white); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* ============================================
   ACCESSIBILITY (UI/UX audit fixes — Apr 2026)
   ============================================ */

/* C1: Skip-to-content link — visible only on focus.
   First interactive element in tab order on every page. */
.skip-link {
  position: absolute;
  top: -48px;
  left: 8px;
  background: var(--orange);
  color: #ffffff;
  padding: 10px 18px;
  z-index: 10000;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: top 0.18s ease-out;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 8px;
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

/* C3: Bold all button text — bumps WCAG contrast threshold for the
   white-on-orange CTA from 4.5:1 (FAIL) to 3:1 (PASS for "large/bold text"). */
.btn,
.btn-primary,
.btn-secondary,
.btn-white,
.btn-outline,
.btn-lg,
a.btn,
button.btn {
  font-weight: 700;
}

/* Strengthen focus rings globally for keyboard users.
   Browsers' default focus is fine but inconsistent — make it visible. */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* L1: Respect "Reduce motion" OS preference — disables scroll-reveal,
   transforms, and long transitions for users who get nauseous from motion. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3,
  .f-card.reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
