/* ==========================================================================
   vasectomiasb.com — landing customizations on top of the Micare theme
   Re-skins the theme's default red accent to the brand palette taken from
   the vasectomiasb.com logo (navy / terracotta / teal) and adds the
   components the base theme does not ship with (hero, doctor card,
   steps, WhatsApp float, contact form status, simplified footer).
   ========================================================================== */

:root {
  /* Brand palette from the logo mark */
  --red: #C96A3E;
  /* terracotta (primary accent / CTAs) */
  --red-2: #E0895C;
  /* lighter terracotta, for accents on dark backgrounds */
  --brand-dark: #0E2F42;
  /* navy from the logo circle */
  --brand-teal: #5B9C8B;
  /* teal accent from the logo */
  --brand-soft: #EEF4F2;
  --whatsapp: #25D366;
}

html {
  scroll-behavior: smooth;
}

section[id],
div[id].section-anchor {
  scroll-margin-top: 110px;
}

img {
  max-width: 100%;
}

/* ---------------- Top bar ---------------- */
.top-bar {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.top-bar-inner {
  padding: 10px 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar .text-topbar {
  font-weight: 500;
}

.dot-topbar {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  margin: 0 16px;
  flex: none;
}

.tb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tb-item i {
  color: var(--red-2);
}

.tb-item a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.tb-item a:hover {
  color: #fff;
}

.top-bar .post-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
}

.top-bar .post-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
}

.top-bar .post-social a:hover {
  background: var(--red);
}

@media (max-width: 767px) {
  .top-bar .text-topbar,
  .top-bar .dot-topbar {
    display: none;
  }
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header .header-content {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px 0 28px;
  box-shadow: 0 6px 24px rgba(10, 47, 92, 0.08);
}

.logo-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

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

.logo-wordmark .lw-main {
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
}

.logo-wordmark .lw-main span {
  color: var(--red);
}

.logo-wordmark .lw-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-paragraph);
}

.main-menu-simple {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0 0 0 40px;
}

.main-menu-simple a {
  font-weight: 600;
  font-size: 15px;
  color: var(--black);
  text-decoration: none;
  transition: color 0.3s ease;
}

.main-menu-simple a:hover,
.main-menu-simple a.active {
  color: var(--red);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--black);
  position: relative;
}

.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--black);
}

.mobile-menu-btn span::before {
  top: -6px;
}

.mobile-menu-btn span::after {
  top: 6px;
}

#mobileNav .offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

#mobileNav .offcanvas-body {
  padding: 24px;
}

#mobileNav .mobile-menu-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

#mobileNav .mobile-menu-list li + li {
  margin-top: 4px;
}

#mobileNav .mobile-menu-list a {
  display: block;
  padding: 12px 10px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
}

#mobileNav .mobile-menu-list a:hover {
  background: var(--brand-soft);
  color: var(--red);
}

#mobileNav .mobile-contact {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

#mobileNav .mobile-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  margin-bottom: 12px;
}

#mobileNav .mobile-contact i {
  color: var(--red);
}

@media (max-width: 1199px) {
  .main-menu-simple,
  .header-cta-group .tf-btn {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

/* ---------------- Hero ---------------- */
.hero-section {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100vw;
  background: linear-gradient(180deg, var(--brand-soft) 0%, #ffffff 65%);
  padding: 70px 0 60px;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 95, 191, 0.14) 0%, rgba(11, 95, 191, 0) 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(10, 47, 92, 0.1);
  font-weight: 700;
  font-size: 13px;
  color: var(--red);
  margin-bottom: 22px;
}

.hero-badge i {
  color: var(--red);
}

.hero-title {
  font-size: 52px;
  line-height: 1.12;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 22px;
}

.hero-title span {
  color: var(--red);
}

.hero-desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-paragraph);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-doctor-line {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-doctor-line .avatar-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.hero-doctor-line .name {
  font-weight: 700;
  color: var(--black);
  display: block;
}

.hero-doctor-line .role {
  font-size: 13px;
  color: var(--color-paragraph);
}

.hero-form-card {
  border-radius: 28px;
  background: #fff;
  padding: 30px;
  box-shadow: 0 24px 60px rgba(14, 47, 66, 0.14);
  border: 1px solid var(--border);
}

.heading-form-hero {
  margin-bottom: 18px;
}

.heading-form-hero .title {
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
}

.heading-form-hero .desc {
  font-size: 14px;
  color: var(--color-paragraph);
  margin-top: 4px;
}

.hero-form-card .landing-form {
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

/* ---------------- Stats strip ---------------- */
.stats-strip {
  background: var(--brand-dark);
  border-radius: 24px;
  padding: 44px 30px;
  margin: 0 auto;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.stats-strip .stat-item .stat-number {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
}

.stats-strip .stat-item .stat-number .suffix {
  color: var(--brand-teal);
}

.stats-strip .stat-item .stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 15px;
  margin-top: 6px;
}

@media (max-width: 767px) {
  .stats-strip {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Section heading helper ---------------- */
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--brand-soft);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------------- Benefits ---------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.benefit-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.benefit-card:hover {
  box-shadow: 0 16px 30px rgba(10, 47, 92, 0.1);
  transform: translateY(-3px);
}

.benefit-card .check-ico {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.benefit-card p {
  margin: 0;
  color: var(--color-paragraph);
  font-weight: 500;
  line-height: 1.5;
}

/* ---------------- Services ---------------- */
.service-card {
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 34px;
  height: 100%;
  background: #fff;
}

.service-side-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.service-side-stack .service-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-side-stack .service-card a.tf-btn {
  margin-top: auto;
}

.service-card.is-highlight {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.service-card .service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}

.service-card.is-highlight .service-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--color-paragraph);
  line-height: 1.6;
}

.service-card.is-highlight p {
  color: rgba(255, 255, 255, 0.75);
}

.service-features {
  margin-top: 26px;
  display: grid;
  gap: 18px;
}

.service-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.service-feature .num {
  font-weight: 800;
  color: var(--red);
  font-size: 15px;
  min-width: 26px;
}

.service-feature h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.service-card.is-highlight .service-feature .num {
  color: var(--red-2);
}

.service-feature p {
  font-size: 14px;
  color: var(--color-paragraph);
  margin: 0;
  line-height: 1.55;
}

/* ---------------- Steps / procedure ---------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

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

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

.step-card {
  position: relative;
  padding: 30px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
}

.step-card .step-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--brand-soft);
  -webkit-text-stroke: 1px var(--red);
  margin-bottom: 14px;
  display: block;
}

.step-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}

.step-card p {
  font-size: 14px;
  color: var(--color-paragraph);
  line-height: 1.55;
  margin: 0;
}

/* ---------------- Doctor bio ---------------- */
.doctor-photo-frame {
  border-radius: 24px;
  background: var(--brand-soft);
  min-height: 460px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.doctor-photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.doctor-photo-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(14, 47, 66, 0) 0%, rgba(14, 47, 66, 0.55) 100%);
  pointer-events: none;
}

.doctor-credentials {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.doctor-credentials li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--color-paragraph);
  line-height: 1.5;
}

.doctor-credentials i {
  color: var(--red);
  margin-top: 3px;
}

.doctor-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-soft);
  color: var(--brand-teal);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.doctor-license {
  font-size: 13px;
  color: var(--color-paragraph);
  margin-bottom: 18px;
}

/* ---------------- Contact ---------------- */
.contact-section {
  background: var(--brand-soft);
  border-radius: 32px;
  padding: 60px 40px;
}

@media (max-width: 767px) {
  .contact-section {
    padding: 40px 20px;
  }
}

.contact-info-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.contact-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-list .ico {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-list strong {
  display: block;
  color: var(--black);
  font-size: 14px;
}

.contact-info-list a,
.contact-info-list span.value {
  color: var(--color-paragraph);
  text-decoration: none;
  font-size: 14px;
}

.contact-info-list a:hover {
  color: var(--red);
}

.landing-form {
  background: #fff;
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 24px 50px rgba(10, 47, 92, 0.12);
}

.landing-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

@media (max-width: 575px) {
  .landing-form .form-row {
    grid-template-columns: 1fr;
  }
}

.landing-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.landing-form input,
.landing-form select,
.landing-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--black);
  background: #fff;
}

.landing-form input:focus,
.landing-form select:focus,
.landing-form textarea:focus {
  outline: none;
  border-color: var(--red);
}

.landing-form textarea {
  resize: vertical;
  min-height: 110px;
}

.landing-form .field {
  margin-bottom: 18px;
}

.landing-form button[type="submit"] {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.landing-form button[type="submit"][disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: #E4F6EA;
  color: #1E7B3B;
}

.form-status.is-error {
  background: #FCE8E6;
  color: #B3261E;
}

.form-privacy {
  font-size: 12px;
  color: var(--color-paragraph);
  margin-top: 14px;
}

/* ---------------- Footer (simplified) ---------------- */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 26px;
  margin-top: 40px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 767px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.site-footer .logo-wordmark .lw-main,
.site-footer .logo-wordmark .lw-sub {
  color: #fff;
}

.site-footer .logo-wordmark .lw-main span {
  color: var(--red-2);
}

.site-footer p {
  line-height: 1.6;
  margin: 14px 0 0;
}

.site-footer h5 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 44px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer-bottom a {
  margin-left: 18px;
}

/* ---------------- WhatsApp CTA buttons (inline, not floating) ---------------- */
.btn-whatsapp {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  animation: wa-btn-pulse 2.4s ease-in-out infinite;
}

.btn-whatsapp span {
  color: #fff;
}

.btn-whatsapp i {
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1EBE57;
  border-color: #1EBE57;
  animation-play-state: paused;
}

@keyframes wa-btn-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }

  50% {
    transform: scale(1.035);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-whatsapp {
    animation: none;
  }
}

/* ---------------- WhatsApp floating button ---------------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float .ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  opacity: 0.55;
  animation: wa-ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes wa-ping {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  75%,
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* ---------------- Back to top ---------------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(10, 47, 92, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 575px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
  .back-to-top {
    right: 16px;
    bottom: 82px;
  }
}
