﻿:root {
  --color-primary: #0d7c8c;
  --color-primary-light: #14a3b8;
  --color-accent: #e85d2a;
  --color-dark: #0a2540;
  --color-text: #1e3a4f;
  --color-light-bg: #f4f9fc;
  --color-card-blue: rgba(13, 124, 140, 0.08);
  --color-card-purple: rgba(10, 37, 64, 0.06);
  --shadow-sm: 0 2px 12px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 32px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 20px 50px rgba(10, 37, 64, 0.12);
  --radius-lg: 20px;
  --radius-xl: 28px;
}

* { box-sizing: border-box; }
body {
  font-family: 'Onest', sans-serif;
  color: var(--color-text);
  background: var(--color-light-bg);
  overflow-x: hidden;
  margin: 0;
}

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

#masthead {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(10, 37, 64, 0.06);
  border-bottom: 1px solid rgba(13, 124, 140, 0.08);
}
.site-logo img { max-width: 220px; width: 100%; height: auto; }
.main-nav .nav-link {
  font-weight: 600;
  color: var(--color-text);
  padding: 0.5rem 1rem !important;
  position: relative;
}
.main-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: 2px;
  transition: width 0.25s, left 0.25s;
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
  width: calc(100% - 2rem);
  left: 1rem;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--color-primary); }
.btn-appointment {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  border: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(13, 124, 140, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-appointment:hover {
  background: linear-gradient(135deg, #0a6a78 0%, var(--color-primary) 100%);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 124, 140, 0.35);
}
.navbar-toggler { border-color: var(--color-primary); color: var(--color-primary); }

.site-footer {
  background: linear-gradient(160deg, #061e32 0%, var(--color-dark) 55%, #0d4a5c 100%);
  color: #fff;
  padding-top: 45px;
}
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1.1rem; font-weight: 600; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--color-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  margin-top: 30px;
}
.footer-social a {
  display: inline-flex;
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  align-items: center; justify-content: center;
  color: #fff;
  margin-left: 8px;
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}
.footer-social a:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(13, 124, 140, 0.4);
  color: #fff;
}
.site-footer img {
  max-width: 100%;
  height: auto;
}

.text-dark-heading { color: var(--color-dark); }
.text-primary-label { color: var(--color-primary); font-weight: 600; }

.fixed-social-links .social {
  position: fixed;
  top: 40%;
  right: 0;
  z-index: 5;
  list-style: none;
  padding: 0;
  margin: 0;
}
.fixed-social-links .social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fixed-social-links .social li,
.fixed-social-links .social ul li {
  display: block;
  margin: 0 0 5px;
  background-color: rgba(0,0,0,.11);
  width: 70px;
  height: 64px;
  text-align: left;
  padding: 6px 4px 6px 8px;
  border-radius: 30px 0 0 30px;
}
.fixed-social-links .social-div {
  width: 51px; height: 51px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.fixed-social-links .phone .social-div {
  background: linear-gradient(66deg, #04535a 26%, #2C5993 88%);
}
.fixed-social-links .instagram .social-div {
  background: linear-gradient(115deg, #f9ce34, #ee2a7b, #6228d7);
}
.fixed-social-links .whatsapp .social-div {
  background-color: #075E54;
  font-size: 1.5rem;
}

#ast-scroll-top {
  display: none;
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 99;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, background 0.2s;
}
#ast-scroll-top:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
}
#ast-scroll-top.show { display: block; }

img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}

.container {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ── Shared page UI (all inner pages) ── */
.page-content { padding: 2.5rem 0 4rem; }

.breadcrumbs {
  font-size: 0.9rem;
  color: #5a7a8c;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.breadcrumbs a {
  color: var(--color-dark);
  font-weight: 600;
  transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs .current {
  color: var(--color-primary);
  font-weight: 600;
}

.banner-sec {
  width: 100%;
  position: relative;
  color: #fff;
  text-align: center;
  margin-bottom: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #041525 0%, var(--color-dark) 40%, #0d4a5c 100%);
}
.banner-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.banner-sec::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 163, 184, 0.2) 0%, transparent 70%);
  top: -80px;
  right: -60px;
  pointer-events: none;
}
.banner-sec img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  opacity: 0.35;
}
.banner-sec .overlay {
  width: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem;
  background: linear-gradient(135deg, rgba(4, 21, 37, 0.75) 0%, rgba(10, 37, 64, 0.65) 50%, rgba(13, 74, 92, 0.7) 100%);
}
.banner-sec .header-sec { margin: auto; width: 100%; }
.banner-sec h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 400;
  margin: 0 0 10px;
  padding: 0 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.banner-sec .banner-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 500;
  max-width: 640px;
}

.page-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
.page-intro h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--color-dark);
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.page-intro p {
  line-height: 1.7;
  margin: 0;
  color: #5a7a8c;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.section-header .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  padding: 6px 14px;
  background: rgba(13, 124, 140, 0.08);
  border-radius: 999px;
}
.section-header h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--color-dark);
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.section-header p {
  color: #5a7a8c;
  margin: 0;
  line-height: 1.6;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--color-accent) 0%, #f07040 50%, #ff8c5a 100%);
  background-size: 200% auto;
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 28px rgba(232, 93, 42, 0.4);
  transition: transform 0.25s, box-shadow 0.25s, background-position 0.4s;
}
.btn-primary-custom:hover {
  background-position: right center;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232, 93, 42, 0.45);
}

/* Service cards — shared on home + services page */
.service-sec .card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 124, 140, 0.1);
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, border-color 0.3s;
}
.service-sec .card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-sec .card:hover::after { transform: scaleX(1); }
.service-sec .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(13, 124, 140, 0.15);
  border-color: rgba(13, 124, 140, 0.3);
}
.service-sec .alter-card-color {
  background: var(--color-card-purple) !important;
}
.service-sec .alter-card-color::after {
  background: linear-gradient(90deg, var(--color-accent), #ff8c5a);
}
.service-sec .card-bg { display: none; }
.service-sec .card:hover .cardhead-sec h3,
.service-sec .card:hover .cardhead-sec a { color: var(--color-primary) !important; }
.service-sec .card:hover .service-img-sec {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 8px 20px rgba(13, 124, 140, 0.25);
}
.cardhead-sec {
  padding: 1.25rem;
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cardhead-sec h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.35;
  transition: color 0.2s;
}
.service-img-sec {
  width: 48px;
  height: 48px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(13, 124, 140, 0.12) 0%, rgba(20, 163, 184, 0.08) 100%);
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.service-img-sec.alter-img-color {
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.1) 0%, rgba(13, 124, 140, 0.06) 100%) !important;
}
.service-img-sec img { width: 100%; height: auto; display: block; object-fit: contain; }
.hpbc-icon-sec { width: 56px; height: 56px; }

.service-sec-more {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(13, 124, 140, 0.1);
}
.service-sec-title {
  font-family: 'DM Serif Display', Georgia, serif;
  text-align: center;
  color: var(--color-dark);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.services-list-panel {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid rgba(13, 124, 140, 0.08);
}
.services-list-ui {
  list-style: none;
  padding: 0;
  margin: 0;
}
.services-list-ui li { border-bottom: 1px solid rgba(13, 124, 140, 0.08); }
.services-list-ui li:last-child { border-bottom: none; }
.services-list-ui a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, padding-left 0.2s;
}
.services-list-ui a:hover {
  background: rgba(13, 124, 140, 0.06);
  padding-left: 22px;
  color: var(--color-primary);
}
.service-list-icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(13, 124, 140, 0.12) 0%, rgba(20, 163, 184, 0.08) 100%);
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-list-icon.alter-img-color {
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.1) 0%, rgba(13, 124, 140, 0.06) 100%) !important;
}
.service-list-icon img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* FAQ accordion — shared */
.faq-list { margin: 1.25rem 0 1.5rem; }
.faq-item {
  border: 1px solid rgba(13, 124, 140, 0.12);
  border-radius: 14px;
  padding: 0.85rem 1.15rem;
  margin-bottom: 0.75rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover {
  border-color: rgba(13, 124, 140, 0.25);
  box-shadow: var(--shadow-md);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-dark);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.2rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0.75rem 0 0;
  color: #5a7a8c;
  line-height: 1.65;
}

/* Content cards */
.content-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(13, 124, 140, 0.08);
}
.content-card h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--color-dark);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.content-card p { line-height: 1.75; margin-bottom: 1rem; color: var(--color-text); }
.content-card ol {
  padding-left: 1.25rem;
  margin-bottom: 0;
}
.content-card ol li {
  margin-bottom: 1.25rem;
  line-height: 1.65;
  color: var(--color-text);
}
.content-card ol li:last-child { margin-bottom: 0; }

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    margin-top: 0.75rem;
    padding: 0.75rem 0.5rem 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 26, 65, 0.1);
  }
  .main-nav .nav-link {
    padding: 0.65rem 0.75rem !important;
  }
  .main-nav .btn-appointment {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }
}

@media (max-width: 576px) {
  .site-logo img { max-width: 160px; }
  .fixed-social-links .social { top: auto; bottom: 80px; }
  .fixed-social-links .social li,
  .fixed-social-links .social ul li {
    width: 52px;
    height: 48px;
  }
  .fixed-social-links .social-div {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .site-footer { padding-top: 2rem; }
  .site-footer .row > [class*="col-"] {
    margin-bottom: 1.5rem;
  }
  .banner-sec .overlay { padding: 2.5rem 1rem; min-height: 140px; }
  .banner-sec h1 { font-size: 1.65rem; }
  .page-content { padding: 1.5rem 0 2.5rem; }
  .hpbc-icon-sec { width: 48px !important; height: 48px !important; }
}