/* ===========================
   NWSTUDIO EARTH-TONE THEME
   Bootstrap 5 Customization
   =========================== */

:root {
  /* Paleta Principal */
  --primary-wine: #A6374B;
  --primary-blue: #3B67BF;
  --primary-green-yellow: #BBD94E;
  --primary-orange: #F29D52;
  --primary-pink-light: #F2C6B6;
  --primary-brown: #A36D48;
  --primary-gray: #6F6468;
  --primary-gray-dark: #35393A;
  --primary-gray-very-dark: #27303A;
  --primary-blue-gray: #3E566D;

  /* Aliases para compatibilidad */
  --accent-primary: #A6374B;
  --accent-gold: #F29D52;
  --accent-red: #A6374B;
  --accent-green: #BBD94E;
  --bg-light: #FFFFFF;
  --bg-dark: #27303A;

  /* Tonos derivados */
  --text-primary: #27303A;
  --text-secondary: #6F6468;
  --border-light: #F2C6B6;
  --border-mid: #BBD94E;
  --bg-subtle: #FAFAFA;
}

/* ===== BODY & GENERAL ===== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-light);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--primary-wine);
  font-weight: 700;
}

h1 { font-size: 3rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.25rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }
h4 { font-size: 1.5rem; }

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-orange);
  text-decoration: underline;
}

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--primary-pink-light);
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-wine) !important;
}

.navbar-nav .nav-link {
  color: var(--primary-blue-gray) !important;
  font-weight: 500;
  margin: 0 0.75rem;
  position: relative;
  transition: color 0.3s ease;
}

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

/* Dropdown Menu Styles */
.dropdown-menu {
  border: 2px solid var(--primary-wine);
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  padding: 0.5rem 0;
}

.dropdown-menu .dropdown-item {
  color: var(--text-primary);
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: rgba(166, 55, 75, 0.08);
  color: var(--primary-wine);
  padding-left: 1.5rem;
}

.dropdown-menu .dropdown-item i {
  margin-right: 0.5rem;
  color: var(--primary-blue);
}

.dropdown-divider {
  margin: 0.25rem 0;
  border-color: var(--border-light);
}

/* Cart Counter */
#cart-count {
  animation: fadeIn 0.3s ease-out;
}

@keyframes bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -8px;
  left: 0;
  background: linear-gradient(90deg, var(--primary-wine), var(--primary-orange));
  transition: width 0.3s ease;
}

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

/* Arreglar el toggle del menú móvil */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: 2px solid var(--primary-orange);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23A6374B' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== BUTTONS ===== */
.btn-primary {
  background-color: var(--primary-wine);
  border-color: var(--primary-wine);
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #8B2D3A;
  border-color: #8B2D3A;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(166, 55, 75, 0.4);
}

.btn-secondary {
  background-color: var(--primary-green-yellow);
  border-color: var(--primary-green-yellow);
  color: var(--primary-gray-very-dark);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
}

.btn-secondary:hover {
  background-color: #A3C033;
  border-color: #A3C033;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(187, 217, 78, 0.4);
}

.btn-outline-primary {
  color: var(--primary-wine);
  border-color: var(--primary-wine);
}

.btn-outline-primary:hover {
  background-color: var(--primary-wine);
  border-color: var(--primary-wine);
  color: #FFFFFF;
}

.btn-success {
  background-color: var(--primary-green-yellow);
  border-color: var(--primary-green-yellow);
  color: var(--primary-gray-very-dark);
}

.btn-success:hover {
  background-color: #A3C033;
  border-color: #A3C033;
}

/* ===== CARDS ===== */
.card {
  border: 3px solid var(--primary-blue);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
  background-color: rgba(59, 103, 191, 0.05);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(59, 103, 191, 0.2);
  border-color: var(--primary-green-yellow);
}

.card:nth-child(2n) {
  border-color: var(--primary-wine);
  background-color: rgba(166, 55, 75, 0.05);
}

.card:nth-child(2n):hover {
  box-shadow: 0 8px 24px rgba(166, 55, 75, 0.2);
  border-color: var(--primary-blue);
}

.card:nth-child(3n) {
  border-color: var(--primary-orange);
  background-color: rgba(242, 157, 82, 0.05);
}

.card:nth-child(3n):hover {
  box-shadow: 0 8px 24px rgba(242, 157, 82, 0.2);
  border-color: var(--primary-green-yellow);
}

.card-header {
  background: linear-gradient(90deg, var(--primary-pink-light) 0%, rgba(242, 157, 82, 0.1) 100%);
  border-bottom: 2px solid var(--primary-green-yellow);
}

.card-body {
  padding: 2rem;
}

.card-title {
  color: var(--primary-wine);
  font-weight: 700;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(242, 198, 182, 0.15) 100%);
  padding: 2.5rem;
  border-radius: 12px;
  border-left: 6px solid var(--primary-green-yellow);
  border: 2px solid var(--primary-pink-light);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(166, 55, 75, 0.12);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--primary-green-yellow) 0%, transparent 70%);
  opacity: 0.1;
  border-radius: 50%;
}

.service-card:hover {
  border-left-color: var(--primary-wine);
  border-color: var(--primary-orange);
  transform: translateX(8px);
  box-shadow: 0 12px 30px rgba(166, 55, 75, 0.25);
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(242, 198, 182, 0.2) 50%, rgba(187, 217, 78, 0.05) 100%);
}

.service-card:nth-child(odd) {
  border-left-color: var(--primary-wine);
}

.service-card:nth-child(2n) {
  border-left-color: var(--primary-blue);
}

.service-card:nth-child(3n) {
  border-left-color: var(--primary-orange);
}

.service-card h3 {
  color: var(--primary-wine);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-price {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-wine));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 1.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(242, 198, 182, 0.3) 25%, rgba(187, 217, 78, 0.2) 50%, rgba(59, 103, 191, 0.1) 75%, rgba(242, 157, 82, 0.1) 100%);
  padding: 6rem 2rem;
  text-align: center;
  border-bottom: 5px solid var(--primary-green-yellow);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(166, 55, 75, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  color: var(--primary-wine);
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.hero .tagline {
  font-size: 1.5rem;
  background: linear-gradient(90deg, var(--primary-wine), var(--primary-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* ===== SECTIONS ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  padding-top: 2rem;
  border-bottom: 4px dashed var(--primary-green-yellow);
  background: linear-gradient(180deg, rgba(187, 217, 78, 0.05) 0%, rgba(242, 198, 182, 0.05) 100%);
  border-radius: 12px;
}

.section-header h2 {
  background: linear-gradient(90deg, var(--primary-wine), var(--primary-orange), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.75rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--primary-blue);
  font-weight: 500;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, var(--primary-gray-very-dark) 0%, var(--primary-blue-gray) 100%);
  color: var(--bg-light);
  padding: 4rem 0 2rem 0;
  margin-top: 1.6rem !important;
  margin-bottom: -1.6rem !important;
  border-top: 3px solid var(--primary-green-yellow);
}

footer h5 {
  color: var(--primary-green-yellow);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

footer p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

footer a {
  color: var(--primary-pink-light);
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-green-yellow);
  text-decoration: underline;
}

footer ul.list-unstyled li {
  margin-bottom: 0.75rem;
}

footer .social-links a {
  display: inline-block;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-wine), var(--primary-orange));
  border-radius: 50%;
  line-height: 45px;
  text-align: center;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  color: white;
  font-size: 1.1rem;
}

footer .social-links a:hover {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-green-yellow));
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* ===== FORMS ===== */
.form-control,
.form-select {
  border: 2px solid var(--primary-pink-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  background-color: #FFFFFF;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-wine);
  box-shadow: 0 0 0 0.2rem rgba(166, 55, 75, 0.15);
  color: var(--text-primary);
}

.form-control::placeholder,
.form-select::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.form-control:focus::placeholder {
  opacity: 0.5;
}

.form-label {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ===== BADGES & TAGS ===== */
.badge {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 6px;
  font-weight: 600;
}

.badge-primary {
  background-color: var(--primary-wine);
  color: white;
}

.badge-success {
  background-color: var(--primary-green-yellow);
  color: var(--primary-gray-very-dark);
}

.badge-danger {
  background-color: var(--primary-wine);
  color: white;
}

.badge-warning {
  background-color: var(--primary-orange);
  color: white;
}

.badge-info {
  background-color: var(--primary-blue);
  color: white;
}

/* ===== BLOCKQUOTE ===== */
blockquote {
  border-left: 5px solid var(--primary-green-yellow);
  padding: 1.5rem;
  background: linear-gradient(90deg, rgba(187, 217, 78, 0.05), rgba(187, 217, 78, 0.02));
  border-radius: 0 8px 8px 0;
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
  margin: 2rem 0;
  font-style: italic;
}

/* ===== CUSTOM CLASSES ===== */
.bg-light-earth {
  background-color: var(--bg-light) !important;
}

.bg-light-earth-subtle {
  background-color: rgba(242, 198, 182, 0.08) !important;
}

.bg-wine-light {
  background-color: rgba(166, 55, 75, 0.08) !important;
}

.bg-blue-light {
  background-color: rgba(59, 103, 191, 0.08) !important;
}

.bg-green-light {
  background-color: rgba(187, 217, 78, 0.1) !important;
}

.bg-orange-light {
  background-color: rgba(242, 157, 82, 0.08) !important;
}

.bg-gray-light {
  background-color: rgba(111, 100, 104, 0.08) !important;
}

.bg-gray-dark-light {
  background-color: rgba(53, 57, 58, 0.08) !important;
}

.bg-very-dark-light {
  background-color: rgba(39, 48, 58, 0.08) !important;
}

.bg-blue-gray-light {
  background-color: rgba(62, 86, 109, 0.08) !important;
}

.text-muted {
  color: var(--text-secondary) !important;
}

.text-primary {
  color: var(--primary-wine) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.text-wine {
  color: var(--primary-wine) !important;
}

.text-blue {
  color: var(--primary-blue) !important;
}

.text-orange {
  color: var(--primary-orange) !important;
}

.text-green {
  color: var(--primary-green-yellow) !important;
}

.text-gray {
  color: var(--primary-gray) !important;
}

.text-gray-dark {
  color: var(--primary-gray-dark) !important;
}

.text-very-dark {
  color: var(--primary-gray-very-dark) !important;
}

.text-blue-gray {
  color: var(--primary-blue-gray) !important;
}

/* ===== DECORATIVE ELEMENTS ===== */
.divider {
  height: 4px;
  background: linear-gradient(90deg, var(--primary-wine), var(--primary-orange), var(--primary-green-yellow), var(--primary-blue));
  border-radius: 2px;
  margin: 2rem 0;
}

.accent-box {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(166, 55, 75, 0.15) 0%, rgba(242, 157, 82, 0.15) 100%);
  border-left: 6px solid var(--primary-wine);
  border-radius: 12px;
  border-top: 3px solid var(--primary-orange);
}

.accent-box-blue {
  background: linear-gradient(135deg, rgba(59, 103, 191, 0.15) 0%, rgba(62, 86, 109, 0.15) 100%);
  border-left-color: var(--primary-blue);
  border-top-color: var(--primary-green-yellow);
}

.accent-box-green {
  background: linear-gradient(135deg, rgba(187, 217, 78, 0.2) 0%, rgba(163, 192, 51, 0.15) 100%);
  border-left-color: var(--primary-green-yellow);
  border-top-color: var(--primary-wine);
}

.accent-box-orange {
  background: linear-gradient(135deg, rgba(242, 157, 82, 0.15) 0%, rgba(242, 198, 182, 0.15) 100%);
  border-left-color: var(--primary-orange);
  border-top-color: var(--primary-blue);
}

/* ===== COLORED CONTAINERS ===== */
.container-wine {
  background: linear-gradient(135deg, rgba(166, 55, 75, 0.08) 0%, rgba(166, 55, 75, 0.02) 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid rgba(166, 55, 75, 0.2);
}

.container-blue {
  background: linear-gradient(135deg, rgba(59, 103, 191, 0.08) 0%, rgba(59, 103, 191, 0.02) 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid rgba(59, 103, 191, 0.2);
}

.container-green {
  background: linear-gradient(135deg, rgba(187, 217, 78, 0.12) 0%, rgba(187, 217, 78, 0.03) 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid rgba(187, 217, 78, 0.3);
}

.container-orange {
  background: linear-gradient(135deg, rgba(242, 157, 82, 0.1) 0%, rgba(242, 157, 82, 0.02) 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid rgba(242, 157, 82, 0.2);
}

.container-gray {
  background: linear-gradient(135deg, rgba(111, 100, 104, 0.08) 0%, rgba(111, 100, 104, 0.02) 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid rgba(111, 100, 104, 0.2);
}

.container-gray-dark {
  background: linear-gradient(135deg, rgba(53, 57, 58, 0.08) 0%, rgba(53, 57, 58, 0.02) 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid rgba(53, 57, 58, 0.2);
}

.container-very-dark {
  background: linear-gradient(135deg, rgba(39, 48, 58, 0.1) 0%, rgba(39, 48, 58, 0.02) 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid rgba(39, 48, 58, 0.2);
}

.container-blue-gray {
  background: linear-gradient(135deg, rgba(62, 86, 109, 0.08) 0%, rgba(62, 86, 109, 0.02) 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid rgba(62, 86, 109, 0.2);
}

/* ===== BUTTON VARIANTS ===== */
.btn-wine {
  background-color: var(--primary-wine);
  border: 2px solid var(--primary-wine);
  color: white;
  font-weight: 700;
}

.btn-wine:hover {
  background-color: rgba(166, 55, 75, 0.9);
  border-color: var(--primary-wine);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(166, 55, 75, 0.4);
  color: white;
}

.btn-blue {
  background-color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  color: white;
  font-weight: 700;
}

.btn-blue:hover {
  background-color: rgba(59, 103, 191, 0.9);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 103, 191, 0.4);
  color: white;
}

.btn-green {
  background-color: var(--primary-green-yellow);
  border: 2px solid var(--primary-green-yellow);
  color: var(--primary-gray-very-dark);
  font-weight: 700;
}

.btn-green:hover {
  background-color: rgba(187, 217, 78, 0.9);
  border-color: var(--primary-green-yellow);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(187, 217, 78, 0.4);
  color: var(--primary-gray-very-dark);
}

.btn-orange {
  background-color: var(--primary-orange);
  border: 2px solid var(--primary-orange);
  color: white;
  font-weight: 700;
}

.btn-orange:hover {
  background-color: rgba(242, 157, 82, 0.9);
  border-color: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(242, 157, 82, 0.4);
  color: white;
}

.btn-gray {
  background-color: var(--primary-gray);
  border: 2px solid var(--primary-gray);
  color: white;
  font-weight: 700;
}

/* Nuevo azul para Login/Registro */
.btn-blue-login,
.btn-blue-register {
  background-color: #2563EB;
  border: 2px solid #2563EB;
  color: white;
  font-weight: 700;
}

.btn-blue-login:hover,
.btn-blue-register:hover {
  background-color: #1d4ed8;
  border-color: #2563EB;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
  color: white;
}

.btn-gray:hover {
  background-color: rgba(111, 100, 104, 0.85);
  border-color: var(--primary-gray);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(111, 100, 104, 0.4);
  color: white;
}

.btn-gray-dark {
  background-color: var(--primary-gray-dark);
  border: 2px solid var(--primary-gray-dark);
  color: white;
  font-weight: 700;
}

.btn-gray-dark:hover {
  background-color: rgba(53, 57, 58, 0.85);
  border-color: var(--primary-gray-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(53, 57, 58, 0.4);
  color: white;
}

.btn-very-dark {
  background-color: var(--primary-gray-very-dark);
  border: 2px solid var(--primary-gray-very-dark);
  color: white;
  font-weight: 700;
}

.btn-very-dark:hover {
  background-color: rgba(39, 48, 58, 0.85);
  border-color: var(--primary-gray-very-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(39, 48, 58, 0.4);
  color: white;
}

.btn-blue-gray {
  background-color: var(--primary-blue-gray);
  border: 2px solid var(--primary-blue-gray);
  color: white;
  font-weight: 700;
}

.btn-blue-gray:hover {
  background-color: rgba(62, 86, 109, 0.85);
  border-color: var(--primary-blue-gray);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(62, 86, 109, 0.4);
  color: white;
}

/* ===== LOGIN MODAL ===== */
.modal-content {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-wine) 100%);
  border: 3px solid var(--primary-green-yellow);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
  border-bottom: 3px solid var(--primary-green-yellow);
  background: linear-gradient(90deg, var(--primary-wine), var(--primary-orange));
}

.modal-title {
  color: var(--primary-green-yellow);
  font-weight: 700;
  font-size: 1.5rem;
}

.modal-body {
  background: white;
  color: var(--text-primary);
}

.form-label {
  color: var(--primary-wine) !important;
  font-weight: 700;
}

.login-input-modal,
.form-control-modal {
  border: 2px solid var(--primary-wine);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 1);
  color: var(--text-primary);
}

.login-input-modal:focus,
.form-control-modal:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 0.2rem rgba(242, 157, 82, 0.25);
}

.login-input-modal::placeholder,
.form-control-modal::placeholder {
  color: var(--text-secondary);
}

.btn-login-modal,
.btn-primary {
  background: linear-gradient(90deg, var(--primary-wine), var(--primary-orange));
  border: none;
  color: white;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
}

.btn-primary:hover {
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-green-yellow));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(166, 55, 75, 0.4);
}

.divider-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-green-yellow), transparent);
}

.divider-text {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
}

.btn-oauth-modal {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-oauth-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== ALERT ===== */
.alert {
  border: none;
  border-radius: 8px;
  border-left: 4px solid;
}

.alert-success {
  background-color: rgba(187, 217, 78, 0.1);
  border-left-color: var(--primary-green-yellow);
  color: var(--primary-gray-very-dark);
}

.alert-danger {
  background-color: rgba(166, 55, 75, 0.1);
  border-left-color: var(--primary-wine);
  color: var(--primary-wine);
}

.alert-warning {
  background-color: rgba(242, 157, 82, 0.1);
  border-left-color: var(--primary-orange);
  color: var(--primary-brown);
}

.alert-info {
  background-color: rgba(59, 103, 191, 0.1);
  border-left-color: var(--primary-blue);
  color: var(--primary-blue-gray);
}

/* ===== SECTION BACKGROUNDS ===== */
section {
  padding: 4rem 0;
}

section:nth-child(odd) {
  background: linear-gradient(180deg, rgba(187, 217, 78, 0.08) 0%, rgba(242, 198, 182, 0.08) 100%);
}

section:nth-child(3n) {
  background: linear-gradient(180deg, rgba(59, 103, 191, 0.08) 0%, rgba(62, 86, 109, 0.08) 100%);
}

.row {
  margin-bottom: 2rem;
}

.row:nth-child(2n) .card {
  border-top: 4px solid var(--primary-green-yellow);
}

.row:nth-child(3n) .card {
  border-top: 4px solid var(--primary-blue);
}

.row:nth-child(4n) .card {
  border-top: 4px solid var(--primary-orange);
}

/* ===== SERVICE GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ===== GLASS MORPHISM FALLBACK ===== */
@media (prefers-reduced-transparency: reduce) {
  .service-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .navbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ===== TABLET MEDIO (768-1024) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 4rem 1.5rem;
  }

  h1 {
    font-size: 2.5rem;
  }
}

/* ===== RESPONSIVE (Mobile) ===== */
@media (max-width: 768px) {
  html, body {
    font-size: 16px;
  }

  h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero .tagline {
    font-size: 1.1rem;
  }

  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .services-grid,
  .product-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .row.g-4 {
    gap: 1rem !important;
  }

  .container-lg,
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-lg {
    padding: 0.625rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.5rem;
  }

  .btn-group,
  .d-flex.gap-3 {
    flex-direction: column;
  }

  .navbar-nav {
    padding-top: 1rem;
  }

  .navbar-nav .nav-link {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background-color: rgba(166, 55, 75, 0.05);
    padding-left: 1rem;
  }

  .section-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .card-body {
    padding: 1.25rem;
  }

  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  footer {
    padding: 2rem 1rem 1rem;
  }

  footer .social-links {
    text-align: center;
    margin-top: 1.5rem;
  }

  footer .social-links a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1rem;
    margin-right: 0.5rem;
  }
}
