footer,
footer * {
  box-sizing: border-box;
}

footer {
  background: linear-gradient(135deg, #1a3a25, #0f2618);
  color: #e5ecd9;
  padding: 4rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-section {
  flex: 1 1 250px;
  min-width: 220px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(243, 209, 137, .25);
  border-radius: 18px;
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: all .35s ease;
}

.footer-section:hover {
  transform: translateY(-6px);
  border-color: #f3d189;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .3);
}

.footer-section h2,
.footer-payment h2 {
  color: #f3d189;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
}

.footer-section h2 {
  font-size: 1.3rem;
}

.footer-section p,
.footer-section a,
.footer-payment p {
  color: #fff;
}

.footer-section ul li {
  margin: .5rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.footer-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #f3d189;
  font-weight: 700;
}

.footer-section a {
  transition: .2s;
  font-weight: 400;
}

.footer-section a:hover {
  color: #f3d189;
  transform: translateX(4px);
  text-shadow: 0 0 8px rgba(243, 209, 137, .3);
}

.footer-payment {
  flex: 1 1 100%;
  min-width: 220px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(243, 209, 137, .25);
  border-radius: 18px;
  padding: 1.5rem 2rem;
  backdrop-filter: blur(8px);
  text-align: center;
  transition: all .35s ease;
}

.footer-payment:hover {
  border-color: #f3d189;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .3);
}

.footer-payment h2 {
  font-size: 1.1rem;
}

.footer-payment p {
  font-size: .85rem;
  margin-bottom: .5rem;
}

.payment-icons,
.currency-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.payment-icons {
  gap: 1rem;
  margin: .8rem 0;
}

.payment-icons i {
  font-size: 3.2rem;
  color: #fff;
  transition: transform .3s ease, color .3s ease;
}

.payment-icons i:hover {
  transform: translateY(-4px);
  color: #f3d189;
}

.currency-badges {
  gap: .5rem;
  margin-top: .5rem;
}

.currency-badges span {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(243, 209, 137, .2);
  padding: .2rem .7rem;
  border-radius: 6px;
  font-size: .75rem;
  color: #fff;
  font-weight: 600;
}

.currency-badges span:hover {
  background: #f3d189;
  color: #1a3a25;
}

.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.social-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(243, 209, 137, .25);
  border-radius: 12px;
  color: #e8efe2;
  font-size: 1.1rem;
  transition: .3s ease;
}

.social-grid a:hover {
  background: #f3d189;
  color: #1a3a25;
  transform: translateY(-4px);
  border-color: #f3d189;
  box-shadow: 0 8px 25px rgba(243, 209, 137, .3);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(243, 209, 137, .2);
  color: #c2d6b3;
  font-size: .9rem;
  letter-spacing: .3px;
}

.footer-bottom p {
  color: #c2d6b3;
}

.footer-bottom small {
  opacity: .7;
}

.newsletter-banner {
  background: linear-gradient(135deg, #1a3a25 0%, #2d5a3e 100%);
  padding: 2.5rem 2rem;
  border-top: 2px solid rgba(243, 209, 137, .15);
  border-bottom: 2px solid rgba(243, 209, 137, .15);
}

.newsletter-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter-text {
  flex: 1;
  min-width: 260px;
}

.newsletter-text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  color: #f3d189;
  font-weight: 700;
  margin-bottom: .3rem;
}

.newsletter-text p {
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}

.newsletter-form input {
  padding: .7rem 1.2rem;
  border: 1px solid rgba(243, 209, 137, .3);
  border-radius: 8px;
  font-size: .9rem;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  outline: none;
  width: 240px;
  transition: border-color .3s;
}

.newsletter-form input:focus {
  border-color: #f3d189;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, .45);
}

.newsletter-form button {
  padding: .7rem 1.8rem;
  background: #7a5a08;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: background .25s, transform .2s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: #9a6e0a;
  transform: translateY(-2px);
}

.whatsapp-float,
.chatbot-float {
  position: fixed;
  bottom: 30px;
  z-index: 9999;
  display: flex;
}

.whatsapp-float {
  left: 30px;
  flex-direction: column;
  align-items: flex-start;
}

.whatsapp-icon,
.chatbot-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .4s;
  position: relative;
}

.whatsapp-icon {
  background: #25d366;
  box-shadow: 0 8px 30px rgba(37, 211, 102, .4);
  border: 2px solid rgba(255, 255, 255, .2);
}

.whatsapp-icon::after,
.chatbot-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

.whatsapp-icon::after {
  border: 2px solid rgba(37, 211, 102, .3);
}

.whatsapp-icon:hover,
.chatbot-icon:hover {
  transform: scale(1.08);
}

.whatsapp-icon i,
.chatbot-icon i {
  color: #fff;
}

.whatsapp-icon i {
  font-size: 32px;
}

.whatsapp-popup,
.chatbot-popup {
  position: absolute;
  bottom: 80px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(.95);
  transition: all .4s;
}

.whatsapp-popup {
  left: 0;
  width: 300px;
  padding: 1.5rem;
  transform-origin: bottom left;
  border: 1px solid rgba(46, 106, 63, .15);
}

.whatsapp-float:hover .whatsapp-popup,
.chatbot-float:hover .chatbot-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.whatsapp-popup h3 {
  font-size: 1rem;
  color: #25d366;
  margin-bottom: .5rem;
}

.whatsapp-popup p {
  font-size: .85rem;
  color: #1f3a2b;
  line-height: 1.5;
  margin-bottom: .5rem;
}

.whatsapp-popup-btn {
  display: block;
  width: 100%;
  padding: .7rem;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
}

.whatsapp-popup-btn:hover {
  background: #1da851;
}

.whatsapp-popup::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 25px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #fff;
}

.chatbot-float {
  right: 30px;
  flex-direction: column;
  align-items: flex-end;
}

.chatbot-icon {
  background: linear-gradient(135deg, #2e6a3f, #f3d189);
  box-shadow: 0 8px 30px rgba(46, 106, 63, .3);
  border: 2px solid rgba(243, 209, 137, .3);
}

.chatbot-icon::after {
  border: 2px solid rgba(46, 106, 63, .2);
}

.chatbot-icon i {
  font-size: 28px;
}

.chatbot-popup {
  right: 0;
  width: 360px;
  overflow: hidden;
  transform-origin: bottom right;
  border: 1px solid rgba(46, 106, 63, .2);
  display: flex;
  flex-direction: column;
}

.chatbot-header {
  background: linear-gradient(135deg, #2e6a3f, #1a3a25);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}

.chatbot-header i {
  color: #f3d189;
  font-size: 20px;
}

.chatbot-header h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.chatbot-body {
  padding: 1rem;
  max-height: 320px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.chatbot-message {
  border-radius: 12px;
  padding: .8rem 1rem;
  margin-bottom: .6rem;
  font-size: .85rem;
  color: #1f3a2b;
  line-height: 1.5;
}

.chatbot-message.bot {
  background: #f6f9f0;
  border-left: 3px solid #2e6a3f;
}

.chatbot-message.user {
  text-align: right;
  background: rgba(46, 106, 63, .1);
  border-right: 3px solid #2e6a3f;
  border-left: none;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: .8rem 1rem;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: #2e6a3f;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: .2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: .4s;
}

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.chatbot-input-area {
  display: flex;
  gap: .5rem;
  padding: .8rem;
  border-top: 1px solid rgba(46, 106, 63, .15);
}

.chatbot-input-area input {
  flex: 1;
  padding: .7rem 1rem;
  background: #f6f9f0;
  border: 1px solid rgba(46, 106, 63, .15);
  border-radius: 8px;
  color: #1a3a25;
  font-size: .9rem;
  outline: none;
}

.chatbot-input-area input:focus {
  border-color: #2e6a3f;
}

.chatbot-input-area button {
  padding: .7rem 1rem;
  background: linear-gradient(135deg, #2e6a3f, #1a3a25);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}

.chatbot-input-area button:hover {
  box-shadow: 0 4px 15px rgba(46, 106, 63, .4);
}

.chatbot-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 20px);
  margin: 8px auto;
  padding: 10px 18px;
  background: #25d366;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 700px) {
  .newsletter-banner { padding: 2rem 1.25rem; }
  .newsletter-inner { gap: 1.25rem; }
  .newsletter-form { width: 100%; flex-wrap: wrap; }
  .newsletter-form input { flex: 1 1 170px; width: auto; min-width: 0; }
  .newsletter-form button { flex: 0 0 auto; padding: .7rem 1.4rem; }
}

@media (max-width: 576px) {
  .whatsapp-float { bottom: 20px; left: 20px; }
  .whatsapp-icon,
  .chatbot-icon { width: 50px; height: 50px; }
  .whatsapp-popup { width: 260px; padding: 1.2rem; }
  .chatbot-float { bottom: 20px; right: 20px; }
  .chatbot-popup { width: 300px; }
}
