/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --dark-jungle-green: hsl(187, 69%, 3%);
  --prussian-blue: hsl(200, 69%, 3%);
  --raisin-black-1: hsl(0, 0%, 0%);
  --raisin-black-2: hsl(0, 0%, 0%);
  --yellow-green: hsl(89, 72%, 45%);
  --orange-soda: hsl(356,86%,48%);
  --cultured-1: hsla(214, 30%, 9%, 0.235);
  --cultured-2: hsl(0, 0%, 100%);
  --misty-rose: hsla(214, 30%, 9%, 0.249);
  --seashell: hsl(0, 0%, 78%);
  --cadet: hsl(200, 15%, 43%);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --opal: hsl(180, 20%, 62%);
  --bg-elements: hsl(0, 0%, 88%);

  /* Colores adicionales para chatbot y efectos */
  --gray-light: #f0f0f0;
  /* Botones del chatbot, fondos de inputs */
  --gray-hover: #e0e0e0;
  /* Estados hover de botones */
  --transparent: transparent;
  /* Elementos transparentes */

  /* Colores para sombras */
  --shadow-black-10: rgba(0, 0, 0, 0.1);
  /* Sombras suaves generales */
  --shadow-black-05: rgba(0, 0, 0, 0.05);
  /* Sombras muy suaves */
  --shadow-black-08: rgba(0, 0, 0, 0.08);
  /* Sombras medias */
  --shadow-black-15: rgba(0, 0, 0, 0.15);
  /* Sombras más marcadas */
  --shadow-black-20: rgba(0, 0, 0, 0.2);
  /* Sombras fuertes */
  --shadow-black-95: rgba(0, 0, 0, 0.95);
  /* Overlay oscuro */
  --shadow-brown-30: rgba(155, 136, 95, 0.3);
  /* Sombras marrones */

  /* Gradientes */
  --gradient-overlay: linear-gradient(to top, hsla(0, 0%, 0%, 0.95), transparent 30%);
  /* Video background overlay */

  /**
   * typography
   */

  --ff-nunito-sans: "Nunito Sans", sans-serif;
  --ff-poppins: "Poppins", sans-serif;

  --fs-1: 1.875rem;
  --fs-2: 1.5rem;
  --fs-3: 1.375rem;
  --fs-4: 1.125rem;
  --fs-5: 0.875rem;
  --fs-6: 0.813rem;
  --fs-7: 0.75rem;

  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;

  /**
   * transition
   */

  --transition: 0.25s ease;

  /**
   * spacing
   */

  --section-padding: 100px;

  /**
   * shadow
   */

  --shadow-1: 0 5px 20px 0 hsla(0, 0%, 0%, 0.1);
  --shadow-2: 0 16px 32px hsla(0, 0%, 0%, 0.1);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li {
  list-style: none;
}

a {
  text-decoration: none;
}

a,
img,
span,
button,
ion-icon {
  display: block;
}

button {
  border: none;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

address {
  font-style: normal;
}

ion-icon {
  pointer-events: none;
}

html {
  font-family: var(--ff-nunito-sans);
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 10px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--white);
}

::-webkit-scrollbar-thumb {
  background: var(--cadet);
  border-left: 2px solid var(--white);
}





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
  padding-inline: 15px;
}

button,
a {
  transition: var(--transition);
}

.h1,
.h2,
.h3 {
  color: var(--dark-jungle-green);
  font-family: var(--ff-poppins);
  line-height: 1.3;
}

.h1 {
  font-size: var(--fs-1);
  line-height: 1;
}

.h2 {
  font-size: var(--fs-2);
}

.h3 {
  font-size: var(--fs-4);
  font-weight: var(--font-weight, 700);
}

.h3>a {
  color: inherit;
}

.btn {
  position: relative;
  background: var(--orange-soda);
  color: var(--white);
  font-family: var(--ff-poppins);
  font-size: var(--fs-5);
  text-transform: var(--text-transform, capitalize);
  border: 1px solid var(--orange-soda);
  padding: 10px 20px;
  z-index: 1;
}

.btn:is(:hover, :focus) {
  background: var(--black);
  color: var(--dark-jungle-green);
  border-color: var(--black);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--white);
  transition: var(--transition);
  z-index: -1;
}

.btn:is(:hover, :focus)::before {
  width: 100%;
}

.w-100 {
  width: 100%;
}

.section-subtitle {
  color: var(--orange-soda);
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  padding: 5px 20px;
  background: var(--cultured-1);
  /* Section subtitle backgrounds */
  width: max-content;
  border-radius: 50px;
  margin-inline: auto;
  margin-bottom: 15px;
}

.section-title {
  text-align: var(--text-align, center);
  margin-bottom: var(--margin-bottom, 50px);
}

.card-badge {
  background: var(--black);
  color: var(--white);
  font-size: var(--fs-7);
  text-transform: uppercase;
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 4px 10px;
}

.card-badge.green {
  background: var(--yellow-green);
}

.card-badge.orange {
  background: var(--orange-soda);
}

.has-scrollbar {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  overflow-x: auto;
  margin-inline: -15px;
  padding-inline: 15px;
  scroll-padding-left: 15px;
  padding-bottom: 60px;
  scroll-snap-type: inline mandatory;
}

.has-scrollbar>li {
  min-width: 100%;
  scroll-snap-align: start;
}

/* Estilos para la barra de desplazamiento */
.has-scrollbar::-webkit-scrollbar {
  height: 8px;
  /* Altura de la barra de desplazamiento */
}

.has-scrollbar::-webkit-scrollbar-track {
  background: var(--cultured-2);
  /* Color de fondo de la pista */
  border-radius: 10px;
  /* Bordes redondeados */
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: var(--orange-soda);
  /* Color de la barra de desplazamiento */
  border-radius: 10px;
  /* Bordes redondeados */
  border: 2px solid var(--cultured-2);
  /* Borde para resaltar */
}

.has-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--orange-soda);
  /* Scrollbar hover - same as base orange */
  /* Color al pasar el mouse */
}

.has-scrollbar::-webkit-scrollbar-button {
  width: 15%;
  /* Ancho de los botones de la barra */
}

/*-----------------------------------*\
  #CHATBOT STYLES
\*-----------------------------------*/

/* Floating Action Buttons */
.floating-buttons {
  position: fixed;
  bottom: 100px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1002;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px var(--shadow-black-20);
  color: var(--white);
  font-size: 24px;
}

.whatsapp-btn {
  background: #25d366;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.890-5.335 11.893-11.893A11.821 11.821 0 0020.885 3.488'/%3E%3C/svg%3E");
  background-size: 26px 26px;
  background-repeat: no-repeat;
  background-position: center;
}

.whatsapp-btn:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.chat-btn {
  background: var(--orange-soda);
}

.chat-btn:hover {
  background: var(--prussian-blue);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(229, 19, 31, 0.4);
}

/* Chatbot Container */
.chatbot-container {
  position: fixed;
  bottom: 140px;
  right: 40px;
  width: 400px;
  height: 550px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 15px 50px var(--shadow-black-20);
  display: none;
  flex-direction: column;
  z-index: 1500;
  overflow: hidden;
  border: 1px solid var(--seashell);
  animation: slideOutDown 0.3s ease-out;
}

.chatbot-container.active {
  display: flex;
  animation: slideInUp 0.3s ease-out;
}

.chatbot-container.closing {
  animation: slideOutDown 0.3s ease-out;
}

@keyframes slideInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideOutDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(30px);
    opacity: 0;
  }
}

/* Chatbot Header */
.chatbot-header {
  background: var(--orange-soda);
  color: var(--white);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 45px;
  height: 45px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-soda);
  font-size: 20px;
  box-shadow: 0 2px 8px var(--shadow-black-10);
}

.chatbot-title h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: var(--fw-600);
}

.chatbot-status {
  font-size: 0.85rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chatbot-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Messages Area */
.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: var(--cultured-2);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: var(--prussian-blue);
  border-radius: 3px;
}

.message {
  display: flex;
  gap: 12px;
  animation: fadeInMessage 0.3s ease-out;
}

@keyframes fadeInMessage {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 4px;
}

.bot-message .message-avatar {
  background: var(--orange-soda);
  color: var(--white);
}

.user-message .message-avatar {
  background: var(--cadet);
  color: var(--white);
  order: 2;
}

.user-message {
  flex-direction: row-reverse;
}

.message-content {
  flex: 1;
  max-width: 75%;
}

.message-content p {
  background: var(--white);
  padding: 12px 16px;
  border-radius: 18px;
  margin: 0;
  line-height: 1.5;
  color: var(--raisin-black-1);
  box-shadow: 0 2px 8px var(--shadow-black-05);
  border: 1px solid var(--seashell);
}

.user-message .message-content p {
  background: var(--orange-soda);
  color: var(--white);
  border-color: var(--orange-soda);
}

.message-time {
  font-size: 0.7rem;
  color: var(--cadet);
  margin-top: 4px;
  display: block;
  padding: 0 16px;
}

.user-message .message-time {
  text-align: right;
}

/* Quick Actions */
.chatbot-quick-actions {
  padding: 15px;
  background: var(--white);
  border-top: 1px solid var(--seashell);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-action-btn {
  background: var(--cultured-2);
  border: 1px solid var(--seashell);
  color: var(--raisin-black-1);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.quick-action-btn:hover {
  background: var(--orange-soda);
  color: var(--white);
  border-color: var(--orange-soda);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-black-15);
}

.quick-action-btn i {
  font-size: 16px;
  opacity: 0.8;
}

/* Input Area */
.chatbot-input {
  background: var(--white);
  border-top: 1px solid var(--seashell);
  padding: 15px;
}

.input-container {
  display: flex;
  gap: 8px;
  align-items: center;
}

#chatbot-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--seashell);
  border-radius: 25px;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--raisin-black-1);
  transition: all 0.3s ease;
  background: var(--white);
}

#chatbot-input:focus {
  border-color: var(--orange-soda);
  box-shadow: 0 0 0 3px rgba(230, 100, 62, 0.1);
}

.send-btn {
  width: 40px;
  height: 40px;
  background: var(--orange-soda);
  border: none;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.send-btn:hover {
  background: var(--prussian-blue);
  transform: scale(1.05);
}

.send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.input-footer {
  margin-top: 8px;
  text-align: center;
}

.powered-by {
  font-size: 0.7rem;
  color: var(--cadet);
  opacity: 0.7;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 12px;
  padding: 10px 0;
}

.typing-indicator .message-avatar {
  background: var(--orange-soda);
  color: var(--white);
}

.typing-dots {
  background: var(--white);
  padding: 12px 16px;
  border-radius: 18px;
  display: flex;
  gap: 4px;
  align-items: center;
  box-shadow: 0 2px 8px var(--shadow-black-05);
  border: 1px solid var(--seashell);
}

.typing-dot {
  width: 8px;
  height: 8px;
  background: var(--cadet);
  border-radius: 50%;
  animation: typingAnimation 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingAnimation {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }

  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .chatbot-container {
    bottom: 100px;
    right: 15px;
    left: 15px;
    width: auto;
    height: 450px;
  }

  .floating-buttons {
    bottom: 90px;
    right: 15px;
    gap: 12px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
  
  .whatsapp-btn {
    background-size: 24px 24px;
  }

  .chatbot-header {
    padding: 15px;
  }

  .chatbot-avatar {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .chatbot-title h4 {
    font-size: 1rem;
  }

  .message-content {
    max-width: 85%;
  }

  .quick-action-btn {
    font-size: 0.8rem;
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .chatbot-container {
    height: 400px;
    bottom: 90px;
  }

  .message-content {
    max-width: 90%;
  }

  .message-content p {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  #chatbot-input {
    font-size: 0.85rem;
    padding: 10px 12px;
  }
  
  .floating-buttons {
    bottom: 85px;
    right: 12px;
    gap: 10px;
  }
  
  .floating-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
  
  .whatsapp-btn {
    background-size: 22px 22px;
  }
  
  .header-bottom .logo img {
    width: 100px;
  }
  
  .header-top-list {
    gap: 8px;
  }
  
  .header-top-link {
    font-size: 10px;
  }
  
  .header-top-link ion-icon {
    font-size: 12px;
  }
}

/* Encabezado mejorado del chatbot */
.chatbot header {
  background: var(--prussian-blue);
  padding: 20px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bot-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.bot-avatar span {
  color: var(--white);
  font-size: 1.5rem;
}

.bot-info h2 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.status {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin-top: 2px;
}

.chatbot header .close-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--white);
  font-size: 1.5rem;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.chatbot header .close-btn:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

/* Área de mensajes mejorada */
.chatbox {
  padding: 20px;
  height: 450px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* Scrollbar personalizado */
.chatbox::-webkit-scrollbar {
  width: 6px;
}

.chatbox::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.chatbox::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 10px;
}

.chatbox::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5d63f0, #8b5cf6);
}

.chatbox .chat {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.chatbox .chat.incoming {
  justify-content: flex-start;
}

.chatbox .chat.outgoing {
  justify-content: flex-end;
}

.chatbox .chat.outgoing .message-content {
  margin-left: auto;
  max-width: 80%;
}

.chatbox .incoming span {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: var(--white);
  padding: 10px;
  border-radius: 50%;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Mejoras para entrada de texto */
.chat-input {
  background: #f8f9ff;
  border-top: 1px solid #e5e7eb;
}

.chat-input input {
  background: white;
  border: 2px solid #e5e7eb;
}

.chat-input input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Animaciones y efectos adicionales */
@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat {
  animation: messageSlideIn 0.3s ease;
}

/* Pulso para indicar actividad */
@keyframes pulse {
  0% {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
  }

  50% {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
  }

  100% {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
  }
}

.chatbot.active+.chatbot-toggler {
  animation: pulse 2s infinite;
}

/* Responsive para chatbot */
@media (max-width: 768px) {
  .chatbot-toggler {
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
  }

  .chatbot {
    bottom: 90px;
    right: 20px;
    left: 20px;
    width: auto;
    height: 70vh;
    max-height: 500px;
  }

  .chatbox {
    height: calc(70vh - 180px);
    max-height: 350px;
  }
}

@media (max-width: 480px) {
  .chatbot {
    bottom: 80px;
    right: 10px;
    left: 10px;
    height: 65vh;
  }

  .chatbox {
    height: calc(65vh - 170px);
    padding: 15px;
  }

  .chatbot header {
    padding: 15px;
  }

  .bot-info h2 {
    font-size: 1.1rem;
  }
}

/* Media Queries para móviles - chatbot toggler */
@media (max-width: 599px) {
  .chatbot-toggler {
    bottom: 80px;
    right: 15px;
    height: 45px;
    width: 45px;
  }

  .chatbot-toggler span {
    font-size: 1.3rem;
  }

  .chatbot {
    bottom: 130px;
    right: 15px;
    left: 15px;
    width: auto;
  }

  .chatbot header h2 {
    font-size: 1.1rem;
  }

  .chatbox {
    max-height: 180px;
  }

  .chatbox .chat p {
    max-width: 85%;
  }

  .chatbox .incoming span {
    font-size: 0.9rem;
    width: 28px;
    height: 28px;
  }

  .chat-input textarea {
    font-size: 0.85rem;
  }

  .chat-input #send-btn {
    padding: 6px;
  }
}

/* Media Queries para pantallas más grandes */
@media (min-width: 600px) {
  .chatbot-toggler {
    bottom: 90px;
    right: 35px;
    height: 60px;
    width: 60px;
  }

  .chatbot-toggler span {
    font-size: 1.8rem;
  }

  .chatbot {
    bottom: 160px;
    right: 35px;
    width: 400px;
  }

  .chatbot header h2 {
    font-size: 1.3rem;
  }

  .chatbox {
    max-height: 250px;
  }

  .chatbox .chat p {
    max-width: 75%;
  }

  .chatbox .incoming span {
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
  }

  .chat-input textarea {
    font-size: 0.95rem;
  }

  .chat-input #send-btn {
    padding: 8px;
  }
  
  .floating-buttons {
    bottom: 40px;
    right: 30px;
    gap: 15px;
  }
  
  .floating-btn {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .whatsapp-btn {
    background-size: 28px 28px;
  }
}

@media (min-width: 768px) {
  .chatbot {
    width: 420px;
  }
}

@media (min-width: 992px) {
  .chatbot {
    width: 420px;
  }
}

@media (min-width: 1200px) {
  .chatbot {
    width: 420px;
  }
}

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

  .header {
    position: relative;
    z-index: 100;
  }

  /* Asegurar que los elementos específicos del header sean visibles, EXCEPTO el overlay */
  .header .logo,
  .header .navbar-link,
  .header .header-top-link,
  .header .header-bottom-actions-btn,
  .header .header-top-list,
  .header .header-top-social-link {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .header-top {
    background: #222222;
    padding-block: 10px;
  }

  .header-top .container,
  .header-top-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .header-top .container {
    gap: 6px 15px;
  }

  .header-top-list {
    gap: 10px;
  }

  .header-top-link {
    color: var(--white);
    font-size: var(--fs-7);
    font-weight: var(--fw-700);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
  }

  .header-top-link:is(:hover, :focus) {
    color: var(--orange-soda);
  }

  .header-top-link ion-icon {
    color: var(--orange-soda);
    font-size: 15px;
    --ionicon-stroke-width: 60px;
  }

  .header-top .wrapper,
  .header-top-social-list {
    display: flex;
    align-items: center;
  }

  .header-top .wrapper {
    gap: 20px;
  }

  .header-top-social-list {
    gap: 8px;
  }

  .header-top-social-link {
    color: var(--white);
    font-size: 15px;
  }

  .header-top-btn {
    background: var(--orange-soda);
    color: var(--white);
    font-size: var(--fs-6);
    font-weight: var(--fw-700);
    padding: 4px 15px;
  }

  .header-top-btn:is(:hover, :focus) {
    --orange-soda: hsl(7, 72%, 46%);
  }

  .header-bottom {
    background: var(--white);
    padding-block: 10px;
    z-index: 100;
  }

  .header-bottom .logo img {
    margin-inline: auto;
    width: 120px;
    height: auto;
    transform: scale(1);
  }
  
  @media (min-width: 768px) {
    .header-bottom .logo img {
      width: 170px;
      transform: scale(1.5);
    }
  }

  .navbar {
    background: var(--white);
    position: fixed;
    top: 0;
    left: -310px;
    max-width: 300px;
    width: 100%;
    height: 100%;
    box-shadow: 0 3px 10px hsla(0, 0%, 0%, 0.3);
    z-index: 100;
    /* Asegúrate de que esté por encima del overlay */
    padding: 60px 20px;
    visibility: hidden;
    transition: 0.15s ease-in;
  }

  .navbar.active {
    visibility: visible;
    transform: translateX(310px);
    transition: 0.25s ease-out;
  }

  .navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--cultured-1);
    margin-bottom: 25px;
  }

  .navbar-top .logo img {
    width: 100px;
    margin-left: 20px;
    /* Mueve el logo 20px hacia la derecha */
  }

  .nav-close-btn ion-icon {
    font-size: 20px;
    --ionicon-stroke-width: 45px;
    padding: 5px;
  }

  .navbar-link {
    color: var(--cadet);
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
    text-transform: uppercase;
    padding-block: 15px;
  }

  .navbar-link:is(:hover, :focus) {
    color: var(--orange-soda);
  }

  .overlay {
    position: fixed;
    inset: 0;
    background: hsla(0, 0%, 0%, 0.7);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
    z-index: 1;
    /* Asegúrate de que esté por debajo del navbar */
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .header-bottom-actions {
    background: var(--white);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    padding-block: 12px 8px;
    box-shadow: -2px 0 30px hsla(0, 0%, 0%, 0.2);
    z-index: 1003;
  }

  .header-bottom-actions-btn ion-icon {
    color: hsl(0, 0%, 10%);
    font-size: 18px;
    margin-inline: auto;
    margin-bottom: 3px;
    --ionicon-stroke-width: 40px;
    transition: var(--transition);
  }

  .header-bottom-actions-btn:is(:hover, :focus) ion-icon {
    color: var(--orange-soda);
  }

  .header-bottom-actions-btn span {
    color: var(--cadet);
    font-family: var(--ff-poppins);
    font-size: var(--fs-7);
    font-weight: var(--fw-500);
  }




/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  position: relative;
  padding-block: var(--section-padding);
  overflow: hidden;
  background: linear-gradient(to right, #222222ec 40%, #22222216 100%);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #222222ec 40%, #22222216 100%);
  z-index: 0;
  pointer-events: none;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container {
  position: relative;
  /* Asegura que el contenido esté encima del overlay */
  z-index: 2;
  /* Coloca el contenido por encima del overlay y gradient */
}

.hero-content {
  margin-bottom: 60px;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-subtitle ion-icon {
  color: var(--orange-soda);
}

.hero-subtitle span {
  color: var(--white);
  font-size: var(--fs-5);
  font-weight: var(--fw-700);
}

.hero-title {
  margin-bottom: 20px;
  color: var(--white);
}

.hero-text {
  color: var(--white);
  font-size: var(--fs-5);
  line-height: 1.8;
  padding-left: 15px;
  border-left: 1px solid;
  margin-bottom: 30px;
  background-color: hsla(0, 0%, 88%, 0.222);
}





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about {
  padding-block: var(--section-padding);
}

.about {
  padding-top: 20px;
  padding-bottom: 50px;
  margin-top: 0px;
}

.about-banner>img {
  max-width: max-content;
  width: 100%;
}

.about-banner .abs-img {
  position: absolute;
  bottom: 100px;
  left: 15px;
  width: 50%;
  border-radius: 4px;
}

.about .section-subtitle {
  margin-inline: 0;
}

.about .section-title {
  --text-align: left;
  --margin-bottom: 15px;
}

.about-text {
  color: var(--cadet);
  font-size: var(--fs-5);
  line-height: 1.7;
  margin-bottom: 30px;
}

.about-list {
  margin-bottom: 30px;
}

.about-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.about-item-icon {
  background: var(--misty-rose);
  height: 45px;
  min-width: 45px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.about-item-icon ion-icon {
  color: var(--orange-soda);
  font-size: 18px;
}

.about-item-text {
  color: var(--cadet);
  font-size: var(--fs-5);
}

.about .callout {
  background: var(--bg-elements);
  color: var(--cadet);
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  line-height: 1.8;
  padding: 20px 25px;
  border-left: 4px solid var(--orange-soda);
  margin-bottom: 40px;
}

.about .btn {
  max-width: max-content;
  --text-transform: uppercase;
}

/*-----------------------------------*\
  #SLIDER LOGOS
\*-----------------------------------*/
@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 30px 0 100px 0;
  white-space: nowrap;
  align-items: center;
  display: flex;
  margin: 0 auto;
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: flex;
  animation: 80s slide infinite linear;
  /* Animación más rápida en móviles */
}

/* Duplica el contenido sin necesidad de escribirlo dos veces en HTML */
.logos-slide::after {
  content: "";
  display: flex;
  width: 100%;
  background: inherit;
}

.logos-slide img {
  height: 50px;
  /* Tamaño más pequeño en móviles */
  margin: 0 20px;
  /* Menor margen en móviles */
}

/* Media Queries para pantallas más grandes */
@media (min-width: 600px) {
  .logos-slide img {
    height: 70px;
    /* Tamaño mediano en pantallas más grandes */
    margin: 0 30px;
    /* Margen mediano */
  }

  .logos-slide {
    animation: 100s slide infinite linear;
    /* Animación un poco más lenta */
  }
}

@media (min-width: 768px) {
  .logos-slide img {
    height: 80px;
    /* Tamaño más grande */
    margin: 0 35px;
    /* Margen más grande */
  }

  .logos-slide {
    animation: 120s slide infinite linear;
    /* Animación más lenta */
  }
}

@media (min-width: 992px) {
  .logos-slide img {
    height: 90px;
    /* Tamaño aún más grande */
    margin: 0 40px;
    /* Margen aún más grande */
  }

  .logos-slide {
    animation: 140s slide infinite linear;
    /* Animación más lenta */
  }
}

@media (min-width: 1200px) {
  .logos-slide img {
    height: 100px;
    /* Tamaño original en pantallas grandes */
    margin: 0 40px;
    /* Margen original */
  }

  .logos-slide {
    animation: 150s slide infinite linear;
    /* Animación original */
  }
}

/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service {
  background: var(--cultured-2);
  padding-block: var(--section-padding);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  position: relative;
  background: var(--white);
  text-align: center;
  padding: 40px 30px;
  box-shadow: var(--shadow-2);
}

.service-card .card-icon {
  width: max-content;
  margin-inline: auto;
  margin-bottom: 20px;
}

.service-card .card-title {
  margin-bottom: 15px;
}

.service-card .card-title>a:is(:hover, :focus) {
  color: var(--orange-soda);
}

.service-card .card-text {
  color: var(--cadet);
  font-size: var(--fs-5);
  line-height: 1.8;
  margin-bottom: 25px;
}

.service-card .card-link {
  color: var(--opal);
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.service-card:is(:hover, :focus) .card-link {
  color: var(--orange-soda);
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--orange-soda);
  transition: var(--transition);
}

.service-card:is(:hover, :focus)::after {
  width: 100%;
}





/*-----------------------------------*\
  #PROPERTY
\*-----------------------------------*/

.property {
  padding-block: var(--section-padding);
}

/* Contenedor de las tarjetas */
.property-list {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Cada tarjeta ocupa un tercio del espacio disponible */
.property-list>li {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

/* Estilos de la tarjeta */
.property-card {
  border: 1px solid var(--alice-blue);
  box-shadow: var(--shadow-2);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: hsl(0, 0%, 88%);
}

.property-card .card-banner {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.property-card .card-banner a {
  display: block;
  height: 100%;
  width: 100%;
}

.property-card .card-banner a {
  height: 100%;
}

.property-card .card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.property-card:hover .card-banner img {
  transform: scale(1.1);
}

.property-card .card-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay);
  pointer-events: none;
  z-index: 1;
}

.property-card .banner-actions {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: center;
  gap: 15px 10px;
  z-index: 1;
}

.banner-actions-btn {
  color: var(--white);
  font-size: var(--fs-6);
  line-height: 1;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.banner-actions-btn ion-icon {
  font-size: 16px;
}

.banner-actions-btn:first-child {
  margin-right: auto;
}

.banner-actions-btn:is(:hover, :focus) {
  color: var(--orange-soda);
}

.property-card .card-content {
  padding: 30px 15px 15px;
  border-bottom: 1px solid hsla(0, 0%, 0%, 0.1);
  flex: 1;
}

.card-price {
  color: var(--orange-soda);
  font-family: var(--ff-poppins);
  font-size: var(--fs-5);
  margin-bottom: 5px;
}

.card-price strong {
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
}

.property-card .card-title {
  --font-weight: var(--fw-600);
  margin-bottom: 15px;
}

.property-card .card-title>a:is(:hover, :focus) {
  color: var(--orange-soda);
}

.property-card .card-text {
  color: var(--cadet);
  font-size: var(--fs-5);
  line-height: 1.8;
  margin-bottom: 25px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.property-card .card-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 15px;
}

.property-card .card-item {
  padding-block: 5px;
  color: var(--cadet);
  font-size: var(--fs-5);
}

.property-card .card-item:not(:last-child) {
  padding-right: 15px;
  border-right: 1px solid hsla(0, 0%, 0%, 0.2);
  margin-right: 20px;
}

.property-card .card-item :is(strong, ion-icon) {
  display: inline-block;
}

.property-card .card-item ion-icon {
  margin-left: 2px;
  margin-bottom: -2px;
}

.property-card .card-item span {
  margin-top: 5px;
}

.card-footer {
  padding: 20px 15px;
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 0 0 8px 8px;
}

.card-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid var(--orange-soda);
}

.author-avatar img {
  transition: transform 0.3s ease;
}

.author-avatar:hover img {
  transform: scale(1.1);
}

.author-name {
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
  margin-bottom: 3px;
}

.author-name>a {
  color: var(--dark-jungle-green);
  font-family: var(--ff-poppins);
  transition: color 0.3s ease;
}

.author-name>a:is(:hover, :focus) {
  color: var(--orange-soda);
}

.author-title {
  color: var(--cadet);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
}

.card-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-footer-actions-btn {
  background: var(--cultured-2);
  color: var(--cadet);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 22px;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px var(--shadow-black-10);
}

.card-footer-actions-btn:is(:hover, :focus) {
  background: var(--orange-soda);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px var(--shadow-black-15);
}


/*-----------------------------------*\
  #FEATURES
\*-----------------------------------*/

.features {
  background: var(--cultured-2);
  padding-block: var(--section-padding);
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px 20px;
}

.features-list>li {
  width: calc(50% - 10px);
}

.features-card {
  position: relative;
  background: var(--white);
  padding: 40px 15px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-1);
}

.features-card:is(:hover, :focus) {
  background: var(--orange-soda);
}

.features-card .card-icon {
  background: var(--seashell);
  color: var(--orange-soda);
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 28px;
}

.features-card .card-icon ion-icon {
  --ionicon-stroke-width: 20px;
}

.features-card .card-title {
  color: var(--dark-jungle-green);
  font-family: var(--ff-poppins);
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  text-align: center;
  transition: var(--transition);
}

.features-card:is(:hover, :focus) .card-title {
  color: var(--white);
}

.features-card .card-btn {
  background: var(--white);
  color: var(--cadet);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 20px;
  border-radius: 50%;
  box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.1);
  transition: var(--transition);
}

.features-card:is(:hover, :focus) .card-btn {
  color: var(--orange-soda);
}





/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog {
  padding-block: var(--section-padding);
}

.blog-card {
  box-shadow: var(--shadow-2);
  background-color: var(--bg-elements);
}

.blog-card .card-banner {
  overflow: hidden;
  aspect-ratio: 2 / 1.5;
}

.blog-card .card-banner img {
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.blog-card:is(:hover, :focus) .card-banner img {
  transform: scale(1.1);
}

.blog-content {
  padding: 30px;
}

.blog-card .card-meta-list {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.blog-card :is(.card-meta-link, .publish-date) {
  color: var(--cadet);
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.blog-card :is(.card-meta-link, .publish-date) ion-icon {
  color: var(--orange-soda);
}

.blog-card .card-meta-link:is(:hover, :focus) {
  color: var(--orange-soda);
}

.blog-title {
  font-size: 1rem;
  --font-weight: var(--fw-600);
}

.blog-card .blog-title:is(:hover, :focus) {
  color: var(--orange-soda);
}

.blog-content-bottom {
  padding-top: 20px;
  border-top: 1px solid hsla(0, 0%, 0%, 0.1);
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-card .read-more-btn {
  color: var(--orange-soda);
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
  text-transform: uppercase;
}





/*-----------------------------------*\
  #CTA
\*-----------------------------------*/

.cta {
  background: linear-gradient(to bottom, var(--white) 50%, #222222 50%);
}

.cta-card {
  background: var(--orange-soda);
  padding: 50px 25px;
  box-shadow: var(--shadow-2);
}

.cta-card .card-content {
  max-width: max-content;
  margin-inline: auto;
  margin-bottom: 30px;
}

.cta-card .card-title {
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 15px;
}

.cta-card .card-text {
  color: var(--white);
  font-size: var(--fs-5);
  line-height: 1.8;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--black);
  background: var(--white);
  box-shadow: var(--shadow-2);
  border-color: var(--white);
  margin-inline: auto;
}

.cta-btn:is(:hover, :focus) {
  background: none;
  color: var(--white);
  border-color: var(--transparent);
  /* CTA button transparent border */
}

.cta-btn::before {
  background: var(--black);
}





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background: #222222;
  color: var(--white);
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .footer {
    margin-bottom: 0;
  }
}

.footer .container {
  padding-inline: 30px;
}

.footer a {
  color: inherit;
}

.footer-top {
  padding-top: 80px;
  padding-bottom: 40px;
}

.footer-brand {
  margin-bottom: 70px;
}

.footer-brand .logo {
  margin-bottom: 15px;
}

.section-text {
  font-size: var(--fs-5);
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 45ch;
}

.contact-list {
  display: grid;
  gap: 15px;
  margin-bottom: 30px;
}

.contact-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-link ion-icon {
  font-size: 18px;
}

.contact-link :is(address, span) {
  font-size: var(--fs-5);
  transition: var(--transition);
}

.contact-link:is(:hover, :focus) span {
  color: var(--orange-soda);
}

.social-list {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--orange-soda);
}

.footer-list:not(:last-child) {
  margin-bottom: 50px;
}

.footer-list-title {
  font-family: var(--ff-poppins);
  font-size: var(--fs-3);
  font-weight: var(--fw-700);
  margin-bottom: 15px;
}

.footer-link {
  font-size: var(--fs-5);
  padding-block: 10px;
  color: var(--orange-soda);
}

.footer-link:is(:hover, :focus) {
  color: var(--orange-soda);
}

.footer-bottom {
  background: #1a1a1a;
  padding-block: 25px;
}

.copyright {
  font-size: var(--fs-5);
  text-align: center;
}

.copyright a {
  display: inline-block;
}

.copyright a:is(:hover, :focus) {
  color: var(--orange-soda);
}





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 600px screen
 */

@media (min-width: 600px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 1.875rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 550px;
    margin-inline: auto;
  }

  .has-scrollbar {
    gap: 25px;
    margin-inline: -25px;
    padding-inline: 25px;
    scroll-padding-left: 25px;
  }

  .has-scrollbar>li {
    min-width: calc(50% - 12.5px);
  }



  /**
   * SERVICE
   */

  .service-list>li {
    width: calc(50% - 15px);
  }



  /**
   * PROPERTY
   */

  .property .container {
    max-width: unset;
    padding-inline: 25px;
  }

  .property-list>li {
    flex: 1;
    min-width: calc(33.333% - 10px);
  }



  /**
   * CTA
   */

  .cta-card {
    --fs-2: 1.5rem;
  }



  /**
   * FOOTER
   */

  .footer-link-box {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }

}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 2.5rem;
    --fs-5: 0.938rem;
    --fs-6: 0.875rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 720px;
  }

  .btn {
    --fs-5: 1rem;
    padding: 12px 28px;
  }



  /**
   * HEADER
   */

  .header-top {
    padding-block: 15px;
  }

  .header-top .wrapper {
    margin-left: auto;
  }

  .header-top-social-list {
    gap: 12px;
  }

  .header-top-social-link {
    font-size: 1rem;
  }

  .header-top-btn {
    padding: 10px 20px;
  }

  .header-bottom-actions {
    all: unset;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header-bottom-actions-btn ion-icon {
    margin-bottom: 0;
  }

  .header-bottom-actions-btn span {
    display: none;
  }

  .header-bottom-actions-btn {
    background: var(--white);
    width: 50px;
    height: 50px;
    box-shadow: var(--shadow-2);
  }



  /**
   * HERO
   */

  .hero-content {
    max-width: 400px;
  }



  /**
   * ABOUT
   */

  .about .section-title {
    max-width: 30ch;
  }

  .about-text {
    max-width: 55ch
  }

  .about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }



  /**
   * FEATURES
   */

  .features-list>li {
    width: calc(33.33% - 13.33px);
  }

  .features-card {
    gap: 20px;
  }

  .features-card .card-icon {
    width: 80px;
    height: 80px;
    font-size: 32px;
  }

  .features-card .card-title {
    --fs-6: 1.125rem;
  }



  /**
   * BLOG
   */

  .blog-card {
    --fs-7: 0.875rem;
  }

  .blog-title {
    font-size: 1.25rem;
  }

  .blog .card-meta-list {
    gap: 30px;
  }



  /**
   * CTA
   */

  .cta-card {
    --fs-2: 1.625rem;
  }

}





/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 3.125rem;
    --fs-4: 1.375rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 970px;
  }

  .btn {
    padding: 15px 40px;
  }



  /**
   * HEADER
   */

  .header-top-list,
  .header-top .wrapper {
    gap: 30px;
  }





  /**
   * HERO
   */

  .hero-content {
    max-width: unset;
    margin-bottom: 0;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }



  /**
   * ABOUT
   */

  .about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
  }

  .about-banner {
    margin-bottom: 0;
  }

  .about-banner>img {
    width: 100%;
  }



  /**
   * SERVICE
   */

  .service-list>li {
    width: calc(33.33% - 20px);
  }



  /**
   * PROPERTY
   */

  .property-card .card-content {
    padding-inline: 30px;
  }

  .card-footer {
    padding: 20px 30px 30px;
  }



  /**
   * FEATURES
   */

  .features-list {
    column-gap: 30px;
  }

  .features-list>li {
    width: calc(25% - 30px);
  }



  /**
   * BLOG
   */

  .blog-title {
    font-size: 1.375rem;
  }



  /**
   * CTA
   */

  .cta-card {
    --fs-2: 1.875rem;
    --fs-5: 1rem;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
  }

  .cta-card :is(.card-content, .cta-btn) {
    margin: 0;
  }



  /**
   * FOOTER
   */

  .footer-top .container {
    display: flex;
    justify-content: space-between;
  }

  .footer-brand {
    max-width: 300px;
    margin-bottom: 0;
  }

  .footer-link-box {
    flex-basis: 550px;
  }

}





/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 2.75rem;
    --fs-4: 1.5rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1200px;
  }

  .has-scrollbar>li {
    min-width: calc(33.33% - 16.66px);
  }



  /**
   * HEADER
   */

  .header-bottom {
    padding-block: 30px;
  }

  .header-bottom-actions-btn:last-child,
  .navbar-top,
  .overlay {
    display: none;
  }

  .navbar,
  .navbar.active {
    all: unset;
  }

  .navbar-list {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .navbar-link {
    color: var(--dark-jungle-green);
    --fs-5: 1.125rem;
    text-transform: capitalize;
  }

  .header {
    padding-bottom: 114px;
  }

  .header-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
  }

  .header.active .header-bottom {
    position: fixed;
    bottom: auto;
    top: -94px;
    padding-block: 20px;
    box-shadow: 0 10px 50px hsla(0, 0%, 0%, 0.2);
    animation: slideDown 0.25s ease-out forwards;
    z-index: 100;
  }

  @keyframes slideDown {
    0% {
      transform: translateY(0);
    }

    100% {
      transform: translateY(100%);
    }
  }



  /**
   * HERO
   */

  .hero-text {
    padding-left: 30px;
    max-width: 450px;
    margin-bottom: 40px;
  }



  /**
   * FEATURES
   */

  .features-card .card-icon {
    width: 100px;
    height: 100px;
    font-size: 45px;
  }

  .features-card .card-title {
    --fs-6: 1.375rem;
  }



  /**
   * CTA
   */

  .cta-card {
    --fs-2: 2.25rem;
    padding-inline: 60px;
  }



  /**
   * FOOTER
   */

  .footer {
    --fs-5: 1rem;
  }

  .footer-link-box {
    flex-basis: 700px;
  }
}

/*-----------------------------------*\
  #VENTA PAGE
\*-----------------------------------*/


.section.venta {
  padding: 40px 0;
  /* Añade padding superior e inferior para separar de otras secciones */
  width: 500px;
  margin: 0 auto;
  /* Centra el contenedor */

}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  /* Centra el texto */
}

.form-input,
.form-textarea {
  width: 100%;
  /* Asegura que ocupe el ancho completo del contenedor */
  padding: 10px;
  /* Añade espacio interno para mejor legibilidad */
  margin-bottom: 16px;
  /* Espacio entre campos */
  border: 1px solid #ccc;
  /* Borde sutil */
  border-radius: 10px;
  /* Bordes redondeados */
  font-size: 1rem;
  /* Tamaño de texto uniforme */
  color: #333;
  /* Color del texto */
  background-color: #f9f9f9;
  /* Fondo claro */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  /* Animación al interactuar */
  text-align: center;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--orange-soda);
  /* Cambia el color del borde al enfoque */
  box-shadow: 0 0 5px hsla(1, 95%, 60%, 0.407);
  /* Sombra al enfoque */
  outline: none;
  /* Elimina el contorno por defecto */
}

.section.venta .form-btn {
  display: block;
  width: 200px;
  /* Ancho fijo para el botón */
  margin: 20px auto;
  /* Centra el botón horizontalmente y le da espacio superior e inferior */
  padding: 12px;
  /* Padding alrededor del texto del botón */
}

/*-----------------------------------*\
  #LOGIN PAGE
\*-----------------------------------*/

.section.login {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  /* Ocupa toda la altura de la ventana */
  background-color: #ffffff;
}

.section.login .container {
  background-color: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 10px var(--shadow-black-10);
  /* General card shadow */
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.section.login .form-btn {
  display: block;
  margin: 20px auto 0;
  width: 100%;
  max-width: 600px;
}

/*-----------------------------------*\
  #PROPERTY LIST
\*-----------------------------------*/

.section.venta {
  padding: 10px 0;
}

/**
 * FILTERS
 */

.property-filters {
  background-color: hsl(0, 0%, 100%);
  padding: 40px 20px;
  box-shadow: none;
  margin: 0 auto 20px auto;
  max-width: 1300px;
  position: relative;
}

.property-filters .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: none;
  padding: 0;
}

.property-filters #filterForm {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.property-filters .filter-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 150px;
}

.property-filters .filter-group label {
  font-weight: var(--fw-600);
  margin-bottom: 0.75rem;
  color: var(--raisin-black-2);
  font-size: var(--fs-6);
  font-family: var(--ff-poppins);
}

.property-filters .filter-group input,
.property-filters .filter-group select {
  padding: 1rem 1.25rem;
  border: 2px solid var(--cultured-2);
  border-radius: 8px;
  font-size: var(--fs-5);
  width: 100%;
  background-color: var(--white);
  transition: all var(--transition);
  font-family: var(--ff-nunito-sans);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.property-filters .filter-group input::placeholder {
  color: var(--cadet);
  opacity: 0.8;
}

/* Ícono personalizado para el select */
.property-filters .filter-group select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 14px;
  cursor: pointer;
}

.property-filters .filter-group input:hover,
.property-filters .filter-group select:hover {
  border-color: var(--orange-soda);
  box-shadow: 0 2px 8px var(--shadow-black-05);
}

.property-filters .filter-group input:focus,
.property-filters .filter-group select:focus {
  outline: none;
  border-color: var(--orange-soda);
  box-shadow: 0 0 0 3px rgba(155, 136, 95, 0.15);
  transform: translateY(-1px);
}

.property-filters .form-btn {
  width: 100%;
  margin: 1rem 0 0 0;
  padding: 1rem 2rem;
  font-weight: var(--fw-600);
  transition: all var(--transition);
  box-shadow: 0 4px 12px var(--shadow-brown-30);
}

.property-filters .form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-brown-30);
}

@media (min-width: 992px) {
  .property-filters #filterForm {
    flex-direction: row;
    align-items: flex-end;
    flex-wrap: wrap;
  }

  .property-filters .filter-group {
    flex: 1;
    margin-bottom: 0;
  }

  .property-filters .form-btn {
    margin-top: 1rem;
    width: 100%;
  }
}

/**
  * LISTING
  */

.property-listing {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 0;
}


.property-listing-card {
  display: flex;
  flex-direction: column;
  border: 2px solid #ddd;
  box-shadow: 2px 2px 8px var(--shadow-black-10);
  /* About card shadow */
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  /* Ocupa todo el ancho en móviles */
  max-width: 1300px;
  /* Ancho máximo en computadora */
  margin: 0 auto;
  /* Centrar la tarjeta */
  position: relative;
  height: 600px;
  /* Alto fijo para móviles */
}

@media (min-width: 600px) {
  .property-listing-card {
    flex-direction: row;
    height: 350px;
    /* Alto fijo en pantallas grandes */
    width: 1300px;
    /* Ancho fijo para computadora */
  }
}

.property-listing-image {
  width: 100%;
  height: 250px;
  /* Altura para móviles */
  overflow: hidden;
  position: relative;
}

@media (min-width: 600px) {
  .property-listing-image {
    width: 40%;
    /* 40% del ancho de la tarjeta */
    height: 100%;
    /* Ocupa el 100% del alto de la tarjeta */
  }
}

.property-listing-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* La imagen cubre todo el contenedor */
  object-position: center;
  /* Centrado horizontal y vertical */
  transition: transform 0.3s ease;
}

.property-listing-image:hover img {
  transform: scale(1.05);
}

.property-listing-content {
  padding: 15px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
}

@media (min-width: 600px) {
  .property-listing-content {
    padding: 25px;
    gap: 15px;
    width: 60%;
    /* 60% del ancho de la tarjeta */
    height: 100%;
    /* Ocupa el 100% del alto de la tarjeta */
  }
}

.property-listing-title {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

@media (min-width: 600px) {
  .property-listing-title {
    font-size: 2rem;
  }
}

.property-listing-title a {
  text-decoration: none;
  color: #333;
}

.property-listing-price strong {
  font-size: 1.4rem;
  color: var(--orange-soda);
  margin-bottom: 5px;
  display: block;
}

@media (min-width: 600px) {
  .property-listing-price strong {
    font-size: 1.8rem;
  }
}

.property-listing-description {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  /* Muestra hasta 4 líneas */
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  flex: 1;
}

@media (min-width: 600px) {
  .property-listing-description {
    -webkit-line-clamp: 4;
    line-clamp: 4;
    font-size: 1rem;
  }
}

.property-listing-details {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--orange-soda);
  margin-top: auto;
}

@media (min-width: 600px) {
  .property-listing-details {
    font-size: 1.1rem;
  }
}

.property-listing-details ion-icon {
  margin-right: 5px;
  font-size: 1.4rem;
  color: var(--orange-soda);
}

@media (min-width: 600px) {
  .property-listing-details ion-icon {
    font-size: 1.9rem;
  }
}

.property-agent {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: auto;
}

.whatsapp-button {
  background-color: #25D366;
  color: white;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  transition: background 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #1ebe57;
}

@media (min-width: 600px) {
  .whatsapp-button {
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
  }
}

/*-----------------------------------*\
  #ADD PROPERTY
\*-----------------------------------*/

.add-property-header {
  padding: 30px 0;
  /* Añade padding superior e inferior */
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Botón de regreso al panel */
.btn-back-panel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gold-crayola);
  color: var(--rich-black-fogra-29);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid var(--gold-crayola);
}

.btn-back-panel:hover {
  background: transparent;
  color: var(--gold-crayola);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(218, 165, 32, 0.3);
}

.btn-back-panel ion-icon {
  font-size: 1.2rem;
}

.header-actions {
  display: flex;
  align-items: center;
}

/* Estilos para el header del formulario de blog */
.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--gold-crayola);
}

.form-header h2 {
  margin: 0;
  color: var(--rich-black-fogra-29);
}

/* Estilo para el encabezado */
.add-property-form header {
  padding: 10px 0;
  /* Añade padding superior e inferior */
  text-align: center;
  /* Centra el contenido */
}

.add-property-form .h2.section-title {
  font-size: 2rem;
  /* Tamaño de fuente más grande */
  color: #333;
  /* Color del texto */
}

/* Estilo para el formulario */
.add-property-form {
  padding-bottom: 100px;
  /* Aumenta el espacio inferior */
  text-align: center;
  /* Centra el contenido */
}

.add-property-form form {
  width: 80%;
  /* Ancho del formulario */
  max-width: 600px;
  /* Ancho máximo del formulario */
  margin: 0 auto;
  /* Centra el formulario horizontalmente */
  text-align: left;
  /* Alinea el texto a la izquierda */
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Dos columnas */
  gap: 20px;
  /* Espacio entre columnas */
  font-family: Arial, sans-serif;
}

.add-property-form label {
  display: block;
  /* Convierte las etiquetas en bloques */
  margin-bottom: 8px;
  /* Espacio inferior entre etiquetas */
  font-size: 1.1rem;
  /* Tamaño de fuente */
  font-weight: bold;
  /* Fuente en negrita */
  color: #333;
  /* Color del texto */
  text-align: left;
  /* Alinea el texto a la izquierda */
}

.add-property-form input[type="text"],
.add-property-form input[type="number"],
.add-property-form input[type="file"],
.add-property-form textarea {
  width: 100%;
  /* Ocupa el ancho completo del contenedor */
  padding: 10px;
  /* Espacio interno */
  margin-bottom: 16px;
  /* Espacio inferior entre campos */
  border: 1px solid #ccc;
  /* Borde sutil */
  border-radius: 10px;
  /* Bordes redondeados */
  font-size: 1rem;
  /* Tamaño de fuente uniforme */
  color: #333;
  /* Color del texto */
  background-color: #f9f9f9;
  /* Fondo claro */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  /* Transiciones */
  text-align: left;
  /* Alinea el texto a la izquierda */
}

.add-property-form input[type="text"]:focus,
.add-property-form input[type="number"]:focus,
.add-property-form input[type="file"]:focus,
.add-property-form textarea:focus {
  border-color: var(--orange-soda);
  /* Color del borde al enfocar */
  box-shadow: 0 0 5px hsla(1, 95%, 60%, 0.407);
  /* Sombra al enfocar */
  outline: none;
  /* Elimina el contorno por defecto */
}

.add-property-form .form-btn {
  display: block;
  margin: 20px auto 0;
  width: 100%;
  /* Hace que el botón ocupe todo el ancho disponible */
  grid-column: span 2;
  /* Hace que el botón ocupe ambas columnas */
  box-sizing: border-box;
  /* Asegura que el padding no afecte el tamaño total */
}

.add-property-form textarea {
  width: 100%;
  /* Ocupa el ancho completo del contenedor */
  padding: 10px;
  /* Espacio interno */
  margin-bottom: 16px;
  /* Espacio inferior entre campos */
  border: 1px solid #ccc;
  /* Borde sutil */
  border-radius: 10px;
  /* Bordes redondeados */
  font-size: 1rem;
  /* Tamaño de fuente uniforme */
  color: #333;
  /* Color del texto */
  background-color: #f9f9f9;
  /* Fondo claro */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  /* Transiciones */
  text-align: left;
  /* Centra el texto */
  min-height: 200px;
  /* Altura mínima del textarea */
  font-family: Arial, sans-serif;

}

.add-property-form select {
  width: 100%;
  /* Ocupa el ancho completo del contenedor */
  padding: 10px;
  /* Espacio interno */
  margin-bottom: 16px;
  /* Espacio inferior entre campos */
  border: 1px solid #ccc;
  /* Borde sutil */
  border-radius: 10px;
  /* Bordes redondeados */
  font-size: 1rem;
  /* Tamaño de fuente uniforme */
  color: #333;
  /* Color del texto */
  background-color: #f9f9f9;
  /* Fondo claro */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  /* Transiciones */
  text-align: left;
  /* Centra el texto */
}

.add-property-form select:focus {
  border-color: var(--orange-soda);
  /* Color del borde al enfocar */
  box-shadow: 0 0 5px hsla(1, 95%, 60%, 0.407);
  /* Sombra al enfocar */
  outline: none;
  /* Elimina el contorno por defecto */
}

/* CSS específico para Edit Property */
.edit-property .add-property-form form small {
  display: block;
  /* Hace que el elemento ocupe toda la línea */
  grid-column: 1 / -1;
  /* Hace que el elemento se extienda por ambas columnas del grid */
  text-align: left;
  /* Alinea el texto a la izquierda */
  margin-bottom: 16px;
  /* Espacio inferior para separar de otros elementos */
}

/* Estilos para el contenedor de preview de imágenes */
.file-input-wrapper {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.image-preview-container {
  width: 100%;
  min-height: 40px;
}

.image-preview-container:empty {
  display: none;
}

/*--------------------------------------------------*
 *  EDIT BLOG 
 *--------------------------------------------------*/

/* Contenedor del formulario */
.form-wrapper {
  max-width: 500px;
  margin: 40px auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow-black-10);
  /* Blog card shadow */
  font-family: Arial, sans-serif;
}

/* Título */
.form-wrapper h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #333;
}

/* Etiquetas */
.form-wrapper label {
  display: block;
  margin: 10px 0 4px;
  font-weight: 600;
  color: #333;
}

/* Inputs, selects y date */
.form-wrapper input[type="text"],
.form-wrapper input[type="url"],
.form-wrapper input[type="date"],
.form-wrapper select {
  width: 100%;
  padding: 8px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  color: #333;
  box-sizing: border-box;
}

/* Zona de imagen existente */
.form-wrapper .existing-image {
  margin: 10px 0 16px;
  position: relative;
  display: inline-block;
}

.form-wrapper .existing-image img {
  max-width: 100%;
  border-radius: 4px;
  display: block;
}

.form-wrapper .existing-image a.delete {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(255, 0, 0, 0.7);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.8rem;
  text-decoration: none;
}

/* Botones */
.form-wrapper .form-btn {
  display: block;
  margin: 20px auto 0;
  width: 100%;
  /* Hace que el botón ocupe todo el ancho disponible */
  grid-column: span 2;
  /* Hace que el botón ocupe ambas columnas */
  box-sizing: border-box;
  /* Asegura que el padding no afecte el tamaño total */
}

.form-wrapper .btn-cancel {
  display: inline-block;
  margin-left: 10px;
  margin-top: 20px;
  padding: 10px 16px;
  background: #ccc;
  color: #333;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* Mensajes de error */
.error {
  color: red;
  margin-bottom: 10px;
}

/* Media queries */
@media (max-width: 600px) {
  .form-wrapper {
    margin: 20px 10px;
    padding: 15px;
  }

  .form-wrapper h2 {
    font-size: 1.6rem;
  }
}

/*-----------------------------------*\
  #Admin Dashboard
\*-----------------------------------*/

.admin-body {
  display: flex;
  min-height: 100vh;
  background-color: white;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

/* Panel lateral */
.admin-sidebar {
  width: 260px;
  background: var(--orange-soda);
  color: white;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 3px 0 15px var(--shadow-black-10);
  /* Sidebar shadow */
  z-index: 100;
}

.admin-sidebar.collapsed {
  width: 70px;
}

.admin-sidebar.collapsed .admin-info,
.admin-sidebar.collapsed .nav-item a,
.admin-sidebar.collapsed .logout-btn span:last-child {
  display: none;
}

.admin-sidebar.collapsed .nav-item span,
.admin-sidebar.collapsed .logout-btn span:first-child {
  margin-right: 0;
}

.sidebar-header {
  padding: 25px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.admin-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.admin-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.admin-role {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.1);
  padding: 3px 10px;
  border-radius: 0;
  display: inline-block;
}

.admin-nav {
  padding: 20px 0;
  flex-grow: 1;
}

.nav-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 3px solid var(--transparent);
  /* Navigation item transparent border */
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
  background: rgba(255, 255, 255, 0.15);
  border-left: 3px solid white;
}

.nav-item span {
  font-size: 1.5rem;
  margin-right: 15px;
}

.nav-item a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  flex-grow: 1;
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-btn {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.logout-btn span {
  margin-right: 10px;
}

/* Contenido principal */
.admin-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.admin-main.expanded {
  margin-left: -190px;
}

.admin-header {
  background: white;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px var(--shadow-black-05);
  /* Property filter shadow */
  z-index: 10;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sidebar-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.sidebar-toggle:hover {
  background: var(--gray-light);
  /* Sidebar toggle hover */
}

.admin-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.notification-bell {
  position: relative;
  cursor: pointer;
  color: #555;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.notification-bell:hover {
  background: var(--gray-light);
  /* Notification bell hover */
}

.notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #e74c3c;
  color: white;
  font-size: 0.7rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.current-date {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

.admin-content {
  padding: 30px;
  flex-grow: 1;
}

/* Tarjetas de resumen */
.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.summary-card {
  background: white;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px var(--shadow-black-10);
  /* Admin form hover shadow */
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(155, 136, 95, 0.1);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--orange-soda);
}

.card-icon span {
  font-size: 2rem;
}

.card-content {
  flex-grow: 1;
}

.card-title {
  font-size: 1rem;
  color: #777;
  margin: 0 0 5px;
  font-weight: 500;
}

.card-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

/* Secciones de contenido */
.admin-section {
  background: white;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  overflow: hidden;
}

.admin-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #eee;
}

.admin-section .section-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.btn-add {
  background: var(--orange-soda);
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-add:hover {
  background: hsl(43, 33%, 40%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px var(--shadow-brown-30);
  /* Brown themed shadow */
}

/* Tablas */
.table-container {
  overflow-x: auto;
  padding: 0 20px 20px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.admin-table thead {
  background: #f8f9fa;
}

.admin-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: #495057;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e9ecef;
}

.admin-table td {
  padding: 15px;
  border-bottom: 1px solid #e9ecef;
  color: #495057;
  font-size: 0.95rem;
}

.admin-table tbody tr {
  transition: background-color 0.2s ease;
}

.admin-table tbody tr:hover {
  background-color: #f8f9fa;
}

/* Acciones */
.actions {
  display: flex;
  gap: 8px;
}

.btn-action {
  width: 36px;
  height: 36px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-action.edit {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
}

.btn-action.delete {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.btn-action.view {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.btn-action:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 5px var(--shadow-black-10);
  /* Button shadow */
}

/* Elementos específicos */
.link-cell {
  color: var(--orange-soda);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.link-cell:hover {
  color: hsl(43, 33%, 35%);
  text-decoration: underline;
}

.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.status-badge.venta {
  background: rgba(46, 204, 113, 0.15);
  color: #27ae60;
}

.status-badge.renta {
  background: rgba(241, 196, 15, 0.15);
  color: #f39c12;
}

.status-badge.vendido {
  background: rgba(52, 152, 219, 0.15);
  color: #2980b9;
}

.status-badge.rentado {
  background: rgba(155, 89, 182, 0.15);
  color: #8e44ad;
}


/*-----------------------------------*\
  #DETAIL
\*-----------------------------------*/

/* Contenedor principal */
.property-detail-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Columna izquierda */
.property-detail-left {
  flex: 2;
}

/* Columna derecha */
.property-detail-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Título de la propiedad */
.property-title {
  display: flex;
  align-items: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
  flex-wrap: nowrap;
}

.property-key {
  font-size: 1.2rem;
  /* Tamaño ligeramente menor */
  color: var(--orange-soda);
  /* Color distinto para resaltar */
  margin-left: 1rem;
  /* Espacio entre el título y la key */
}



/* Recuadro principal */
.property-main-image-container {
  position: relative;
  width: 100%;
  height: 300px;
  /* Altura fija para móviles */
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.media-display {
  width: 100%;
  height: 100%;
  position: relative;
}

.property-main-image,
.property-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Flechas de navegación */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: white;
  border: none;
  padding: 0.75rem;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 0;
  transition: color 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-arrow:hover {
  background: transparent;
  color: var(--orange-soda);
}

.left-arrow {
  left: 0.5rem;
}

.right-arrow {
  right: 0.5rem;
}

/* Galería inferior */
.additional-images {
  margin-bottom: 1.5rem;
}

.image-gallery-container {
  position: relative;
  overflow: hidden;
}

.image-gallery {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0.75rem;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
}

.image-gallery::-webkit-scrollbar {
  display: none;
}

.media-item {
  flex: 0 0 auto;
  width: 120px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.media-item:hover img {
  transform: scale(1.1);
}

.video-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333;
  color: white;
  font-size: 1.5rem;
}

.media-item.video-item ion-icon {
  font-size: 3rem;
  /* Cambia el tamaño */
  color: var(--orange-soda);
  /* Cambia el color */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Detalles de la propiedad */
.property-info {
  margin-bottom: 1.5rem;
}

.property-price {
  font-size: 1.25rem;
  color: var(--orange-soda);
  margin-bottom: 1rem;
}

/* Estilos para la foto y nombre del agente */
.agent-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.agent-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.agent-name {
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
  margin: 0;
}

.property-listing-details {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.property-listing-details li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--orange-soda);
}

.property-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1.5rem;
}

/* Formulario de contacto */
.contact-form {
  background: var(--white);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.contact-form h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #333;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #555;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9rem;
  font-family: Arial, sans-serif;
}

.submit-btn {
  background: var(--orange-soda);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #000000;
}

.whatsapp-button-detail {
  width: 100%;
  margin-top: 1rem;
}

.whatsapp-link-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25d366;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  width: 100%;
  text-align: center;
  transition: background 0.3s ease;
}

.whatsapp-link-detail:hover {
  background: #128c7e;
}

.whatsapp-link-detail ion-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(48, 40, 40, 0.9);
  text-align: center;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close-lightbox:hover {
  color: #ccc;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  padding: 10px;
  background: transparent;
  border-radius: 0;
  transition: color 0.3s ease;
}

.lightbox-arrow:hover {
  color: var(--orange-soda);
}

.lightbox-arrow.left-arrow {
  left: 20px;
}

.lightbox-arrow.right-arrow {
  right: 20px;
}

/* Responsive Design */
@media (min-width: 600px) {
  .property-detail-container {
    padding: 1.5rem;
  }

  .property-title {
    font-size: 2.25rem;
  }

  .property-main-image-container {
    height: 350px;
  }

  .media-item {
    width: 140px;
    height: 90px;
  }

  .property-price {
    font-size: 1.5rem;
  }

  .property-listing-details li {
    font-size: 1rem;
  }

  .property-description {
    font-size: 1.1rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .contact-form h2 {
    font-size: 1.5rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.75rem;
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .property-detail-container {
    flex-direction: row;
  }

  .property-main-image-container {
    height: 400px;
  }

  .media-item {
    width: 150px;
    height: 100px;
  }

  /* Limitar el ancho máximo de la galería de imágenes adicionales en modo de computadora */
  .additional-images {
    max-width: 800px;
    /* Ajusta este valor según tus necesidades */
    margin: 0 auto;
    /* Centrar la galería */
  }
}

@media (min-width: 992px) {
  .property-detail-container {
    padding: 2rem;
  }

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

  .property-main-image-container {
    height: 450px;
  }

  .media-item {
    width: 160px;
    height: 110px;
  }
}

@media (min-width: 1200px) {
  .property-main-image-container {
    height: 500px;
  }

  .media-item {
    width: 170px;
    height: 120px;
  }
}

/* Nuevas reglas para el recuadro de amenidades */
.property-amenities {
  border: 2px solid var(--orange-soda);
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1.5rem;
  background-color: #fff;
}

.property-amenities h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #333;
}

.property-amenities ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.property-amenities ul li {
  background-color: var(--white);
  border: 1px solid #ddd;
  padding: 0.5rem 0.75rem;
  border-radius: 3px;
  font-size: 0.9rem;
  color: #555;
}

/*-----------------------------------*\
      #AGENTS SECTION
    \*-----------------------------------*/

.agents-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.agents-section .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.section-description {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-top: 20px;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.agent-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  flex-direction: column;
  display: flex;
  box-shadow: 0 10px 30px var(--shadow-black-08);
  /* Mobile chatbot shadow */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.agent-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-black-15);
  /* Enhanced mobile shadow */
}

.agent-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: rgba(155, 136, 95, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-image img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 5px 15px var(--shadow-black-10);
  /* Mobile card shadow */
}

.social-links {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  z-index: 1;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  color: var(--orange-soda);
}

.social-link:hover {
  background: var(--orange-soda);
  color: white;
  transform: translateY(-5px);
}

.agent-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
  text-align: center;
}

.agent-name {
  font-size: 1.6rem;
  color: #222;
  margin-bottom: 5px;
  line-height: 1.3;
}

.agent-title {
  color: var(--orange-soda);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.agent-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--orange-soda);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #777;
  display: block;
  margin-top: 5px;
}

.agent-description {
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 1rem;
  min-height: 60px;
}

.agent-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.view-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--orange-soda);
  border: 2px solid var(--orange-soda);
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
  font-size: 0.9rem;
}

.view-profile-btn:hover {
  background: var(--orange-soda);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-brown-30);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--orange-soda);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
  font-size: 0.9rem;
}

.contact-btn:hover {
  background: hsl(43, 33%, 35%);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadow-brown-30);
  /* Mobile brown shadow */
}



/* Responsive */
@media (max-width: 768px) {
  .agents-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}

/* ===== AGENT PROFILE PAGES ===== */

/* Agent Profile Hero */
.agent-profile-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 120px 0 60px 0;
}

.agent-profile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.agent-profile-image {
  flex-shrink: 0;
}

.agent-profile-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid white;
  box-shadow: 0 10px 30px var(--shadow-black-15);
}

.agent-profile-info {
  flex: 1;
}

.agent-profile-name {
  font-size: 3rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
  line-height: 1.2;
}

.agent-profile-title {
  font-size: 1.4rem;
  color: var(--orange-soda);
  font-weight: 600;
  margin-bottom: 25px;
}

.agent-contact-info {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-weight: 500;
}

.contact-item ion-icon {
  color: var(--orange-soda);
  font-size: 1.2rem;
}

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

.agent-social-links .social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--orange-soda);
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px var(--shadow-black-10);
}

.agent-social-links .social-link:hover {
  background: var(--orange-soda);
  color: white;
  transform: translateY(-3px);
}

/* Agent Stats Section */
.agent-stats-section {
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px var(--shadow-black-08);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--orange-soda), hsl(230, 100%, 70%));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.stat-icon ion-icon {
  font-size: 2rem;
  color: white;
}

.stat-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 5px;
}

.stat-info p {
  color: #666;
  font-weight: 500;
}

/* About Agent Section */
.about-agent-section {
  padding: 60px 0;
}

.section-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.text-content .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.text-content .section-subtitle {
  font-size: 1.2rem;
  color: var(--orange-soda);
  font-weight: 600;
  margin-bottom: 30px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.specialties {
  margin-top: 40px;
}

.specialties h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 20px;
}

.specialty-list {
  list-style: none;
  padding: 0;
}

.specialty-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #555;
}

.specialty-list li ion-icon {
  color: var(--orange-soda);
  font-size: 1.2rem;
}

.image-content {
  display: flex;
  justify-content: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 300px;
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 40px var(--shadow-black-15);
}

/* Timeline Section */
.experience-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.timeline {
  max-width: 800px;
  margin: 50px auto 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--orange-soda);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 80px;
}

.timeline-date {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: var(--orange-soda);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 3px 10px var(--shadow-black-10);
}

.timeline-content {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-black-08);
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}

.timeline-content p {
  color: #555;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  padding: 60px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto 0;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow-black-08);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--orange-soda);
  font-weight: bold;
  line-height: 1;
}

.stars {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-card p {
  font-style: italic;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

.testimonial-author strong {
  color: #222;
  font-weight: 600;
}

.testimonial-author span {
  color: #777;
  font-size: 0.9rem;
}

/* Values Section */
.values-section {
  padding: 60px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 50px auto 0;
}

.value-card {
  text-align: center;
  padding: 30px 20px;
}

.value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--orange-soda), hsl(230, 100%, 70%));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon ion-icon {
  font-size: 2.5rem;
  color: white;
}

.value-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 15px;
}

.value-card p {
  color: #555;
  line-height: 1.6;
}

/* Contact CTA Section */
.contact-cta-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--orange-soda), hsl(230, 100%, 65%));
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.2rem;
  color: white;
  opacity: 0.9;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 180px;
  justify-content: center;
}

.cta-btn.primary {
  background: #25d366;
  color: white;
}

.cta-btn.primary:hover {
  background: #128c7e;
  transform: translateY(-3px);
}

.cta-btn.secondary {
  background: white;
  color: var(--orange-soda);
}

.cta-btn.secondary:hover {
  background: #f8f9fa;
  transform: translateY(-3px);
}

.cta-btn.tertiary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-btn.tertiary:hover {
  background: white;
  color: var(--orange-soda);
  transform: translateY(-3px);
}

/* Responsive Design for Agent Pages */
@media (max-width: 768px) {
  .agent-profile-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .agent-profile-name {
    font-size: 2.2rem;
  }

  .agent-contact-info {
    flex-direction: column;
    gap: 15px;
  }

  .section-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .timeline {
    margin-left: 20px;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline-date {
    width: 50px;
    height: 50px;
    font-size: 0.8rem;
  }

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

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

@media (max-width: 480px) {

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

  .agent-profile-image img {
    width: 150px;
    height: 150px;
  }

  .about-image img {
    width: 250px;
    height: 300px;
  }
}

/*-----------------------------------*\
  #FADE-IN ANIMATIONS
\*-----------------------------------*/

/* Keyframes para las animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUpScale {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Clases para elementos que se van a animar */
.fade-in-element {
  opacity: 0;
  will-change: opacity, transform;
}

.fade-in-element.visible {
  opacity: 1;
}

/* Animaciones específicas por tipo */
.fade-up {
  transform: translateY(20px);
}

.fade-up.visible {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  transform: translateX(-20px);
}

.fade-left.visible {
  animation: fadeInLeft 0.6s ease forwards;
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  transform: translateX(20px);
}

.fade-right.visible {
  animation: fadeInRight 0.6s ease forwards;
  opacity: 1;
  transform: translateX(0);
}

.fade-in {
  opacity: 0;
}

.fade-in.visible {
  animation: fadeIn 0.8s ease forwards;
  opacity: 1;
}

/* Delays progresivos para elementos en la misma sección */
.fade-delay-1 {
  animation-delay: 0.1s;
}

.fade-delay-2 {
  animation-delay: 0.2s;
}

.fade-delay-3 {
  animation-delay: 0.3s;
}

.fade-delay-4 {
  animation-delay: 0.4s;
}

.fade-delay-5 {
  animation-delay: 0.5s;
}

/* Prevenir parpadeo asegurando que las animaciones mantengan su estado final */
.fade-in-element.visible {
  animation-fill-mode: both;
}

/* Animaciones específicas para tarjetas de propiedades */
.property-card.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}

.property-card.fade-in-element.visible {
  animation: fadeInUpScale 0.6s ease forwards;
  animation-fill-mode: both;
}

/* Asegurar que las property cards sin animación sean visibles */
.property-card:not(.fade-in-element) {
  opacity: 1;
  transform: none;
}

/* Animaciones para elementos del hero */
.hero-content .fade-in-element {
  transform: translateY(50px);
  z-index: 2;
}

.hero-content .fade-in-element.visible {
  animation: fadeInUp 1s ease forwards;
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}

/* Asegurar que el hero mantenga su gradient durante las animaciones */
.hero.fade-in-element {
  opacity: 1 !important;
  background: linear-gradient(to right, rgba(34, 34, 34, 0.85) 0%, rgba(34, 34, 34, 0.65) 40%, rgba(34, 34, 34, 0.15) 80%, transparent 100%) !important;
}

.hero.fade-in-element.visible {
  opacity: 1 !important;
  background: linear-gradient(to right, rgba(34, 34, 34, 0.85) 0%, rgba(34, 34, 34, 0.65) 40%, rgba(34, 34, 34, 0.15) 80%, transparent 100%) !important;
}

/*-----------------------------------*\
  #CUSTOM SCROLLBAR
\*-----------------------------------*/

/* Scrollbar para navegadores WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--orange-soda);
  border-radius: 50px;
  border: none;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--yellow-green);
}

/* Scrollbar para Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--orange-soda) transparent;
}

/* Asegurar que el body tenga scrollbar personalizada */
body {
  scrollbar-width: thin;
  scrollbar-color: var(--orange-soda) transparent;
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: var(--orange-soda);
  border-radius: 50px;
  border: none;
}

body::-webkit-scrollbar-thumb:hover {
  background: var(--yellow-green);
}

/* Category badges for INFONAVIT articles */
.category-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-infonavit {
  background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
  color: #2E7D32;
}

.category-fovissste {
  background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
  color: #1565C0;
}

.category-subsidios {
  background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
  color: #E65100;
}

.category-creditos {
  background: linear-gradient(135deg, #F3E5F5, #E1BEE7);
  color: #7B1FA2;
}

.category-tramites {
  background: linear-gradient(135deg, #FCE4EC, #F8BBD9);
  color: #C2185B;
}

.category-general {
  background: linear-gradient(135deg, #F5F5F5, #E0E0E0);
  color: #424242;
}

/* Service grid layout - blog style */
.service-grid-blog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card-blog {
  box-shadow: var(--shadow-2);
  background-color: var(--bg-elements);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-blog:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px hsla(0, 0%, 0%, 0.15);
}

.service-card-blog .card-banner {
  overflow: hidden;
  aspect-ratio: 2 / 1.2;
  background: var(--orange-soda);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.service-icon-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  backdrop-filter: none;
  transition: none;
}

.service-card-blog:hover .service-icon-banner {
  transform: none;
}

.service-icon-banner ion-icon {
  font-size: 60px;
  color: var(--cultured-1);
}

.service-card-blog .blog-content {
  padding: 30px;
}

.service-card-blog .blog-title {
  font-size: 1.2rem;
  font-weight: var(--fw-600);
  margin-bottom: 15px;
  line-height: 1.3;
}

.service-card-blog .blog-title a {
  color: var(--prussian-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-card-blog .blog-title a:hover {
  color: var(--orange-soda);
}

.service-card-blog .card-text {
  color: var(--cadet);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.service-card-blog .blog-content-bottom {
  padding-top: 20px;
  border-top: 1px solid hsla(0, 0%, 0%, 0.1);
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-card-blog .read-more-btn {
  color: var(--orange-soda);
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-card-blog .read-more-btn:hover {
  color: var(--prussian-blue);
}

.service-card-blog .blog-content-bottom ion-icon {
  color: var(--orange-soda);
  font-size: 16px;
  transition: transform 0.3s ease;
}

.service-card-blog:hover .blog-content-bottom ion-icon {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .service-grid-blog {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .service-card-blog .blog-content {
    padding: 25px;
  }

  .service-icon-banner {
    width: 85px;
    height: 85px;
  }

  .service-icon-banner ion-icon {
    font-size: 50px;
  }
}

@media (max-width: 480px) {
  .service-grid-blog {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card-blog .blog-content {
    padding: 20px;
  }

  .service-icon-banner {
    width: 75px;
    height: 75px;
  }

  .service-icon-banner ion-icon {
    font-size: 40px;
  }
}

/*-----------------------------------*\
  #RESPONSIVE MEJORAS - BOTONES FLOTANTES Y HEADER
\*-----------------------------------*/

/* Mejoras responsive para botones flotantes */
@media (max-width: 768px) {
  .floating-buttons {
    position: fixed;
    bottom: 75px;
    right: 15px;
    z-index: 1002;
    flex-direction: column;
    gap: 12px;
  }
  
  .floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  }
  
  .whatsapp-btn {
    background-size: 26px 26px;
  }
  
  .chat-btn i {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .floating-buttons {
    bottom: 70px;
    right: 12px;
    gap: 10px;
  }
  
  .floating-btn {
    width: 48px;
    height: 48px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  }
  
  .whatsapp-btn {
    background-size: 24px 24px;
  }
  
  .chat-btn i {
    font-size: 20px;
  }
}

/* Mejoras para el header en móvil */
@media (max-width: 768px) {
  .header-top {
    padding-block: 8px;
  }
  
  .header-top .container {
    flex-direction: column;
    gap: 8px;
  }
  
  .header-top-list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .header-top-link {
    font-size: 11px;
  }
  
  .header-top-link ion-icon {
    font-size: 14px;
  }
  
  .header-top-social-list {
    gap: 12px;
    justify-content: center;
  }
  
  .header-top-social-link {
    font-size: 18px;
    padding: 5px;
  }
  
  .header-bottom {
    padding-block: 10px;
  }
  
  .header-bottom .container {
    padding-inline: 15px;
  }
  
  .header-bottom .logo {
    flex-shrink: 0;
  }
  
  .header-bottom .logo img {
    width: 110px;
    height: auto;
    max-height: 45px;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .header-top {
    padding-block: 6px;
  }
  
  .header-top-list {
    display: none;
  }
  
  .header-top-social-list {
    gap: 15px;
  }
  
  .header-top-social-link {
    font-size: 20px;
    padding: 6px;
  }
  
  .header-bottom .logo img {
    width: 95px;
    max-height: 40px;
  }
  
  .header-bottom-actions {
    padding-block: 10px 6px;
  }
  
  .header-bottom-actions-btn {
    padding: 5px 8px;
  }
  
  .header-bottom-actions-btn ion-icon {
    font-size: 20px;
  }
  
  .header-bottom-actions-btn span {
    font-size: 10px;
  }
}

/* Mejoras para el footer en móvil */
@media (max-width: 768px) {
  .footer-top {
    padding-block: 50px 30px;
  }
  
  .footer-brand {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .footer-brand .section-text {
    max-width: 300px;
    margin: 0 auto 20px;
  }
  
  .contact-list {
    justify-content: center;
  }
  
  .social-list {
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
  }
  
  .social-link {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
  
  .footer-link-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .footer-list-title {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .footer-link {
    font-size: 13px;
    padding-block: 6px;
  }
}

@media (max-width: 480px) {
  .footer-top {
    padding-block: 40px 25px;
  }
  
  .footer-link-box {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  .footer-list {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .footer-list:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .social-list {
    gap: 12px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .footer-bottom {
    padding-block: 15px;
  }
  
  .copyright {
    font-size: 12px;
  }
}

/* Asegurar que los botones flotantes no se superpongan con el menú inferior */
@media (max-width: 992px) {
  .floating-buttons {
    bottom: 80px;
  }
  
  .chatbot-container {
    bottom: 140px;
  }
  
  .chatbot-container.active {
    bottom: 140px;
  }
}

/*-----------------------------------*\
  #ADMIN DASHBOARD RESPONSIVE
\*-----------------------------------*/

@media (max-width: 992px) {
  .admin-body {
    flex-direction: column;
  }
  
  .admin-sidebar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: auto;
    z-index: 1000;
    padding: 10px 0;
  }
  
  .sidebar-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 20px;
    gap: 15px;
  }
  
  .admin-avatar {
    width: 50px;
    height: 50px;
    margin: 0;
  }
  
  .admin-info {
    text-align: left;
  }
  
  .admin-name {
    font-size: 1rem;
  }
  
  .admin-role {
    font-size: 0.75rem;
  }
  
  .admin-nav {
    padding: 0;
    display: none;
  }
  
  .admin-sidebar.nav-open .admin-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--orange-soda);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }
  
  .nav-item {
    padding: 12px 20px;
  }
  
  .admin-main {
    margin-top: 80px;
    width: 100%;
  }
  
  .admin-header {
    padding: 15px 20px;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .admin-title {
    font-size: 1.3rem;
  }
  
  .admin-content {
    padding: 15px;
  }
  
  .summary-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .summary-card {
    padding: 15px;
    flex-direction: column;
    text-align: center;
  }
  
  .card-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .office-summary-grid {
    grid-template-columns: 1fr;
  }
  
  .table-container {
    padding: 0 10px 10px;
  }
  
  .admin-table {
    min-width: 600px;
  }
}

@media (max-width: 600px) {
  .admin-main {
    margin-top: 70px;
  }
  
  .admin-header {
    padding: 10px 15px;
  }
  
  .admin-title {
    font-size: 1.1rem;
  }
  
  .header-right {
    gap: 10px;
  }
  
  .current-date {
    font-size: 0.85rem;
  }
  
  .admin-content {
    padding: 10px;
  }
  
  .summary-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .summary-card {
    padding: 12px;
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
  }
  
  .card-icon span {
    font-size: 1.5rem;
  }
  
  .card-title {
    font-size: 0.85rem;
  }
  
  .card-value {
    font-size: 1.4rem;
  }
  
  .admin-section .section-header {
    padding: 15px;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  
  .admin-section .section-title {
    font-size: 1.1rem;
  }
  
  .btn-add {
    width: 100%;
    justify-content: center;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 10px 8px;
    font-size: 0.8rem;
  }
  
  .actions {
    flex-direction: column;
    gap: 5px;
  }
  
  .btn-action {
    width: 30px;
    height: 30px;
  }
}