/* ========================================
   EVERSTEAD HOME CARE — Design System
   Rebranded from Serenica template
   ======================================== */

/* Typography: Georgia for headings, Arial for body */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: Arial, system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #122348;
  background-color: #ffffff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

:root {
  --bg-white: #ffffff;
  --bg-section: #f5f7f4;
  --bg-dark: #122348;
  --text-primary: #122348;
  --text-secondary: #4a6a8a;
  --text-light: #7a9ab0;
  --accent: #122348;
  --accent-hover: #1a3264;
  --accent-light: #f5f7f4;
  --sage-green: #8b9d83;
  --sand-gold: #d4a574;
  --border-color: #d6ddd3;
  --border-light: #e8ece6;
  --card-bg: #ffffff;
  --card-shadow: 0 4px 20px rgba(30,58,95,0.06);
  --card-shadow-hover: 0 8px 40px rgba(30,58,95,0.10);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: Arial, system-ui, -apple-system, sans-serif;
  --container-max: 1280px;
  --navbar-height: 80px;
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-pill: 25vw;
  --transition: 0.3s ease;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 3rem;
  width: 100%;
}

/* — Typography — */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.25rem, 3.5vw, 3.25rem); letter-spacing: -0.03em; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 2.5vw, 2.75rem); letter-spacing: -0.02em; font-weight: 700; }
h3 { font-size: clamp(1.125rem, 1.4vw, 1.375rem); font-weight: 600; }
h4 { font-size: 1.0625rem; font-weight: 600; }

p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.7;
  max-width: 640px;
}

/* — Buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--text-primary);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: rgba(193,124,92,0.05);
}

.btn-white {
  background-color: #ffffff;
  color: var(--text-primary);
}
.btn-white:hover { background-color: #f5f5f5; }

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
}
.btn-secondary:hover {
  border-color: var(--text-primary);
}

/* — Sections — */
.section { padding: 7rem 0; }
.section-sm { padding: 5rem 0; }
.section-alt { background-color: var(--bg-section); }
.section-dark { background-color: var(--bg-dark); color: #ffffff; }
.section-dark h2, .section-dark h3 { color: #ffffff; }
.section-dark p { color: #ffffff; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header .section-subtitle { margin: 0 auto; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  transition: all 0.35s ease;
  background-color: #12234863;
}
.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}
.navbar-logo img { height: 5rem; width: auto; }

.navbar-links { display: flex; align-items: center; gap: 2rem; }
.navbar-links a {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition);
  position: relative;
}
.navbar-links a:hover,
.navbar-links a.active { color: var(--accent); }

/* Navbar on dark hero pages */
.navbar-dark .navbar-links a { color: #ffffff; }
.navbar-dark .navbar-links a:hover,
.navbar-dark .navbar-links a.active { color: #ffffff; }
.navbar-dark .navbar-logo { color: #ffffff; }
.navbar-dark .navbar-logo img { filter: none; }
.navbar-dark .hamburger span { background-color: #ffffff; }
.navbar-dark.scrolled .navbar-links a { color: var(--text-primary); }
.navbar-dark.scrolled .navbar-links a:hover,
.navbar-dark.scrolled .navbar-links a.active { color: var(--accent); }
.navbar-dark.scrolled .navbar-logo { color: var(--text-primary); }
.navbar-dark.scrolled .navbar-logo img { filter: none; }
.navbar-dark.scrolled .hamburger span { background-color: var(--text-primary); }

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background-color: #ffffff;
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  border: 1px solid var(--border-color);
}
.navbar-cta:hover { border-color: var(--text-primary); }
.navbar-cta .cta-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.navbar-cta .cta-icon svg { width: 0.875rem; height: 0.875rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease; border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  position: fixed; top: 0; right: -100%;
  width: 100%; height: 100vh;
  background-color: #ffffff;
  z-index: 999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.75rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.active { right: 0; }
.mobile-nav a { font-size: 1.25rem; font-weight: 500; color: var(--text-primary); }
.mobile-nav a:hover { color: var(--accent); }

/* ========== HERO — Full-Screen Overlay ========== */
.hero-fullscreen {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #1a1a1a;
}
.hero-bg-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-tagline {
  position: absolute;
  top: calc(var(--navbar-height) + 2rem);
  left: max(3rem, calc((100% - var(--container-max)) / 2 + 3rem));
  z-index: 3;
}
.hero-tagline p {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.5;
}

.hero-badges-overlay {
  position: absolute;
  bottom: 2.5rem;
  left: max(3rem, calc((100% - var(--container-max)) / 2 + 3rem));
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 380px;
}
.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hero-badge-item:last-child { border-bottom: none; }
.hero-badge-icon-sm {
  width: 2.5rem; height: 2.5rem; min-width: 2.5rem;
  display: flex; align-items: center; justify-content: center;
}
.hero-badge-icon-sm img {
  width: 1.5rem; height: 1.5rem;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.hero-badge-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.125rem;
}
.hero-badge-item p {
  font-size: 0.8125rem;
  color: #ffffff;
  line-height: 1.4;
}

.hero-headline-overlay {
  position: absolute;
  bottom: 2.5rem;
  right: max(3rem, calc((100% - var(--container-max)) / 2 + 3rem));
  left: 45%;
  z-index: 3;
  text-align: right;
}
.hero-headline-overlay h1 {
  font-size: clamp(2.25rem, 3.8vw, 3.5rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: flex-end; flex-wrap: wrap; }

.btn-outline-light {
  background-color: #ffffff;
  color: #122348;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: #ffffff;
}

/* ========== ABOUT / MISSION ========== */
.about {
  padding: 7rem 0;
}
.about-header {
  text-align: center;
  margin-bottom: 5rem;
}
.about-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.about-header p {
  max-width: 660px;
  margin: 0 auto;
  font-size: clamp(0.9375rem, 1vw, 1.0625rem);
  line-height: 1.7;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.about-text h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
  font-weight: 600;
}
.about-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
}
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-images img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-images img:first-child {
  margin-top: 2.5rem;
}

/* ========== SERVICES ========== */
.services-section {
  background-color: var(--bg-section);
  padding: 7rem 0;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.service-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.service-card-icon {
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--bg-section);
  border-radius: 0.75rem;
  flex-shrink: 0;
}
.service-card-icon img { width: 1.5rem; height: 1.5rem; opacity: 0.7; }
.service-card h3 { font-size: 1.25rem; }
.service-card > p { margin-bottom: 1.25rem; font-size: 0.9375rem; line-height: 1.7; }

.service-checklist { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.5rem; }
.service-checklist li {
  display: flex; align-items: center; gap: 0.625rem;
  font-size: 0.9375rem; color: var(--text-primary); font-weight: 500;
}
.service-checklist li svg {
  width: 1.125rem; height: 1.125rem;
  color: var(--accent);
  flex-shrink: 0;
}

.service-card-link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.9375rem; font-weight: 500;
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: gap var(--transition), color var(--transition);
}
.service-card-link:hover { gap: 0.625rem; color: var(--accent); }

.services-cta { text-align: center; margin-top: 3rem; }

/* ========== PROCESS / HOW IT WORKS ========== */
.process {
  padding: 7rem 0;
}
.process-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 0;
  align-items: end;
}
.process-header-left p {
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.7;
}
.process-header-right h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
}

.process-visual {
  position: relative;
  margin-top: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 500px;
}
.process-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.process-visual-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.5));
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
}
.process-step {
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid rgba(255,255,255,0.15);
}
.process-step:last-child { border-right: none; }
.step-number {
  display: block;
  font-size: 2rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.process-step h3 { color: #ffffff; margin-bottom: 0.75rem; font-size: 1.25rem; }
.process-step p { color: #ffffff; font-size: 0.875rem; line-height: 1.6; }

.process-cta { text-align: center; margin-top: 2rem; position: relative; z-index: 3; }

/* ========== TRUST / WHY FAMILIES TRUST ========== */
.trust { background-color: var(--bg-section); padding: 7rem 0; }
.trust-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.trust-left { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.trust-stat-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--card-bg);
}
.trust-stat-card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.trust-stat-card p { font-size: 0.9375rem; line-height: 1.7; }

.trust-experience-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--card-bg);
  grid-column: span 2;
}
.trust-experience-card .trust-stat-icon { margin-bottom: 1.5rem; }
.trust-experience-card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.trust-experience-card p { font-size: 0.9375rem; line-height: 1.7; }

.trust-stat-icon {
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-section);
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
}
.trust-stat-icon img { width: 1.5rem; height: 1.5rem; opacity: 0.6; }

.trust-right {
  display: flex;
  flex-direction: column;
}
.trust-feature-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ========== TESTIMONIALS ========== */
.testimonials { padding: 7rem 0; overflow: hidden; }
.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}
.testimonials-header h2 { margin-bottom: 0; }

.testimonials-nav { display: flex; gap: 0.75rem; }
.testimonials-nav button {
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--card-bg);
  transition: all var(--transition);
}
.testimonials-nav button:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}
.testimonials-nav button:hover svg { color: #ffffff; }
.testimonials-nav button svg { width: 1.25rem; height: 1.25rem; color: var(--text-primary); }

.testimonials-wrapper { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.testimonial-card {
  min-width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--card-bg);
}
.testimonial-image {
  width: 420px;
  object-fit: cover;
}
.testimonial-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial-content blockquote {
  font-size: clamp(1rem, 1.5vw, 1.375rem);
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-weight: 400;
  font-style: normal;
}
.testimonial-author h4 { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.25rem; }
.testimonial-author p { font-size: 0.875rem; color: var(--text-light); }

/* ========== VIDEO CTA ========== */
.video-cta {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-cta video {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-cta-overlay {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
}
.video-cta-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 700px; padding: 2.5rem;
}
.video-cta-content h2 { color: #ffffff; margin-bottom: 1rem; }
.video-cta-content p { color: #ffffff; margin-bottom: 2rem; font-size: 1.0625rem; }

/* ========== BLOG ========== */
.blog-preview { padding: 7rem 0; }
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}
.blog-header h2 { margin-bottom: 0; }
.blog-more-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.blog-more-link:hover { color: var(--accent); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.blog-card-image { width: 100%; height: 220px; object-fit: cover; }
.blog-card-content { padding: 1.5rem; }
.blog-card-date { font-size: 0.8125rem; color: var(--text-light); margin-bottom: 0.625rem; font-weight: 500; }
.blog-card-content h3 { font-size: 1.125rem; margin-bottom: 0.5rem; font-weight: 600; }
.blog-card-content p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ========== FAQ ========== */
.faq { padding: 7rem 0; background-color: var(--bg-section); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  gap: 1rem;
}
.faq-question .faq-icon {
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-question .faq-icon svg { width: 0.875rem; height: 0.875rem; color: #ffffff; }
.faq-item.active .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 1.5rem 1.25rem; font-size: 0.9375rem; line-height: 1.7; }

/* ========== FOOTER ========== */
.footer { background-color: var(--bg-dark); padding: 5rem 0 0; color: #ffffff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-address { margin-top: 1rem; }
.footer-address h4 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.75rem; color: #ffffff; }
.footer-address p { color: #ffffff; font-size: 0.9375rem; line-height: 1.7; margin-bottom: 0.125rem; }

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-brand .footer-logo img { height: 6rem; width: auto; filter: none; }
.footer-brand .footer-logo span { font-size: 1.25rem; font-weight: 600; color: #ffffff; }
.footer-brand > p { color: #ffffff; font-size: 0.9375rem; margin-bottom: 1.5rem; line-height: 1.6; }

.footer-social { display: flex; gap: 0.75rem; margin-bottom: 2.5rem; }
.footer-social a {
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: all var(--transition);
}
.footer-social a:hover { background-color: var(--accent); border-color: var(--accent); }
.footer-social a img, .footer-social a svg { width: 1rem; height: 1rem; filter: brightness(0) invert(1); }

.footer-col h4 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 1.25rem; color: #ffffff; }
.footer-col p { color: #ffffff; font-size: 0.9375rem; line-height: 1.7; margin-bottom: 0.25rem; }
.footer-col a {
  display: block;
  color: #ffffff;
  font-size: 0.9375rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: #ffffff; }

.footer-direction-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  background: rgb(87 103 151);
  border-radius: var(--radius-pill);
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 500;
}
.footer-direction-link:hover { background: rgb(100 118 170); }
.footer-direction-link img, .footer-direction-link svg { width: 1rem; height: 1rem; filter: brightness(0) invert(1); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.875rem; color: #ffffff; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.875rem; color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom-links a:hover { color: #ffffff; }

/* ========== PAGE HERO (Inner pages) ========== */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #122348;
}
.page-hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--navbar-height) + 2rem) 2rem 2rem;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: #ffffff;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ========== PRICING ========== */
.pricing { padding: 7rem 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.pricing-card.featured {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.pricing-card.featured h3,
.pricing-card.featured h4,
.pricing-card.featured .pricing-price,
.pricing-card.featured .pricing-plan-name { color: #ffffff; }
.pricing-card.featured p,
.pricing-card.featured li { color: #ffffff; }
.pricing-card.featured .btn {
  background: #ffffff;
  color: var(--accent);
}

.pricing-card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}
.pricing-card.featured .pricing-card-header { border-color: #ffffff; }

.pricing-plan-name {
  font-size: 0.875rem; font-weight: 600;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 0.5rem;
}
.pricing-price {
  font-size: 3rem; font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
}
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-secondary); }
.pricing-card.featured .pricing-price span { color: #ffffff; }
.pricing-description { font-size: 0.875rem; color: var(--text-secondary); margin-top: 0.5rem; line-height: 1.5; }

.pricing-features { flex: 1; margin-bottom: 1.75rem; }
.pricing-features li {
  display: flex; align-items: center; gap: 0.625rem;
  font-size: 0.9375rem; color: var(--text-primary); padding: 0.5rem 0;
}
.pricing-features li svg { width: 1.125rem; height: 1.125rem; color: var(--accent); flex-shrink: 0; }
.pricing-card.featured .pricing-features li svg { color: #ffffff; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ========== TEAM ========== */
.team-section { padding: 7rem 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card {
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); }
.team-card-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-section);
}
.team-card-info { padding: 1rem 0.25rem; }
.team-card-info h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.125rem; }
.team-card-info p { font-size: 0.875rem; color: var(--text-secondary); }

/* ========== CONTACT ========== */
.contact { padding: 7rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

.contact-left h2 {
  font-size: clamp(2.5rem, 3.5vw, 3.5rem);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.contact-left > p {
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.contact-info-card {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1rem;
}
.contact-info-card h4 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; }
.contact-info-card p { font-size: 0.9375rem; margin-bottom: 0.25rem; }
.contact-info-card a {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 0.25rem 0;
}
.contact-info-card a:hover { color: var(--accent); }

.contact-form-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background-color: #ffffff;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea {
  min-height: 120px;
  resize: vertical;
  border-radius: var(--radius-md);
}

/* ========== BLOG PAGE ========== */
.blog-page { padding: 7rem 0; }
.blog-page .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ========== SERVICES PAGE ========== */
.services-page { padding: 7rem 0; }
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* ========== ANIMATIONS ========== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ========== RESPONSIVE — TABLET ========== */
@media (max-width: 1024px) {
  .container { padding: 0 1.5rem; }
  .section, .services-section, .trust, .faq, .process, .about,
  .testimonials, .blog-preview, .pricing, .team-section, .contact { padding: 5rem 0; }

  /* Fullscreen Hero responsive */
  .hero-fullscreen { min-height: 600px; }
  .hero-tagline { left: 1.5rem; top: calc(var(--navbar-height) + 1.5rem); }
  .hero-badges-overlay { left: 1.5rem; bottom: 1.5rem; max-width: 320px; }
  .hero-headline-overlay { right: 1.5rem; bottom: 1.5rem; max-width: 50%; }
  .hero-headline-overlay h1 { font-size: clamp(2rem, 4vw, 3.5rem); }

  .about-split { grid-template-columns: 1fr; gap: 2.5rem; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-page-grid { grid-template-columns: 1fr 1fr; }

  .process-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-steps { grid-template-columns: 1fr; position: relative; }
  .process-visual { min-height: 300px; }
  .process-step { border-right: none; border-bottom: 1px solid #ffffff; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-left { grid-template-columns: 1fr 1fr; }
  .trust-feature-image { min-height: 350px; }

  .testimonial-card { grid-template-columns: 1fr; }
  .testimonial-image { width: 100%; height: 300px; }

  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid .blog-card:last-child { display: none; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: span 2; }

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

  .navbar-links { display: none; }
  .navbar-cta.desktop-only { display: none; }
  .hamburger { display: flex; }

  .testimonials-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ========== RESPONSIVE — MOBILE ========== */
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .section, .services-section, .trust, .faq, .process, .about,
  .testimonials, .blog-preview, .pricing, .team-section, .contact { padding: 3.5rem 0; }

  /* Fullscreen Hero mobile */
  .hero-fullscreen { min-height: 100vh; align-items: flex-end; }
  .hero-tagline { left: 1.25rem; top: calc(var(--navbar-height) + 1rem); }
  .hero-tagline p { font-size: 1rem; }
  .hero-badges-overlay {
    position: relative;
    left: auto; bottom: auto;
    max-width: 100%;
    margin: 0 1.25rem 1rem;
  }
  .hero-headline-overlay {
    position: relative;
    right: auto; bottom: auto;
    max-width: 100%;
    text-align: left;
    padding: 0 1.25rem 2rem;
  }
  .hero-headline-overlay h1 { font-size: clamp(2rem, 8vw, 3rem); text-align: left; }
  .hero-buttons { justify-content: flex-start; flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .services-grid, .services-page-grid { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr; }
  .process-visual { min-height: 600px; }

  .trust-left { grid-template-columns: 1fr; }
  .trust-experience-card { grid-column: auto; }
  .trust-feature-image { min-height: 250px; }

  .testimonial-card { grid-template-columns: 1fr; }
  .testimonial-image { width: 100%; height: 240px; }
  .testimonial-content { padding: 1.5rem; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid .blog-card:last-child { display: block; }
  .blog-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  .pricing-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .page-hero { min-height: 280px; }

  .video-cta { min-height: 400px; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card-image { height: 280px; }
}
