/* =========================================

   Eco Space Realtors - DESIGN SYSTEM

   ========================================= */



@import url('fonts.css');


:root {

  /* Colors */

  --c-primary: #C00A27; /* Eco Space Red */

  --c-primary-hover: #A00820;

  --c-bg: #FAFAFA; /* Soft Sand/Off-white for premium feel */

  --c-surface: #FFFFFF;

  --c-text: #1F2937; /* Charcoal */

  --c-text-light: #6B7280;

  --c-border: #E5E7EB;

  

  /* Typography */

  --font-heading: 'Outfit', sans-serif;

  --font-body: 'Inter', sans-serif;

  

  /* Layout */

  --max-w: 1280px;

  --nav-height: 110px;



  /* Shadows & Radius */

  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);

  --shadow-md: 0 10px 20px -5px rgba(0,0,0,0.1);

  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);

  --shadow-premium: 0 0 40px rgba(192, 10, 39, 0.1);

  --radius-md: 10px;

  --radius-lg: 16px;

  --radius-full: 50px;

  

  /* Glassmorphism */

  --glass-bg: rgba(255, 255, 255, 0.85);

  --glass-border: rgba(255, 255, 255, 0.4);

  --glass-blur: blur(12px);

  

  /* Transitions */

  --t-fast: 0.2s ease;

  --t-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

}



* {

  box-sizing: border-box;

  margin: 0;

  padding: 0;

}



body {
  font-family: var(--font-body);
  color: var(--c-text);
  background-color: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


p {

  text-align: justify;

}



h1, h2, h3, h4, h5, h6 {

  font-family: var(--font-heading);

  font-weight: 600;

  line-height: 1.2;

}



a {

  text-decoration: none;

  color: inherit;

  transition: color var(--t-fast);

}



img {

  max-width: 100%;

  height: auto;

  display: block;

}



.container {

  width: 100%;

  max-width: var(--max-w);

  margin: 0 auto;

  padding: 0 24px;

}



/* =========================================

   BUTTONS

   ========================================= */

.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 12px 24px;

  border-radius: var(--radius-md);

  font-family: var(--font-heading);

  font-weight: 500;

  font-size: 1rem;

  cursor: pointer;

  transition: all var(--t-fast);

  border: none;

}



.btn-primary {

  background: linear-gradient(135deg, var(--c-primary) 0%, #E61E3F 100%);

  color: #fff;

  box-shadow: 0 4px 15px rgba(192, 10, 39, 0.3);

  border: 1px solid rgba(255, 255, 255, 0.1);

  position: relative;

  overflow: hidden;

}



.btn-primary::after {

  content: '';

  position: absolute;

  top: -50%;

  left: -50%;

  width: 200%;

  height: 200%;

  background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.1) 45%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 55%, transparent 100%);

  transform: rotate(30deg) translateX(-100%);

  transition: transform 0.6s ease;

}



.btn-primary:hover::after {

  transform: rotate(30deg) translateX(100%);

}



.btn-primary:hover {

  background: linear-gradient(135deg, var(--c-primary-hover) 0%, var(--c-primary) 100%);

  transform: translateY(-3px);

  box-shadow: 0 8px 25px rgba(192, 10, 39, 0.4);

}



.btn-outline {

  background: var(--glass-bg);

  backdrop-filter: var(--glass-blur);

  color: var(--c-text);

  border: 1px solid var(--c-border);

  box-shadow: var(--shadow-sm);

}



.btn-outline:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}


.btn-portal {

  background: var(--c-bg);

  color: var(--c-text);

  border: 1px solid var(--c-border);

  backdrop-filter: blur(10px);

  -webkit-backdrop-filter: blur(10px);

  transition: all var(--t-smooth);

}



.navbar.scrolled .btn-portal:hover {

  background: var(--c-text);

  color: white;

  border-color: var(--c-text);

}



.btn-icon {
  width: 44px;

  height: 44px;

  min-width: 44px;

  padding: 0;

  border-radius: 50%;

  background: rgba(0, 0, 0, 0.04);

  border: 1px solid rgba(0,0,0,0.05);

  color: var(--c-text);

  display: flex;

  align-items: center;

  justify-content: center;

  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  cursor: pointer;

}



.btn-icon:hover {

  background: var(--c-primary);

  color: white;

  border-color: var(--c-primary);

  transform: translateY(-3px) scale(1.05);

  box-shadow: 0 8px 20px rgba(192, 10, 39, 0.25);

}



.btn-icon i, .btn-icon svg { 

  width: 20px !important; 

  height: 20px !important;

  display: flex !important;

  align-items: center;

  justify-content: center;

  margin: 0;

}



.btn-primary.btn-rounded {

  width: auto;

  min-width: 44px;

  height: 44px;

  border-radius: 50px;

  padding: 0 20px;

}



/* =========================================

   NAVIGATION

   ========================================= */

.navbar {

  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: var(--nav-height);

  background: rgba(255, 255, 255, 0.75);

  backdrop-filter: blur(25px);

  -webkit-backdrop-filter: blur(25px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.4);

  z-index: 1000;

  display: flex;

  align-items: center;

  transition: all var(--t-smooth);

  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);

}



.navbar.scrolled {
  height: 80px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);

  -webkit-backdrop-filter: blur(15px);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

  border-bottom: 1px solid rgba(255, 255, 255, 0.3);

}



.glass-card {

  background: rgba(255, 255, 255, 0.6);

  backdrop-filter: blur(20px);

  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.3);

  border-radius: var(--radius-lg);

  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

}



/* Featured Section Grid (Moved from local styles) */

.ecospace-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

    margin-top: 60px;

}

.ecospace-card {

    background: white;

    border-radius: 24px;

    padding: 40px 30px;

    text-align: center;

    box-shadow: var(--shadow-md);

    transition: all var(--t-smooth);

    border: 1px solid rgba(229, 231, 235, 0.5);

    display: flex;

    flex-direction: column;

    cursor: pointer;

    text-decoration: none;

    color: inherit;

    position: relative;

    overflow: hidden;

}

.ecospace-card::before {

    content: '';

    position: absolute;

    top: 0; left: 0; width: 100%; height: 4px;

    background: var(--c-primary);

    transform: scaleX(0);

    transition: transform 0.4s ease;

    transform-origin: left;

}

.ecospace-card:hover {

    transform: translateY(-12px);

    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.15);

}

.ecospace-card:hover::before {

    transform: scaleX(1);

}

.ecospace-card .icon { font-size: 3rem; margin-bottom: 24px; display: block; color: var(--c-primary); }

.ecospace-card h3 { font-size: 1.5rem; margin-bottom: 15px; font-family: var(--font-heading); }

.ecospace-card p { font-size: 0.95rem; color: var(--c-text-light); margin-bottom: 25px; flex: 1; text-align: center; }



.nav-container {
  display: flex;

  justify-content: space-between;

  align-items: center;

  width: 100%;

}



.logo {

  display: flex;

  align-items: center;

  transition: all var(--t-smooth);

  background: white;

  padding: 8px 12px;

  border-radius: 12px;

  box-shadow: 0 4px 15px rgba(0,0,0,0.1);

}



.logo img {

  height: 60px !important;

  width: auto;

  object-fit: contain;

}



.navbar.scrolled .logo {

  padding: 5px 10px;

  background: white;

}



.navbar.scrolled .logo img {

  height: 45px !important;

}



.logo:hover {

  transform: translateY(-2px);

  box-shadow: 0 8px 25px rgba(0,0,0,0.15);

}



.nav-links {

  display: flex;

  gap: 4px;

  list-style: none;

  background: rgba(0, 0, 0, 0.04);

  padding: 6px;

  border-radius: 50px;

  border: 1px solid rgba(0, 0, 0, 0.06);

  backdrop-filter: blur(10px);

  -webkit-backdrop-filter: blur(10px);

  white-space: nowrap;

}



.nav-links a {

  font-weight: 700;

  color: var(--c-text);

  font-size: 0.78rem;

  padding: 10px 20px;

  border-radius: 50px;

  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  letter-spacing: 0.5px;

  text-transform: uppercase;

}



.nav-links a:hover {

  background: rgba(255, 255, 255, 0.5);

  color: var(--c-primary);

}



.nav-links a.active {

  background: var(--c-primary);

  color: white !important;

  box-shadow: 0 8px 20px rgba(192, 10, 39, 0.2);

}



/* Hero Section */

.hero {

    position: relative;

    height: 90vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: #000;

}

.hero-bg {

    position: absolute;

    top: 0; left: 0; width: 100%; height: 100%;

    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('../images/hero_main.webp');

    background-size: cover;

    background-position: center;

    z-index: 1;

}

.hero-content {

    position: relative;

    z-index: 2;

    color: white;

    max-width: 800px;

}

.hero-title {

    font-size: 4.5rem;

    line-height: 1.1;

    margin-bottom: 24px;

    font-weight: 700;

    letter-spacing: -0.03em;

    font-family: var(--font-heading);

}

.hero-title span { color: var(--c-primary); }

.hero-tagline {

    font-size: 1.1rem;

    letter-spacing: 0.2em;

    text-transform: uppercase;

    color: var(--c-primary);

    margin-bottom: 15px;

    font-weight: 600;

}



/* Partners Strip */

.partners-strip {

    padding: 40px 0;

    background: var(--c-surface);

    border-bottom: 1px solid var(--c-border);

    text-align: center;

}

.partners-logos {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 60px;

    flex-wrap: wrap;

    opacity: 0.6;

}



/* Section Headers */

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

.section-title { font-size: 3rem; margin-bottom: 20px; font-family: var(--font-heading); }



/* Stats Section */

.stats-section {

    background: var(--c-primary);

    color: white;

    padding: 100px 0;

    text-align: center;

}

.stats-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 40px;

}

.stat-item h2 { font-size: 3.5rem; margin-bottom: 10px; }



/* CTA Section */

.cta-section {

    padding: 120px 0;

    background: var(--c-bg);

    text-align: center;

}

.cta-content { max-width: 800px; margin: 0 auto; }

.cta-content h2 { font-size: 3.5rem; margin-bottom: 30px; }



@media (max-width: 1000px) {

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

    .hero-title { font-size: 3.5rem; }

}



@media (max-width: 900px) {

    .nav-links { display: none; }

    .navbar { height: 80px; }

    .logo img { height: 45px !important; }

    .nav-actions .btn-portal { display: none; }

}



@media (max-width: 600px) {

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

    .hero-title { font-size: 2.5rem; }

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

    .hero { height: 80vh; }

}



.nav-actions {

  display: flex;

  gap: 12px;

  align-items: center;

}



.nav-actions .btn {

  padding: 10px 20px;

  font-size: 0.9rem;

  border-radius: 50px;

}



/* Mobile Nav Toggle */

.mobile-menu-btn {

  display: none;

  background: none;

  border: none;

  font-size: 1.5rem;

  cursor: pointer;

}



/* =========================================

   MAIN LAYOUT

   ========================================= */

main {
  margin-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height) - 100px); /* rough footer */
}

/* Keep only floating share + WhatsApp on mobile; bottom action bar is deprecated */
.mobile-action-bar {
  display: none !important;
}


/* Form Styles */

.form-group {

  margin-bottom: 20px;

}

.form-control {

  width: 100%;

  padding: 12px 16px;

  border: 1px solid var(--c-border);

  border-radius: var(--radius-md);

  font-family: var(--font-body);

  transition: border-color var(--t-fast);

}

.form-control:focus {

  outline: none;

  border-color: var(--c-primary);

}



/* Footer */

.footer {

  background-color: var(--c-surface);

  padding: 60px 0 20px;

  border-top: 1px solid var(--c-border);

  margin-top: 80px;

}



/* =========================================

   SOCIAL SHARING

   ========================================= */

.share-container {

  position: relative;

  display: inline-block;

}



.share-trigger {

  width: 44px;

  height: 44px;

  background: #00A3FF; /* Sky Blue inspired by user icon */

  color: white;

  border: none;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  box-shadow: 0 6px 12px rgba(0, 163, 255, 0.2);

  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  position: relative;

}



.share-trigger:hover {

  transform: scale(1.15) rotate(15deg);

  background: #008CE0;

  box-shadow: 0 8px 16px rgba(0, 163, 255, 0.3);

}



.share-menu {

  position: absolute;

  bottom: calc(100% + 15px);

  right: 0;

  background: white;

  border-radius: 16px;

  box-shadow: 0 15px 35px rgba(0,0,0,0.15);

  display: flex;

  flex-direction: column;

  padding: 8px;

  min-width: 200px;

  opacity: 0;

  visibility: hidden;

  transform: translateY(15px);

  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  z-index: 1000;

  border: 1px solid rgba(229, 231, 235, 0.8);

  backdrop-filter: blur(10px);

}



.share-menu.active {

  opacity: 1;

  visibility: visible;

  transform: translateY(0);

}



.share-item {

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 10px 16px;

  border-radius: 10px;

  font-size: 0.95rem;

  color: var(--c-text);

  transition: all 0.2s ease;

  text-decoration: none;

  cursor: pointer;

  border: none;

  background: none;

  width: 100%;

  text-align: left;

  font-family: var(--font-body);

}



.share-item:hover {

  background: #F8FAFC;

  color: var(--c-primary);

  transform: translateX(4px);

}



.share-item.whatsapp:hover { color: #25D366; background: rgba(37, 211, 102, 0.05); }

.share-item.facebook:hover { color: #1877F2; background: rgba(24, 119, 242, 0.05); }

.share-item.linkedin:hover { color: #0A66C2; background: rgba(10, 102, 194, 0.05); }

.share-item.twitter:hover { color: #1DA1F2; background: rgba(29, 161, 242, 0.05); }



.share-item i {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

/* =========================================
   SMART FLOATING ACTION MENU
   ========================================= */
.smart-fab {
  position: fixed !important;
  left: 24px !important;
  bottom: 24px !important;
  z-index: 100002 !important;
  transform: none !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.smart-fab-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.95);
  transform-origin: bottom left;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.smart-fab.is-open .smart-fab-actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.smart-fab-primary,
.smart-fab-action {
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-decoration: none;
}

.smart-fab-primary {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c-primary) 0%, #E61E3F 100%);
  color: white;
  box-shadow: 0 18px 34px rgba(192, 10, 39, 0.28);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.smart-fab-primary::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.34), rgba(255,255,255,0) 58%);
  pointer-events: none;
}

.smart-fab-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 38px rgba(192, 10, 39, 0.34);
}

.smart-fab-primary-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.smart-fab-primary-glyph {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 8px 18px rgba(80, 10, 20, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.smart-fab-icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.7);
}

.smart-fab.is-open .smart-fab-icon-open {
  opacity: 0;
  transform: rotate(90deg) scale(0.7);
}

.smart-fab.is-open .smart-fab-icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.smart-fab-action-wrap {
  position: relative;
}

.smart-fab-action {
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--c-text);
  border: 1px solid rgba(229, 231, 235, 0.95);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
}

.smart-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.38), 0 8px 18px rgba(15, 23, 42, 0.12);
}

.smart-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.85), rgba(255,255,255,0.08) 45%, transparent 70%);
  opacity: 0.65;
  pointer-events: none;
}

.smart-icon i,
.smart-fab-primary-glyph i {
  position: relative;
  z-index: 1;
}

.smart-icon-whatsapp {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.24), rgba(17, 132, 72, 0.9));
  color: #ffffff;
}

.smart-icon-share {
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.2), rgba(2, 111, 201, 0.92));
  color: #ffffff;
}

.smart-icon-faq {
  background: linear-gradient(135deg, rgba(192, 10, 39, 0.2), rgba(164, 11, 40, 0.94));
  color: #ffffff;
}

.smart-icon-neutral {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.14), rgba(71, 85, 105, 0.92));
  color: #ffffff;
}

.smart-fab .share-trigger {
  width: auto;
  height: auto;
  background: rgba(255, 255, 255, 0.94);
  color: inherit;
  box-shadow: none;
  border-radius: 999px;
}

.smart-fab .share-trigger:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
}

.smart-fab-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
}

.smart-fab-action:hover .smart-icon,
.esrs-faq-close:hover .smart-icon {
  transform: scale(1.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.44), 0 12px 22px rgba(15, 23, 42, 0.16);
}

.smart-fab-whatsapp:hover { color: #1e9b54; }
.smart-fab-share:hover { color: #008CE0; }
.smart-fab-faq:hover { color: var(--c-primary); }

.smart-fab-action i,
.smart-fab-primary i {
  width: 20px;
  height: 20px;
}

.smart-icon,
.smart-fab-primary-glyph {
  transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
}

.smart-fab-label {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.smart-fab-share-menu {
  left: calc(100% + 14px);
  right: auto;
  bottom: 0;
  min-width: 190px;
}

.smart-fab-share-menu.active {
  transform: translateY(0);
}

/* =========================================
   FAQ MODAL / DRAWER
   ========================================= */
body.faq-modal-open {
  overflow: hidden;
}

.esrs-faq-modal {
  position: fixed;
  inset: 0;
  z-index: 10004;
  display: flex;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.esrs-faq-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.esrs-faq-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.esrs-faq-dialog {
  position: absolute;
  width: min(560px, 100%);
  height: min(100%, calc(100vh - 48px));
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(250,250,250,0.98) 100%);
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 32px;
  box-shadow: 0 28px 58px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(28px);
  transition: transform 0.28s ease;
}

.esrs-faq-modal.is-open .esrs-faq-dialog {
  transform: translateX(0);
}

.esrs-faq-modal-head {
  padding: 28px 28px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  cursor: move;
  user-select: none;
}

.esrs-faq-dialog.is-dragging {
  transition: none;
}

.esrs-faq-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.esrs-faq-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(192, 10, 39, 0.08);
  color: var(--c-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.esrs-faq-heading h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--c-text);
}

.esrs-faq-heading p {
  color: var(--c-text-light);
  font-size: 1.02rem;
  max-width: 460px;
}

.esrs-faq-close {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 50%;
  background: white;
  color: var(--c-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}

.esrs-faq-close:hover {
  color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.esrs-faq-close .smart-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
}

.esrs-faq-modal-body {
  flex: 1;
  overflow: auto;
  padding: 22px 28px 28px;
}

.esrs-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.esrs-faq-item {
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 22px;
  background: white;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.esrs-faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
}

.esrs-faq-item summary::-webkit-details-marker {
  display: none;
}

.esrs-faq-item summary i {
  width: 18px;
  height: 18px;
  color: var(--c-primary);
  transition: transform var(--t-fast);
  flex-shrink: 0;
}

.esrs-faq-item[open] summary i {
  transform: rotate(45deg);
}

.esrs-faq-answer {
  padding: 0 22px 22px;
  color: var(--c-text-light);
}

.esrs-faq-answer p {
  text-align: left;
}




