:root {
  --color-primary: #035378;
  --color-secondary: #6156b3;
  --color-text: #000000;
  --color-accent: #6156b3;
  --color-cyan: #29bef8;
  --color-sky: #35a8ec;
  --color-white: #c5d0fc5d;
  --color-navy: #00288f;
  --color-border-card: rgba(1, 39, 140, 0.31);
  --container-max: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  text-transform: capitalize;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-transform: capitalize;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.5;
  text-transform: capitalize;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li,
td,
th,
label,
strong,
em,
small,
button,
input,
select,
textarea,
::placeholder {
  text-transform: capitalize;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==================== HEADER ==================== */
.header-banner {
  background-image: url("../img/cabecera_telavip_com_co-1.png");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% 118px;
  padding-top: 10px;
  padding-bottom: 12px;
}

.header-banner-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.header-logo {
  flex: 0 0 auto;
  max-width: 300px;
  margin-top: -8px;
  padding-left: 10px;
}

.header-logo img {
  width: 100%;
  height: auto;
}

.header-right {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header-top-info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 48px;
  margin-bottom: 24px;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.social-circle:hover {
  transform: scale(1.06);
  opacity: 0.92;
}

.social-circle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-facebook {
  background-color: #3b5998;
}
.social-youtube {
  background-color: #cd201f;
}
.social-instagram {
  background-color: #262626;
}
.social-whatsapp {
  background-color: #25d366;
}
.social-telegram {
  background-color: #2ca5e0;
}

.header-phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
}

.header-phone {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.2px;
}

.header-brand-sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(122, 122, 122, 0.55);
  letter-spacing: 0.5px;
}

.header-tagline {
  margin: 0;
  margin-left: auto;
  max-width: 85%;
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 600;
  color: #111111;
  text-align: left;
  letter-spacing: 0.2px;
  line-height: 1.35;
}

/* ==================== NAVIGATION ==================== */
.nav-wrapper {
  padding-top: 42px;
  padding-bottom: 34px;
  position: relative;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: var(--color-primary);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-left: auto;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}

.nav-item > a .caret {
  font-size: 0.65rem;
}

.nav-item.active > a {
  background-color: var(--color-secondary);
  color: var(--color-text);
}

.nav-item:not(.active) > a:hover,
.nav-item:not(.active) > a:focus-visible {
  background-color: var(--color-primary);
  color: #f8f9fa;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background-color: #0581c3d8;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 100;
  border-top: 2px solid var(--color-primary);
}

.nav-item.has-dropdown:hover > .dropdown-menu,
.nav-item.has-dropdown:focus-within > .dropdown-menu,
.nav-item.has-dropdown.open > .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 9px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.dropdown-menu li a:hover,
.dropdown-menu li a:focus-visible {
  background-color: var(--color-primary);
  color: #f8f9fa;
}

/* ==================== PRODUCT GRID ==================== */
.catalog-section {
  padding-top: 6px;
  padding-bottom: 40px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
}

.card-image-box {
  border: 1px solid var(--color-border-card);
  border-radius: 10px;
  padding: 5px;
  background-color: var(--color-white);
  overflow: hidden;
  aspect-ratio: 286 / 233;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image-box a {
  display: block;
  width: 100%;
  height: 100%;
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-title {
  margin: 6px 0 0;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary);
  text-transform: capitalize;
}

/* ==================== HOTEL HERO SECTION ==================== */
.hotel-hero-section {
  padding-top: 10px;
  padding-bottom: 24px;
}

.hotel-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: flex-start;
}

.hotel-hero-media {
  display: flex;
  flex-direction: column;
}

.hotel-hero-img-wrap {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}

.hotel-hero-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hotel-hero-caption {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: capitalize;
  color: #111111;
  margin: 0 0 28px;
  letter-spacing: 0.3px;
}

.hotel-catalogue-heading {
  font-family: "Roboto", sans-serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: #111111;
  text-align: center;
  margin: 0;
}

.hotel-catalogue-highlight {
  position: relative;
  display: inline-block;
  color: #111111;
}

.hotel-catalogue-highlight::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -4px;
  height: 6px;
  background: #6156b3;
  border-radius: 4px;
  opacity: 0.75;
}

.hotel-hero-content {
  display: flex;
  flex-direction: column;
}

.hotel-hero-title {
  font-family: "Roboto", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  text-transform: capitalize;
  color: #e20606;
  margin: 0 0 14px;
  line-height: 1.2;
}

.hotel-hero-text {
  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-primary);
  margin: 0;
}

.distributors-subtitle-red {
  color: #e20606;
  font-family: "Roboto", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.45;
  max-width: 980px;
  margin: 0 auto 24px;
}

.footer-services-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px auto 40px;
  max-width: 980px;
  text-align: center;
}

.footer-services-item {
  font-family: "Roboto", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
  text-transform: capitalize;
}

.grandstream-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 44px;
  margin: 0 auto 24px;
  padding: 0 24px;
}

.grandstream-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #6156b3;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 4px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease;
}

.grandstream-cta-btn:hover {
  background-color: #4f459b;
  transform: translateY(-1px);
}

.footer-stacked-services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0 auto 40px;
  font-family: "Roboto", sans-serif;
  font-size: 0.85rem;
  color: #777777;
  line-height: 1.5;
}

.footer-bullet-block {
  max-width: 960px;
  margin: 0 auto 38px;
  text-align: left;
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  color: #777777;
  line-height: 1.65;
}

.footer-bullet-block p {
  margin: 0 0 14px;
}

.footer-bullet-block ul {
  margin: 0;
  padding-left: 28px;
}

.footer-bullet-block li {
  margin-bottom: 10px;
}

/* ==================== TABLA DE COMPATIBILIDAD Y ANUNCIO ==================== */
.compat-section {
  padding-top: 28px;
  padding-bottom: 18px;
}

.compat-title {
  font-family: "Roboto", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  text-transform: capitalize;
  margin: 0 0 18px;
}

.compat-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 20px;
}

.compat-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 14px;
  font-family: "Roboto", sans-serif;
  font-size: 0.82rem;
  color: #374151;
}

.compat-table td {
  padding: 12px 14px;
  border: 1px solid #9ca3af;
  vertical-align: top;
  line-height: 1.45;
}

.compat-table td:first-child {
  width: 25%;
  background-color: #e5e7eb;
  border-right: none;
}

.compat-table td:nth-child(2) {
  width: 24%;
  background-color: #c2ebff;
  border-right: none;
}

.compat-table td:nth-child(3) {
  width: 25%;
  background-color: #e5e7eb;
  border-right: none;
}

.compat-table td:nth-child(4) {
  width: 26%;
  background-color: #c2ebff;
}

.megaphone-notice-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  margin: 12px 0 24px;
  border: 1px solid #9ca3af;
  border-radius: 10px;
  background-color: #ffffff;
}

.megaphone-notice-icon {
  flex: 0 0 auto;
  font-size: 1.9rem;
  line-height: 1;
  color: #6b7280;
}

.megaphone-notice-text {
  flex: 1;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-size: 0.84rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* ==================== FOOTER ==================== */
.site-footer {
  padding-top: 56px;
}

.footer-main {
  text-align: center;
}

.distributors-heading {
  margin: 0 0 22px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.distributors-text {
  width: 100%;
  max-width: 100%;
  margin: 0 0 44px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text);
}

.contact-pill-box {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid #999999;
  border-radius: 14px;
  padding: 24px 36px;
  margin-bottom: 24px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  color: var(--color-primary);
  transition: opacity 0.2s ease;
}

.contact-item:hover {
  opacity: 0.8;
}

.contact-item svg {
  width: 22px;
  height: 22px;
  fill: var(--color-primary);
  flex-shrink: 0;
}

.branch-link {
  margin: 0 0 18px;
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.25;
}

.branch-link a:hover {
  text-decoration: underline;
}

.follow-label {
  margin: 0 0 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.social-square {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.social-square:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.social-square svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-socials .social-instagram {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.visitor-counter-wrap {
  display: flex;
  justify-content: center;
}

.visitor-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background-color: #ffffff;
  border: 1.5px solid #dbe4f0;
  border-radius: 999px;
  padding: 7px 14px 7px 16px;
  box-shadow: 0 6px 20px rgba(3, 40, 120, 0.08);
  color: #334155;
  font-size: 0.98rem;
  font-weight: 500;
}

.visitor-counter a {
  display: inline-flex;
  align-items: center;
}

.visitor-counter img {
  display: block;
  width: auto;
  height: auto;
  border-radius: 4px;
}

.visitor-counter-icon {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.visitor-counter-label {
  color: #334155;
  font-weight: 500;
}

.visitor-counter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-navy);
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 14px;
  min-width: 60px;
  font-size: 0.98rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3px;
}

.footer-bottom-bar {
  margin-top: 50px;
  background-color: var(--color-navy);
  border-top: 5px solid var(--color-cyan);
  color: #ffffff;
  padding: 12px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-credit,
.footer-copyright {
  margin: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .site-header {
    position: relative;
  }

  .header-banner {
    background-size: 100% 100px;
    background-position: top center;
    min-height: 92px;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .header-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .header-logo {
    max-width: 215px;
    margin-top: 4px;
    padding-left: 0;
  }

  .header-right {
    width: 100%;
    align-items: flex-end;
  }

  .header-top-info {
    display: none;
  }

  .header-tagline {
    display: none;
  }

  .nav-wrapper {
    position: static;
    padding-top: 6px;
    padding-bottom: 12px;
  }

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

  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 6px;
    right: 1.5rem;
    background-color: var(--color-secondary);
    border-radius: 4px;
    width: 38px;
    height: 38px;
    z-index: 101;
  }

  .main-nav {
    display: none;
    margin-top: 8px;
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px;
  }

  .nav-item > a {
    justify-content: space-between;
    padding: 10px 12px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    padding-left: 14px;
    background: transparent;
  }
}

@media (max-width: 767px) {
  .header-banner {
    background-size: 160% 76px;
    background-position: top left;
    min-height: 76px;
    padding-top: 6px;
    padding-bottom: 8px;
  }

  .header-logo {
    max-width: 155px;
    margin-top: 2px;
    margin-left: -8px;
  }

  .mobile-menu-toggle {
    top: 5px;
    right: 14px;
    width: 28px;
    height: 28px;
    padding: 6px;
    gap: 4px;
    border-radius: 5px;
  }

  .header-right {
    align-items: center;
  }

  .header-tagline {
    margin-top: 28px;
    margin-left: 0;
    max-width: 100%;
    text-align: center;
    font-size: 0.68rem;
  }

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

  .hotel-hero-grid {
    grid-template-columns: 1fr;
  }

  .footer-services-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .branch-link {
    font-size: 1.35rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==================== CATALOGO GRANDSTREAM MEJORADO ==================== */
.gs-catalog-header {
  padding: 40px 0 24px;
  text-align: center;
}

.gs-catalog-title {
  font-family: "Roboto Slab", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 10px;
}

.gs-catalog-subtitle {
  font-size: 1rem;
  color: #555555;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

.gs-controls-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 32px;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.gs-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gs-search-input-wrap {
  position: relative;
  flex: 1 1 280px;
  max-width: 440px;
}

.gs-search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  font-family: "Roboto", sans-serif;
  font-size: 0.92rem;
  color: var(--color-text);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.gs-search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(28, 84, 114, 0.12);
}

.gs-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #64748b;
  pointer-events: none;
}

.gs-results-count {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  background: #e0f2fe;
  padding: 6px 14px;
  border-radius: 999px;
}

.gs-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gs-filter-btn {
  padding: 7px 14px;
  font-family: "Roboto", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gs-filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.gs-filter-btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.gs-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.gs-product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #898989cb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.gs-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 0;
}

.gs-brand-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #64748b;
  text-transform: capitalize;
}

.gs-category-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--color-primary);
}

.gs-card-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  padding: 16px;
  background: #ffffff;
}

.gs-card-img-wrap img {
  max-height: 148px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.gs-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
  border-top: 1px solid #f1f5f9;
}

.gs-model-title {
  font-family: "Roboto Slab", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 10px;
}

.gs-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.gs-spec-chip {
  font-size: 0.74rem;
  font-weight: 600;
  color: #0369a1;
  background: #e0f2fe;
  padding: 3px 8px;
  border-radius: 6px;
}

.gs-card-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #475569;
  margin: 0;
  flex: 1;
}

.gs-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  font-family: "Roboto", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #1c5472;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.gs-quote-btn:hover {
  background-color: #154058;
}

.gs-quote-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.gs-empty-state {
  display: none;
  text-align: center;
  padding: 48px 20px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  margin-bottom: 48px;
  color: #64748b;
}

@media (max-width: 1024px) {
  .gs-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gs-catalog-grid {
    grid-template-columns: 1fr;
  }

  .gs-catalog-title {
    font-size: 1.6rem;
  }
}

/* ==================== CONTACTO PAGE ==================== */
.contact-page-section {
  max-width: 1060px;
  margin: 0 auto;
  padding: 32px 24px 88px;
}

.contact-page-title {
  margin: 0 0 26px;
  font-size: 2.25rem;
  font-weight: 500;
  color: #2b2b2b;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 48px;
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.12rem;
  font-weight: 400;
  color: #6e6e6e;
  line-height: 1.5;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  fill: #666666;
  flex-shrink: 0;
}

.contact-info-item a {
  color: #6e6e6e;
  transition: color 0.2s ease;
}

.contact-info-item a:hover {
  color: var(--color-primary);
}

.contact-cta-box {
  text-align: center;
  padding: 8px 12px;
}

.contact-cta-heading {
  max-width: 460px;
  margin: 0 auto 14px;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.38;
  color: #6b6b6b;
}

.contact-cta-subtext {
  max-width: 430px;
  margin: 0 auto;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #3f4696;
}

@media (max-width: 768px) {
  .contact-page-section {
    padding: 24px 16px 48px;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-info-list {
    padding-left: 0;
  }

  .contact-page-title {
    font-size: 1.75rem;
    margin-bottom: 20px;
  }

  .contact-info-item {
    font-size: 1rem;
  }

  .contact-cta-heading {
    font-size: 1.2rem;
  }
}

/* ==================== CATALOGO PRODUCTOS (4 COLUMNAS + BUSCADOR) ==================== */
.prod-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}

.prod-catalog-grid .gs-product-card,
.prod-catalog-grid .gs-card-img-wrap img {
  transition: none;
}

.prod-catalog-grid .gs-model-title {
  font-size: 1.02rem;
  line-height: 1.35;
  text-transform: capitalize;
}

.prod-catalog-grid .gs-card-desc {
  margin-bottom: 14px;
}

.prod-view-btn {
  margin-top: auto;
  background-color: var(--color-primary);
  border: none;
  cursor: pointer;
}

.prod-view-btn:hover {
  background-color: #02405e;
}

.prod-modal {
  margin: auto;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  max-width: 720px;
  width: calc(100% - 32px);
  max-height: calc(100dvh - 48px);
  background: #ffffff;
  color: #334155;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  overflow: auto;
}

.prod-modal::backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
}

.prod-modal-inner {
  position: relative;
  padding: 28px;
}

.prod-modal-close {
  position: sticky;
  top: 12px;
  float: right;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.prod-modal-close:hover {
  background: #f1f5f9;
}

.prod-modal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

.prod-modal-img-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.prod-modal-img-box img {
  max-height: 220px;
  width: auto;
  object-fit: contain;
}

.prod-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.prod-modal-title {
  font-family: "Roboto Slab", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 10px;
  line-height: 1.3;
  text-transform: capitalize;
}

.prod-modal-desc {
  font-size: 0.94rem;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 14px;
}

.prod-modal-specs-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  margin: 0 0 8px;
}

.prod-modal-specs {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #334155;
}

.prod-modal-specs li + li {
  margin-top: 4px;
}

.prod-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prod-modal-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--color-primary);
  color: #ffffff;
}

.prod-modal-action-link:hover {
  background: #02405e;
}

@media (max-width: 1100px) {
  .prod-catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .prod-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .prod-modal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .prod-catalog-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== PAGINACION CATALOGO ==================== */
.pagination-nav {
  display: flex;
  justify-content: center;
  margin: 12px 0 42px;
}

.pagination-list {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.page-link:hover {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: #ffffff;
}

.page-link.is-active {
  border-color: var(--color-secondary);
  background-color: var(--color-secondary);
  color: #ffffff;
  pointer-events: none;
}

/* ==================== FICHA DE PRODUCTO INDIVIDUAL ==================== */
.prod-detail-breadcrumbs {
  margin: 22px 0 18px;
}

.prod-detail-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: #475569;
}

.prod-detail-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.prod-detail-breadcrumbs li + li::before {
  content: "›";
  color: #94a3b8;
  font-weight: 700;
}

.prod-detail-breadcrumbs a {
  color: var(--color-primary);
  font-weight: 500;
}

.prod-detail-breadcrumbs a:hover {
  text-decoration: underline;
}

.prod-detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 440px) 1fr;
  gap: 32px;
  align-items: start;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  margin-bottom: 36px;
}

.prod-detail-media {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.prod-detail-media img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.prod-detail-info {
  display: flex;
  flex-direction: column;
}

.prod-detail-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.prod-detail-title {
  margin: 0 0 14px;
  font-family: "Roboto Slab", serif;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
  color: var(--color-primary);
}

.prod-detail-lead {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.65;
  color: #334155;
}

.prod-detail-subtitle {
  margin: 0 0 12px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--color-primary);
}

.prod-detail-features {
  margin: 0 0 24px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 0.94rem;
  line-height: 1.5;
}

.prod-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.prod-detail-btn-primary,
.prod-detail-btn-whatsapp,
.prod-detail-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.prod-detail-btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.prod-detail-btn-primary:hover {
  background-color: #014668;
}

.prod-detail-btn-whatsapp {
  background-color: #16803d;
  color: #ffffff;
}

.prod-detail-btn-whatsapp:hover {
  background-color: #126932;
}

.prod-detail-btn-whatsapp svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.prod-detail-btn-secondary {
  background-color: #f8fafc;
  color: var(--color-primary);
  border: 1px solid #cbd5e1;
}

.prod-detail-btn-secondary:hover {
  background-color: #e2e8f0;
}

.prod-detail-section {
  margin-bottom: 42px;
}

.prod-detail-section-title {
  margin: 0 0 18px;
  font-family: "Roboto Slab", serif;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--color-primary);
}

.prod-detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.prod-spec-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
}

.prod-spec-card h3 {
  margin: 0 0 10px;
  font-size: 1.04rem;
  color: var(--color-primary);
}

.prod-spec-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #475569;
}

@media (max-width: 900px) {
  .prod-detail-hero {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 22px;
  }

  .prod-detail-media {
    min-height: 220px;
  }

  .prod-detail-specs-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== SECCION COMPATIBLES (TARJETAS Y TELEFONOS) ==================== */
.compat-split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin: 18px 0 44px;
}

.compat-panel-title {
  margin: 0 0 18px;
  font-family: "Roboto", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: var(--color-navy);
  text-transform: uppercase;
}

.compat-grid-tarjetas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.compat-grid-telefonos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.compat-item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background-color: #eceef2;
  border: 1px solid #94a3b8;
  border-radius: 10px;
  padding: 10px 8px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.compat-item-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  box-shadow: 0 6px 14px rgba(3, 83, 120, 0.12);
}

.compat-item-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 6px;
  padding: 4px;
  overflow: hidden;
}

.compat-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compat-item-label {
  width: 100%;
  margin: 0;
  padding: 5px 6px;
  background-color: #ffffff;
  border: 1px solid #475569;
  border-radius: 8px;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.25;
  color: #1e293b;
  text-transform: none;
  word-break: break-word;
}

@media (max-width: 1100px) {
  .compat-split-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 680px) {
  .compat-grid-tarjetas,
  .compat-grid-telefonos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 440px) {
  .compat-grid-tarjetas,
  .compat-grid-telefonos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .prod-detail-actions a {
    width: 100%;
  }
}
