:root {
  --bg: #eef2ff;
  --surface: #ffffff;
  --primary: #067486;
  --primary-dark: #055d65;
  --accent: #0d99ac;
  --text: #162048;
  --muted: #5f6e97;
  --border: #dbe1ff;
  --shadow: 0 16px 40px rgba(31, 41, 55, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: Calibri, sans-serif;
  font-weight: 700;
  font-size: 18px;
  background: linear-gradient(180deg, #f7f9ff 0%, #eef3ff 100%);
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1rem max(2rem, calc((100vw - 1200px) / 2));
  position: sticky;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  box-shadow: 0 30px 80px rgba(6, 18, 46, 0.08);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

body.hero-page {
  padding-top: 0;
}

body.hero-page .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  z-index: 200;
}

body.hero-page .site-header.solid {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

body.hero-page .brand {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

body.hero-page .brand-logo {
  padding: 0;
  filter: saturate(1.1) brightness(1.02);
}

body.hero-page .site-nav a {
  color: #000000;
  background: transparent !important;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  box-shadow: none !important;
}

body.hero-page .site-nav a:hover,
body.hero-page .site-nav a.active {
  color: #000000;
  background: rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

body.hero-page .nav-cta {
  background: rgba(255, 255, 255, 0.95);
  color: #000000 !important;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

body.hero-page .site-header.solid .nav-cta {
  background: linear-gradient(135deg, #067486, #0d99ac) !important;
  color: #ffffff !important;
  border: none !important;
}

body.hero-page .site-nav {
  gap: 0.75rem;
}

body.hero-page .menu-toggle {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
}

body.hero-page .menu-toggle span {
  background: #000000;
}

.site-header:hover {
  transform: translateY(-2px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  height: 3.6rem;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.02);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: Calibri, sans-serif;
  color: var(--text);
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary-dark);
  background: rgba(6, 116, 134, 0.12);
  box-shadow: 0 10px 30px rgba(6, 116, 134, 0.12);
}

.site-nav a.nav-cta.active {
  background: #20A6A6 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(32, 166, 166, 0.28);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: #20A6A6;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(32, 166, 166, 0.28);
  font-weight: 700;
  font-family: Calibri, sans-serif;
  transition: all 0.3s ease;
  border: none;
}

.nav-cta svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 3rem;
  height: 3rem;
  padding: 0.65rem;
  background: rgba(6, 116, 134, 0.1);
  border: 1px solid rgba(6, 116, 134, 0.12);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.menu-toggle:hover {
  background: rgba(6, 116, 134, 0.15);
  transform: scale(1.02);
}

.menu-toggle span {
  display: block;
  width: 1.3rem;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.page {
  max-width: 1200px;
  margin: 2.5rem auto 1.5rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.contact-page {
  margin: 0 auto 1.5rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: transparent !important;
}

.compact-hero {
  padding: clamp(4rem, 6vw, 6rem) 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 250, 255, 0.95));
}

.compact-hero .hero-copy {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 2rem;
  box-shadow: 0 28px 80px rgba(36, 48, 67, 0.12);
}

.compact-hero .hero-copy h1 {
  margin-top: 1rem;
}

.compact-hero .hero-actions {
  justify-content: center;
  margin-top: 1.75rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: transparent !important;
  filter: none !important;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1200px);
  padding: 0 1.5rem;
}

.hero-copy {
  max-width: 720px;
  margin: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-align: left;
}

.hero-copy h1,
.hero-copy p,
.hero-copy .eyebrow {
  color: #000000;
  text-shadow: none;
}

.hero-copy h1 {
  margin-top: 1rem;
}

.hero-actions {
  margin-top: 1.75rem;
}

.hero-feature {
  background: #2A7D1E;
  color: #ffffff;
  padding: clamp(2.5rem, 4vw, 4rem) 1.5rem;
}

.hero-feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  width: min(100%, 1200px);
  margin: 0 auto;
}

.hero-feature h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(calc(2rem + 2px), calc(3vw + 2px), calc(2.8rem + 2px));
  line-height: 1.05;
}

.hero-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: calc(1.05rem + 2px);
  line-height: 1.8;
  max-width: 45rem;
}

.feature-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.point strong {
  display: block;
  font-size: calc(1rem + 2px);
  margin-bottom: 0.4rem;
  color: #e8f7da;
}

.point p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.feature-image {
  display: flex;
  justify-content: center;
}

.feature-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 1.8rem;
  display: block;
}

.image-placeholder {
  width: 100%;
  max-width: 520px;
  min-height: 300px;
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  text-align: center;
  padding: 1.5rem;
}

@media (max-width: 900px) {
  .hero-feature-inner {
    grid-template-columns: 1fr;
  }

  .feature-image {
    order: -1;
  }
}

@media (max-width: 860px) {
  body.hero-page .hero {
    padding-top: 5.5rem;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 88vh;
    height: 88vh;
    max-height: none;
    padding-top: 5rem;
    display: block;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center top;
    transform: none;
    width: 100%;
    height: 100%;
    min-height: 88vh;
    max-height: 88vh;
    background: #f5f5f5;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 84vh;
    height: 84vh;
    max-height: none;
    padding-top: 4.75rem;
    display: block;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center top;
    transform: none;
    width: 100%;
    height: 100%;
    min-height: 84vh;
    max-height: 84vh;
    background: #f5f5f5;
  }
}

.hero-feature.hero-feature-alt {
  background: #067486;
}

.hero-feature.hero-feature-alt .hero-feature-inner {
  gap: 1.5rem;
  display: block;
}

.hero-feature.hero-feature-alt .hero-copy,
.hero-feature.hero-feature-alt .point p,
.hero-feature.hero-feature-alt .hero-feature h2,
.hero-feature.hero-feature-alt .eyebrow,
.hero-feature.hero-feature-alt .service-text h3,
.hero-feature.hero-feature-alt .service-text p,
.hero-feature.hero-feature-alt .link-btn {
  color: #ffffff;
}

.hero-feature.hero-feature-alt .hero-service-card .card-link {
  color: #214C5E;
}

.hero-feature.hero-feature-alt .feature-copy p {
  color: rgba(255, 255, 255, 0.92);
}

.hero-feature.hero-feature-alt .feature-points {
  display: none;
}

.hero-feature.hero-feature-alt .services-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.hero-service-card {
  display: grid;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.75rem;
  padding: 1.75rem;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(1, 16, 33, 0.14);
}

.hero-service-card:hover {
  transform: translateY(-4px);
  transition: transform 0.25s ease;
}

.hero-card-copy h3 {
  margin: 0;
  font-size: calc(1.4rem + 2px);
}

.hero-card-copy p {
  margin: 0;
  font-size: calc(1rem + 2px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.86);
}

.hero-card-image {
  width: 100%;
  border-radius: 1.2rem;
  overflow: hidden;
  min-height: 140px;
  max-height: 180px;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.06);
}

.hero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #214C5E;
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
  padding: 0.85rem 1rem;
  border-radius: 999px;
}

.service-card .link-btn,
.service-card .card-link {
  color: #214C5E;
  background: #ffffff;
  padding: 0.85rem 1rem;
  border-radius: 999px;
}

.service-card .card-icon {
  background: #ffffff;
  color: #214C5E;
}

.hero-feature.hero-feature-alt .link-btn {
  color: #ffffff;
}

@media (max-width: 960px) {
  .hero-feature.hero-feature-alt .services-card-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hero-feature.hero-feature-cta {
  background: #753C3C;
  color: #ffffff;
  padding: clamp(3rem, 4.5vw, 5rem) 1.5rem;
}

.hero-feature.hero-feature-cta .hero-feature-cta-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  width: min(100%, 1200px);
  margin: 0 auto;
  align-items: start;
}

.hero-feature.hero-feature-cta h2 {
  margin: 0;
  font-size: clamp(calc(2.4rem + 2px), calc(3vw + 2px), calc(3.4rem + 2px));
  line-height: 1.02;
}

.hero-feature.hero-feature-cta p {
  color: rgba(255, 255, 255, 0.92);
}

.hero-feature.hero-feature-cta .cta-actions {
  margin-top: 2rem;
}

.hero-feature.hero-feature-cta .btn-cta {
  background: linear-gradient(135deg, #ffd9c1, #ffffff);
  color: #753C3C !important;
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.18);
}

.hero-feature.hero-feature-cta .cta-panel {
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-feature.hero-feature-cta .cta-panel-quote {
  margin: 0;
  color: #ffffff;
  font-size: clamp(calc(1.15rem + 2px), calc(1.45vw + 2px), calc(1.4rem + 2px));
  line-height: 1.7;
  font-style: italic;
  letter-spacing: 0.01em;
}

.hero-feature.hero-feature-cta .cta-badge {
  display: inline-flex;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: calc(0.9rem + 2px);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.1rem;
}

.hero-feature.hero-feature-cta .cta-panel-copy {
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 900px) {
  .service-row {
    grid-template-columns: 1fr;
  }

  .hero-feature.hero-feature-cta .hero-feature-cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body.hero-page .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .site-header {
    margin: 0.75rem auto;
    padding: 0.9rem 1rem;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1rem);
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1.25rem 1.3rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(6, 116, 134, 0.12);
    border-radius: 1.8rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    pointer-events: none;
    box-shadow: 0 30px 80px rgba(6, 18, 46, 0.12);
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
    background: transparent;
  }

  .nav-cta {
    width: 100%;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.32rem;
  }

  .menu-toggle span {
    display: block;
    width: 1.3rem;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}


.contact-hero {
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.contact-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 2rem;
  max-width: 920px;
  width: min(100%, 920px);
  margin: 0 auto;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(6, 116, 134, 0.08);
  box-shadow: 0 24px 70px rgba(31, 41, 55, 0.08);
}

.contact-hero-copy {
  display: grid;
  gap: 1.1rem;
}

.contact-hero-copy .eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  font-size: calc(0.78rem + 2px);
}

.contact-hero-copy h1 {
  font-size: clamp(calc(2.2rem + 2px), calc(4.5vw + 2px), calc(3rem + 2px));
  line-height: 1.05;
  margin: 0;
  color: var(--text);
  max-width: 42rem;
}

.contact-hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: calc(1rem + 2px);
  line-height: 1.8;
  max-width: 42rem;
}

.contact-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-hero-visual img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(36, 48, 67, 0.12);
}

.services-hero {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  padding: clamp(3rem, 5vw, 6rem) 1.5rem 3rem;
  background: url("assets/Hombre_perritos1.webp") center/100% auto no-repeat;
  overflow: hidden;
}

.services-hero.product-hero {
  background: url("assets/Perrito.webp") center/100% auto no-repeat;
}

.product-hero {
  min-height: 600px;
}

.product-hero::before {
  background: linear-gradient(90deg, rgba(23, 59, 77, 0.7) 0%, rgba(23, 59, 77, 0.3) 40%, transparent 70%) !important;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(23, 59, 77, 0.3) 60%, rgba(23, 59, 77, 0.7) 100%);
  pointer-events: none;
}

.services-hero-inner {
  position: relative;
  display: grid;
  justify-items: end !important;
  align-items: center !important;
  justify-content: end !important;
  gap: 1.75rem;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 1.5rem;
}

.contact-page .services-hero-inner {
  grid-template-columns: 1fr;
  align-items: center;
  place-items: center;
}

.services-hero-copy {
  max-width: 720px;
  width: auto;
  text-align: right;
  margin: 0;
  color: #ffffff;
  font-family: Calibri, sans-serif;
  font-weight: 700;
}

.services-hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #20A6A6;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: calc(0.75rem + 2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  font-family: Calibri, sans-serif;
}

.services-hero-copy h1 {
  margin: 1rem 0 1rem 0;
  font-size: clamp(calc(2.4rem + 2px), calc(4.2vw + 2px), calc(3.2rem + 2px));
  line-height: 1.04;
  color: #ffffff;
  width: 100%;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-family: Calibri, sans-serif;
  text-align: right;
}

.services-hero-copy h1 .highlight {
  color: #20A6A6;
}

.services-hero-copy p {
  color: #ffffff;
  font-size: calc(1.02rem + 2px);
  line-height: 1.95;
  max-width: 44rem;
  margin: 0;
  font-family: Calibri, sans-serif;
  font-weight: 700;
  text-align: right;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
  margin: 1.4rem 0 1rem 0;
  width: 100%;
  padding: 0;
  align-items: center;
}

.product-hero .services-hero-copy {
  text-align: left !important;
  margin-left: 0 !important;
}

.product-hero .services-hero-copy h1 {
  text-align: left !important;
}

.product-hero .services-hero-copy p {
  text-align: left !important;
}

.product-hero .services-hero-inner {
  justify-items: start !important;
  justify-content: start !important;
}

.product-hero .hero-actions {
  justify-content: flex-start !important;
  align-items: center !important;
  width: 100% !important;
}

.hero-actions .btn {
  padding: 0.82rem 1.25rem;
  font-weight: 700;
  border-radius: 999px;
}

.btn-primary {
  background: #20A6A6;
  color: #ffffff;
  border: none;
}

.btn-secondary {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.hero-highlights {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  margin-top: 1.4rem;
}

.hero-highlight {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(6, 116, 134, 0.12);
  box-shadow: 0 14px 40px rgba(6, 116, 134, 0.08);
  min-width: 100%;
}

.hero-highlight strong {
  font-size: calc(0.95rem + 2px);
  color: var(--primary-dark);
}

.hero-highlight span {
  font-size: calc(0.9rem + 2px);
  color: var(--muted);
  line-height: 1.6;
}

.services-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-page .services-hero-visual {
  justify-content: center;
}

.about-hero {
  background: linear-gradient(rgba(8, 20, 40, 0.56), rgba(8, 20, 40, 0.24)), url("assets/Mostrador_consentido.webp") center/cover no-repeat;
}

.about-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.about-panel {
  margin-bottom: 2.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
}

.about-card,
.value-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(6, 116, 134, 0.08);
  border-radius: 1.8rem;
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.08);
}

.about-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.about-card .eyebrow,
.about-values-header .eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: calc(0.72rem + 2px);
  font-weight: 800;
}

.about-card h2,
.about-values-header h2 {
  margin: 0.6rem 0 1rem;
  color: var(--text);
  font-size: clamp(calc(2rem + 2px), calc(3vw + 2px), calc(2.8rem + 2px));
  line-height: 1.1;
}

.about-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.doctor-card {
  padding: 0;
  display: grid;
  gap: 0;
  overflow: hidden;
}

.doctor-portrait {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  background: #dceff0;
}

.doctor-portrait::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(6, 35, 48, 0.35));
}

.doctor-portrait img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  object-position: center 30%;
}

.doctor-info {
  padding: 1.75rem;
}

.doctor-heading h3 {
  margin: 0.45rem 0 0.65rem;
  color: var(--text);
  font-size: clamp(calc(1.7rem + 2px), calc(2.5vw + 2px), calc(2.25rem + 2px));
  line-height: 1.1;
}

.doctor-heading .eyebrow {
  margin: 0;
}

.doctor-credential {
  display: inline-flex;
  margin: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 0.6rem;
  background: rgba(6, 116, 134, 0.09);
  color: var(--text);
  font-size: calc(0.9rem + 2px);
  line-height: 1.4;
}

.doctor-summary {
  margin: 1.25rem 0 1.5rem;
  color: var(--muted);
  font-size: calc(1rem + 2px);
  line-height: 1.65;
}

.doctor-details {
  display: grid;
  gap: 0.8rem;
}

.doctor-detail {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.85rem;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(6, 116, 134, 0.12);
}

.doctor-detail-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: var(--primary);
  color: #ffffff;
  font-size: calc(0.72rem + 2px);
  font-weight: 800;
}

.doctor-detail p {
  margin: 0;
  color: var(--muted);
  font-size: calc(0.92rem + 2px);
  line-height: 1.6;
}

.doctor-detail-label {
  margin-bottom: 0.2rem !important;
  color: var(--text) !important;
  font-size: calc(0.8rem + 2px) !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doctor-detail time {
  display: block;
  margin-top: 0.35rem;
  color: var(--primary-dark);
  font-size: calc(0.78rem + 2px);
  font-weight: 800;
}

.about-values {
  margin-top: 1rem;
}

.about-gallery {
  margin-top: 4rem;
}

.gallery-intro {
  max-width: 42rem;
  margin: -0.5rem auto 1.5rem;
  color: var(--muted);
  line-height: 1.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-auto-rows: 190px;
  gap: 1rem;
}

.gallery-item {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 1.4rem;
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(6, 116, 134, 0.1);
}

.gallery-item-large {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.about-values-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.value-card {
  padding: 1.75rem 1.5rem;
}

.value-card h3 {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: calc(1.25rem + 2px);
}

.value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.vaccine-modal-trigger {
  border: none;
  cursor: pointer;
  width: fit-content;
  font-size: calc(0.98rem + 2px);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal.open .modal-backdrop {
  opacity: 1;
}

.modal-dialog {
  position: relative;
  width: min(100%, 980px);
  min-height: 420px;
  background: #edf1f2;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.2);
  padding: 26px 26px 20px;
  max-height: 82vh;
  overflow: auto;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.modal.open .modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-close {
  display: none;
}

.modal-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.modal-header .eyebrow {
  margin: 0;
  color: rgba(15, 23, 42, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: calc(0.78rem + 2px);
  font-weight: 600;
  line-height: 1;
}

.modal-header h2 {
  margin: 0;
  color: rgba(15, 23, 42, 0.95);
  font-size: clamp(calc(2.3rem + 2px), calc(3vw + 2px), calc(4rem + 2px));
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 400;
}

.vaccine-tabs {
  position: absolute;
  top: 28px;
  right: 26px;
  display: inline-flex;
  gap: 8px;
  background: transparent;
  padding: 0;
}

.vaccine-tab {
  border: none;
  background: rgba(255, 255, 255, 0.8);
  color: rgba(15, 23, 42, 0.8);
  font-weight: 400;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: calc(1rem + 2px);
  min-width: 96px;
}

.vaccine-tab.active {
  background: linear-gradient(135deg, #0d8d97, #0e7f8b);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(17, 113, 127, 0.2);
}

.vaccine-modal-body {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.vaccine-list {
  display: grid;
  gap: 12px;
  background: transparent;
  padding-top: 18px;
}

.vaccine-button {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(19, 26, 38, 0.18);
  background: #eef2f4;
  color: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  padding: 18px 18px 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: calc(1.12rem + 2px);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vaccine-button::after {
  content: '›';
  font-size: calc(1.7rem + 2px);
  line-height: 1;
  color: rgba(15, 23, 42, 0.7);
}

.vaccine-button:hover,
.vaccine-button.active {
  background: #eff7f8;
  border-color: rgba(15, 23, 42, 0.9);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.9);
  transform: none;
}

.vaccine-detail {
  background: #d9eeef;
  border: 1px solid rgba(19, 26, 38, 0.08);
  border-radius: 18px;
  padding: 20px 18px 18px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.vaccine-detail-label {
  margin: 0 0 8px;
  font-size: calc(0.74rem + 2px);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(15, 23, 42, 0.8);
  font-weight: 600;
}

.vaccine-detail h3 {
  margin: 0 0 10px;
  font-size: clamp(calc(2rem + 2px), calc(2vw + 2px), calc(2.5rem + 2px));
  color: rgba(15, 23, 42, 0.95);
  line-height: 1.1;
  font-weight: 400;
}

.vaccine-detail p {
  margin: 0;
  color: rgba(15, 23, 42, 0.7);
  line-height: 1.7;
  font-size: calc(1.05rem + 2px);
  font-weight: 400;
}

.vaccine-dose-box {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.38);
  border-radius: 14px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.vaccine-dose-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.vaccine-dose-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0b7a80;
  color: #ffffff;
  font-size: calc(0.9rem + 2px);
  font-weight: 700;
}

.vaccine-dose-title {
  font-weight: 700;
  color: rgba(15, 23, 42, 0.9);
  font-size: calc(1.05rem + 2px);
}

@media (max-width: 640px) {
  .vaccine-modal-body {
    grid-template-columns: 1fr;
  }

  .modal-dialog {
    padding: 1.2rem 1rem;
  }

  .vaccine-tabs {
    position: static;
    margin-bottom: 10px;
  }
}

.services-panel {
  padding: 0 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: #214C5E;
  border-radius: 1.6rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 40px rgba(9, 34, 39, 0.18);
}

.service-media {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffffff;
  color: #2c6b71;
  padding: 0.5rem 0.6rem;
  border-radius: 0.9rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  font-size: calc(0.95rem + 2px);
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1.5rem 1.25rem;
  gap: 1rem;
  background: transparent !important;
}

.service-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: calc(1.15rem + 2px);
  color: #ffffff;
}

.service-card p {
  margin: 0 0 0.75rem 0;
  color: #ffffff;
  line-height: 1.5;
  font-size: calc(0.95rem + 2px);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.card-link .arrow {
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.18s ease;
}

.card-link:hover .arrow { transform: translateX(4px); }

/* alternating subtle panel colors to match the mock */
.service-grid article:nth-child(6n+1) .card-body { background: #eaf9fb; }
.service-grid article:nth-child(6n+2) .card-body { background: #f6fbfb; }
.service-grid article:nth-child(6n+3) .card-body { background: #f4efef; }
.service-grid article:nth-child(6n+4) .card-body { background: #f8fbf8; }
.service-grid article:nth-child(6n+5) .card-body { background: #f3fbff; }
.service-grid article:nth-child(6n+6) .card-body { background: #faf7fb; }

.service-card:hover { transform: translateY(-6px); transition: transform 0.18s ease; }

.services-hero .hero-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 2rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 253, 0.95));
  box-shadow: 0 30px 70px rgba(107, 79, 187, 0.12);
  border: 1px solid rgba(6, 116, 134, 0.1);
}

.services-hero .hero-card-top {
  position: absolute;
  inset: 1rem 1rem auto 1rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.services-hero .hero-card img {
  width: 100%;
  height: auto;
  border-radius: 1.6rem;
  display: block;
  object-fit: cover;
  min-height: 280px;
}

.services-hero .hero-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border-radius: 1rem;
  background: rgba(6, 116, 134, 0.14);
  backdrop-filter: blur(10px);
  max-width: 14rem;
}

.services-hero .hero-badge strong {
  font-size: calc(0.9rem + 2px);
  color: var(--primary-dark);
}

.services-hero .hero-badge span {
  font-size: calc(0.8rem + 2px);
  color: var(--text);
  line-height: 1.4;
}

.services-hero .hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.services-hero .hero-metric {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 0.8rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.services-hero .hero-metric strong {
  font-size: calc(0.95rem + 2px);
  color: var(--primary-dark);
}

.services-hero .hero-metric span {
  font-size: calc(0.78rem + 2px);
  color: var(--muted);
}

.services-hero .hero-card-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.services-hero .hero-card-footer > div {
  padding: 0.8rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(6, 116, 134, 0.08);
}

.services-hero .hero-card-footer strong {
  display: block;
  font-size: calc(0.95rem + 2px);
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.services-hero .hero-card-footer span {
  display: block;
  font-size: calc(0.82rem + 2px);
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .services-hero {
    background-image: url("assets/movilservicios.webp");
    padding: clamp(2rem, 4vw, 3rem) 1rem 2rem;
    background-size: contain;
    background-position: center top;
    min-height: 26rem;
    padding-top: 5rem;
  }

  .services-hero.product-hero {
    background-image: url("assets/movilproductos.webp");
    background-size: contain;
    background-position: center top;
    min-height: 24rem;
    padding-top: 5rem;
  }

  .services-hero-inner {
    gap: 1.5rem;
  }

  .services-hero-copy {
    max-width: 100%;
    width: 100%;
  }

  .services-hero-copy .eyebrow {
    font-size: clamp(0.68rem, 2vw, 0.8rem);
    letter-spacing: 0.08em;
  }

  .services-hero-copy h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.08;
  }

  .services-hero-copy p {
    font-size: clamp(0.96rem, 2.2vw, 1.08rem);
    line-height: 1.7;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: auto;
    min-width: 0;
    padding: 0.8rem 1.1rem;
    font-size: 0.96rem;
  }
}

@media (max-width: 720px) {
  .services-hero-copy h1 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .services-hero-copy p {
    font-size: clamp(0.92rem, 3.2vw, 1rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.98rem;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .services-hero,
  .services-hero.product-hero {
    background-size: contain;
    background-position: center top;
    min-height: 22rem;
    padding-top: 4.5rem;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-item-large {
    grid-row: span 1;
  }

  .services-hero {
    padding: 4rem 1rem 2rem;
    background-size: contain;
    background-position: center top;
    min-height: 19rem;
  }

  .services-hero.product-hero {
    padding: 4rem 1rem 2rem;
    background-size: contain;
    background-position: center top;
    min-height: 18rem;
  }

  .services-hero-copy .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .services-hero-copy h1 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .services-hero-copy p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .hero-actions .btn {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .hero-highlights {
    gap: 0.75rem;
  }

  .hero-highlight {
    padding: 0.85rem 1rem;
  }
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 2rem;
  box-shadow: 0 25px 60px rgba(36, 48, 67, 0.18);
  background: white;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

@media (max-width: 900px) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 640px) {
  .reveal {
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.text-accent {
  color: var(--primary);
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 100%);
  box-shadow: 0 34px 80px rgba(107, 79, 187, 0.16);
}

.alert-banner {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1.5rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(219, 225, 255, 0.9);
  border-radius: 1.8rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.alert-copy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.alert-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: rgba(47, 58, 199, 0.12);
  border-radius: 999px;
  color: var(--primary);
  font-size: calc(0.8rem + 2px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.alert-banner h2 {
  margin: 0;
  font-size: clamp(calc(1.5rem + 2px), calc(2vw + 2px), calc(2rem + 2px));
}

.alert-banner p {
  margin: 0;
  color: var(--muted);
  max-width: 44rem;
}

.alert-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-danger {
  background: #d51f1f;
  color: white;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid rgba(47, 58, 199, 0.2);
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
}

.services-headline {
  text-align: center;
  margin-bottom: 2rem;
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem 2.5rem;
  box-shadow: 0 22px 50px rgba(47, 58, 199, 0.05);
}

.services-headline h1 {
  margin: 0.7rem auto 0.8rem;
  font-size: clamp(calc(2rem + 2px), calc(3vw + 2px), calc(3.2rem + 2px));
  max-width: 60rem;
}

.services-headline p {
  margin: 0;
  color: var(--muted);
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.services-section {
  padding: 0 0 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  min-height: 280px;
  border-radius: 1.75rem;
  background: #214C5E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(6, 116, 134, 0.12);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: calc(1.2rem + 2px);
}

.service-card h3 {
  margin: 0;
  font-size: calc(1.22rem + 2px);
  color: #ffffff;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.85;
}

.services-list-section {
  padding: 2rem 0;
}

.services-list-section .section-heading {
  text-align: center;
  margin-bottom: 1.25rem;
}

.service-list ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin: 0 auto;
  max-width: 480px;
  color: var(--muted);
  font-size: calc(1.05rem + 2px);
  line-height: 1.9;
}

.service-list li {
  margin-bottom: 0.8rem;
}

.fashion-section {
  padding: 2.5rem 0;
  background: linear-gradient(180deg, rgba(246, 242, 255, 0.6), rgba(255, 255, 255, 0.95));
  border-radius: 2rem;
  margin-top: 1.5rem;
}

.fashion-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.fashion-hero-copy {
  max-width: 540px;
}

.fashion-hero-title {
  font-size: clamp(calc(2rem + 2px), calc(3.5vw + 2px), calc(2.8rem + 2px));
  margin: 1rem 0 1rem;
  line-height: 1.05;
}

.fashion-hero-text {
  color: var(--muted);
  font-size: calc(1.05rem + 2px);
  max-width: 44rem;
  margin-bottom: 1.25rem;
}

.fashion-hero-media {
  display: flex;
  justify-content: center;
}

.fashion-hero-media img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 2rem;
  box-shadow: var(--shadow);
  background: white;
}

.doomy-hero {
  width: 100%;
  padding: clamp(3rem, 4vw, 5rem) 0;
  background: linear-gradient(180deg, rgba(240, 245, 255, 0.95), rgba(255, 255, 255, 1));
  margin: 2rem 0;
  overflow: hidden;
}

.doomy-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.doomy-hero-copy h2 {
  margin: 1rem 0 1rem;
  font-size: clamp(calc(2rem + 2px), calc(3vw + 2px), calc(3rem + 2px));
}

.doomy-hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
  background: linear-gradient(135deg, rgba(6, 116, 134, 0.06), rgba(255, 255, 255, 0.6));
  border-radius: 2rem;
  padding: 1.5rem;
}

.doomy-hero-media img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .doomy-hero {
    padding: 2.5rem 0;
  }

  .doomy-hero-inner {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
}

.category-cards {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.category-card {
  position: relative;
  min-height: 95px;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(6, 116, 134, 0.12);
  background-color: transparent !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  overflow: hidden;
  color: #ffffff;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.14);
  transition: background 0.2s ease;
}

.category-card h3 {
  margin: 0;
  font-size: calc(1.15rem + 2px);
  color: #ffffff;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.category-card:hover::before,
.category-card:focus-within::before {
  background: rgba(0, 0, 0, 0.18);
}

.halloween-card,
.patria-card,
.navidad-card {
  background-color: transparent !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.halloween-card {
  background: url("/assets/hallowen/DiaMuertos_halloween.webp") center/cover no-repeat !important;
}

.patria-card {
  background: url("/assets/patria/Fiestas_patrias.webp") center/cover no-repeat !important;
}

.navidad-card {
  background: url("/assets/navidad/Fondo navideño.webp") center/cover no-repeat !important;
}

.category-card.halloween-card,
.category-card.patria-card,
.category-card.navidad-card {
  height: 180px;
  min-height: 180px;
}

.category-card.halloween-card h3,
.category-card.patria-card h3,
.category-card.navidad-card h3 {
  width: 100%;
  color: #000000;
  text-align: center;
  align-self: center;
}

.category-card:hover,
.category-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(6, 116, 134, 0.1);
  border-color: rgba(6, 116, 134, 0.25);
}

.catalog-panel {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1000;
}

.catalog-panel.open {
  display: flex;
  overflow: hidden;
}

.catalog-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 46, 0.55);
}

.catalog-panel-content {
  position: relative;
  width: min(100%, 1200px);
  max-width: 1200px;
  max-height: min(100vh, 92vh);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 40px 120px rgba(6, 18, 46, 0.25);
  z-index: 2;
}

.catalog-panel-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(6, 116, 134, 0.12);
  color: var(--primary-dark);
  font-size: calc(1.3rem + 2px);
  cursor: pointer;
  z-index: 3;
}

.catalog-panel-header {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.catalog-panel-body {
  display: grid;
  gap: 1.25rem;
}

.catalog-panel-body .section-heading {
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .doomy-hero-inner,
  .fashion-hero {
    grid-template-columns: 1fr;
  }
}

.fashion-section .product-card {
  min-height: auto;
  padding: 1.75rem;
  border-radius: 1.6rem;
  background: #ffffff;
  border: 1px solid rgba(6, 116, 134, 0.12);
  box-shadow: 0 18px 45px rgba(6, 116, 134, 0.08);
}

.fashion-section .product-card h3 {
  margin-bottom: 0.7rem;
}

.fashion-section .product-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .alert-banner,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .alert-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .alert-banner {
    padding: 1.4rem;
    gap: 1rem;
  }

  .alert-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-grid {
    gap: 1rem;
  }
}

.hero-card img {
  width: 100%;
  height: auto;
  border-radius: 1.75rem;
  display: block;
}

.hero-badge {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 143, 92, 0.12);
  backdrop-filter: blur(8px);
}

.hero-badge strong {
  display: block;
  font-size: calc(0.95rem + 2px);
  color: var(--primary-dark);
}

.hero-badge span {
  font-size: calc(0.82rem + 2px);
  color: var(--muted);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.overview-card {
  padding: 2rem;
}

.overview-copy h2 {
  margin-top: 0;
  font-size: clamp(calc(1.85rem + 2px), calc(3vw + 2px), calc(2.5rem + 2px));
}

.overview-copy p {
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  max-width: 44rem;
}

.small-features {
  display: grid;
  gap: 1rem;
}

.mini-card {
  padding: 1rem 1.1rem;
  border-radius: 1.3rem;
  background: rgba(246, 242, 255, 0.85);
  border: 1px solid rgba(107, 79, 187, 0.12);
}

.mini-card strong {
  display: block;
  margin-bottom: 0.45rem;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: calc(0.95rem + 2px);
}

.stats-panel {
  display: grid;
  gap: 1rem;
}

.stat-card {
  padding: 1.5rem 1.5rem;
  border-radius: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(36, 48, 67, 0.06);
}

.accent-card {
  background: linear-gradient(135deg, rgba(107, 79, 187, 0.15), rgba(255, 143, 92, 0.12));
  border-color: rgba(107, 79, 187, 0.14);
}

.soft-card {
  background: rgba(246, 242, 255, 0.8);
}

.stat-label {
  display: inline-block;
  font-size: calc(2rem + 2px);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.65rem;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card img {
  width: 80px;
  margin-bottom: 1rem;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  color: var(--primary);
  font-weight: 700;
}

.link-btn::after {
  content: '→';
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.link-btn:hover::after {
  transform: translateX(4px);
}

.eyebrow {
  display: inline-block;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: calc(0.8rem + 2px);
  font-weight: 700;
  color: var(--primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.4rem;
  width: 100%;
}

.services-hero .hero-actions {
  justify-content: flex-start !important;
  align-items: flex-start !important;
  width: auto !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: auto;
  min-width: 0;
  min-height: 2.9rem;
  padding: 0.8rem 1.1rem;
  border: none;
  border-radius: 999px;
  font-family: Calibri, 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  font-size: calc(0.92rem + 2px);
  letter-spacing: 0.01em;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.product-card .btn {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  align-self: center;
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #23b55d, #1aaa58);
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(35, 181, 93, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  padding-left: 0.8rem;
  padding-right: 1.2rem;
  font-family: Calibri, 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
}

.btn-primary .wa-icon {
  display: inline-block;
  width: 1.45rem;
  height: 1.45rem;
  flex-shrink: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.btn-primary .wa-icon img,
.btn-primary .wa-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.btn-secondary {
  background: white;
  border: 1px solid var(--border);
  color: var(--primary-dark);
}

.hero-media img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 2.25rem;
  box-shadow: 0 35px 95px rgba(6, 116, 134, 0.16);
  background: transparent;
  padding: 0;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.contact-page .contact-grid {
  max-width: 860px;
  margin: 0 auto;
  gap: 1.25rem;
}

.card,
.stats-card,
.cta-banner,
.contact-card {
  background: #ffffff;
  border: 1px solid rgba(6, 116, 134, 0.08);
  border-radius: 1.4rem;
  box-shadow: 0 18px 45px rgba(6, 116, 134, 0.06);
}

.card,
.contact-card {
  padding: 1.4rem 1.35rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(36, 48, 67, 0.08);
}

  .service-card {
    background: #214C5E !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
  }
.stats-card {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

.stats-card div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stats-card strong {
  font-size: calc(1.3rem + 2px);
  color: var(--primary-dark);
}

.section {
  padding: 1.5rem 0 2.5rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 auto 2rem;
  max-width: 44rem;
  text-align: center;
}

.contact-page .section-heading {
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.contact-page .section-heading h2 {
  font-size: clamp(calc(1.9rem + 2px), calc(3.2vw + 2px), calc(2.4rem + 2px));
}

.section-heading .eyebrow {
  letter-spacing: 0.2em;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(calc(1.9rem + 2px), calc(3.5vw + 2px), calc(2.8rem + 2px));
  line-height: 1.08;
}

.feature-grid,
.service-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.product-grid.main-product-grid {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-grid.main-product-grid > article {
  min-height: 420px;
}

@media (max-width: 1080px) {
  .product-grid.main-product-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 720px) {
  .product-grid.main-product-grid {
    grid-template-columns: 1fr;
  }
}

.tabs {
  margin-top: 1.5rem;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.95rem 1.4rem;
  border: 1px solid rgba(6, 116, 134, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(6, 116, 134, 0.12), rgba(13, 153, 172, 0.14));
  border-color: var(--primary);
  color: var(--primary-dark);
}

.tab-btn:hover,
.tab-btn:focus {
  background: rgba(6, 116, 134, 0.08);
  box-shadow: 0 16px 40px rgba(6, 116, 134, 0.08);
  transform: translateY(-1px);
}

.tab-panel {
  display: grid;
  gap: 1.25rem;
}

.tab-panel .product-grid {
  margin-top: 0;
}

.feature-grid .card img,
.product-card img,
.fashion-media img {
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: #f6f2ff;
  padding: 0.75rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  border-radius: 1.8rem;
  background: #ffffff;
  border: 1px solid rgba(6, 116, 134, 0.12);
  box-shadow: 0 24px 60px rgba(6, 116, 134, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  padding: 0;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(6, 116, 134, 0.12);
}

.product-card-media,
.product-card-carousel {
  position: relative;
  width: 100%;
  height: 240px;
  min-height: 240px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(0.68rem + 2px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px rgba(20, 184, 166, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.product-card-media img,
.product-card-carousel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.35s ease;
  border-radius: 0;
  margin-bottom: 0;
  background: transparent;
  padding: 0;
}

.product-card-carousel img {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
}

.product-card-carousel img.active {
  opacity: 1;
  z-index: 2;
}

.carousel-indicators {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
  z-index: 3;
}

.carousel-indicators button {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-indicators button.active {
  background: #ffffff;
  transform: scale(1.1);
}

.product-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
  padding: 1.2rem 1.2rem 1.3rem;
}

.product-card h3 {
  margin: 0;
  font-size: calc(1.08rem + 2px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.product-card p {
  margin: 0;
  color: #52607a;
  font-size: calc(0.92rem + 2px);
  line-height: 1.7;
  flex: 1;
}

.product-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.product-card .card-link:hover {
  text-decoration: underline;
}

.product-card .card-link::after {
  content: '→';
  display: inline-block;
  transition: transform 0.2s ease;
}

.product-card .card-link:hover::after {
  transform: translateX(3px);
}

.fashion-section .fashion-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.fashion-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: rgba(6, 116, 134, 0.08);
  border: 1px solid rgba(6, 116, 134, 0.18);
  border-radius: 1.8rem;
}

.fashion-brand img {
  width: 140px;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  background: white;
  padding: 1rem;
}

.brand-copy .eyebrow {
  letter-spacing: 0.18em;
  margin-bottom: 0.35rem;
  color: var(--primary);
  text-transform: uppercase;
  font-size: calc(0.82rem + 2px);
}

.brand-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.fashion-section .product-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.fashion-section .product-card {
  min-height: auto;
  padding: 1.75rem;
  border-radius: 1.6rem;
  background: #ffffff;
  border: 1px solid rgba(6, 116, 134, 0.12);
  box-shadow: 0 18px 45px rgba(6, 116, 134, 0.08);
}

.fashion-section .product-card h3 {
  margin-bottom: 0.7rem;
}

.fashion-section .product-card p {
  margin: 0;
  color: var(--muted);
}

.service-card h3,
.product-card h3,
.contact-card h3 {
  margin-top: 0;
}

.cta-banner {
  padding: 2.2rem;
  margin-top: 1.5rem;
  text-align: center;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(79, 107, 255, 0.12), rgba(255, 145, 126, 0.08));
  border: 1px solid rgba(79, 107, 255, 0.14);
}

.cta-banner h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(calc(1.9rem + 2px), calc(3vw + 2px), calc(2.6rem + 2px));
}

.cta-banner p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(260px, 1fr);
  gap: 2rem;
  padding: 2rem;
  margin: 2rem 1rem 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(6, 116, 134, 0.12);
  border-radius: 1.75rem;
  color: var(--text);
  box-shadow: 0 24px 60px rgba(6, 116, 134, 0.08);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.footer-logo {
  width: 120px;
  max-width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px rgba(6, 116, 134, 0.12);
}

.brand-text-block {
  display: grid;
  gap: 0.7rem;
}

.brand-text-block .brand {
  font-size: calc(1.3rem + 2px);
  font-weight: 700;
  color: var(--text);
}

.brand-text-block p {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.8;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 1.5rem;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
  margin: 0;
  color: var(--primary-dark);
  font-size: calc(0.95rem + 2px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a,
.footer-contact a {
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary);
  transform: translateX(2px);
}

@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: 1fr;
    padding: 1.8rem;
    margin: 1.5rem 0 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 1.25rem;
    border-radius: 1.2rem;
  }

  .footer-brand,
  .footer-content {
    text-align: center;
  }

  .footer-content {
    gap: 1rem;
  }

  .footer-links,
  .footer-contact {
    align-items: center;
  }
}

body.products-page {
  font-size: 20px;
}

body.products-page .services-hero-copy .eyebrow {
  font-size: calc(0.75rem + 4px);
}

body.products-page .services-hero-copy h1 {
  font-size: clamp(calc(2.4rem + 4px), calc(4.2vw + 4px), calc(3.2rem + 4px));
}

body.products-page .services-hero-copy p {
  font-size: calc(1.02rem + 4px);
}

body.products-page .btn {
  font-size: calc(0.92rem + 4px);
}

body.products-page .eyebrow {
  font-size: calc(0.8rem + 4px);
}

body.products-page .section-heading h2 {
  font-size: clamp(calc(1.9rem + 4px), calc(3.5vw + 4px), calc(2.8rem + 4px));
}

body.products-page .product-card h3 {
  font-size: calc(1.08rem + 4px);
}

body.products-page .product-card p {
  font-size: calc(0.92rem + 4px);
}

body.products-page .brand-text-block .brand {
  font-size: calc(1.3rem + 4px);
}

body.products-page .footer-links h4,
body.products-page .footer-contact h4 {
  font-size: calc(0.95rem + 4px);
}

body.products-page .catalog-panel-close {
  font-size: calc(1.3rem + 4px);
}

@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: 1fr;
    padding: 1.8rem;
    margin: 1.5rem 0 0;
  }

  .footer-links {
    width: 100%;
    justify-content: space-between;
  }

  .fashion-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 1.25rem;
    border-radius: 1.2rem;
  }

  .footer-brand,
  .footer-links,
  .footer-copy {
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1.2rem;
  }

  .footer-links div {
    align-items: center;
    min-width: auto;
  }

  .footer-links a {
    padding: 0.25rem 0;
  }
}

.contact-panels {
  padding: 1rem 0 3rem;
}

.panels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .panels-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-flow: dense;
  }

  .emergency-card,
  .location-card {
    grid-column: 1 / -1;
  }
}

.contact-card {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  border-radius: 1.8rem;
  background: #ffffff;
  border: 1px solid rgba(6, 116, 134, 0.08);
  box-shadow: 0 24px 70px rgba(31, 41, 55, 0.08);
}

.contact-card h3 {
  margin: 0;
  font-size: calc(1.35rem + 2px);
  color: var(--text);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.emergency-card {
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 50px rgba(185, 28, 28, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.emergency-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: pulse-top 2s infinite;
}

@keyframes pulse-top {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.emergency-card .eyebrow {
  font-size: calc(0.95rem + 2px);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.9;
  font-family: Calibri, 'Segoe UI', Arial, sans-serif;
  margin-bottom: 0.5rem;
}

.emergency-card h3 {
  font-size: calc(2.8rem + 2px);
  font-weight: 900;
  font-family: Calibri, 'Segoe UI', Arial, sans-serif;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.emergency-card p {
  font-size: calc(1.2rem + 2px);
  font-weight: 700;
  font-family: Calibri, 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.98);
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
}

.emergency-card .eyebrow,
.emergency-card h3,
.emergency-card p,
.emergency-card .contact-phone {
  color: #ffffff;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #1ebe5c);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 18px 35px rgba(37, 211, 102, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-phone:hover {
  background: linear-gradient(135deg, #1ebe5c, #17a451);
  color: #ffffff;
}

.hours-list {
  display: grid;
  gap: 0.85rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 1.25rem;
  background: rgba(246, 242, 255, 0.75);
  border: 1px solid rgba(6, 116, 134, 0.08);
}

.hours-item strong {
  display: block;
  font-size: calc(1rem + 2px);
  color: var(--text);
}

.hours-item span {
  color: var(--muted);
}

.social-links.social-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.social-links.social-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 116, 134, 0.12);
  background: white;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-links.social-buttons a .social-icon {
  width: 2.3rem;
  height: 2.3rem;
  object-fit: contain;
  flex-shrink: 0;
}

.social-links.social-buttons a:hover {
  transform: translateY(-2px);
  background: rgba(6, 116, 134, 0.08);
  color: var(--primary);
}

.social-links.social-buttons a.facebook-button {
  background: #1877f2 !important;
  color: white !important;
  border-color: transparent !important;
}

.social-links.social-buttons a.instagram-button {
  background: radial-gradient(circle at 30% 107%, #fed373 0%, #f15245 45%, #d92e86 60%, #515ecf 90%) !important;
  color: white !important;
  border-color: transparent !important;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.25rem;
  margin: 1.25rem auto 0;
  min-width: 240px;
  width: min(100%, 240px);
  background: linear-gradient(135deg, #25d366, #1ebe5c);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  text-align: center;
  box-shadow: 0 18px 35px rgba(37, 211, 102, 0.22);
  font-family: Calibri, 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
}

.whatsapp-button .social-icon {
  width: 2.3rem;
  height: 2.3rem;
  object-fit: contain;
  flex-shrink: 0;
}

.whatsapp-button:hover {
  background: linear-gradient(135deg, #1ebe5c, #17a451);
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  font-size: calc(0.9rem + 2px);
  font-weight: 700;
}

.status.closed {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.contact-note {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 700;
}

.location-card .location-map {
  min-height: 260px;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(6, 116, 134, 0.08);
}
.location-card .location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.link-btn:hover {
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .panels-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .feature-grid,
  .service-grid,
  .product-grid,
  .about-grid,
  .contact-grid,
  .hero,
  .compact-hero,
  .contact-hero-card {
    grid-template-columns: 1fr;
  }

  .contact-hero-card {
    padding: 1.8rem 1.2rem;
    border-radius: 2rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-media,
  .contact-hero-visual {
    justify-content: center;
  }

  .hero-media img,
  .contact-hero-visual img {
    max-width: 100%;
  }

  .site-header {
    padding: 1rem 1rem;
  }

  .page {
    padding: 1rem;
  }
}

@media (max-width: 700px) {
  .contact-hero-card {
    padding: 1.6rem 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .site-header {
    margin: 0.7rem 0.7rem 0;
    border-radius: 1.2rem;
    padding: 0.8rem 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero-actions,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.2rem;
  }
}
