/* ==========================================================================
   DERMIS 365 PURE - FOOTER & MODAL COMPONENT STYLES
   Exact copy from backups/style.css: /components/footer/style.css
   ========================================================================== */

.main-footer {
  background: #947158;
  color: rgba(255, 255, 255, 0.88);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

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

.footer-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Footer Embedded Google Badge */
.footer-google-badge {
  display: inline-flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(205, 173, 123, 0.4);
  border-radius: 14px;
  padding: 10px 14px;
  color: #1C1D1F;
  text-decoration: none;
  margin-top: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  width: fit-content;
}

.footer-google-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(205, 173, 123, 0.25);
  border-color: #CDAD7B;
}

.footer-google-badge .google-badge-top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-google-badge .google-badge-brand {
  font-weight: 700;
  font-size: 0.85rem;
  color: #202124;
}

.footer-google-badge .google-badge-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.footer-google-badge .google-score {
  font-family: var(--font-heading, Georgia, serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: #1C1D1F;
  line-height: 1;
}

.footer-google-badge .google-stars {
  display: flex;
  gap: 2px;
}

.footer-google-badge .google-badge-reviews {
  font-size: 0.75rem;
  color: #5F6368;
  margin-top: 3px;
  font-weight: 500;
}

.footer-brand .brand-name {
  color: var(--color-surface-white, #FFFFFF);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.925rem;
  line-height: 1.65;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-col h4 {
  color: var(--color-surface-white, #FFFFFF);
  font-size: 1.2rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: #F4ECE1;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-surface-white, #FFFFFF);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.9rem;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
}

.footer-contact-item svg {
  color: #F4ECE1;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

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

.modal-content {
  background: var(--color-surface-white, #FFFFFF);
  border-radius: var(--radius-lg, 20px);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-dark, 0 20px 40px rgba(0,0,0,0.4));
  position: relative;
}

.modal-success-icon {
  width: 64px;
  height: 64px;
  background: rgba(37, 211, 102, 0.15);
  color: #12B76A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* Responsive Footer Breakpoints */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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