/* ==========================================================================
   Nađa Dent — components.css
   Sekcije i kartice: hero, brojke, terapije, rezultati, galerija, kontakt.
   ========================================================================== */

/* ---------- Hero --------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
  padding: clamp(110px, 15vh, 170px) var(--pad) clamp(40px, 7vh, 80px);
}

.hero-img {
  position: absolute;
  top: -7%;
  left: 0;
  width: 100%;
  height: 114%;
  object-fit: cover;
  object-position: 62% 44%;
  will-change: transform;
}

.hero-veil,
.hero-veil-2 {
  position: absolute;
  inset: 0;
}

.hero-veil { background: radial-gradient(78% 62% at 50% 46%, rgba(36, 28, 24, .5) 0%, rgba(36, 28, 24, .72) 62%, rgba(36, 28, 24, .86) 100%); }
.hero-veil-2 { background: radial-gradient(46% 40% at 50% 46%, rgba(28, 21, 18, .34) 0%, rgba(28, 21, 18, 0) 100%); }

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1000px;
  width: 100%;
}

.hero-drop {
  width: 1px;
  height: clamp(30px, 7vh, 64px);
  background: linear-gradient(var(--sand), rgba(220, 192, 140, 0));
  transform-origin: top;
  animation: vDrop 1.1s var(--ease) both;
}

.hero-kicker {
  margin: clamp(16px, 2.4vh, 26px) 0 clamp(20px, 3vh, 32px);
  font-size: 10px;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--sand-lt);
  padding-left: .5em;
  animation: vFade 1.1s ease .25s both;
}

.hero-title {
  font-family: 'Italiana', serif;
  font-weight: 400;
  font-size: clamp(44px, 8.4vw, 132px);
  line-height: .98;
  letter-spacing: .02em;
  color: var(--paper);
  animation: vArch 1.3s var(--ease) .15s both;
}

.hero-title span { display: block; }
.hero-title .gold { color: var(--sand); }

.ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 520px;
}

.ornament .line {
  flex: 1;
  height: 1px;
  background: rgba(220, 192, 140, .42);
}

.ornament .diamond {
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  border: 1px solid var(--sand);
}

.hero-ornament {
  margin: clamp(22px, 3.4vh, 36px) 0 clamp(18px, 2.6vh, 28px);
  animation: vFade 1.2s ease .5s both;
}

.hero-ornament .line:first-child { transform-origin: right; animation: vRule 1.1s var(--ease) .5s both; }
.hero-ornament .line:last-child { transform-origin: left; animation: vRule 1.1s var(--ease) .5s both; }

.hero-text {
  margin-bottom: clamp(28px, 4vh, 44px);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.9;
  color: rgba(246, 243, 238, .88);
  max-width: 46ch;
  text-wrap: pretty;
  animation: vFade 1.2s ease .6s both;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  animation: vFade 1.2s ease .72s both;
}

.hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 var(--pad) clamp(16px, 2.6vh, 26px);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 9px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(246, 243, 238, .5);
  animation: vFade 1.2s ease .9s both;
}

.hero-strip a { color: var(--sand); }

.hero-strip .urgent { color: var(--sand); }

.hero-strip .now {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-strip .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sand);
  animation: vGlow 2.6s ease-in-out infinite;
}

/* ---------- Brojke ------------------------------------------------------- */

.stats {
  background: var(--dark);
  color: var(--dark-ink);
  border-top: 1px solid rgba(220, 192, 140, .22);
  border-bottom: 1px solid rgba(220, 192, 140, .22);
}

.stats-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(26px, 3.4vw, 44px) var(--pad);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: clamp(18px, 2.6vw, 36px);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 9px;
  padding: 0 clamp(6px, 1vw, 14px);
}

.stat-num {
  font-family: 'Italiana', serif;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1;
  color: var(--sand-lt);
}

.stat-label {
  font-size: 9px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(241, 234, 223, .6);
}

/* ---------- Kartice: terapije i principi --------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2.2vw, 32px);
}

.card-grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(14px, 2vw, 28px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(22px, 2.6vw, 34px) clamp(16px, 2vw, 26px) clamp(26px, 3vw, 38px);
  border: 1px solid var(--line-soft);
  background: var(--paper-2);
  transition: transform .55s var(--ease), box-shadow .55s ease, border-color .55s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -46px rgba(58, 46, 42, .65);
  border-color: rgba(164, 131, 85, .55);
}

.js .card.reveal:hover { transform: translateY(-6px); }

.card-mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(164, 131, 85, .4);
  margin-bottom: clamp(20px, 2.4vw, 30px);
  display: block;
  animation: vFloat 5s ease-in-out infinite;
}

.card-num {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .36em;
  color: var(--gold);
  padding-left: .36em;
}

.card-title {
  margin: 12px 0 10px;
  font-size: clamp(20px, 1.9vw, 27px);
  line-height: 1.22;
  letter-spacing: .01em;
}

.card-rule {
  width: 22px;
  height: 1px;
  background: rgba(164, 131, 85, .55);
  margin-bottom: 14px;
}

.card-text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

.card-tag {
  margin-top: 14px;
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Rezultati na početnoj ---------------------------------------- */

.arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: clamp(10px, 1.6vw, 26px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
}

.arch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  width: 100%;
}

.arch-frame {
  padding: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: block;
  width: 100%;
  aspect-ratio: .68;
  border-radius: 999px 999px 6px 6px;
  overflow: hidden;
  border: 1px solid rgba(164, 131, 85, .32);
  position: relative;
  transition: transform .7s var(--ease), box-shadow .7s ease;
}

.arch-item:hover .arch-frame,
.arch-item:focus-visible .arch-frame {
  transform: translateY(-9px);
  box-shadow: 0 34px 60px -44px rgba(58, 46, 42, .7);
}

.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease);
}

.arch-cap {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--soft);
}

.arch-cap .lead { color: var(--gold); }

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(30px, 4vw, 52px);
}

/* ---------- Doktorka ----------------------------------------------------- */

.doctor {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.doctor-photo {
  width: clamp(240px, 32vw, 420px);
  aspect-ratio: .86;
  overflow: hidden;
  border: 1px solid rgba(164, 131, 85, .35);
  position: relative;
  margin: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 38px);
}

.doctor-photo img,
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
  transition: transform 1.4s var(--ease);
}

.quote {
  font-size: clamp(24px, 3.4vw, 50px);
  line-height: 1.3;
  letter-spacing: .012em;
  max-width: 20ch;
  text-wrap: balance;
}

.doctor .ornament {
  margin: clamp(24px, 3vw, 38px) 0;
  max-width: 420px;
}

.doctor .ornament .line { background: rgba(164, 131, 85, .4); }
.doctor .ornament .diamond { border-color: var(--gold); }

.doctor-text {
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ---------- Ordinacija / prostor ----------------------------------------- */

.room-wide {
  display: none;
  width: 100%;
  aspect-ratio: 1.78;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  margin-bottom: clamp(26px, 3.4vw, 44px);
}

.room-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 26px);
  margin-bottom: clamp(30px, 4vw, 52px);
}

.room-arch {
  aspect-ratio: .74;
  border-radius: 999px 999px 6px 6px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  position: relative;
}

.room-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease);
}

.amenities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  border-top: 1px solid rgba(220, 192, 140, .28);
}

.amenities div {
  padding: clamp(20px, 2.4vw, 30px) clamp(14px, 1.8vw, 26px);
  border-left: 1px solid rgba(220, 192, 140, .18);
  font-size: 14px;
  line-height: 1.75;
  color: rgba(241, 234, 223, .74);
  text-wrap: pretty;
}

/* ---------- Kontakt ------------------------------------------------------ */

.contact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.contact-cell {
  padding: clamp(22px, 2.6vw, 32px) clamp(14px, 1.8vw, 24px);
  border-left: 1px solid rgba(164, 131, 85, .18);
}

.contact-label {
  font-size: 9px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 12px;
}

.contact-value {
  font-size: 15px;
  line-height: 1.7;
  font-style: normal;
}

.map-box {
  margin-top: clamp(30px, 4vw, 58px);
  border: 1px solid var(--line);
}

.map-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 15px clamp(14px, 2vw, 22px);
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--soft);
}

.map-head a { letter-spacing: .26em; }

.map-box iframe {
  width: 100%;
  height: clamp(280px, 40vh, 440px);
  border: 0;
  display: block;
  filter: grayscale(.32) contrast(1.03);
}

.contact-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 4.4vw, 72px);
  align-items: center;
  margin-bottom: clamp(40px, 5.4vw, 72px);
}

.contact-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.contact-intro p {
  margin: 18px 0 28px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 40ch;
  text-wrap: pretty;
}

.contact-portrait {
  width: 100%;
  max-width: clamp(200px, 22vw, 290px);
  justify-self: center;
  aspect-ratio: .84;
  overflow: hidden;
  border: 1px solid rgba(164, 131, 85, .35);
  position: relative;
}

/* ---------- O nama ------------------------------------------------------- */

.about-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 4.4vw, 76px);
  align-items: center;
}

.portrait {
  position: relative;
}

.portrait-frame {
  width: 100%;
  aspect-ratio: .82;
  overflow: hidden;
  border: 1px solid rgba(164, 131, 85, .35);
}

.portrait-shadow {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(164, 131, 85, .45);
  transform: translate(16px, 16px);
  pointer-events: none;
}

.about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.about-copy h1 {
  font-family: 'Italiana', serif;
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.06;
  margin-top: 14px;
}

.about-copy .ornament {
  margin: clamp(20px, 2.6vw, 30px) 0;
  max-width: 300px;
}

.about-copy .ornament .line { background: rgba(164, 131, 85, .4); }
.about-copy .ornament .diamond { border-color: var(--gold); }

.about-copy p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 48ch;
  text-wrap: pretty;
}

.about-copy blockquote {
  font-family: 'Italiana', serif;
  font-size: clamp(21px, 2.4vw, 32px);
  line-height: 1.32;
  max-width: 22ch;
  margin: 8px 0 20px;
  text-wrap: balance;
}

.about-sign {
  font-size: 9px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: .4em;
}

.bio-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.bio-block {
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
  padding: clamp(26px, 3.2vw, 44px) 0;
  border-top: 1px solid var(--line);
}

.bio-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bio-head span {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .36em;
  color: var(--gold);
  padding-left: .36em;
}

.bio-head h2 {
  font-family: 'Italiana', serif;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.18;
}

.bio-body { min-width: 0; }

.bio-body p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
  text-wrap: pretty;
}

.bio-body p + p { margin-top: 14px; }

.bio-aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.6vw, 20px);
}

.bio-photo {
  width: 100%;
  aspect-ratio: .78;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  display: block;
  transition: transform 1.4s var(--ease);
}

.facts {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: clamp(20px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.facts-title {
  font-size: 9px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--soft);
}

.facts dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid rgba(164, 131, 85, .2);
  padding-top: 12px;
}

.fact-row dt {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--soft);
}

.fact-row dd {
  margin: 0;
  font-family: 'Italiana', serif;
  font-size: 20px;
  color: var(--gold-dk);
  white-space: nowrap;
}

.steps { border-top: 1px solid var(--line); }

.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 32px);
  align-items: baseline;
  padding: clamp(20px, 2.4vw, 30px) clamp(4px, 1vw, 12px);
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .34em;
  color: var(--gold);
}

.step h3 {
  font-family: 'Italiana', serif;
  font-weight: 400;
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.24;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- Galerija i rezultati (mozaik) -------------------------------- */

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 20px);
}

.mosaic--results {
  max-width: 1240px;
  margin: 0 auto;
}

.tile {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(164, 131, 85, .3);
  background: var(--dark);
  transition: transform .7s var(--ease), box-shadow .7s ease;
  padding: 0;
  width: 100%;
  display: block;
  text-align: left;
  color: inherit;
  font: inherit;
}

.tile:hover,
.tile:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 34px 60px -44px rgba(58, 46, 42, .7);
}

.tile > img,
.tile > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease);
}

.tile--portrait { aspect-ratio: .82; }
.tile--square { aspect-ratio: 1; }
.tile--wide { grid-column: span 2; aspect-ratio: 1.7; }
.tile--tall { grid-column: span 2; grid-row: span 3; }
.tile--hero-gal { grid-column: span 2; grid-row: span 2; min-height: clamp(280px, 42vw, 560px); }

.tile--tall > img,
.tile--hero-gal > img {
  position: absolute;
  inset: 0;
}

.tile-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  background: linear-gradient(rgba(36, 28, 24, 0), rgba(36, 28, 24, .78));
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 9px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #F6F3EE;
  text-align: left;
}

.tile-cap .lead { color: var(--sand-lt); }
.tile-cap .sub { color: rgba(246, 243, 238, .72); }

.play-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(42px, 4vw, 56px);
  height: clamp(42px, 4vw, 56px);
  border-radius: 50%;
  border: 1px solid rgba(246, 243, 238, .85);
  background: rgba(36, 28, 24, .42);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F6F3EE;
  font-size: 13px;
  padding-left: 3px;
  pointer-events: none;
}

.tile--placeholder {
  background: var(--paper-3);
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.tile--placeholder:hover {
  transform: none;
  box-shadow: none;
}

.placeholder-note {
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--soft);
}

.tile--placeholder .tile-cap {
  background: linear-gradient(rgba(237, 231, 220, 0), rgba(237, 231, 220, .96));
  color: var(--gold-dk);
}
