:root {
  --primary: #0b4f53;
  --primary-dark: #07363a;
  --accent: #1aa3a6;
  --accent-soft: #d7f3f3;
  --text: #0f1f21;
  --muted: #5a6b70;
  --bg: #f7fafb;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(7, 54, 58, 0.12);
  --radius: 16px;
  --brand-gradient: linear-gradient(135deg, #0b4f53 0%, #1B436B 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(7, 54, 58, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
}

.logo img {
  width: 135px;
  height: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  color: var(--primary-dark);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: '▼';
  font-size: 0.6rem;
  margin-left: 0.5rem;
}

.dropdown-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(7, 54, 58, 0.15);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--primary-dark);
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b4f53, #1B436B);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(11, 79, 83, 0.3);
}

.nav-icon.whatsapp {
  margin-right: 8px;
  color: #25D366;
}

.nav-icon.whatsapp:hover {
  background: #25D366;
  color: white;
}

/* CTA link in header using site palette */
.nav-cta {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.15s ease;
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--primary-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: var(--white);
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(12, 95, 99, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(12, 95, 99, 0.3);
}

.btn-small {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: none;
  font-weight: 700;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.hero {
  position: relative;
  background: radial-gradient(circle at top left, rgba(26, 163, 166, 0.2), transparent 50%),
    var(--brand-gradient);
  color: var(--white);
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  line-height: 1.1;
  margin: 16px 0;
}

.hero-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 520px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
  margin: 28px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.hero-highlights strong {
  font-size: 1.2rem;
  display: block;
}

.hero-card .card {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card ul {
  list-style: none;
  margin: 20px 0;
  display: grid;
  gap: 10px;
}

.hero-card li::before {
  content: '✓';
  color: var(--accent);
  margin-right: 8px;
}

.hero-card li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  background: var(--bg);
  clip-path: polygon(0 40%, 25% 60%, 50% 45%, 75% 65%, 100% 40%, 100% 100%, 0 100%);
}

.section {
  padding: 90px 0;
  background: var(--bg);
  scroll-margin-top: 90px;
}

.section.alt {
  background: var(--white);
}

.section-title span {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 1.5px;
}

.section-title h2 {
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  margin-top: 12px;
  color: var(--primary-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 32px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.pill-list span {
  background: var(--accent-soft);
  color: var(--primary-dark);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.about-cards {
  display: grid;
  gap: 18px;
}

.mini-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(7, 54, 58, 0.08);
  box-shadow: 0 12px 25px rgba(7, 54, 58, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(7, 54, 58, 0.12);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.gallery {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 240px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 24px 48px rgba(7, 54, 58, 0.18);
}

.gallery-link {
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: block;
}

.gallery-link:focus-visible {
  outline: 3px solid rgba(26, 163, 166, 0.6);
  outline-offset: 4px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 16, 18, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 9999;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: min(1000px, 92vw);
  max-height: 85vh;
}

.lightbox-image {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  background: var(--white);
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--primary-dark);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

.service-section {
  margin: 40px 0;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.service-section-title {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
  font-weight: 700;
}

.service-section-description {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.professionals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.professional-card {
  background: linear-gradient(135deg, var(--accent-soft), rgba(26, 163, 166, 0.08));
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--accent);
  transition: all 0.3s ease;
}

.professional-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(26, 163, 166, 0.15);
}

.professional-card h4 {
  color: var(--primary);
  margin: 0 0 8px 0;
  font-size: 1rem;
}

.professional-card p {
  color: var(--text);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.risk-card {
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  border: 2px solid transparent;
  text-align: center;
  transition: all 0.3s ease;
}

.risk-card:nth-child(1) {
  border-color: #4caf50;
  background: rgba(76, 175, 80, 0.05);
}

.risk-card:nth-child(2) {
  border-color: #ff9800;
  background: rgba(255, 152, 0, 0.05);
}

.risk-card:nth-child(3) {
  border-color: #ff5722;
  background: rgba(255, 87, 34, 0.05);
}

.risk-card:nth-child(4) {
  border-color: #f44336;
  background: rgba(244, 67, 54, 0.05);
}

.risk-level {
  display: inline-block;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.risk-card p {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.program-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(11, 163, 166, 0.2);
  box-shadow: 0 8px 20px rgba(7, 54, 58, 0.06);
  transition: all 0.3s ease;
  position: relative;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 32px rgba(26, 163, 166, 0.12);
}

.program-card h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.program-card p {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 8px 0;
}

.program-card p:first-of-type {
  font-weight: 600;
  color: var(--primary-dark);
}

.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 12px;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.training-card {
  background: var(--white);
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(7, 54, 58, 0.08);
}

.cta-box {
  margin-top: 40px;
  background: var(--brand-gradient);
  color: var(--white);
  padding: 28px 32px;
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.contact-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.contact-info-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.contact-form {
  background: var(--white);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-dark);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(7, 54, 58, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.info-card {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(7, 54, 58, 0.12);
  box-shadow: 0 8px 20px rgba(7, 54, 58, 0.06);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 32px rgba(26, 163, 166, 0.12);
}

.info-card h4 {
  color: var(--primary);
  margin: 0 0 12px 0;
  font-size: 1.1rem;
}

.info-card p {
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.info-card a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.info-card a:hover {
  color: var(--primary);
}

.map iframe {
  width: 100%;
  min-height: 200px;
  border: none;
  border-radius: 12px;
}

.map-container {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: var(--radius);
}

.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  align-items: start;
}

.footer-logo {
  width: 140px;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  margin-top: 30px;
  padding: 18px 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
}

.link {
  font-weight: 700;
  color: var(--accent);
}

/* Required field asterisks - RED */
label {
  position: relative;
}

label::after {
  content: attr(data-required);
  color: #d32f2f;
  font-weight: bold;
  font-size: 1.1em;
}

/* Remove buttons styling */
.btn-remove-item {
  background-color: #d32f2f;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
}

.btn-remove-item:hover {
  background-color: #b71c1c;
  transform: scale(1.05);
}

.alert-info {
  background: linear-gradient(180deg, rgba(26,163,166,0.08), rgba(26,163,166,0.02));
  border: 1px solid rgba(26,163,166,0.15);
  color: var(--primary-dark);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 72px;
    right: 16px;
    background: var(--white);
    flex-direction: column;
    padding: 18px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .btn-small {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}
