/* ─── RESET & BASE ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0A1628;
  --navy-mid:  #112240;
  --azure:     #00B4D8;
  --azure-dark:#0096B7;
  --mint:      #00E5A0;
  --mint-dark: #00C589;
  --azure-rgb: 0,180,216;
  --mint-rgb:  0,229,160;
  --navy-rgb:  10,22,40;
  --ink:       var(--navy);      /* dark text on light backgrounds */
  --on-dark:   #FFFFFF;          /* text on the dark sections */
  --on-dark-2: var(--gray-light);
  --on-dark-rgb: 255,255,255;
  --white:     #FFFFFF;
  --off-white: #F0F4F8;
  --gray-light:#CBD5E0;
  --gray-text: #8899AA;
  --text:      #1A2C40;
  --radius:    12px;
  --shadow:    0 8px 32px rgba(0,0,0,0.18);
  --transition:0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--azure); border-radius: 3px; }

/* ─── NAV ───────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: rgba(var(--navy-rgb),0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(var(--azure-rgb),0.18);
  transition: background var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--azure), var(--mint));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text span:first-child {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--on-dark);
  letter-spacing: 0.03em;
}

.nav-logo-text span:last-child {
  font-size: 11px;
  color: var(--azure);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--on-dark-2);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--azure);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-links a:hover { color: var(--on-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--azure), var(--mint));
  color: var(--ink) !important;
  font-weight: 700 !important;
  padding: 9px 22px;
  border-radius: 50px;
  transition: opacity var(--transition), transform var(--transition) !important;
}

.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* ─── HERO ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--azure-rgb),0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--azure-rgb),0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-pulse 8s ease-in-out infinite;
}

@keyframes grid-pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

.hero-glow {
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(var(--azure-rgb),0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow-move 10s ease-in-out infinite alternate;
}

.hero-glow-2 {
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(var(--mint-rgb),0.10) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow-move 12s ease-in-out infinite alternate-reverse;
}

@keyframes glow-move {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, 30px); }
}

/* EKG pulse signature element */
.hero-ekg {
  position: absolute;
  bottom: 80px; left: 0; right: 0;
  height: 60px;
  overflow: hidden;
  opacity: 0.3;
}

.hero-ekg svg {
  width: 200%;
  height: 100%;
  animation: ekg-scroll 6s linear infinite;
}

@keyframes ekg-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 5% 80px;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--azure-rgb),0.12);
  border: 1px solid rgba(var(--azure-rgb),0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--azure);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fade-up 0.8s ease both;
}

.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--mint);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--on-dark);
  margin-bottom: 24px;
  animation: fade-up 0.8s 0.15s ease both;
}

.hero-title .accent { color: var(--azure); }
.hero-title .accent-mint { color: var(--mint); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--on-dark-2);
  max-width: 520px;
  margin-bottom: 44px;
  animation: fade-up 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fade-up 0.8s 0.45s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--azure), var(--mint));
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(var(--azure-rgb),0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(var(--azure-rgb),0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--on-dark);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 50px;
  text-decoration: none;
  border: 1.5px solid rgba(var(--on-dark-rgb),0.25);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.btn-secondary:hover {
  border-color: var(--azure);
  background: rgba(var(--azure-rgb),0.08);
  transform: translateY(-2px);
}

.hero-stats {
  position: absolute;
  right: 5%;
  bottom: 100px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fade-up 0.8s 0.6s ease both;
}

.stat-card {
  background: rgba(var(--on-dark-rgb),0.05);
  border: 1px solid rgba(var(--azure-rgb),0.2);
  border-radius: var(--radius);
  padding: 20px 28px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform var(--transition), border-color var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--azure);
}

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--azure), var(--mint));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--on-dark-2);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── INFO BAR ──────────────────────────────────────────────────── */
.info-bar {
  background: linear-gradient(135deg, var(--azure-dark), var(--azure));
  padding: 18px 5%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

.info-item .icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

/* ─── SECTIONS SHARED ───────────────────────────────────────────── */
section { padding: 90px 5%; }

.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azure);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-title.light { color: var(--on-dark); }

.section-desc {
  font-size: 1rem;
  color: var(--gray-text);
  max-width: 560px;
  margin-bottom: 52px;
}

.section-desc.light { color: var(--on-dark-2); }

/* ─── SERVICES ──────────────────────────────────────────────────── */
.services { background: var(--off-white); }

.services-header { text-align: center; }
.services-header .section-desc { margin: 0 auto 52px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--azure), var(--mint));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
  border-radius: 4px 0 0 4px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.10);
  border-color: rgba(var(--azure-rgb),0.2);
}

.service-card:hover::before { transform: scaleY(1); }

.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(var(--azure-rgb),0.12), rgba(var(--mint-rgb),0.12));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: transform var(--transition);
}

.service-card:hover .service-icon { transform: scale(1.1) rotate(-3deg); }

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ─── ABOUT ─────────────────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 48px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-cross {
  position: relative;
  width: 120px;
  height: 120px;
}

.about-cross::before,
.about-cross::after {
  content: '';
  position: absolute;
  background: linear-gradient(135deg, var(--azure), var(--mint));
  border-radius: 8px;
}

.about-cross::before {
  width: 40px; height: 120px;
  left: 40px; top: 0;
}

.about-cross::after {
  width: 120px; height: 40px;
  left: 0; top: 40px;
}

.about-badge-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 2px solid rgba(var(--azure-rgb),0.2);
}

.about-badge-float strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--azure), var(--mint));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-badge-float span {
  font-size: 12px;
  color: var(--gray-text);
  font-weight: 500;
}

.about-text .section-desc { margin-bottom: 32px; }

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

.about-list li::before {
  content: '';
  width: 20px; height: 20px;
  background: linear-gradient(135deg, var(--azure), var(--mint));
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1628' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ─── TEAM ──────────────────────────────────────────────────────── */
.team { background: var(--navy); }

.team-header { text-align: center; margin-bottom: 52px; }
.team-header .section-desc { margin: 0 auto; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.team-card {
  background: rgba(var(--on-dark-rgb),0.04);
  border: 1px solid rgba(var(--azure-rgb),0.15);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--azure);
  background: rgba(var(--azure-rgb),0.06);
}

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azure), var(--mint));
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink);
}

.team-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--on-dark);
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 12px;
  color: var(--azure);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ─── PROCESS ───────────────────────────────────────────────────── */
.process { background: var(--off-white); }

.process-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 20px;
  padding-bottom: 36px;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px; top: 44px;
  width: 2px;
  height: calc(100% - 44px);
  background: linear-gradient(to bottom, var(--azure), transparent);
}

.step-num {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--azure), var(--mint));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  flex-shrink: 0;
}

.step-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.6;
}

.hours-card {
  background: var(--navy);
  border-radius: 20px;
  padding: 40px;
  color: var(--on-dark);
}

.hours-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 28px;
  color: var(--azure);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(var(--on-dark-rgb),0.06);
}

.hours-row:last-child { border-bottom: none; }

.hours-day { font-weight: 500; font-size: 0.95rem; }

.hours-time {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--azure);
}

.hours-closed { color: #E74C3C; font-size: 0.85rem; font-weight: 600; }

.hours-note {
  margin-top: 20px;
  background: rgba(var(--mint-rgb),0.08);
  border: 1px solid rgba(var(--mint-rgb),0.2);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--mint);
}

/* ─── CONTACT ───────────────────────────────────────────────────── */
.contact { background: var(--navy); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--on-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.contact-info p {
  color: var(--on-dark-2);
  font-size: 0.95rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(var(--azure-rgb),0.12);
  border: 1px solid rgba(var(--azure-rgb),0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  color: var(--on-dark);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

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

.contact-form {
  background: rgba(var(--on-dark-rgb),0.04);
  border: 1px solid rgba(var(--azure-rgb),0.15);
  border-radius: 20px;
  padding: 44px;
}

.contact-form h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--on-dark);
  margin-bottom: 28px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--on-dark-2);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(var(--on-dark-rgb),0.06);
  border: 1.5px solid rgba(var(--azure-rgb),0.15);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--on-dark);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(var(--on-dark-rgb),0.25); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--azure);
  background: rgba(var(--azure-rgb),0.06);
}

.form-group select option { background: var(--navy-mid); color: var(--on-dark); }

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

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--azure), var(--mint));
  color: var(--ink);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(var(--azure-rgb),0.35);
}

.form-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--azure-rgb),0.45);
}

/* ─── MAP PLACEHOLDER ───────────────────────────────────────────── */
.map-section { padding: 0; }

.map-placeholder {
  width: 100%;
  height: 340px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  border-top: 3px solid var(--azure);
}

.map-placeholder .map-pin { font-size: 48px; animation: bounce 2s ease-in-out infinite; }

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

.map-placeholder p {
  color: var(--on-dark-2);
  font-size: 15px;
}

.map-placeholder strong { color: var(--azure); }

/* ─── FOOTER ────────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(var(--azure-rgb),0.12);
  padding: 48px 5% 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--gray-text);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--on-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  text-decoration: none;
  color: var(--gray-text);
  font-size: 13.5px;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--azure); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(var(--on-dark-rgb),0.06);
  font-size: 13px;
  color: var(--gray-text);
}

.footer-bottom a { color: var(--azure); text-decoration: none; }

/* ─── SMOOTH REVEAL ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 48px; }
  .process-wrap { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-stats { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  nav { padding: 0 4%; }
  .nav-links { display: none; }
  section { padding: 70px 4%; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-content { padding: 110px 4% 60px; }
  .contact-form { padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ═════════════════════════════════════════════════════════════════
   ORL TipTop – doplnky k šablóne
   ═════════════════════════════════════════════════════════════════ */

html { scroll-padding-top: 68px; }
::selection { background: var(--azure); color: var(--ink); }

/* ─── LOGO ──────────────────────────────────────────────────────── */
.nav-logo-img {
  display: block;
  width: 140px;
  height: 40px;
  overflow: hidden;
  position: relative;
}
.nav-logo-img img {
  position: absolute;
  width: 204px;
  max-width: none;
  left: -32px;
  top: -44px;
  /* Logo is dark on white – invert it for the navy background */
  filter: invert(1) hue-rotate(180deg) saturate(1.4);
  mix-blend-mode: screen;
}

/* ─── MOBILE MENU ───────────────────────────────────────────────── */
.nav-burger {
  display: none;
  width: 42px; height: 42px;
  background: none; border: 0; cursor: pointer;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--on-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-burger span:nth-child(1) { top: 13px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 27px; }
.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-burger { display: block; }
  .nav-links {
    display: flex !important;
    position: fixed;
    top: 68px; left: 0; right: 0;
    height: calc(100vh - 68px);
    height: calc(100svh - 68px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    padding: 32px 6%;
    background: var(--navy);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s cubic-bezier(0.16,1,0.3,1);
  }
  .menu-open .nav-links { clip-path: inset(0); }
  .nav-links li { width: 100%; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
  .menu-open .nav-links li { opacity: 1; transform: none; }
  .menu-open .nav-links li:nth-child(2) { transition-delay: .05s; }
  .menu-open .nav-links li:nth-child(3) { transition-delay: .1s; }
  .menu-open .nav-links li:nth-child(4) { transition-delay: .15s; }
  .menu-open .nav-links li:nth-child(5) { transition-delay: .2s; }
  .menu-open .nav-links li:nth-child(6) { transition-delay: .25s; }
  .menu-open .nav-links li:nth-child(7) { transition-delay: .3s; }
  .nav-links a {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--on-dark);
    padding: 12px 0;
    border-bottom: 1px solid rgba(var(--azure-rgb),0.12);
  }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta { display: inline-block; margin-top: 18px; padding: 14px 32px; font-size: 16px; border-bottom: 0; }
}

/* ─── HERO STATUS CARD ──────────────────────────────────────────── */
.stat-card { min-width: 210px; }
.stat-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--on-dark);
  font-size: 15px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gray-text);
  flex-shrink: 0;
  position: relative;
}
.dot.open { background: var(--mint); }
.dot.open::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--mint);
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  from { transform: scale(.5); opacity: 1; }
  to   { transform: scale(1.7); opacity: 0; }
}

/* ─── INFO BAR LINKS ────────────────────────────────────────────── */
a.info-item { text-decoration: none; transition: opacity var(--transition); }
a.info-item:hover { opacity: .85; }
.info-item .icon svg { display: block; }

/* ─── BUTTON ICONS ──────────────────────────────────────────────── */
.btn-primary svg, .btn-secondary svg { flex-shrink: 0; transition: transform var(--transition); }
.btn-secondary:hover svg { transform: translateX(3px); }
.service-icon { color: var(--azure-dark); }

/* ─── ABOUT PHOTO ───────────────────────────────────────────────── */
.about-img-wrapper { padding: 0; }
.about-img-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16,1,0.3,1);
}
.about-visual:hover .about-img-wrapper img { transform: scale(1.04); }
.about-badge-float strong { font-size: 1.4rem; }

/* ─── TEAM ──────────────────────────────────────────────────────── */
.team-grid { max-width: 780px; margin: 0 auto; }

/* ─── GALLERY ───────────────────────────────────────────────────── */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  grid-auto-flow: dense;
  gap: 16px;
}
.g-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--off-white);
  box-shadow: 0 4px 18px rgba(10,22,40,0.06);
}
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.g-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.75), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
}
.g-item figcaption {
  position: absolute;
  left: 18px; bottom: 16px; right: 18px;
  z-index: 1;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
}
.g-item:hover img { transform: scale(1.07); }
.g-item:hover::after, .g-item:hover figcaption { opacity: 1; transform: none; }
.g-item.more { display: none; }
.gallery-grid.all .g-item.more { display: block; }
.gallery-more { text-align: center; margin-top: 40px; }

.btn-outline {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid rgba(var(--azure-rgb),0.4);
  border-radius: 50px;
  padding: 13px 30px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-outline:hover { background: rgba(var(--azure-rgb),0.08); border-color: var(--azure); transform: translateY(-2px); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}
@media (max-width: 520px) {
  .gallery-grid { grid-auto-rows: 130px; gap: 10px; }
  .g-item figcaption { display: none; }
}

/* ─── LIGHTBOX ──────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10,22,40,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(90vw, 1500px);
  max-height: 78vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.lightbox.open img.show { opacity: 1; transform: none; }
.lb-btn {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(var(--azure-rgb),0.35);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.lb-btn:hover { background: rgba(var(--azure-rgb),0.15); border-color: var(--azure); }
.lb-close { top: 22px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 22px 28px;
  color: var(--white);
  font-size: 14px;
}
#lbCount { color: var(--azure); font-family: 'Montserrat', sans-serif; font-weight: 600; }
@media (max-width: 700px) {
  .lb-prev, .lb-next { top: auto; bottom: 70px; transform: none; }
  .lb-prev { left: auto; right: 84px; }
  .lb-next { right: 20px; }
}

/* ─── PRICING ───────────────────────────────────────────────────── */
.pricing { background: var(--off-white); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 32px 28px 20px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--azure), var(--mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.10); border-color: rgba(var(--azure-rgb),0.2); }
.price-card:hover::before, .price-card.featured::before { transform: scaleX(1); }
.price-card.featured { border-color: rgba(var(--azure-rgb),0.25); }
.price-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.service-icon.small { width: 46px; height: 46px; border-radius: 12px; margin: 0; flex-shrink: 0; }
.price-head h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 4px;
}
.price-head p { font-size: 0.82rem; color: var(--gray-text); line-height: 1.5; }
.price-card ul { list-style: none; }
.price-card li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.9rem;
  color: var(--text);
  transition: padding var(--transition), color var(--transition);
}
.price-card li:hover { padding-left: 6px; color: var(--ink); }
.price-card li b {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--azure-dark), var(--mint-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pay-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.pay-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.pay-box strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  color: var(--on-dark);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  font-size: 13px;
  color: var(--on-dark-2);
  padding: 7px 14px;
  border-radius: 50px;
  border: 1px solid rgba(var(--azure-rgb),0.25);
  background: rgba(var(--azure-rgb),0.06);
  transition: border-color var(--transition), color var(--transition);
}
.chips span:hover { border-color: var(--azure); color: var(--on-dark); }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }
@media (max-width: 700px) { .pay-row { grid-template-columns: 1fr; } }

/* ─── PROCESS + HOURS ───────────────────────────────────────────── */
.process { background: var(--white); }
.step-content a { color: var(--azure-dark); font-weight: 600; text-decoration: none; }
.step-content a:hover { text-decoration: underline; }
.hours-card h3 { display: flex; align-items: center; gap: 10px; }
.hours-row { padding: 14px 14px; margin: 0 -14px; border-radius: 10px; transition: background var(--transition); }
.hours-row.today { background: rgba(var(--azure-rgb),0.12); border-bottom-color: transparent; }
.hours-row.today .hours-day { color: var(--on-dark); font-weight: 700; }
.hours-row.today .hours-day::after {
  content: 'Dnes';
  margin-left: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(135deg, var(--azure), var(--mint));
  padding: 3px 8px;
  border-radius: 50px;
  vertical-align: 2px;
}
.hours-closed { color: #FF7B6B; }
.hours-note { display: flex; align-items: center; gap: 12px; }

/* ─── CONTACT ───────────────────────────────────────────────────── */
.contact-item-text a { color: var(--gray-text); text-decoration: none; transition: color var(--transition); }
.contact-item-text a:hover { color: var(--azure); }
.contact-item-icon { color: var(--azure); }

.booking .booking-lead { color: var(--on-dark-2); font-size: 0.95rem; margin: -12px 0 28px; }
a.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  text-align: center;
}
.booking-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  color: var(--gray-text);
  font-size: 13px;
}
.booking-or::before, .booking-or::after { content: ''; flex: 1; height: 1px; background: rgba(var(--azure-rgb),0.15); }
.booking-alt { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.booking-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(var(--on-dark-rgb),0.04);
  border: 1.5px solid rgba(var(--azure-rgb),0.15);
  color: var(--azure);
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.booking-link:hover { border-color: var(--azure); background: rgba(var(--azure-rgb),0.06); transform: translateY(-2px); }
.booking-link svg { flex-shrink: 0; }
.booking-link span { color: var(--gray-text); font-size: 13.5px; overflow-wrap: anywhere; }
.booking-link strong { display: block; color: var(--on-dark); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.booking-hours {
  margin-top: 24px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--mint);
  background: rgba(var(--mint-rgb),0.08);
  border: 1px solid rgba(var(--mint-rgb),0.2);
}

/* ─── MAP ───────────────────────────────────────────────────────── */
.map-section {
  position: relative;
  height: 380px;
  border-top: 3px solid var(--azure);
  background: var(--navy-mid);
}
.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95);
  transition: filter .8s ease;
}
.map-section:hover iframe { filter: none; }
.map-btn { position: absolute; left: 5%; bottom: 28px; font-size: 13px; padding: 11px 24px; }

/* ─── FOOTER ────────────────────────────────────────────────────── */
.footer-brand .nav-logo { display: inline-flex; }
.footer-legal {
  padding: 22px 0;
  border-top: 1px solid rgba(var(--on-dark-rgb),0.06);
  font-size: 12.5px;
  color: var(--gray-text);
  line-height: 1.7;
}
.footer-legal strong { color: var(--on-dark-2); font-weight: 600; }

/* ─── LONG WORDS ON SMALL SCREENS ───────────────────────────────── */
.section-title, .hero-title, .contact-info h2, .service-card h3, .price-head h3, .team-card h3 {
  overflow-wrap: break-word;
  hyphens: manual;
}
@media (max-width: 600px) {
  .section-title { font-size: 1.6rem; }
  .hero-title { font-size: 2.1rem; }
  .contact-info h2 { font-size: 1.7rem; }
}
@media (max-width: 900px) {
  .about-badge-float { right: 12px; bottom: -20px; }
}
/* Never allow sideways scrolling on phones */
html, body { overflow-x: clip; }


/* ═════════════════════════════════════════════════════════════════
   INTERAKTÍVNE ANIMÁCIE
   ═════════════════════════════════════════════════════════════════ */
:root { --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --hot: #00E5A0; }

/* ─── LOADER ────────────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: var(--navy);
  transition: clip-path 1.1s var(--ease-out);
  clip-path: circle(150% at 50% 50%);
}
#loader.done { clip-path: circle(0% at 50% 50%); pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.loader-logo { transform: scale(1.35); opacity: 0; animation: fade-up .8s .1s var(--ease-out) forwards; }
.loader-ekg { width: 220px; height: 44px; }
.loader-ekg polyline {
  stroke: var(--azure);
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw 1.3s .25s var(--ease-out) forwards;
  filter: drop-shadow(0 0 6px rgba(var(--azure-rgb),.7));
}
.loader-inner p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  opacity: 0;
  animation: fade-up .8s .6s var(--ease-out) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Hold hero intro animations until the loader is gone */
body:not(.loaded) .hero-content > *,
body:not(.loaded) .hero-stats { animation-play-state: paused; }

/* ─── SCROLL PROGRESS ───────────────────────────────────────────── */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100; pointer-events: none; }
.progress i {
  display: block;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--azure), var(--mint));
  box-shadow: 0 0 10px rgba(var(--mint-rgb),.6);
}

/* ─── NAV HIDE ON SCROLL ────────────────────────────────────────── */
nav { transition: background var(--transition), transform .5s var(--ease-out); }
nav.hide { transform: translateY(-100%); }
.nav-links a.active { color: var(--azure); }
.nav-links a.active::after { width: 100%; }

/* ─── HERO ──────────────────────────────────────────────────────── */
#waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-spot {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--sx, 70%) var(--sy, 40%), rgba(var(--azure-rgb),.16), transparent 70%);
  transition: background .2s;
}
.hero-content, .hero-stats { z-index: 3; }
.hero-content { pointer-events: none; }
.hero-content a, .hero-content button { pointer-events: auto; }

.hero-title { animation: none; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%) rotate(3deg); transition: transform 1.1s var(--ease-out); }
.loaded .hero-title .line > span { transform: none; }
.hero-title .line:nth-child(2) > span { transition-delay: .1s; }
.hero-title .line:nth-child(3) > span { transition-delay: .2s; }

.hero-swap {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--on-dark-2);
  margin: -6px 0 22px;
  animation: fade-up .8s .25s ease both;
}
.swap { display: inline-grid; vertical-align: bottom; perspective: 400px; color: var(--mint); }
.swap > span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(60%) rotateX(-70deg);
  transform-origin: 50% 100%;
  transition: opacity .6s ease, transform .8s var(--ease-out);
}
.swap > span.on { opacity: 1; transform: none; }
.swap > span.out { opacity: 0; transform: translateY(-60%) rotateX(70deg); }

.hero-hint {
  position: absolute;
  left: 5%;
  bottom: 30px;
  z-index: 3;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(203,213,224,.55);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fade-up .8s 1s ease both;
}
.hero-hint::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--azure);
  box-shadow: 0 0 0 0 rgba(var(--azure-rgb),.6);
  animation: hint-ping 2s ease-out infinite;
}
@keyframes hint-ping { to { box-shadow: 0 0 0 12px rgba(var(--azure-rgb),0); } }
@media (hover: none) { .hero-hint { display: none; } }

/* ─── SPLIT TEXT (section titles) ───────────────────────────────── */
.split-js .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-js .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transition: transform .9s var(--ease-out); }
.split-js.visible .w > span { transform: none; }
.section-title.split-js { opacity: 1 !important; transform: none !important; }

/* ─── TILT CARDS + SPOTLIGHT ────────────────────────────────────── */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt.tilting { transition: transform .12s linear, box-shadow var(--transition), border-color var(--transition) !important; }
.tilt::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--azure-rgb),.14), transparent 60%);
  transition: opacity .4s ease;
}
.tilt:hover::after { opacity: 1; }
.team-card { position: relative; }
.team-card.tilt::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--mint-rgb),.16), transparent 60%); }

/* 3D about photo */
.tilt3d-wrap { position: relative; perspective: 1100px; }
.tilt3d { transform-style: preserve-3d; transition: transform .15s linear; will-change: transform; }
.tilt3d::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.22), transparent 55%);
  opacity: 0;
  transition: opacity .4s ease;
}
.tilt3d:hover::after { opacity: 1; }
.about-img-wrapper { clip-path: inset(14% 0 0 0 round 20px); transition: clip-path 1.3s var(--ease-out), transform .15s linear; }
.about-visual.visible .about-img-wrapper { clip-path: inset(0 0 0 0 round 20px); }
.about-badge-float { transform: translateZ(40px); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateZ(40px) translateY(-10px); } }

/* ─── MAGNETIC ──────────────────────────────────────────────────── */
.magnetic { will-change: transform; }
.magnetic.pulling { transition: transform .15s ease-out !important; }

/* ─── TIMELINE ──────────────────────────────────────────────────── */
.process-steps { position: relative; }
.process-steps .rail {
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 56px;
  width: 2px;
  background: rgba(var(--azure-rgb),.15);
  border-radius: 2px;
}
.process-steps .rail i {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
  transform: scaleY(0);
  background: linear-gradient(to bottom, var(--azure), var(--mint));
  border-radius: 2px;
}
.step:not(:last-child)::after { display: none; }
.step { transition: opacity .6s ease; }
.step:not(.lit) { opacity: .4; }
.step-num { position: relative; z-index: 1; transition: transform .6s var(--ease-out), box-shadow .6s ease, background .6s ease; background: var(--off-white); color: var(--gray-text); border: 2px solid rgba(var(--azure-rgb),.25); }
.step.lit .step-num { background: linear-gradient(135deg, var(--azure), var(--mint)); color: var(--ink); border-color: transparent; transform: scale(1.12); box-shadow: 0 0 0 6px rgba(var(--azure-rgb),.12); }

/* Staggered hours */
.hours-card .hours-row { opacity: 0; transform: translateX(-12px); transition: opacity .5s ease, transform .6s var(--ease-out), background var(--transition); }
.hours-card.visible .hours-row { opacity: 1; transform: none; }
.hours-card.visible .hours-row:nth-of-type(2) { transition-delay: .05s; }
.hours-card.visible .hours-row:nth-of-type(3) { transition-delay: .1s; }
.hours-card.visible .hours-row:nth-of-type(4) { transition-delay: .15s; }
.hours-card.visible .hours-row:nth-of-type(5) { transition-delay: .2s; }
.hours-card.visible .hours-row:nth-of-type(6) { transition-delay: .25s; }
.hours-card.visible .hours-row:nth-of-type(7) { transition-delay: .3s; }
.hours-card.visible .hours-row:nth-of-type(8) { transition-delay: .35s; }

/* ─── PRICE SEARCH ──────────────────────────────────────────────── */
.price-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  margin: -20px auto 36px;
  padding: 0 20px;
  height: 56px;
  background: var(--white);
  border: 1.5px solid rgba(var(--azure-rgb),.2);
  border-radius: 50px;
  color: var(--gray-text);
  box-shadow: 0 8px 30px rgba(10,22,40,.06);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.price-search:focus-within { border-color: var(--azure); box-shadow: 0 8px 30px rgba(var(--azure-rgb),.18); color: var(--azure-dark); }
.price-search input { flex: 1; border: 0; outline: 0; background: none; font: 500 15px 'Inter', sans-serif; color: var(--text); min-width: 0; }
.price-card li.hidden, .price-card.hidden { display: none; }
.price-card li.match { animation: rowIn .5s ease both; }
.price-card mark { background: rgba(var(--mint-rgb),.3); color: inherit; border-radius: 3px; padding: 0 2px; }
.price-empty { display: none; text-align: center; color: var(--gray-text); margin: 0 0 30px; }
.price-empty.show { display: block; animation: rowIn .5s ease both; }
.price-empty a { color: var(--azure-dark); font-weight: 600; }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ─── GALLERY POLISH ────────────────────────────────────────────── */
.g-item { transition: transform .6s var(--ease-out), box-shadow .6s ease; }
.g-item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,22,40,.15); }

@media (prefers-reduced-motion: reduce) {
  #loader { display: none; }
  .hero-title .line > span, .split-js .w > span { transform: none !important; }
  .about-img-wrapper { clip-path: none !important; }
  .hours-card .hours-row { opacity: 1; transform: none; }
  .step:not(.lit) { opacity: 1; }
}


/* ═════════════════════════════════════════════════════════════════
   FAREBNÉ TÉMY
   ═════════════════════════════════════════════════════════════════ */
/* Colour themes – one for every day of the week (as in version 4) */
:root[data-palette="ocean"] {
  --navy: #0B1530; --navy-mid: #14244C;
  --azure: #2A9DF0; --azure-dark: #1A7ED2;
  --mint: #7DCBFF; --mint-dark: #4AA8EE;
  --off-white: #F1F5FB;
  --azure-rgb: 42,157,240; --mint-rgb: 125,203,255; --navy-rgb: 11,21,48;
}
:root[data-palette="zapad"] {
  --navy: #1C0F22; --navy-mid: #2C1834;
  --azure: #FF6B6B; --azure-dark: #E2474F;
  --mint: #FFB547; --mint-dark: #F59E0B;
  --off-white: #FBF4F1;
  --azure-rgb: 255,107,107; --mint-rgb: 255,181,71; --navy-rgb: 28,15,34;
}
:root[data-palette="levandula"] {
  --navy: #150F2E; --navy-mid: #231A48;
  --azure: #8463FF; --azure-dark: #6A48F0;
  --mint: #4FE3C1; --mint-dark: #25C7A3;
  --off-white: #F4F2FC;
  --azure-rgb: 132,99,255; --mint-rgb: 79,227,193; --navy-rgb: 21,15,46;
}
:root[data-palette="aurora"] {
  --navy: #061A1C; --navy-mid: #0D2A2D;
  --azure: #06B6D4; --azure-dark: #0891B2;
  --mint: #4ADE80; --mint-dark: #22C55E;
  --off-white: #F0F8F5;
  --azure-rgb: 6,182,212; --mint-rgb: 74,222,128; --navy-rgb: 6,26,28;
}
:root[data-palette="magenta"] {
  --navy: #170B24; --navy-mid: #251338;
  --azure: #EC4899; --azure-dark: #D02F7D;
  --mint: #A78BFA; --mint-dark: #8B5CF6;
  --off-white: #FAF3F8;
  --azure-rgb: 236,72,153; --mint-rgb: 167,139,250; --navy-rgb: 23,11,36;
}
:root[data-palette="polnocna"] {
  --navy: #0B0B0E; --navy-mid: #17181C;
  --azure: #3AA8F5; --azure-dark: #1F86D6;
  --mint: #B9E2FF; --mint-dark: #7CC4F5;
  --off-white: #F3F4F6; --text: #15171A;
  --azure-rgb: 58,168,245; --mint-rgb: 185,226,255; --navy-rgb: 11,11,14;
}

.hero-ekg { color: var(--azure); }
.hero-ekg polyline { stroke: currentColor; }



/* ─── PERFORMANCE: lighter intro ────────────────────────────────── */
#loader { clip-path: none !important; transition: opacity .45s ease, visibility .45s; }
#loader.done { opacity: 0; visibility: hidden; }
.loader-ekg polyline { animation-duration: .7s; animation-delay: .05s; }
.loader-logo { animation-duration: .45s; animation-delay: 0s; }
.loader-inner p { animation-duration: .45s; animation-delay: .2s; }
.hero-bg-grid { animation: none; opacity: .7; }
.hero-glow, .hero-glow-2 { will-change: transform; }
@media (hover: none), (max-width: 900px) {
  .hero-spot { display: none; }
  .stat-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(var(--on-dark-rgb),.06); }
}


/* ═════════════════════════════════════════════════════════════════
   MOBILE PERFORMANCE
   ═════════════════════════════════════════════════════════════════ */
nav.solid { background: rgba(var(--navy-rgb), 0.98); }

@media (hover: none), (max-width: 900px) {
  /* Blur behind fixed/overlay elements is the most expensive thing on older phones */
  nav, .stat-card, .lightbox { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  nav { background: rgba(var(--navy-rgb), 0.97); }

  /* Stop decorative loops that never stop repainting */
  .hero-glow, .hero-glow-2, .hero-badge::before, .about-badge-float,
  .dot.open::after, .hero-hint::before { animation: none !important; }
  .about-badge-float { transform: none; }

  /* Fewer GPU layers kept in memory */
  .tilt, .tilt3d, .magnetic, .hero-glow, .hero-glow-2 { will-change: auto; }
  .tilt::after, .tilt3d::after { display: none; }

  /* Shorter, lighter entrance animations */
  .reveal { transform: translateY(18px); transition-duration: .5s; }
  .split-js .w > span { transition-duration: .6s; }
  .about-img-wrapper { clip-path: none !important; }
  .g-item:hover { transform: none; box-shadow: 0 4px 18px rgba(10,22,40,0.06); }
  .g-item:hover img { transform: none; }
}


/* ─── INFO BAR – minimal on phones ──────────────────────────────── */
.info-text .short { display: none; }
@media (max-width: 700px) {
  .info-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    background: var(--navy-mid);
    border-top: 1px solid rgba(var(--azure-rgb), .18);
    border-bottom: 1px solid rgba(var(--azure-rgb), .18);
  }
  .info-item {
    gap: 9px;
    padding: 13px 14px;
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(var(--on-dark-rgb),.82);
    letter-spacing: .01em;
    min-width: 0;
  }
  /* hairline grid between the four cells */
  .info-item:nth-child(odd) { border-right: 1px solid rgba(var(--azure-rgb), .12); }
  .info-item:nth-child(-n+2) { border-bottom: 1px solid rgba(var(--azure-rgb), .12); }
  .info-item .icon {
    width: auto; height: auto;
    background: none;
    border-radius: 0;
    color: var(--azure);
  }
  .info-item .icon svg { width: 14px; height: 14px; }
  .info-text { min-width: 0; line-height: 1.35; }
  .info-text .long { display: none; }
  .info-text .short { display: inline; }
  a.info-item:active { background: rgba(var(--azure-rgb), .08); }
}


/* ═════════════════════════════════════════════════════════════════
   LOGO + BIG WORD
   ═════════════════════════════════════════════════════════════════ */
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.logo-mark { width: 36px; height: 36px; flex-shrink: 0; overflow: visible; transition: transform .6s var(--ease-out); }
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-word {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--on-dark);
}
.logo-word b {
  font-weight: 800;
  background: linear-gradient(135deg, var(--azure), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.loader-logo { transform: scale(1.5); }
.loader-logo .logo-mark { animation: none; }
.footer-brand .logo-mark { width: 32px; height: 32px; }
.footer-brand .logo-word { font-size: 21px; }
@media (max-width: 600px) {
  .logo-mark { width: 32px; height: 32px; }
  .logo-word { font-size: 21px; }
}

.big-word {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(54px, 21vw, 290px);
  line-height: .9;
  letter-spacing: -.06em;
  text-align: center;
  padding: 10px 0 .08em;
  margin: 0 0 48px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(var(--on-dark-rgb),.22);
  background: linear-gradient(90deg, var(--azure), var(--mint)) no-repeat;
  background-size: 0% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-size 1.6s var(--ease-out), -webkit-text-stroke-color 1.6s ease;
  user-select: none;
  white-space: nowrap;
}
.big-word.in, .big-word:hover { background-size: 100% 100%; -webkit-text-stroke-color: transparent; }


/* ─── TOUCH DEVICES: only the EKG line in the hero ─────────────── */
@media (hover: none), (pointer: coarse) {
  #waves, .hero-spot, .hero-hint { display: none !important; }
  .hero-ekg { opacity: .4; }
  .hero-ekg svg {
    animation: ekg-move 8s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes ekg-move {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}


/* ═════════════════════════════════════════════════════════════════
   HERO EAR (desktop)
   ═════════════════════════════════════════════════════════════════ */
.hero-status {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 16px;
  border-radius: 50px;
  border: 1px solid rgba(var(--on-dark-rgb), .12);
  background: rgba(var(--on-dark-rgb), .04);
  font-size: 13.5px;
  color: var(--on-dark-2);
  animation: fade-up .8s .6s ease both;
}
.hero-status #heroStatus { color: var(--on-dark); font-weight: 600; }
.hero-status-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(var(--on-dark-rgb), .3); }

.oto-stage {
  position: absolute;
  right: 4%;
  top: 50%;
  width: min(480px, 34vw);
  aspect-ratio: 1 / 1.05;
  margin-top: calc(min(480px, 34vw) * -0.5);
  perspective: 1000px;
  z-index: 2;
  pointer-events: none;
  animation: fade-up 1s .4s ease both;
}
body:not(.loaded) .oto-stage { animation-play-state: paused; }
.oto-3d { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
.oto-3d .ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1.5px dashed rgba(var(--on-dark-rgb), .14);
  animation: spin 40s linear infinite;
}
.oto-3d .ring.r2 {
  inset: 18%;
  border: 1.5px solid rgba(var(--azure-rgb), .28);
  animation-duration: 28s;
  animation-direction: reverse;
}
.oto-spark { transform-box: fill-box; transform-origin: center; animation: spin 8s linear infinite; }
.oto-spark.s2 { animation: oto-twinkle 2.4s ease-in-out infinite; }
@keyframes oto-twinkle { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

.ear-svg {
  position: absolute;
  inset: 16% 14% 18% 12%;
  width: 74%;
  height: 66%;
  transform: translateZ(60px);
  filter: drop-shadow(0 30px 36px rgba(0,0,0,.32));
  animation: ear-bob 6s ease-in-out infinite;
  overflow: visible;
}
@keyframes ear-bob { 50% { transform: translateZ(60px) translateY(-14px) rotate(-2deg); } }
/* sound waves travel towards the ear one after another */
.ear-waves { stroke-width: 2; }
.ear-waves .w { transform-box: fill-box; transform-origin: center; opacity: 0; animation: ear-wave 2.4s ease-out infinite; }
.ear-waves .w1 { animation-delay: 1.2s; }
.ear-waves .w2 { animation-delay: .6s; }
.ear-waves .w3 { animation-delay: 0s; }
@keyframes ear-wave {
  0%   { opacity: 0; transform: translateX(-6px); }
  35%  { opacity: .9; }
  100% { opacity: 0; transform: translateX(5px); }
}

.oto-3d .orbit { position: absolute; inset: 0; animation: spin 30s linear infinite; }
.oto-3d .chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 9px;
  border-radius: 999px;
  background: var(--navy-mid);
  border: 1px solid rgba(var(--azure-rgb), .25);
  color: var(--on-dark);
  font: 700 13px 'Montserrat', sans-serif;
  white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.45);
  animation: spin 30s linear infinite reverse;
}
.oto-3d .chip i {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(var(--azure-rgb), .15);
  color: var(--azure);
}
.oto-3d .chip i svg { width: 14px; height: 14px; }
.oto-3d .chip:nth-child(1) { top: 4%; left: 50%; margin-left: -60px; }
.oto-3d .chip:nth-child(2) { top: 62%; right: -6%; }
.oto-3d .chip:nth-child(3) { top: 84%; left: 2%; }


/* Leave room for the otoscope on wide screens; hide it elsewhere */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
  .hero-content { max-width: 620px; }
}
@media (max-width: 1100px), (hover: none), (pointer: coarse) {
  .oto-stage, .hero-hint { display: none !important; }
}

/* Glossy sheen sweeping across the ear every few seconds */
.ear-sheen { animation: ear-sheen 5.5s ease-in-out infinite; }
@keyframes ear-sheen {
  0%, 15% { transform: rotate(18deg) translateX(0); }
  55%, 100% { transform: rotate(18deg) translateX(110px); }
}

/* Grid behind the ear – fades out towards the edges, sits deeper in 3D */
.ear-grid {
  position: absolute;
  inset: -8%;
  transform: translateZ(-40px);
  background-image:
    linear-gradient(rgba(var(--azure-rgb), .34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--azure-rgb), .34) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0,0,0,.7) 45%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0,0,0,.7) 45%, transparent 72%);
  border-radius: 50%;
  pointer-events: none;
}
.ear-grid::after {
  /* soft glow in the middle so the ear stands out */
  content: '';
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--azure-rgb), .18), transparent 70%);
}
