:root {
  --brand-blue: #2f5da8;
  --brand-red: #e53935;
  --brand-purple: #3e2f8f;
  --brand-light: #f4f7ff;
  --ink: #1c2540;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: #f9fbff;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 3px solid var(--brand-red);
}

.contact-topbar {
  background: linear-gradient(90deg, #2f5da8 0%, #2b579c 55%, #234883 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.contact-topbar a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.contact-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
}

.contact-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.contact-topbar a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
}

.brand img {
  height: 62px;
  width: auto;
}

.menu-toggle {
  display: none;
  border: none;
  background: var(--brand-blue);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

.main-nav {
  display: flex;
  gap: 0.8rem;
}

.main-nav a,
.admin-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
}

.main-nav a.active,
.main-nav a:hover,
.admin-nav a.active,
.admin-nav a:hover {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-purple));
  color: var(--white);
}

.hero-slider {
  position: relative;
  height: clamp(360px, 55vw, 520px);
  overflow: hidden;
}

.hero-slides {
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.9s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  color: #ffffff;
}

.hero-slide h1 {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-slide .lead {
  color: #f0f5ff;
  max-width: 62ch;
}

.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 3;
}

.hero-control.prev {
  left: 16px;
}

.hero-control.next {
  right: 16px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 3;
}

.hero-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-dots .dot.active {
  background: #ffffff;
}

.eyebrow {
  color: var(--brand-red);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1.15;
  margin: 0.5rem 0;
  color: var(--brand-blue);
}

.lead {
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand-red), #ff5d4f);
  color: var(--white);
}

.btn-outline {
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  background: transparent;
}

.hero-card,
.panel {
  background: var(--white);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 8px 22px rgba(48, 70, 130, 0.12);
}

.hero-card h3 {
  color: var(--brand-purple);
  margin-top: 0;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.6rem;
}

.section {
  padding: 3rem 0;
}

/* ── Resumen empresa ─────────────────────────────────── */
.company-summary {
  position: relative;
  background: linear-gradient(135deg, #08112a 0%, #0e1e47 50%, #1a2f6a 100%);
  color: #ffffff;
  overflow: hidden;
  padding: 4rem 0;
}

.summary-bg-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(47, 93, 168, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(62, 47, 143, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.summary-bg-deco::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(126, 168, 239, 0.08);
  box-shadow: 0 0 0 60px rgba(126, 168, 239, 0.04), 0 0 0 120px rgba(126, 168, 239, 0.025);
}

.summary-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(229, 57, 53, 0.18);
  border: 1px solid rgba(229, 57, 53, 0.4);
  color: #ff8a88;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.summary-badge svg {
  width: 14px;
  height: 14px;
  color: #e53935;
  flex-shrink: 0;
}

.summary-text h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: #ffffff;
  line-height: 1.2;
  font-weight: 700;
}

.summary-text p {
  color: #a8c0e8;
  line-height: 1.8;
  margin: 0 0 0.9rem;
  font-size: 0.97rem;
}

.summary-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.btn-outline-light {
  display: inline-block;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
}

.summary-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pillar-item {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid rgba(229, 57, 53, 0.7);
  border-radius: 14px;
  padding: 1.4rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  backdrop-filter: blur(8px);
  transition: transform 0.2s, border-top-color 0.2s, background 0.2s;
}

.pillar-item:hover {
  transform: translateY(-3px);
  border-top-color: #e53935;
  background: rgba(255, 255, 255, 0.09);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 10px;
  background: rgba(126, 168, 239, 0.12);
  border: 1px solid rgba(126, 168, 239, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 0.6rem;
  color: #7ea8ef;
}

.pillar-icon svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  display: block;
  flex-shrink: 0;
}

.pillar-num {
  font-size: 1.85rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #7ea8ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pillar-label {
  font-size: 0.8rem;
  color: #a8bedd;
  line-height: 1.4;
  margin-top: 0.15rem;
}

@media (max-width: 900px) {
  .summary-inner {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .summary-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .summary-pillars {
    grid-template-columns: 1fr 1fr;
  }

  .company-summary {
    padding: 3rem 0;
  }
}

.why-us {
  padding-top: 2.3rem;
  padding-bottom: 2.2rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.why-card {
  background: linear-gradient(155deg, #ffffff, #f3f7ff);
  border: 1px solid #dbe5ff;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 7px 18px rgba(45, 71, 133, 0.1);
}

.why-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--brand-blue);
}

.why-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.55rem;
  box-shadow: 0 8px 16px rgba(47, 93, 168, 0.25);
}

.why-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.brands-carousel {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #dce5fd;
  background: linear-gradient(90deg, #edf3ff, #f6f9ff);
  padding: 0.8rem 0;
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: max-content;
  animation: brandScroll 30s linear infinite;
}

.brand-item {
  width: 180px;
  min-width: 180px;
  height: 86px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #dbe3fb;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(27, 43, 79, 0.08);
}

.brand-item img {
  max-width: 90%;
  max-height: 70%;
}

@keyframes brandScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.tint {
  background: linear-gradient(180deg, #fff, #f2f4ff);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-head h2 {
  margin: 0;
  color: var(--brand-blue);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(27, 43, 79, 0.12);
  display: flex;
  flex-direction: column;
}

.card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 20% 20%, #ffffff 0%, #eef3ff 100%);
  border-bottom: 1px solid #dde5fb;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.6rem;
}

.card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.card-body h3 {
  margin-top: 0;
  margin-bottom: 0.2rem;
}

.card-body p {
  margin: 0;
}

.btn-link {
  font-weight: 700;
  color: var(--brand-purple);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.product-actions {
  margin-top: auto;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
}

/* WhatsApp multi-asesor picker */
.wa-picker {
  position: relative;
  display: inline-block;
}

.wa-picker-menu {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid #d8e8d8;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(10, 30, 70, 0.15);
  min-width: 150px;
  z-index: 20;
  overflow: hidden;
}

.wa-picker.is-open .wa-picker-menu {
  display: block;
}

.wa-picker-menu a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  color: #1a2a4a;
  text-decoration: none;
  border-bottom: 1px solid #f0f4f0;
  white-space: nowrap;
  transition: background 0.15s;
}

.wa-picker-menu a:last-child {
  border-bottom: none;
}

.wa-picker-menu a:hover {
  background: #f0faf3;
  color: #128c47;
}

.link-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
}

.link-modal.is-open {
  display: block;
}

.link-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 19, 44, 0.55);
}

.link-modal-dialog {
  position: relative;
  width: min(920px, 92%);
  margin: 4vh auto;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(5, 12, 30, 0.35);
}

.link-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: var(--brand-blue, #2f5da8);
  color: #fff;
  gap: 0.75rem;
}

.link-modal-title {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.link-modal-close {
  flex-shrink: 0;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}

.link-modal-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.link-modal-frame-wrap {
  width: 100%;
  height: min(68vh, 620px);
  background: #f5f8ff;
}

.link-modal-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.link-modal-actions {
  padding: 0.75rem 0.9rem;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #e8ecf8;
}

.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
}

.products-grid .card {
  border: 1px solid #e5ecff;
  box-shadow: 0 4px 14px rgba(27, 43, 79, 0.1);
}

.products-grid .card-media {
  aspect-ratio: 16 / 10;
}

.products-grid .card img {
  padding: 0.45rem;
}

.products-grid .card-body {
  padding: 0.75rem;
  gap: 0.55rem;
}

.products-grid .card-body h3 {
  font-size: 1rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.products-grid .card-body > p:last-of-type {
  font-size: 0.92rem;
  color: #3d4f79;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.products-grid .product-actions {
  gap: 0.45rem;
}

.products-grid .btn {
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
}

.products-grid .btn-link {
  font-size: 0.88rem;
  align-self: center;
}

@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .products-grid .card {
    display: grid;
    grid-template-columns: 170px 1fr;
    min-height: 150px;
  }

  .products-grid .card-media {
    aspect-ratio: auto;
    height: 100%;
    border-bottom: none;
    border-right: 1px solid #dde5fb;
  }

  .products-grid .card img {
    padding: 0.35rem;
  }

  .products-grid .card-body {
    padding: 0.65rem 0.75rem;
    gap: 0.45rem;
  }

  .products-grid .card-body h3 {
    -webkit-line-clamp: 1;
    min-height: auto;
  }

  .products-grid .card-body > p:last-of-type {
    -webkit-line-clamp: 2;
    min-height: auto;
  }

  .products-grid .product-actions {
    align-items: center;
  }
}

.page-banner {
  background: linear-gradient(100deg, var(--brand-blue), var(--brand-purple));
  color: var(--white);
  padding: 2.4rem 0;
}

.page-banner h1 {
  margin: 0 0 0.4rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.strengths-section {
  padding-top: 0.7rem;
}

.strengths-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.strength-card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  color: var(--brand-blue);
}

.strength-card p {
  margin: 0;
}

.advisor-cta-section {
  padding-top: 0.2rem;
}

.advisor-cta {
  background: linear-gradient(120deg, #eff4ff, #f8fbff);
  border: 1px solid #dbe5ff;
}

.advisor-cta h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--brand-blue);
}

.advisor-cta p {
  margin: 0;
}

.advisor-cta-actions {
  margin-top: 1rem;
}

.news-list {
  display: grid;
  gap: 1rem;
}

.news-item {
  background: var(--white);
  border-left: 5px solid var(--brand-red);
  padding: 1rem;
  border-radius: 10px;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c7d1ec;
  border-radius: 10px;
  padding: 0.7rem;
  font-size: 1rem;
}

select {
  width: 100%;
  border: 1px solid #c7d1ec;
  border-radius: 10px;
  padding: 0.7rem;
  font-size: 1rem;
  background: #ffffff;
}

.products-filter {
  max-width: 360px;
  margin: 0 0 1rem;
}

.product-category {
  margin: 0;
  font-size: 0.85rem;
  color: var(--brand-purple);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.products-pagination-wrap {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.products-pagination-summary {
  margin: 0;
  color: #3e4d78;
  font-size: 0.92rem;
}

.products-pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 36px;
  padding: 0 0.7rem;
  border-radius: 10px;
  border: 1px solid #d9e4ff;
  text-decoration: none;
  font-weight: 700;
  color: var(--brand-blue);
  background: #ffffff;
}

.page-link:hover {
  border-color: #b8ccff;
  background: #f3f7ff;
}

.page-link.active {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-purple));
}

.map-wrap iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: 12px;
}

.alert {
  border-radius: 10px;
  padding: 0.8rem;
  margin: 0;
}

.alert.success {
  background: #d4f8df;
  color: #1a6530;
}

.alert.error {
  background: #ffe0de;
  color: #9c261f;
}

.main-footer {
  color: var(--white);
  background: linear-gradient(120deg, #233b76, #2f5da8);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
}

.main-footer a {
  color: #ffd9d7;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.8rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #25d366;
  color: var(--white);
  padding: 0.85rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  z-index: 30;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.whatsapp-float-picker {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
}

/* El botón dentro del picker no debe ser fixed, solo el contenedor */
.whatsapp-float-picker .whatsapp-float {
  position: static;
  display: block;
}

.whatsapp-float-picker .wa-picker-menu {
  left: auto;
  right: 0;
  bottom: calc(100% + 8px);
  min-width: 160px;
}

/* Admin */
.admin-body {
  background: #f4f7ff;
}

.admin-header {
  background: var(--white);
  border-bottom: 3px solid var(--brand-purple);
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.admin-top h1 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--brand-blue);
}

.admin-nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.admin-main {
  padding: 1.4rem 0 2.5rem;
}

.admin-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.08);
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #e8ecf8;
  padding: 0.8rem;
  text-align: left;
  vertical-align: top;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inline-check input {
  width: auto;
}

.slider-live-preview {
  border: 1px solid #dce5fd;
  border-radius: 12px;
  background: #f6f9ff;
  padding: 0.8rem;
}

.slider-preview-label {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.slider-preview-canvas {
  width: 100%;
  min-height: 220px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: 0 7px 18px rgba(27, 43, 79, 0.18);
}

.slider-preview-overlay {
  min-height: 220px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.45));
}

.slider-preview-eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(130deg, #dae5ff, #f6f8ff);
}

.login-card {
  width: min(420px, 92%);
  background: var(--white);
  padding: 1.4rem;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(18, 31, 70, 0.15);
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .hero-slider {
    height: 430px;
  }

  .hero-slide-content {
    padding-top: 2rem;
    justify-content: flex-start;
  }

  .hero-control {
    display: none;
  }
}

@media (max-width: 760px) {
  .contact-topbar-inner {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0.35rem 0;
  }

  .contact-topbar a {
    font-size: 0.82rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 4%;
    right: 4%;
    top: 76px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    padding: 0.5rem;
    flex-direction: column;
  }

  .menu-open .main-nav {
    display: flex;
  }

  .admin-table {
    display: block;
    overflow-x: auto;
  }
}
