:root {
  --premium-black: #0b0b0f;
  --premium-graphite: #1b1d22;
  --premium-gold: #d9b772;
  --premium-white: #f8f9fb;
  --premium-muted: #adb3c2;
}

html {
  font-size: 15px;
  position: relative;
  min-height: 100%;
}

body.premium-body {
  background: radial-gradient(circle at 10% 0%, #1a1d25 0%, var(--premium-black) 45%, #08090d 100%);
  color: var(--premium-white);
  margin: 0;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main-container {
  width: 100%;
  flex: 1 0 auto;
  padding-top: 1rem;
  padding-bottom: 2.25rem;
}

.premium-navbar {
  background-color: rgba(9, 10, 14, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(217, 183, 114, 0.25);
}

.premium-brand {
  color: var(--premium-gold);
  font-weight: 700;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
  filter: saturate(1.06) contrast(1.03);
}

.brand-text {
  max-width: none;
  font-size: 0.9rem;
  letter-spacing: 0.15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar-toggler {
  border: 1px solid rgba(217, 183, 114, 0.45);
  padding: 0.35rem 0.5rem;
}

.custom-toggler-icon {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(217,183,114,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.3' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.premium-brand:hover .brand-logo {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 0 0 2px rgba(217, 183, 114, 0.3), 0 8px 22px rgba(0, 0, 0, 0.4);
  filter: saturate(1.12) contrast(1.05);
}

.premium-link {
  color: var(--premium-white);
}

.premium-link:hover,
.premium-link:focus {
  color: var(--premium-gold);
}

.premium-btn-whatsapp {
  background-color: var(--premium-gold);
  color: #131313;
  border: 1px solid var(--premium-gold);
  font-weight: 600;
  min-height: 42px;
}

.premium-btn-whatsapp:hover {
  background-color: #e3c684;
  border-color: #e3c684;
}

.premium-btn-outline {
  border: 1px solid rgba(217, 183, 114, 0.7);
  color: var(--premium-gold);
  min-height: 42px;
}

.premium-btn-outline:hover {
  background: rgba(217, 183, 114, 0.15);
  color: #f6d798;
}

.btn-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.btn-icon-sm {
  width: 17px;
  height: 17px;
  margin-right: 0.3rem;
}

.language-select,
.premium-input {
  background-color: #12141a;
  color: var(--premium-white);
  border: 1px solid #3a3d45;
}

.language-select:focus,
.premium-input:focus {
  border-color: var(--premium-gold);
  box-shadow: 0 0 0 0.2rem rgba(217, 183, 114, 0.2);
}

.hero-section,
.premium-card,
.premium-cta,
.trust-card {
  background: linear-gradient(160deg, rgba(28, 31, 39, 0.88), rgba(13, 14, 19, 0.92));
  border: 1px solid rgba(217, 183, 114, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.premium-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.premium-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 183, 114, 0.5);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.38);
}

.icon-shell {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--premium-gold);
  border: 1px solid rgba(217, 183, 114, 0.35);
  background-color: rgba(255, 255, 255, 0.03);
}

.service-letter {
  font-weight: 700;
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--premium-gold);
  box-shadow: 0 0 0 4px rgba(217, 183, 114, 0.15);
}

.gallery-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(217, 183, 114, 0.2);
  width: 100%;
}

.premium-badge {
  background-color: rgba(217, 183, 114, 0.2);
  color: #f4d695;
  border: 1px solid rgba(217, 183, 114, 0.5);
}

.text-gold {
  color: var(--premium-gold);
}

.premium-link-text,
.footer-link {
  color: var(--premium-gold);
  text-decoration: none;
}

.premium-link-text:hover,
.footer-link:hover {
  color: #f6d798;
}

.navbar-actions {
  margin-left: auto;
}

.language-form {
  margin: 0;
}

.language-select {
  min-width: 78px;
  text-align: center;
}

.premium-footer {
  margin-top: auto !important;
  background: linear-gradient(180deg, rgba(8, 9, 13, 0.92), rgba(6, 7, 11, 0.98));
  border-top: 1px solid rgba(217, 183, 114, 0.3);
  box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.28);
  color: var(--premium-muted);
  position: static;
  z-index: auto;
}

.admin-sidebar {
  background: linear-gradient(160deg, rgba(15, 16, 22, 0.98), rgba(9, 10, 15, 0.98));
  border-right: 1px solid rgba(217, 183, 114, 0.18);
}

.admin-nav-link {
  color: #d8dde9;
  text-decoration: none;
  padding: 0.6rem 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.admin-nav-link:hover {
  border-color: rgba(217, 183, 114, 0.35);
  background-color: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.admin-nav-link.active {
  background-color: rgba(217, 183, 114, 0.16);
  border-color: rgba(217, 183, 114, 0.45);
  color: #f4d695;
}

.floating-wa {
  position: fixed;
  right: 14px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  text-decoration: none;
  z-index: 1040;
  color: #131313;
  background: var(--premium-gold);
  border: 1px solid #e7cb8f;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.wa-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.social-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.phone-dot {
  color: var(--premium-gold);
  font-size: 1rem;
  line-height: 1;
}

.inline-icon {
  width: 22px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--premium-gold);
}

.icon-text-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.page-shell {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

body.is-ready .page-shell {
  opacity: 1;
  transform: translateY(0);
}

body.is-leaving .page-shell {
  opacity: 0;
  transform: translateY(6px);
}

@media (max-width: 991.98px) {
  .premium-navbar .container {
    align-items: flex-start;
  }

  .premium-brand {
    max-width: calc(100vw - 86px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-text {
    display: inline-block;
    font-size: 0.78rem;
    max-width: calc(100vw - 150px);
  }

  #mainNavbar {
    margin-top: 0.6rem;
    background: rgba(10, 11, 16, 0.96);
    border: 1px solid rgba(217, 183, 114, 0.2);
    border-radius: 0.75rem;
    padding: 0.75rem;
  }

  .premium-link {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    font-size: 1rem;
  }

  .navbar-actions {
    width: 100%;
    margin-top: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .navbar-actions .btn,
  .navbar-actions .language-form {
    width: 100%;
  }

  .navbar-actions .language-form .language-select {
    width: 100%;
    min-width: 0;
  }

  .hero-section {
    padding: 1.25rem !important;
  }

  .premium-card {
    padding: 1rem !important;
  }

  .premium-cta {
    padding: 1.25rem !important;
  }

  .admin-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(217, 183, 114, 0.18);
  }

  .admin-sidebar .nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem !important;
  }

  .table-responsive {
    border-radius: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  html {
    font-size: 14px;
  }

  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .display-5,
  .display-6 {
    font-size: calc(1.2rem + 2vw);
  }

  .h3 {
    font-size: 1.25rem;
  }

  .premium-btn-whatsapp,
  .premium-btn-outline {
    width: 100%;
  }

  .hero-section .d-flex.gap-2 {
    flex-direction: column;
  }

  .d-flex.gap-3 {
    flex-wrap: wrap;
    gap: 0.75rem !important;
  }

  .navbar-toggler {
    border-color: rgba(217, 183, 114, 0.45);
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(217, 183, 114, 0.2);
  }
}