/* ============================================
   atworktime.com (AWT) — Design System
   ============================================ */

:root {
  --color-bg: #fafbfc;
  --color-bg-alt: #f0f4f8;
  --color-bg-dark: #0c1222;
  --color-bg-dark-alt: #141d30;
  --color-surface: #ffffff;
  --color-text: #1a2332;
  --color-text-muted: #5a6578;
  --color-text-light: #94a3b8;
  --color-primary: #0d9488;
  --color-primary-dark: #0f766e;
  --color-primary-light: #ccfbf1;
  --color-accent: #6366f1;
  --color-border: #e2e8f0;
  --color-border-dark: rgba(255,255,255,0.08);

  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 60px rgba(13,148,136,0.15);
  --shadow-showcase: 0 12px 32px rgba(0,0,0,0.16), 0 28px 60px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.06);
  --shadow-showcase-hover: 0 20px 48px rgba(0,0,0,0.22), 0 36px 72px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.08);
  --shadow-portfolio: 0 10px 28px rgba(0,0,0,0.14), 0 22px 50px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05);

  --header-height: 72px;
  --container: 1140px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--dark {
  background: var(--color-bg-dark);
  color: #e2e8f0;
}

.section--dark .section__tag {
  color: var(--color-primary);
  background: rgba(13,148,136,0.12);
}

.section--dark .section__title {
  color: #f8fafc;
}

.section--dark .section__desc {
  color: var(--color-text-light);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13,148,136,0.35);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,148,136,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--portfolio-cta {
  padding: 16px 32px;
  font-size: 16px;
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(13, 148, 136, 0.06);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.14);
}

.btn--portfolio-cta:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.28);
  transform: translateY(-2px);
}

.portfolio-cta {
  text-align: center;
  margin-top: 28px;
}

.btn--full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--color-text);
  text-decoration: none;
}

.nav__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 40px;
  height: 34px;
  padding: 0 6px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 9px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.nav__logo-wordmark {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}

.nav__logo-at {
  color: var(--color-primary);
}

.nav__logo-rest {
  color: var(--color-text);
}

body:has(.page-header) .header:not(.scrolled) .nav__logo-at {
  color: #5eead4;
}

body:has(.page-header) .header:not(.scrolled) .nav__logo-rest {
  color: #f8fafc;
}

.footer .nav__logo-mark {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.footer .nav__logo-at {
  color: #5eead4;
}

.footer .nav__logo-rest {
  color: #f8fafc;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link.active {
  color: var(--color-primary);
  font-weight: 600;
}

.nav__link--cta {
  background: var(--color-primary);
  color: #fff !important;
  margin-left: 8px;
}

.nav__link--cta:hover {
  background: var(--color-primary-dark);
}

/* Inner pages — light header text over dark page-header until scroll */
body:has(.page-header) .header:not(.scrolled) .nav__logo {
  color: #f8fafc;
}

body:has(.page-header) .header:not(.scrolled) .nav__link {
  color: rgba(248, 250, 252, 0.88);
}

body:has(.page-header) .header:not(.scrolled) .nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

body:has(.page-header) .header:not(.scrolled) .nav__link.active {
  color: #99f6e4;
  background: rgba(13, 148, 136, 0.28);
}

body:has(.page-header) .header:not(.scrolled) .nav__toggle span {
  background: #f8fafc;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: calc(var(--header-height) + 48px) 24px 80px;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(13,148,136,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 24px;
}

.hero__title em {
  font-style: normal;
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.hero__stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
}

.hero__stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__mockup {
  width: 100%;
  max-width: 480px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.mockup__browser {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.mockup__bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.mockup__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}

.mockup__bar span:first-child { background: #fca5a5; }
.mockup__bar span:nth-child(2) { background: #fcd34d; }
.mockup__bar span:nth-child(3) { background: #86efac; }

.mockup__screen {
  padding: 20px;
}

.mockup__header {
  height: 12px;
  width: 60%;
  background: var(--color-bg-alt);
  border-radius: 4px;
  margin-bottom: 20px;
}

.mockup__hero-block {
  height: 100px;
  background: linear-gradient(135deg, var(--color-primary-light), rgba(99,102,241,0.15));
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.mockup__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mockup__card {
  height: 60px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
}

/* Why Section */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why__card {
  background: var(--color-surface);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.why__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.why__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.why__card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.why__card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Specialties */
.specialties__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.specialty-card {
  background: var(--color-bg-dark-alt);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border-dark);
  transition: var(--transition);
}

.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.specialty-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.specialty-card__image--physicians {
  background: linear-gradient(135deg, #134e4a 0%, #0d9488 50%, #5eead4 100%);
}

.specialty-card__image--clinics {
  background: linear-gradient(135deg, #312e81 0%, #6366f1 50%, #a5b4fc 100%);
}

.specialty-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-bg-dark-alt), transparent);
}

.specialty-card__label {
  position: absolute;
  bottom: 20px;
  left: 24px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
}

.specialty-card__body {
  padding: 32px;
}

.specialty-card__body h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #f8fafc;
  margin-bottom: 12px;
}

.specialty-card__body > p {
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.specialty-card__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.specialty-card__features li {
  font-size: 14px;
  color: #cbd5e1;
  padding-left: 20px;
  position: relative;
}

.specialty-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-item {
  padding: 32px;
  border-left: 3px solid var(--color-primary-light);
  transition: var(--transition);
}

.service-item:hover {
  border-left-color: var(--color-primary);
  background: var(--color-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}

.service-item__num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.service-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Portfolio */
.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.work-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.work-card__preview {
  position: relative;
  height: 200px;
  padding: 12px;
}

.work-card__preview--1 { background: linear-gradient(160deg, #ecfdf5, #d1fae5); }
.work-card__preview--2 { background: linear-gradient(160deg, #eef2ff, #c7d2fe); }
.work-card__preview--3 { background: linear-gradient(160deg, #fef3c7, #fde68a); }

.work-card__browser-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.work-card__browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
}

.work-card__content {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px;
  height: calc(100% - 24px);
  box-shadow: var(--shadow-sm);
}

.work-card__nav {
  height: 8px;
  width: 50%;
  background: #f1f5f9;
  border-radius: 3px;
  margin-bottom: 10px;
}

.work-card__hero {
  height: 60%;
  border-radius: 4px;
}

.work-card__preview--1 .work-card__hero { background: linear-gradient(135deg, #0d9488, #5eead4); }
.work-card__preview--2 .work-card__hero { background: linear-gradient(135deg, #6366f1, #a5b4fc); }
.work-card__preview--3 .work-card__hero { background: linear-gradient(135deg, #d97706, #fbbf24); }

.work-card__info {
  padding: 24px;
}

.work-card__tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

.work-card__info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 6px 0 4px;
}

.work-card__info p {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Process */
.process__timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.process__step {
  display: flex;
  gap: 28px;
  padding-bottom: 40px;
  position: relative;
}

.process__step:last-child {
  padding-bottom: 0;
}

.process__step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.process__step-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process__step-content p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

.about__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about__avatar {
  width: 280px;
  height: 280px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  box-shadow: 0 20px 60px rgba(13,148,136,0.3);
}

.about__badge-float {
  position: absolute;
  bottom: 20px;
  right: -10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.about__badge-float svg {
  color: var(--color-primary);
}

.about__content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.about__highlight {
  padding: 20px;
  background: var(--color-bg-dark-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-dark);
}

.about__highlight strong {
  display: block;
  color: #f8fafc;
  font-size: 14px;
  margin-bottom: 4px;
}

.about__highlight span {
  font-size: 13px;
  color: var(--color-text-light);
}

/* Team */
.team-intro {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.team-intro p {
  color: var(--color-text-light);
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}

.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.section--dark .team-card {
  background: var(--color-bg-dark-alt);
  border-color: var(--color-border-dark);
  box-shadow: none;
}

.team-card:hover {
  border-color: rgba(13, 148, 136, 0.4);
  transform: translateY(-4px);
}

.team-card--lead {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.15);
}

.team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.team-card__photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card--lead .team-card__photo {
  border-color: var(--color-primary);
}

.team-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.section--dark .team-card__name {
  color: #f8fafc;
}

.team-card__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 6px;
}

.team-card__role {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.section--dark .team-card p {
  color: var(--color-text-light);
}

.team-cta {
  text-align: center;
  margin-top: 36px;
}

.team-cta a {
  color: var(--color-primary);
  font-weight: 600;
}

.about-page-intro p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Contact */
.contact__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.contact__channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.contact-channel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-channel__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  color: #fff;
}

.contact-channel--whatsapp .contact-channel__icon {
  background: #25d366;
}

.contact-channel--telegram .contact-channel__icon {
  background: #0088cc;
}

.contact-channel--instagram .contact-channel__icon {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.contact-channel__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-channel__body strong {
  font-size: 1.05rem;
  color: var(--color-text);
}

.contact-channel__body span {
  font-size: 14px;
  color: var(--color-text-muted);
}

.contact-channel__arrow {
  font-size: 1.25rem;
  color: var(--color-text-light);
  transition: var(--transition);
}

.contact-channel:hover .contact-channel__arrow {
  color: var(--color-primary);
  transform: translateX(4px);
}

.contact__note {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 32px;
}

/* Footer */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 48px 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.footer__brand p {
  font-size: 14px;
  margin-top: 12px;
  color: var(--color-text-light);
}

.footer .nav__logo {
  color: #f8fafc;
}

.footer .nav__logo:hover {
  color: #fff;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 14px;
  transition: var(--transition);
}

.footer__links a:hover {
  color: #fff;
}

.footer__copy {
  grid-column: 1 / -1;
  font-size: 13px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-dark);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-top: calc(var(--header-height) + 32px);
    padding-bottom: 64px;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__mockup {
    max-width: 360px;
  }

  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__channels {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
  }

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

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  #why.section {
    padding-top: 40px;
  }

  .section__header {
    margin-bottom: 36px;
  }

  .why__card {
    padding: 22px 20px;
  }

  .why__icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
  }

  .why__card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .why__card p {
    font-size: 14px;
    line-height: 1.55;
  }

  .portfolio-cta {
    margin-top: 24px;
  }

  .btn--portfolio-cta {
    width: 100%;
    max-width: 320px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--color-surface);
    flex-direction: column;
    padding: 28px 24px 28px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    width: 100%;
    padding: 12px 16px;
  }

  .nav__menu li:last-child {
    margin-top: 16px;
    padding-top: 8px;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 0;
    padding: 14px 16px;
    text-align: center;
    display: block;
  }

  /* Open menu is a white panel — keep link text dark on inner pages */
  body:has(.page-header) .header:not(.scrolled) .nav__menu .nav__link {
    color: var(--color-text);
  }

  body:has(.page-header) .header:not(.scrolled) .nav__menu .nav__link:hover {
    color: var(--color-primary-dark);
    background: var(--color-primary-light);
  }

  body:has(.page-header) .header:not(.scrolled) .nav__menu .nav__link.active {
    color: var(--color-primary-dark);
    background: var(--color-primary-light);
  }

  body:has(.page-header) .header:not(.scrolled) .nav__menu .nav__link--cta,
  body:has(.page-header) .header:not(.scrolled) .nav__menu .nav__link--cta:hover {
    color: #fff;
    background: var(--color-primary);
  }

  .why__grid,
  .specialties__grid,
  .services__grid,
  .work__grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .contact__channels {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

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

  .portfolio-card__img {
    height: 340px;
  }

  .cta-banner {
    padding: 32px 24px;
  }

  .page-header {
    padding: calc(var(--header-height) + 32px) 0 48px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ============================================
   v3 — Multi-page & Image-rich styles
   ============================================ */

/* Page header (inner pages) */
.page-header {
  padding: calc(var(--header-height) + 48px) 0 64px;
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #1a2744 100%);
  color: #e2e8f0;
  text-align: center;
}

.page-header .section__tag {
  color: var(--color-primary);
  background: rgba(13,148,136,0.15);
}

.page-header .section__title {
  color: #f8fafc;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
}

.page-header .section__desc {
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* Hero v3 — real image */
.hero--v3 {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 48px;
  padding: calc(var(--header-height) + 40px) 24px 48px;
  max-width: var(--container);
  margin: 0 auto;
}

#why.section {
  padding-top: 56px;
}

.hero--v3 .hero__content {
  position: relative;
  z-index: 1;
}

.hero__visual-img {
  position: relative;
  z-index: 1;
}

.hero__image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  aspect-ratio: 4/5;
  max-height: 620px;
}

.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.hero__image-badge svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.hero__image-badge strong {
  display: block;
  font-size: 14px;
  color: var(--color-text);
}

.hero__image-badge span {
  font-size: 13px;
  color: var(--color-text-muted);
}

.hero__floating-stat {
  position: absolute;
  top: 24px;
  right: -16px;
  background: var(--color-surface);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.hero__floating-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-primary);
}

.hero__floating-stat span {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Specialty cards with photos */
.specialty-card__image--photo {
  height: 300px;
}

.specialty-card__image--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.specialty-card__image--physicians img {
  object-position: center center;
}

/* Portfolio v3 — photo cards */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  box-shadow: var(--shadow-portfolio);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-showcase-hover);
}

.portfolio-card__img {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #e2e8f0;
  padding: 10px 10px 0;
}

.portfolio-card__img::before {
  content: '';
  display: block;
  height: 10px;
  margin-bottom: 8px;
  background:
    radial-gradient(circle at 6px 5px, #f87171 4px, transparent 4px),
    radial-gradient(circle at 22px 5px, #fbbf24 4px, transparent 4px),
    radial-gradient(circle at 38px 5px, #34d399 4px, transparent 4px);
  background-size: 16px 10px;
  background-repeat: no-repeat;
}

.portfolio-card__img img {
  width: 100%;
  height: calc(100% - 18px);
  object-fit: cover;
  object-position: top center;
  border-radius: 6px 6px 0 0;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card__img img {
  transform: scale(1.05);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,18,34,0.7), transparent);
}

.portfolio-card__tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(13,148,136,0.9);
  padding: 4px 12px;
  border-radius: 100px;
}

.portfolio-card__body {
  padding: 24px;
}

.portfolio-card__body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.portfolio-card__body p {
  font-size: 14px;
  color: var(--color-text-muted);
}

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

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
}

.pricing-card__name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-card__price {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.pricing-card__price span {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.pricing-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-card__features li {
  font-size: 14px;
  color: var(--color-text-muted);
  padding-left: 24px;
  position: relative;
}

.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  max-width: 640px;
  margin: 48px auto 0;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.pricing-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.pricing-jump a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 10px 18px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: var(--color-surface);
  transition: var(--transition);
}

.pricing-jump a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* —— Pricing page —— */
.pricing-page .page-header--pricing {
  padding-bottom: 56px;
}

.pricing-page .page-header--pricing .section__desc {
  max-width: 520px;
}

.pricing-page .pricing-jump {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 32px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pricing-page .pricing-jump__link {
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: transparent;
  transition: var(--transition);
}

.pricing-page .pricing-jump__link:hover,
.pricing-page .pricing-jump__link.is-active {
  color: #fff;
  background: var(--color-primary);
}

.pricing-main {
  background: var(--color-bg);
}

.pricing-section {
  padding: 56px 0 64px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.pricing-section--alt {
  background: var(--color-bg-alt);
  box-shadow: inset 0 1px 0 var(--color-border);
}

.pricing-section__head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  max-width: 720px;
}

.pricing-section__head--center {
  display: block;
  text-align: center;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
}

.pricing-section__step {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
  line-height: 1.25;
}

.pricing-section__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

.pricing-matrix {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.pricing-matrix__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-matrix--duo .pricing-matrix__scroll {
  min-width: 100%;
}

.pricing-matrix--duo .pricing-matrix__header,
.pricing-matrix--duo .pricing-matrix__row,
.pricing-matrix--duo .pricing-matrix__footer {
  display: grid;
  grid-template-columns: minmax(148px, 1.2fr) minmax(130px, 1fr) minmax(130px, 1fr);
  min-width: 560px;
}

.pricing-matrix--trio .pricing-matrix__header,
.pricing-matrix--trio .pricing-matrix__row,
.pricing-matrix--trio .pricing-matrix__footer {
  display: grid;
  grid-template-columns: minmax(140px, 1.15fr) repeat(3, minmax(108px, 1fr));
  min-width: 720px;
}

.pricing-matrix__header {
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.pricing-matrix__corner {
  padding: 20px 20px 16px;
  display: flex;
  align-items: flex-end;
  border-right: 1px solid var(--color-border);
}

.pricing-matrix__corner-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
}

.pricing-matrix__plan {
  position: relative;
  padding: 28px 16px 22px;
  text-align: center;
  border-right: 1px solid var(--color-border);
}

.pricing-matrix__plan:last-child {
  border-right: none;
}

.pricing-matrix__plan--featured {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.1) 0%, rgba(13, 148, 136, 0.02) 55%, #fff 100%);
  box-shadow: inset 0 3px 0 var(--color-primary);
}

.pricing-matrix__badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--color-primary);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-matrix__plan-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.pricing-matrix__plan--featured .pricing-matrix__plan-name {
  margin-top: 8px;
}

.pricing-matrix__plan-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 2px;
}

.pricing-matrix__plan-period {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.pricing-matrix__plan-tag {
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-text-muted);
  max-width: 200px;
  margin: 0 auto;
}

.pricing-matrix__row {
  border-top: 1px solid var(--color-border);
  transition: background 0.2s ease;
}

.pricing-matrix__row:hover {
  background: rgba(13, 148, 136, 0.04);
}

.pricing-matrix__feature {
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  border-right: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  background: rgba(248, 250, 252, 0.8);
}

.pricing-matrix__cell {
  padding: 14px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  border-right: 1px solid var(--color-border);
}

.pricing-matrix__cell:last-child {
  border-right: none;
}

.pricing-matrix__cell--highlight {
  background: rgba(13, 148, 136, 0.05);
}

.pricing-matrix__cell--text {
  font-size: 13px;
  line-height: 1.4;
  padding-left: 10px;
  padding-right: 10px;
}

.pricing-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 15px;
}

.pricing-icon--yes {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.pricing-icon--no {
  width: auto;
  height: auto;
  color: #cbd5e1;
  font-size: 1.25rem;
  font-weight: 500;
}

.pricing-matrix__footer {
  border-top: 1px solid var(--color-border);
  background: #f8fafc;
}

.pricing-matrix__footer .pricing-matrix__corner {
  border-right: 1px solid var(--color-border);
  min-height: 1px;
}

.pricing-matrix__footer .pricing-matrix__cell {
  padding: 22px 16px 26px;
  border-right: 1px solid var(--color-border);
}

.pricing-matrix__footer .pricing-matrix__cell:last-child {
  border-right: none;
}

.pricing-custom-banner {
  margin-top: 28px;
  padding: 28px 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(125deg, var(--color-bg-dark) 0%, #1a365d 55%, #0d9488 160%);
  color: #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-lg);
}

.pricing-custom-banner__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-light);
  margin-bottom: 8px;
}

.pricing-custom-banner__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #f8fafc;
  margin-bottom: 8px;
}

.pricing-custom-banner__text {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
  max-width: 440px;
  line-height: 1.55;
}

.pricing-custom-banner__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.pricing-custom-banner__price {
  font-size: 15px;
  color: #cbd5e1;
  margin: 0;
}

.pricing-custom-banner__price strong {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: #fff;
  font-weight: 700;
}

.pricing-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}

.pricing-faq-card {
  padding: 24px 26px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.pricing-faq-card:hover {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: var(--shadow-sm);
}

.pricing-faq-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.pricing-faq-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.pricing-page .pricing-cta {
  margin-top: 0;
}

.pricing-page .pricing-footnote {
  margin-top: 20px;
  text-align: left;
  max-width: none;
}

.pricing-block {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.pricing-block + .pricing-block {
  margin-top: 0;
}

.pricing-grid--build {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.pricing-grid--care {
  align-items: stretch;
}

.pricing-grid--care .pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-grid--care .pricing-card__features {
  flex: 1;
}

.pricing-grid--care .pricing-card--featured {
  transform: none;
}

.pricing-grid--care .pricing-card__price {
  font-size: 2.25rem;
}

.pricing-custom {
  margin-top: 28px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.pricing-custom__text h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.pricing-custom__text p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 420px;
}

.pricing-custom__price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.pricing-footnote {
  text-align: center;
  max-width: 560px;
  margin: 32px auto 0;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pricing-compare-wrap {
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  background: var(--color-surface);
  -webkit-overflow-scrolling: touch;
}

.pricing-compare-wrap--wide {
  max-width: 1100px;
}

.pricing-compare {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.pricing-compare--three {
  min-width: 720px;
}

.pricing-compare__col-feature {
  width: 38%;
}

.pricing-compare__col-plan {
  width: 31%;
}

.pricing-compare--three .pricing-compare__col-feature {
  width: 28%;
}

.pricing-compare--three .pricing-compare__col-plan {
  width: 24%;
}

.pricing-compare__head th {
  vertical-align: bottom;
  padding: 24px 18px 20px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  font-weight: 400;
}

.pricing-compare__head th:first-child {
  background: transparent;
}

.pricing-compare__featured {
  background: rgba(13, 148, 136, 0.06);
  box-shadow: inset 0 3px 0 var(--color-primary);
}

.pricing-compare__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--color-primary);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.pricing-compare__plan-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.pricing-compare__plan-price {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 8px;
}

.pricing-compare__plan-price span {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.pricing-compare__plan-tag {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-text-muted);
  max-width: 220px;
  margin: 0 auto;
}

.pricing-compare tbody th,
.pricing-compare tbody td {
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.45;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.pricing-compare tbody th {
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  background: var(--color-bg-alt);
}

.pricing-compare tbody td {
  text-align: center;
  color: var(--color-text-muted);
}

.pricing-compare tbody td:nth-child(3) {
  background: rgba(13, 148, 136, 0.04);
}

.pricing-compare--three tbody td:nth-child(3) {
  background: rgba(13, 148, 136, 0.04);
}

.pricing-compare__yes {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.pricing-compare__no {
  color: var(--color-border);
  font-weight: 500;
}

.pricing-compare tfoot td {
  padding: 20px 16px 24px;
  text-align: center;
  vertical-align: top;
  border-bottom: none;
  background: var(--color-bg-alt);
}

.pricing-compare tfoot td:nth-child(3) {
  background: rgba(13, 148, 136, 0.06);
}

.pricing-compare tfoot td:first-child {
  background: transparent;
}

.pricing-table-wrap {
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 16px 22px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-table tr:last-child th,
.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table th {
  font-weight: 600;
  color: var(--color-text);
  width: 65%;
}

.pricing-table td {
  font-weight: 600;
  color: var(--color-primary);
  text-align: right;
  white-space: nowrap;
}

.pricing-faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
}

.pricing-faq__item {
  padding: 22px 26px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-faq__item:last-child {
  border-bottom: none;
}

.pricing-faq__item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.pricing-faq__item p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card__img {
  height: 200px;
  overflow: hidden;
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__img img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: 24px;
}

.blog-card__meta {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.blog-card__body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card__body p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.blog-card__link:hover {
  color: var(--color-primary-dark);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0f766e 100%);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  margin-bottom: 8px;
}

.cta-banner p {
  opacity: 0.9;
  font-size: 1rem;
}

.cta-banner .btn--outline {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.cta-banner .btn--outline:hover {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: #fff;
}

.cta-banner .btn--primary {
  background: #fff;
  color: var(--color-primary-dark);
  box-shadow: none;
}

.cta-banner .btn--primary:hover {
  background: var(--color-primary-light);
}

.cta-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Preview cards (home) */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.preview-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.preview-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.preview-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.preview-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.preview-card a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

/* Footer v3 */
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border-dark);
  margin-bottom: 24px;
}

.footer__col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 14px;
  color: var(--color-text-light);
  padding: 4px 0;
  transition: var(--transition);
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--color-text-light);
}

@media (max-width: 1024px) {
  .hero--v3 {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-bottom: 32px;
  }

  .hero--v3 .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero--v3 .hero__actions {
    justify-content: center;
  }

  .hero--v3 .hero__stats {
    justify-content: center;
  }

  .hero__visual-img {
    order: -1;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }

  .hero__floating-stat {
    right: 0;
  }

  .pricing-grid,
  .blog-grid,
  .portfolio-grid,
  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
  }

  .cta-banner__actions {
    justify-content: center;
  }

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

@media (max-width: 768px) {
  .pricing-grid,
  .pricing-grid--build,
  .blog-grid,
  .portfolio-grid,
  .preview-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .pricing-custom {
    flex-direction: column;
    text-align: center;
  }

  .pricing-faq-grid {
    grid-template-columns: 1fr;
  }

  .pricing-custom-banner {
    flex-direction: column;
    text-align: center;
  }

  .pricing-custom-banner__action {
    align-items: center;
    width: 100%;
  }

  .pricing-custom-banner__text {
    max-width: none;
  }

  .pricing-section__head {
    flex-direction: column;
    gap: 12px;
  }

  .pricing-custom__text p {
    max-width: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
    text-align: left;
  }

  .footer__brand {
    grid-column: 1 / -1;
    text-align: left;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ============================================
   v4 — Dribbble-style hero showcase
   ============================================ */

.hero--v4 .hero__showcase {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 480px;
  margin: 0 auto;
  overflow: hidden;
}

.showcase__frame {
  position: absolute;
  display: block;
  text-decoration: none;
  color: inherit;
  background: #e2e8f0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-showcase);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.showcase__frame:hover {
  z-index: 10;
  box-shadow: var(--shadow-showcase-hover);
}

.showcase__bar {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.showcase__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
}

.showcase__bar span:nth-child(1) { background: #fca5a5; }
.showcase__bar span:nth-child(2) { background: #fcd34d; }
.showcase__bar span:nth-child(3) { background: #86efac; }

.showcase__screen {
  height: calc(100% - 33px);
  overflow: hidden;
  padding: 0 8px;
  background: #e2e8f0;
}

.showcase__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px 4px 0 0;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.5s ease;
}

.showcase__frame:hover .showcase__screen img {
  transform: scale(1.03);
}

.showcase__label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(12,18,34,0.75);
  padding: 4px 10px;
  border-radius: 100px;
}

.showcase__frame--main {
  width: 58%;
  height: 72%;
  top: 8%;
  left: 22%;
  z-index: 3;
  transform: rotate(-2deg);
}

.showcase__frame--main:hover {
  transform: rotate(-2deg) scale(1.03) translateY(-4px);
}

.showcase__frame--left {
  width: 42%;
  height: 38%;
  top: 0;
  left: 0;
  z-index: 2;
  transform: rotate(-6deg);
}

.showcase__frame--left:hover {
  transform: rotate(-6deg) scale(1.03) translateY(-4px);
}

.showcase__frame--right {
  width: 44%;
  height: 40%;
  bottom: 0;
  right: 0;
  left: auto;
  top: auto;
  z-index: 4;
  transform: rotate(4deg);
}

.showcase__frame--right:hover {
  transform: rotate(4deg) scale(1.03) translateY(-4px);
}

.showcase__frame--small {
  width: 36%;
  height: 32%;
  bottom: 12%;
  left: 4%;
  right: auto;
  top: auto;
  z-index: 1;
  transform: rotate(-3deg);
  opacity: 0.95;
}

.showcase__frame--small:hover {
  transform: rotate(-3deg) scale(1.03) translateY(-4px);
  opacity: 1;
}

.showcase__badge {
  position: absolute;
  top: 16px;
  right: -8px;
  z-index: 5;
  background: var(--color-surface);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-showcase);
  text-align: center;
}

.showcase__badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
}

.showcase__badge span {
  font-size: 11px;
  color: var(--color-text-muted);
}

/* Desktop: no clipped shadow box — cards float on white bg */
@media (min-width: 769px) {
  .hero.hero--v4 {
    overflow: visible;
  }

  .hero--v4 .hero__visual-img {
    overflow: visible;
  }

  .hero--v4 .hero__showcase {
    overflow: visible;
    padding: 20px 24px 28px;
    margin: -20px -24px -28px;
  }

  .hero--v4 .hero__bg {
    background: radial-gradient(ellipse at 55% 45%, rgba(13,148,136,0.04) 0%, transparent 68%);
  }
}

@media (max-width: 1024px) {
  .hero--v4 .hero__showcase {
    height: 400px;
    max-width: 420px;
  }

  .specialties__grid {
    gap: 24px;
  }

  .portfolio-card__img {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hero,
  .hero--v3 {
    min-height: auto;
    padding: calc(var(--header-height) + 16px) 16px 28px;
    gap: 24px;
  }

  .hero__visual-img {
    order: -1;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__actions .btn {
    min-width: 140px;
  }

  .hero__bg {
    top: -10%;
    right: -20%;
    width: 90%;
    height: 55%;
  }

  /* Mobile: hide top-left frame — big main + two small below */
  .hero--v4 .hero__showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    height: auto;
    max-width: 100%;
    padding: 0;
    overflow: visible;
  }

  .hero--v4 .showcase__frame--main,
  .hero--v4 .showcase__frame--right,
  .hero--v4 .showcase__frame--small {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    opacity: 1;
  }

  .hero--v4 .showcase__frame--left {
    display: none;
  }

  .hero--v4 .showcase__frame--main {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }

  .hero--v4 .showcase__frame--right,
  .hero--v4 .showcase__frame--small {
    aspect-ratio: 16 / 11;
  }

  .hero--v4 .showcase__frame:hover,
  .hero--v4 .showcase__frame--main:hover,
  .hero--v4 .showcase__frame--right:hover,
  .hero--v4 .showcase__frame--small:hover {
    transform: translateY(-2px);
  }

  .hero--v4 .showcase__screen {
    flex: 1;
    height: auto;
    min-height: 0;
  }

  .hero--v4 .showcase__badge {
    position: relative;
    top: auto;
    right: auto;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    margin-top: 4px;
  }

  .hero--v4 .showcase__badge strong {
    font-size: 1.35rem;
    line-height: 1;
  }

  .showcase__label {
    font-size: 9px;
    padding: 3px 8px;
    bottom: 8px;
    left: 8px;
  }

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

  .contact__channels {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .portfolio-card__img {
    height: 340px;
  }

  .cta-banner {
    padding: 32px 24px;
  }

  .page-header {
    padding: calc(var(--header-height) + 32px) 0 48px;
  }
}

@media (max-width: 480px) {
  .hero,
  .hero--v3 {
    padding: calc(var(--header-height) + 16px) 16px 24px;
    gap: 24px;
  }

  .hero__title {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
    margin-bottom: 16px;
  }

  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero__badge {
    font-size: 12px;
    padding: 6px 14px;
    margin-bottom: 16px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 0;
  }

  .hero__actions .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .hero--v4 .hero__showcase {
    gap: 10px;
  }

  .hero--v4 .showcase__frame--main {
    aspect-ratio: 16 / 10;
  }

  .hero--v4 .showcase__frame--right,
  .hero--v4 .showcase__frame--small {
    aspect-ratio: 4 / 3;
  }

  .showcase__bar {
    padding: 6px 8px;
  }

  .showcase__label {
    font-size: 8px;
    padding: 2px 6px;
    bottom: 6px;
    left: 6px;
  }

  .hero--v4 .showcase__badge {
    padding: 10px 14px;
  }

  .hero--v4 .showcase__badge strong {
    font-size: 1.2rem;
  }

  .section {
    padding: 48px 0;
  }

  #why.section {
    padding-top: 32px;
  }

  .section__header {
    margin-bottom: 32px;
  }

  .section__title {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  }

  .process__step {
    gap: 16px;
    padding-bottom: 28px;
  }

  .process__step-num {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .process__timeline::before {
    left: 19px;
  }

  .portfolio-card__img {
    height: 380px;
  }

  .container {
    padding: 0 16px;
  }
}
