:root {
  --primary: #025091;
  --primary-light: #0077b6;
  --secondary: #caf0f8;
  --teal-accent: #009688;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --bg-light: #f8fafc;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-dark); line-height: 1.7; background-color: var(--bg-light); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.header { background: var(--white); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; padding: 1rem 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 50px; width: auto; }
.navigation a { text-decoration: none; color: var(--text-dark); margin-left: 24px; font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
.navigation a:hover, .active-link { color: var(--primary-light); }
.nav-cta { background: var(--primary); color: var(--white) !important; padding: 10px 24px; border-radius: 50px; }
.nav-cta:hover { background: var(--primary-light); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--primary); }

/* HERO */
.hero-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: var(--white); padding: 120px 0; text-align: center; }
.hero-content h1 { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; margin-bottom: 24px; line-height: 1.2; }
.hero-content p { font-size: 1.2rem; margin-bottom: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* BUTTONS */
.cta-button { display: inline-block; padding: 14px 32px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; margin: 10px; }
.cta-button.primary { background: var(--white); color: var(--primary); box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.cta-button.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.cta-button.secondary { border: 2px solid rgba(255,255,255,0.3); color: var(--white); }
.cta-button.secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ABOUT */
.about-section { padding: 100px 0; background: var(--white); }
.about-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .about-layout { grid-template-columns: 1fr 1fr; align-items: center; } }
.about-image-area { width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.1); background: #eee; }

/* SERVICES */
.section-header h2 { font-family: var(--font-heading); font-size: 2.2rem; color: var(--primary); margin-bottom: 12px; }
.section-header.centered { text-align: center; margin-bottom: 60px; }
.divider { width: 80px; height: 4px; background: var(--primary-light); border-radius: 2px; margin: 0 auto 16px auto; }
.services-section { padding: 100px 0; background: var(--bg-light); }
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.card { background: var(--white); padding: 40px 30px; border-radius: 16px; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08); text-align: center; transition: transform 0.3s; border-top: 4px solid transparent; }
.card:hover { transform: translateY(-10px); border-top: 4px solid var(--primary-light); }
.icon-circle { font-size: 2.5rem; margin-bottom: 24px; background: var(--secondary); width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto; color: var(--primary); }
.card h3 { color: var(--text-dark); font-size: 1.25rem; margin-bottom: 16px; }

/* === SEDES (LOCATIONS) === */
.locations-section { padding: 100px 0; background: var(--white); }
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.location-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #eee; }

/* The Image Space Styles */
.sede-image-space { width: 100%; height: 250px; background-color: #ddd; display: flex; align-items: center; justify-content: center; color: #777; font-weight: bold; border-bottom: 3px solid var(--primary); }
.sede-image-space img { width: 100%; height: 100%; object-fit: cover; }

.loc-info { padding: 30px; text-align: center; }
.loc-info h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.5rem; }

/* === WOUND CLINIC PAGE STYLES (New) === */
.wound-hero { background: linear-gradient(rgba(2, 80, 145, 0.9), rgba(0, 150, 136, 0.8)), url('equipo-medico.jpg'); background-size: cover; background-position: center; padding: 140px 0; text-align: center; color: white; }
.badge-large { background: var(--teal-accent); color: white; padding: 8px 20px; border-radius: 30px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; display: inline-block; }
.wound-hero h1 { font-family: var(--font-heading); font-size: 3.5rem; margin-bottom: 10px; }
.wound-hero h2 { font-size: 2rem; font-weight: 400; opacity: 0.9; margin-bottom: 30px; }

.wound-details { padding: 80px 0; background: var(--white); }
.wound-intro { text-align: center; max-width: 800px; margin: 0 auto 60px auto; }
.wound-intro h3 { font-size: 2rem; color: var(--primary); margin-bottom: 15px; }
.tagline { font-size: 1.5rem; color: var(--teal-accent); font-style: italic; font-weight: 600; }

.wound-grid-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.wound-card { background: var(--bg-light); padding: 40px; border-radius: 16px; border-left: 5px solid var(--teal-accent); }
.wound-card h4 { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 25px; border-bottom: 1px solid #ddd; padding-bottom: 10px; }
.check-list { list-style: none; }
.check-list li { margin-bottom: 15px; font-size: 1.1rem; padding-left: 30px; position: relative; }
.check-list li::before { content: '✔'; position: absolute; left: 0; color: var(--teal-accent); font-weight: bold; }

.whatsapp-btn { display: inline-block; background: #25D366; color: white; text-decoration: none; font-weight: bold; padding: 15px 30px; border-radius: 50px; font-size: 1.2rem; margin-top: 20px; transition: transform 0.2s; }
.whatsapp-btn:hover { transform: scale(1.05); }

/* CONTACT & FOOTER */
.contact-section { padding: 80px 0; background: var(--primary); color: var(--white); text-align: center; }
.contact-numbers { background: rgba(255,255,255,0.1); padding: 20px; border-radius: 12px; display: inline-block; margin: 30px 0; width: 100%; max-width: 400px; }
.contact-numbers p { margin: 8px 0; font-size: 1.3rem; font-weight: 700; }
.contact-button { display: inline-block; background: var(--white); color: var(--primary); padding: 12px 30px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.footer { background: #111827; color: #9ca3af; text-align: center; padding: 40px 0; }
.footer-logo-img { height: 40px; margin-bottom: 20px; filter: brightness(0) invert(1); }

/* MOBILE */
@media (max-width: 768px) {
  .hero-content h1, .wound-hero h1 { font-size: 2.2rem; }
  .navigation { display: none; }
  .mobile-menu-btn { display: block; }
  .navigation.active { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: var(--white); box-shadow: 0 10px 20px rgba(0,0,0,0.1); padding: 24px; }
  .navigation.active a { margin: 12px 0; margin-left: 0; }
  .nav-cta { text-align: center; margin-top: 10px !important; }
}