/* ==========================================================================
   CSS Custom Properties & Design Tokens
   ========================================================================== */
:root {
  /* Color Palette */
  --color-primary: #d47e6a;        /* Soft Terracotta - Warmth & Playfulness */
  --color-primary-dark: #b8624e;   /* Dark Terracotta - Deep contrast */
  --color-primary-light: #f6e6e2;  /* Light Terracotta - Soft background panels */
  --color-secondary: #7fa492;      /* Calming Sage Green - Safety & Growth */
  --color-secondary-dark: #5e8271; /* Dark Sage - Professional contrast */
  --color-secondary-light: #ebf2ee;/* Light Sage - Clean background spaces */
  --color-accent-blue: #9ebfd3;     /* Calming Sky Blue - Tranquility & Trust */
  --color-accent-peach: #e9b391;    /* Sweet Peach - Friendly accents */
  
  /* Neutral Palette */
  --color-bg-main: #fdfbf7;        /* Warm Soft Cream - Cozy & Inviting */
  --color-bg-white: #ffffff;       /* Pure White - Hygiene & Cleanliness */
  --color-bg-card: #f8f4ee;        /* Deeper Cozy Cream for Containers */
  --color-text-dark: #2c3330;      /* Dark Charcoal with Green/Warm tint - High readability */
  --color-text-muted: #5e6b64;     /* Soft slate grey for secondary text */
  --color-border: #ebdcd0;         /* Warm border line */
  
  /* Typography */
  --font-heading: 'Outfit', 'Quicksand', system-ui, -apple-system, sans-serif;
  --font-body: 'Quicksand', system-ui, -apple-system, sans-serif;
  
  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-soft: 0 10px 30px rgba(212, 126, 106, 0.06);
  --shadow-medium: 0 15px 40px rgba(45, 51, 48, 0.08);
  --shadow-nav: 0 4px 20px rgba(45, 51, 48, 0.03);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-quick: all 0.2s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-main);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

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

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  box-shadow: 0 8px 24px rgba(212, 126, 106, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 126, 106, 0.4);
}

.btn-secondary {
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-bg-card);
  transform: translateY(-2px);
}

/* Floating Soft Blobs in Background */
.bg-blob {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background-color: var(--color-primary-light);
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background-color: var(--color-secondary-light);
  bottom: 20%;
  left: -200px;
}

.blob-3 {
  width: 350px;
  height: 350px;
  background-color: var(--color-accent-blue);
  top: 50%;
  right: -150px;
  opacity: 0.2;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(235, 220, 208, 0.4);
  transition: var(--transition-quick);
}

.header.scrolled {
  box-shadow: var(--shadow-nav);
  background-color: rgba(253, 251, 247, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.logo svg {
  width: 32px;
  height: 32px;
  fill: var(--color-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  color: var(--color-text-muted);
  position: relative;
  padding: 6px 0;
}

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

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

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

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 24px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-text-dark);
  border-radius: var(--radius-full);
  transition: var(--transition-quick);
}

/* Mobile Navigation open state */
@media (max-width: 992px) {
  .container {
    padding: 0 16px;
  }

  .nav-container {
    height: 70px; /* Slower/more compact height on mobile */
  }

  .logo {
    font-size: 1.15rem; /* Shrink logo to fit screen width */
    gap: 8px;
    flex-shrink: 1; /* Allow logo to shrink if screen is extremely narrow */
    min-width: 0;
  }

  .logo svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .logo span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  nav {
    position: absolute;
    width: 0;
    height: 0;
    overflow: visible;
  }

  .hamburger {
    display: flex;
    flex-shrink: 0; /* Prevent the hamburger from shrinking under any flex pressure */
    z-index: 1001; /* Ensure hamburger stays clickable and above the fixed menu overlay */
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    display: none; /* Completely remove from rendering tree when closed to prevent horizontal overflow */
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    bottom: 0;
    background-color: var(--color-bg-main);
    flex-direction: column;
    padding: 30px 24px 40px;
    gap: 20px;
    box-shadow: var(--shadow-medium);
    overflow-y: auto; /* Allow scrolling if menu contents exceed viewport height */
    align-items: center;
    justify-content: flex-start;
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex; /* Render menu only when active */
  }

  .bg-blob {
    display: none; /* Hide performance-heavy and overflow-causing blobs on mobile */
  }
  
  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    font-size: 1.35rem; /* Larger font size for tap targets on mobile */
    font-weight: 700;
    color: var(--color-text-dark);
    display: block;
    padding: 10px 0;
    width: 100%;
    transition: var(--transition-quick);
  }

  .nav-link::after {
    display: none; /* Disable desktop horizontal underline line effect */
  }

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

  .nav-cta {
    width: 100%;
    margin-top: 15px;
    display: flex;
    justify-content: center;
  }

  .nav-cta .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero-tag svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-accent-peach));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

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

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 8px solid var(--color-bg-white);
  transform: rotate(1deg);
  transition: var(--transition-smooth);
}

.hero-image-frame:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--color-bg-white);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--color-border);
  z-index: 10;
  transform: translateY(0);
  animation: floatBadge 4s ease-in-out infinite;
}

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

.hero-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--color-secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-secondary);
}

.hero-badge-text h4 {
  font-size: 1rem;
  font-weight: 700;
}

.hero-badge-text p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-badge {
    bottom: -10px;
    left: 20px;
  }
}

/* ==========================================================================
   Transition Section (The Need)
   ========================================================================== */
.transition-section {
  background-color: var(--color-secondary-light);
  position: relative;
  overflow: hidden;
}

.transition-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.transition-image-frame {
  position: relative;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 8px solid var(--color-bg-white);
  transform: rotate(-1.5deg);
  transition: var(--transition-smooth);
}

.transition-image-frame:hover {
  transform: rotate(0deg) scale(1.02);
}

.section-label {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-secondary-dark);
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.transition-section h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.transition-text {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.senses-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.sense-item {
  background-color: var(--color-bg-white);
  padding: 16px 8px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(127, 164, 146, 0.1);
  transition: var(--transition-smooth);
}

.sense-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-secondary);
}

.sense-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: block;
}

.sense-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

@media (max-width: 992px) {
  .transition-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .transition-image-frame {
    order: 2;
  }
}

@media (max-width: 576px) {
  .senses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sense-item:nth-child(4), .sense-item:nth-child(5) {
    grid-column: span 1.5;
  }
}

/* ==========================================================================
   The Solution Section
   ========================================================================== */
.solution-section {
  position: relative;
}

.solution-header {
  max-width: 700px;
  margin: 0 auto 60px;
}

.solution-header h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.solution-header p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.benefit-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-bg-white));
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-medium);
}

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

.benefit-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
  color: var(--color-primary);
}

.benefit-icon-wrapper svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.benefit-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.benefit-card p {
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* Special styling per card for accent variations */
.benefit-card:nth-child(2) .benefit-icon-wrapper {
  color: var(--color-secondary);
}
.benefit-card:nth-child(2)::before {
  background: linear-gradient(135deg, var(--color-secondary-light), var(--color-bg-white));
}
.benefit-card:nth-child(3) .benefit-icon-wrapper {
  color: var(--color-accent-blue);
}
.benefit-card:nth-child(3)::before {
  background: linear-gradient(135deg, #eaf2f6, var(--color-bg-white));
}
.benefit-card:nth-child(4) .benefit-icon-wrapper {
  color: var(--color-accent-peach);
}
.benefit-card:nth-child(4)::before {
  background: linear-gradient(135deg, #fbf2eb, var(--color-bg-white));
}
.benefit-card:nth-child(5) .benefit-icon-wrapper {
  color: var(--color-primary-dark);
}

@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .benefit-card {
    padding: 32px 24px;
  }
}

/* ==========================================================================
   Trust & Security Callout
   ========================================================================== */
.trust-section {
  position: relative;
  overflow: hidden;
}

.trust-card {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-medium);
  position: relative;
}

.trust-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.trust-content h2 {
  color: var(--color-bg-white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.trust-text {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

.trust-stats {
  display: flex;
  gap: 32px;
}

.stat-item h4 {
  font-size: 2.2rem;
  color: var(--color-bg-white);
  font-weight: 800;
}

.stat-item p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.trust-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.trust-image-frame {
  position: relative;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 6px solid var(--color-bg-white);
}

@media (max-width: 992px) {
  .trust-card {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    text-align: center;
  }
  .trust-stats {
    justify-content: center;
  }
  .trust-visual {
    order: 2;
  }
}

/* ==========================================================================
   Call To Action (CTA) & Banner
   ========================================================================== */
.cta-section {
  text-align: center;
  position: relative;
}

.cta-box {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.cta-box h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box .btn {
  font-size: 1.1rem;
  padding: 16px 40px;
}

@media (max-width: 768px) {
  .cta-box {
    padding: 50px 20px;
  }
  
  .cta-box h2 {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   Contact Modal Form
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 51, 48, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background-color: var(--color-bg-main);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 550px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-border);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 40px;
}

.modal-overlay.active .modal-window {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: var(--transition-quick);
}

.modal-close:hover {
  color: var(--color-primary);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 28px;
}

.modal-header h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
}

.modal-header p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
  position: relative;
}

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

.form-control {
  width: 100%;
  background-color: var(--color-bg-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--color-text-dark);
  font-family: inherit;
  transition: var(--transition-quick);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(212, 126, 106, 0.1);
}

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

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

.form-error-msg {
  color: #d9534f;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-group.has-error .form-control {
  border-color: #d9534f;
}

.form-group.has-error .form-error-msg {
  display: block;
}

@media (max-width: 576px) {
  .modal-window {
    padding: 30px 20px;
    width: 92%;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
}

.toast {
  background-color: var(--color-secondary-dark);
  color: var(--color-bg-white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-info h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--color-primary-dark);
}

.footer-info p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  max-width: 320px;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: var(--transition-quick);
}

.social-icon:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-links h4, .footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-links ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: var(--color-text-muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer-contact ul {
  list-style: none;
  display: grid;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text-muted);
}

.footer-contact-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-contact-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Scroll Animation Classes (Intersection Observer)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
