@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #063f37;
  --ink-2: #174f48;
  --coral: #f06b53;
  --mint: #eaf5f2;
  --mint-2: #dfeeea;
  --white: #fff;
  --text: #254a45;
  --muted: #607a76;
  --line: #c9ded9;
  --shadow: 0 20px 60px rgba(6, 63, 55, 0.11);
  --radius: 28px;
  --shell: min(1180px, calc(100% - 48px));
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
img,
svg {
  display: block;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.shell {
  width: var(--shell);
  margin-inline: auto;
}
.site-header {
  height: 82px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(6, 63, 55, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
}
.nav-shell {
  width: var(--shell);
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.055em;
  font-size: 21px;
  white-space: nowrap;
}
.brand-mark {
  width: 43px;
  height: 43px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}
.site-menu a {
  position: relative;
  padding: 8px 0;
}
.site-menu a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 2px;
  background: var(--coral);
  transition: right 0.25s;
}
.site-menu a:hover:after,
.site-menu a:focus-visible:after {
  right: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid var(--coral);
  border-radius: 8px;
  padding: 0 28px;
  background: var(--coral);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    background 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  background: #e45e48;
  box-shadow: 0 12px 24px rgba(240, 107, 83, 0.22);
}
.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(240, 107, 83, 0.35);
  outline-offset: 3px;
}
.button-small {
  min-height: 46px;
  padding: 0 21px;
  font-size: 14px;
}
.button-outline {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  border-color: var(--ink);
}
.button-outline:hover {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px;
  background: var(--ink);
}
.hero {
  min-height: 650px;
  position: relative;
  display: flex;
  overflow: hidden;
  background: #f7fbfa;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-home .hero-media { 
  background-image: url("assets/hero-patient.png"); 
}
.hero-pedodoncia .hero-media { 
  background-image: url(assets/hero-pedodoncia.png); 
}
.hero-parodontologji .hero-media { 
  background-image: url(assets/hero-parodontologji.png); 
}
.hero-implantologji .hero-media { 
  background-image: url(assets/hero-implantologji.png); 
}
.hero-estetike .hero-media { 
  background-image: url(assets/hero-estetike.png); 
}

.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #f7fbfa 3%,
    rgba(247, 251, 250, 0.97) 30%,
    rgba(247, 251, 250, 0.58) 53%,
    rgba(247, 251, 250, 0) 72%
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 650px;
}
.hero-copy {
  width: min(590px, 52%);
  padding: 42px 0;
}
.hero h1 {
  font-size: clamp(50px, 5.3vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  color: var(--ink);
  margin: 0 0 24px;
  font-weight: 800;
}
.hero p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 0 34px;
  color: #476b66;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.section {
  padding: 108px 0;
}
.section-heading h2,
.about h2,
.contact h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0;
}
.section-heading p {
  font-size: 17px;
  color: var(--muted);
  margin: 20px 0 0;
  max-width: 660px;
}
.centered {
  text-align: center;
}
.centered p {
  margin-inline: auto;
}
.accent-line {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--coral);
  margin: 24px 0;
}
.centered .accent-line {
  margin-inline: auto;
}
.services {
  background: #fff;
}
.services .section-heading h2 {
  font-size: clamp(34px, 3.2vw, 48px);
}
.service-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 62px;
}
.service-item {
  padding: 0 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.service-item:first-child {
  padding-left: 0;
}
.service-item:last-child {
  border-right: 0;
  padding-right: 0;
}
.service-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint);
  margin: 0 auto 24px;
}
.service-icon svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
}
.service-item p {
  font-size: 13px;
  color: var(--muted);
  margin: 12px auto 0;
  max-width: 220px;
}
.process {
  background: linear-gradient(135deg, #fff 0%, #fff 72%, #edf7f4 100%);
}
.section-heading.narrow {
  padding-left: 45px;
  border-left: 1px solid #8fb4ac;
  position: relative;
  max-width: 760px;
}
.section-heading.narrow:before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 50%;
  position: absolute;
  left: -5px;
  top: 2px;
}
.process-list {
  list-style: none;
  padding: 0;
  margin: 76px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}
.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: center;
  padding: 0 34px;
  border-right: 1px solid var(--line);
}
.process-list li:last-child {
  border-right: 0;
}
.step-number {
  color: var(--coral);
  font-size: 27px;
  font-weight: 700;
  grid-column: 2;
}
.step-icon {
  grid-row: 1/3;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--ink);
  font-size: 28px;
}
.process-list strong {
  grid-column: 2;
  color: var(--ink);
  font-size: 18px;
}
.about {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 600px;
  background: #f4faf8;
}
.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px max(48px, calc((100vw - 1180px) / 2));
  padding-right: 70px;
}
.about-copy .accent-line {
  margin-top: 0;
}
.about-copy p {
  max-width: 440px;
  font-size: 18px;
  color: var(--muted);
  margin: 24px 0 0;
}
.about-image {
  background: url("assets/clinic-care.png") center/cover no-repeat;
  border-radius: 60px 0 0 0;
}
.team {
  background: #fff;
}
.team-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: end;
}
.team .section-heading h2 {
  font-size: clamp(36px, 3.5vw, 50px);
}
.doctor-list {
  border-top: 1px solid var(--line);
}
.doctor {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.doctor > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-weight: 800;
}
.doctor h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
}
.doctor p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.contact {
  background: #fff;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}
.contact-intro {
  padding-top: 26px;
}
.contact-intro > p {
  font-size: 17px;
  max-width: 470px;
  color: var(--muted);
}
.contact-links {
  margin-top: 38px;
  max-width: 480px;
}
.contact-links > a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.2s;
}
.contact-links > a:hover {
  padding-left: 6px;
}
.round-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
}
.round-icon.fb {
  font-family: Arial;
  font-size: 26px;
}
.contact-links small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 2px;
}
.contact-links strong {
  color: var(--ink);
  font-size: 16px;
}
.appointment-form {
  background: linear-gradient(145deg, #edf7f4, #e4f1ee);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow);
}
.field {
  margin-bottom: 19px;
}
.field label {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
}
.field label span {
  font-weight: 500;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #bad1cc;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 13px 14px;
  min-height: 50px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--coral);
}
.appointment-form .button {
  width: 100%;
  margin-top: 5px;
}
.form-note {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin: 12px 8px 0;
}
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 62px 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
  align-items: center;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-brand {
  color: #fff;
}
.footer-top p {
  margin: 0;
  color: #b9d1cc;
}
.footer-phone {
  font-weight: 800;
  font-size: 18px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  color: #9ebbb5;
  font-size: 12px;
  padding-top: 22px;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .button {
    transition: none;
  }
}
@media (max-width: 900px) {
  :root {
    --shell: min(100% - 34px, 720px);
  }
  .site-header {
    height: 72px;
  }
  .brand {
    font-size: 17px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .site-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px max(28px, calc((100vw - 720px) / 2));
    box-shadow: 0 20px 40px rgba(6, 63, 55, 0.1);
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .site-menu.open {
    display: flex;
  }
  .hero,
  .hero-inner {
    min-height: 740px;
  }
  .hero-media {
    inset: 330px 0 0;
    background-position: 61% center;
  }
  .hero-fade {
    background: linear-gradient(
      180deg,
      #f7fbfa 0,
      #f7fbfa 42%,
      rgba(247, 251, 250, 0.7) 54%,
      rgba(247, 251, 250, 0) 72%
    );
  }
  .hero-inner {
    align-items: flex-start;
  }
  .hero-copy {
    width: 100%;
    padding-top: 70px;
  }
  .hero h1 {
    font-size: clamp(46px, 11vw, 64px);
  }
  .hero p {
    font-size: 16px;
    max-width: 540px;
  }
  .section {
    padding: 82px 0;
  }
  .service-row {
    grid-template-columns: 1fr 1fr;
    gap: 44px 0;
  }
  .service-item:nth-child(2) {
    border-right: 0;
  }
  .service-item:nth-child(3) {
    padding-left: 0;
  }
  .service-item p {
    font-size: 13px;
  }
  .process-list {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .process-list li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 26px;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .about-copy {
    padding: 80px 17px;
  }
  .about-image {
    min-height: 480px;
    border-radius: 50px 50px 0 0;
    background-position: 52% center;
  }
  .team-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 28px);
  }
  .brand {
    font-size: 15px;
    gap: 8px;
  }
  .brand-mark {
    width: 36px;
  }
  .hero,
  .hero-inner {
    min-height: 720px;
  }
  .hero-media {
    inset: 390px 0 0;
    background-position: 62% center;
  }
  .hero-copy {
    padding-top: 52px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-actions {
    gap: 10px;
  }
  .button {
    min-height: 50px;
    padding: 0 18px;
  }
  .hero-actions .button {
    flex: 1;
    font-size: 13px;
  }
  .section {
    padding: 68px 0;
  }
  .service-row {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }
  .service-item,
  .service-item:first-child,
  .service-item:last-child,
  .service-item:nth-child(3) {
    padding: 0 0 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .service-item:last-child {
    border-bottom: 0;
  }
  .section-heading.narrow {
    padding-left: 24px;
  }
  .process-list {
    margin-top: 52px;
  }
  .process-list li {
    grid-template-columns: 64px 1fr;
  }
  .step-icon {
    width: 64px;
    height: 64px;
  }
  .about-copy {
    padding: 68px 24px;
  }
  .about-image {
    min-height: 390px;
    border-radius: 36px 36px 0 0;
  }
  .team-layout {
    gap: 34px;
  }
  .contact-layout {
    gap: 36px;
  }
  .appointment-form {
    padding: 24px 18px;
    border-radius: 20px;
  }
  .footer-top {
    padding-bottom: 34px;
  }
  .footer-bottom {
    gap: 20px;
    align-items: flex-start;
  }
  .footer-top p {
    font-size: 13px;
  }
}
