/* UsalisVeris — healthcare theme (sky blue #26B8F2, orange #FF7C41) */
:root {
  --blue: #26b8f2;
  --blue-dark: #1a9fd4;
  --blue-deep: #0e7fb0;
  --orange: #ff7c41;
  --orange-dark: #e86a32;
  --text: #2d3e50;
  --text-muted: #5a6b7d;
  --white: #ffffff;
  --bg-soft: #f4f9fc;
  --footer-bg: #1e252d;
  --shadow: 0 8px 30px rgba(38, 184, 242, 0.12);
  --radius: 8px;
  --radius-lg: 14px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-dark);
  text-decoration: none;
  transition: color 0.2s;
}

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

.container {
  width: min(1170px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  position: relative;
}

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

.logo-link img {
  height: 42px;
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-menu a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--blue);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: center;
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

.btn-orange:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 124, 65, 0.35);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.header-cta {
  margin-left: 0.5rem;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--bg-soft) 55%, rgba(38, 184, 242, 0.08));
  overflow: hidden;
  padding: 3rem 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: rgba(255, 124, 65, 0.15);
  border-radius: 50%;
  top: -80px;
  right: -60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 1rem;
}

.hero h1 span {
  color: var(--blue);
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.feature-bar {
  background: var(--blue);
  color: var(--white);
  margin-top: 2.5rem;
  padding: 1.25rem 0;
}

.feature-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 600;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.5rem;
  color: var(--text);
}

.section-title p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.section-title .accent {
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

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

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

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  align-items: flex-start;
}

.check-list .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Service cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(38, 184, 242, 0.18);
}

.service-card .thumb {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 4px solid var(--bg-soft);
}

.service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  text-align: center;
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.service-card p {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.service-card .corner-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--blue);
  opacity: 0.5;
  font-size: 1.5rem;
}

/* Video CTA */
.cta-banner {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: stretch;
  background-size: cover;
  background-position: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.2) 45%, transparent 70%);
}

.cta-panel {
  position: relative;
  margin-left: auto;
  width: min(480px, 100%);
  background: var(--blue);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-panel h2 {
  color: var(--white);
  margin: 0 0 1rem;
  font-size: 1.75rem;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

/* Why choose */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.tiles-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tile {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

.tile.pale {
  background: rgba(38, 184, 242, 0.12);
}

.tile .tile-icon {
  color: var(--orange);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.tile h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.tile p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Partners */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  opacity: 0.55;
  filter: grayscale(100%);
}

.partners-row span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card .quote {
  color: var(--orange);
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

/* Stats */
.stats-section {
  background: var(--blue);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.stats-image img {
  border-radius: var(--radius-lg);
  max-height: 360px;
  object-fit: cover;
  width: 100%;
}

.progress-item {
  margin-bottom: 1.25rem;
}

.progress-item label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.progress-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: var(--orange);
  border-radius: 999px;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  text-align: center;
  background: var(--white);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--blue);
}

.team-card h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.team-card p {
  margin: 0;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Appointment block (home) */
.appointment-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.appointment-photo img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.appointment-form-wrap {
  background: var(--blue);
  padding: 2.5rem;
  display: flex;
  align-items: center;
}

.appointment-form-inner {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  width: 100%;
}

.appointment-form-inner h3 {
  margin: 0 0 1.25rem;
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #d8e4ec;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--blue);
  border-color: var(--blue);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #e74c3c;
}

.field-error {
  display: block;
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0.25rem 0;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0.2rem 0 0 0;
  flex-shrink: 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
  margin: 0;
}

.checkbox-group.has-error label {
  color: #c0392b;
}

.form-success {
  background: #e8f8ef;
  border: 1px solid #27ae60;
  color: #1e7e4a;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 600;
}

.form-success[hidden] {
  display: none !important;
}

.btn-block {
  width: 100%;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-date {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Page hero inner */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.page-hero p {
  margin: 0;
  opacity: 0.92;
  max-width: 640px;
  margin-inline: auto;
}

.breadcrumb {
  font-size: 0.9rem;
  margin-top: 1rem;
  opacity: 0.85;
}

.breadcrumb a {
  color: var(--white);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  text-align: center;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}

.price-card.featured {
  border-color: var(--orange);
  transform: scale(1.03);
}

.price-card h3 {
  margin: 0 0 0.5rem;
  color: var(--blue);
}

.price-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 1rem 0;
}

.price-card .price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.price-card ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #eef3f7;
  font-size: 0.92rem;
}

.price-card ul li::before {
  content: "✓ ";
  color: var(--blue);
  font-weight: 700;
}

/* Doctor find */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.doctor-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.doctor-card-body {
  padding: 1.25rem;
}

.doctor-card-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.doctor-meta {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.filter-bar {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

/* Legal / long content */
.content-prose {
  max-width: 820px;
  margin: 0 auto;
}

.content-prose h2 {
  color: var(--blue-dark);
  margin-top: 2rem;
  font-size: 1.35rem;
}

.content-prose h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.content-prose p,
.content-prose li {
  color: var(--text-muted);
}

.content-prose ul {
  padding-left: 1.25rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-info-box {
  background: var(--bg-soft);
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.contact-info-box h3 {
  color: var(--blue);
  margin-top: 0;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: #b8c5d0;
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-subscribe {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-subscribe input {
  flex: 1;
  min-width: 160px;
  padding: 0.6rem 0.85rem;
  border: none;
  border-radius: var(--radius);
}

.footer h4 {
  color: var(--white);
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #b8c5d0;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--orange);
}

.social-icons {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
}

.social-icons a:hover {
  background: var(--orange);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.88rem;
}

.footer-legal {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
}

.footer-legal a {
  color: #8fa3b3;
  font-size: 0.85rem;
}

/* Decorative */
.deco-circle {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(255, 124, 65, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .two-col,
  .why-grid,
  .stats-grid,
  .appointment-split,
  .contact-grid,
  .cards-3,
  .testimonial-grid,
  .team-grid,
  .pricing-grid,
  .doctor-grid {
    grid-template-columns: 1fr;
  }

  .feature-bar-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .price-card.featured {
    transform: none;
  }

  .cta-panel {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .blog-grid,
  .tiles-2x2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
