:root {
  --primary-color: #05759b;       /* Deep Medical Teal/Ocean Blue from MediTech logo */
  --primary-dark: #035a77;        /* Darker shade for hover/active */
  --primary-light: #e6f4f8;       /* Very soft teal tint */
  --secondary-color: #28ba93;     /* Mint/Emerald Green from MediTech logo */
  --secondary-dark: #1fa882;      /* Deep green hover */
  --secondary-light: #eaf8f4;     /* Soft mint tint */
  --accent-color: #0eb1b0;        /* Vibrant cyan/turquoise accent */
  --text-main: #1e293b;           /* Slate 800 - high contrast readability */
  --text-light: #536675;          /* Neutral slate gray from logo */
  --text-muted: #8395a7;
  --bg-color: #ffffff;
  --bg-light: #f4f9f9;            /* Subtle clinical teal-gray */
  --bg-subtle: #f8fafc;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 6px rgba(5, 117, 155, 0.06);
  --shadow-md: 0 6px 18px rgba(5, 117, 155, 0.08);
  --shadow-lg: 0 12px 30px rgba(5, 117, 155, 0.12);
  --shadow-hover: 0 16px 36px rgba(40, 186, 147, 0.18);
  --gradient-brand: linear-gradient(135deg, #05759b 0%, #0eb1b0 50%, #28ba93 100%);
  --gradient-hero: linear-gradient(135deg, rgba(3, 76, 100, 0.92) 0%, rgba(5, 117, 155, 0.86) 50%, rgba(40, 186, 147, 0.82) 100%);
  --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  --max-width: 1240px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--white);
  /* Elegant centered molecule watermark with MediTech brand colors */
  background-image: url("data:image/svg+xml,%3Csvg width='800' height='800' viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%2305759b' stroke-width='24' fill='none' stroke-linecap='round' stroke-linejoin='round' opacity='0.03'%3E%3Cpolygon points='400,200 550,287 550,460 400,547 250,460 250,287'/%3E%3Cline x1='280' y1='305' x2='280' y2='442'/%3E%3Cline x1='400' y1='235' x2='510' y2='298'/%3E%3Cline x1='400' y1='512' x2='510' y2='448'/%3E%3Cline x1='550' y1='460' x2='650' y2='517'/%3E%3Cline x1='400' y1='547' x2='400' y2='647'/%3E%3Cline x1='250' y1='287' x2='150' y2='230'/%3E%3Ccircle cx='650' cy='517' r='20' fill='%2328ba93' fill-opacity='0.1'/%3E%3Ccircle cx='400' cy='667' r='20' fill='%2328ba93' fill-opacity='0.1'/%3E%3Ccircle cx='130' cy='219' r='20' fill='%2328ba93' fill-opacity='0.1'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--text-light); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar */
.top-bar {
  background: linear-gradient(90deg, #034c64 0%, #05759b 100%);
  color: rgba(255, 255, 255, 0.95);
  padding: 8px 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-contact {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-bar-contact a {
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
}

.top-bar-contact a:hover {
  color: #a4ebd8;
}

.top-bar-hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}

/* Header & Navigation */
header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(5, 117, 155, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  max-height: 58px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.03);
}

.logo-brand-text {
  display: flex;
  flex-direction: column;
}

.logo-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.logo-brand-title span {
  color: var(--secondary-color);
}

.logo-brand-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  background: var(--primary-light);
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

nav ul li a {
  font-weight: 600;
  color: var(--text-main);
  text-transform: capitalize;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: width 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gradient-brand);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 14px rgba(5, 117, 155, 0.25);
  transition: var(--transition);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 186, 147, 0.35);
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary-color);
  box-shadow: 0 4px 14px rgba(40, 186, 147, 0.25);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  box-shadow: 0 8px 20px rgba(40, 186, 147, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(5, 117, 155, 0.25);
}

.btn-white {
  background: var(--white);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: #f0fdfa;
  color: var(--secondary-color);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
  padding: 110px 0 100px;
  background: var(--gradient-hero), url('../images/bg-image/hero_bg.png') center/cover no-repeat;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 18px;
  border-radius: 30px;
  color: #eafff8;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 3.4rem;
  margin-bottom: 22px;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.25rem;
  max-width: 760px;
  margin: 0 auto 35px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  line-height: 1.7;
}

.slogan-highlight {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: #a4ebd8;
  margin-bottom: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.hero .btn-outline:hover {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

/* Trust Bar / Stats Section */
.trust-bar {
  background: var(--white);
  box-shadow: 0 10px 30px rgba(5, 117, 155, 0.08);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  border: 1px solid var(--border-color);
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
}

.trust-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.trust-item:hover .trust-icon {
  background: var(--gradient-brand);
  color: var(--white);
  transform: rotate(5deg) scale(1.05);
}

.trust-text h4 {
  font-size: 1.05rem;
  margin-bottom: 3px;
  color: var(--text-main);
  font-weight: 700;
}

.trust-text p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: var(--text-light);
}

/* Services section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  padding: 30px 0;
}

.two-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
  margin-bottom: 50px;
}

.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(40, 186, 147, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 22px;
  border-radius: 18px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-brand);
  color: var(--white);
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Sections */
.section {
  padding: 85px 0;
}

.bg-light {
  background: var(--bg-light);
}

.bg-white {
  background: var(--white);
}

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

.section-tag {
  display: inline-block;
  padding: 5px 16px;
  background: var(--primary-light);
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-tag-secondary {
  background: var(--secondary-light);
  color: var(--secondary-dark);
}

.section-header {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-header h2 {
  font-size: 2.35rem;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Feature Showcase */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 1.05rem;
  color: var(--text-main);
}

.feature-list li i {
  color: var(--secondary-color);
  font-size: 1.25rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Quick Portals Section on Index */
.portals-highlight {
  background: linear-gradient(180deg, var(--bg-light) 0%, #eaf4f7 100%);
  border-radius: var(--radius-lg);
  padding: 50px 35px;
  margin: 40px 0;
  border: 1px solid var(--border-color);
}

/* Promo Grid */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
}

@media (min-width: 992px) {
  .promo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Callout Banner */
.cta-banner {
  background: var(--gradient-brand);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(5, 117, 155, 0.25);
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Unique Portal Cards for Resultados Page */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.portal-card {
  background-color: var(--white);
  border: 2px solid #eef2f6;
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  transition: var(--transition);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.portal-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.portal-icon-container {
  width: 86px;
  height: 86px;
  background: var(--primary-light);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin: 0 auto 25px auto;
  transition: all 0.4s ease;
}

.portal-card:hover .portal-icon-container {
  background: var(--gradient-brand);
  color: var(--white);
  transform: scale(1.08);
}

.portal-card h3 {
  margin-bottom: 14px;
  color: var(--text-main);
  font-size: 1.55rem;
}

.portal-card p {
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.6;
}

.portal-card .btn {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
}

/* Modern Contact Info Boxes */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}

@media (max-width: 600px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 22px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.contact-info-card:hover::before {
  transform: scaleX(1);
}

.contact-info-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary-color);
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-info-icon-wrapper {
  background: var(--gradient-brand);
  color: var(--white);
  transform: scale(1.1);
}

.contact-info-text h4 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: var(--text-main);
  font-weight: 700;
}

.contact-info-text p, .contact-info-text a {
  margin: 0;
  color: var(--text-light);
  line-height: 1.55;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-text a:hover {
  color: var(--primary-color);
  font-weight: 600;
}

/* Modern Form Controls */
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius);
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.98rem;
  transition: all 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(5, 117, 155, 0.18);
}

.form-control::placeholder {
  color: #94a3b8;
}

/* Custom File Upload */
.file-upload-wrapper {
  position: relative;
  width: 100%;
}

.file-upload-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  background-color: var(--white);
  border: 2px dashed #94a3b8;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  color: var(--text-light);
  font-weight: 500;
}

.file-upload-label:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-light);
  color: var(--primary-color);
}

/* Form security honeypot */
.user-preferences-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0;
  height: 0;
  width: 0;
  z-index: -1;
  pointer-events: none;
}

/* Footer */
footer {
  background: linear-gradient(180deg, #02384a 0%, #01222e 100%);
  color: var(--white);
  padding: 70px 0 24px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

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

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

footer h4 {
  color: var(--white);
  margin-bottom: 22px;
  font-size: 1.25rem;
  position: relative;
  padding-bottom: 10px;
}

footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
}

footer p, footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

footer a:hover {
  color: #a4ebd8;
  text-decoration: none;
}

.footer-about p {
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease, color 0.25s ease;
}

.footer-links ul li a::before {
  content: '\f105';
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  margin-right: 8px;
  color: var(--secondary-color);
  transition: margin-right 0.25s ease;
}

.footer-links ul li a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-links ul li a:hover::before {
  margin-right: 12px;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact p i {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #a4ebd8;
  text-decoration: underline;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 40, 53, 0.85);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-content {
  margin: 6vh auto 0 auto;
  display: block;
  width: auto;
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: modalzoom 0.3s ease;
}

#promoModalCaption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: var(--white);
  padding: 16px 0;
  font-size: 1.25rem;
  font-weight: 600;
}

@keyframes modalzoom {
  from {transform: scale(0.92); opacity: 0}
  to {transform: scale(1); opacity: 1}
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  transition: 0.25s;
  cursor: pointer;
  z-index: 2005;
}

.modal-close:hover {
  color: var(--secondary-color);
}

.promo-click-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(5, 117, 155, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  font-size: 3.2rem;
}

.promo-click-wrapper:hover .promo-click-overlay {
  opacity: 1;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: inherit;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

.whatsapp-float__btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  position: relative;
}

.whatsapp-float__btn::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: whatsappPulse 2.5s infinite cubic-bezier(0.4, 0, 0.6, 1);
  pointer-events: none;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

.whatsapp-float__tooltip {
  background: var(--white);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2e8f0;
}

.whatsapp-float__tooltip-status {
  width: 9px;
  height: 9px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

/* Desktop default for mobile elements */
.mobile-menu-cta {
  display: none;
}

@keyframes slideDownNav {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .top-bar-hours {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.7rem;
  }
}

@media (max-width: 768px) {
  /* Hide the cramped top-bar on mobile viewports */
  .top-bar {
    display: none !important;
  }

  .nav-container {
    padding: 10px 18px;
    min-height: 62px;
  }

  .logo {
    display: flex;
    align-items: center;
  }

  .logo a {
    gap: 0;
  }

  .logo img {
    max-height: 46px;
    width: auto;
  }

  /* Hide the duplicate brand text on mobile so only the clean logo is shown */
  .logo-brand-text {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
    color: var(--primary-color);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
  }

  .mobile-menu-btn:hover,
  .mobile-menu-btn:active {
    background: var(--primary-light);
    color: var(--primary-dark);
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 14px 20px 22px;
    box-shadow: 0 16px 35px rgba(5, 117, 155, 0.15);
    gap: 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 3px solid var(--primary-color);
    animation: slideDownNav 0.25s ease-out;
    z-index: 999;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    padding: 12px 6px;
    font-size: 1.05rem;
    color: var(--text-main);
    border-bottom: 1px solid #f1f5f9;
  }

  nav ul li a::after {
    display: none;
  }

  nav ul li a.active {
    color: var(--primary-color);
    font-weight: 700;
  }

  .nav-cta {
    display: none !important;
  }

  .mobile-menu-cta {
    display: block !important;
    width: 100%;
  }

  .mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 16px;
    margin-top: 8px;
  }

  .mobile-menu-footer .btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

  .mobile-menu-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
  }

  .mobile-menu-footer-contact a {
    color: var(--text-light) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0 !important;
    border-bottom: none !important;
  }

  .mobile-menu-footer-contact a:hover {
    color: var(--primary-color) !important;
  }

  .mobile-menu-footer-contact span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .hero {
    padding: 55px 0 50px;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 5px 14px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .slogan-highlight {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .trust-bar {
    margin-top: 15px;
    padding: 20px 15px;
  }

  .trust-grid {
    gap: 15px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float__btn {
    width: 52px;
    height: 52px;
  }

  .whatsapp-float__tooltip {
    display: none;
  }
}
