/* ==========================================================================
   Objem sebi — Manca Ambrožič · style.css
   Design tokens and layout per design_handoff_objem_sebi/README.md (V1 "Topla")
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --cream: #f7eee4;
  --cream-alt: #eee7dc;
  --white: #ffffff;
  --clay: #be816e;
  --clay-dark: #a5674f;
  --clay-darker: #8a5540;
  --sand: #d0aa86;
  --peach: #e8cdb8;
  --wheat: #e7d3ad;
  --sage: #858e79;
  --sage-muted: #6e7666;
  --sage-light: #c8ccbd;
  --ink: #3e3129;
  --text-body: #6b5d52;
  --text-strong: #5e5046;
  --text-card: #4f443b;
  --text-muted: #8a7d70;
  --text-footer: #9a8d80;

  /* Type */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Nunito Sans', 'Segoe UI', sans-serif;

  /* Layout */
  --gutter: clamp(20px, 5vw, 64px);
  --content-width: 1080px;
  --hero-width: 1180px;

  /* Shadows */
  --shadow-btn-primary: 0 16px 30px -14px rgba(190, 129, 110, .85);
  --shadow-btn-nav: 0 12px 22px -12px rgba(190, 129, 110, .9);
  --shadow-portrait: 0 34px 64px -30px rgba(96, 70, 54, .55);
  --shadow-card-about: 0 30px 64px -42px rgba(96, 70, 54, .5);
  --shadow-card-credentials: 0 26px 54px -40px rgba(96, 70, 54, .5);
  --shadow-card-price: 0 26px 54px -42px rgba(96, 70, 54, .5);
  --shadow-card-service: 0 22px 48px -42px rgba(96, 70, 54, .5);
}

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

html {
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--clay-dark);
  text-decoration: none;
}

a:hover {
  color: var(--clay-darker);
}

::selection {
  background: var(--peach);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--clay-dark);
  outline-offset: 3px;
}

.contact-panel :focus-visible,
.price-card--sage :focus-visible {
  outline-color: var(--sand);
}

/* Anchor targets clear the sticky nav */
#o-meni,
#pristop,
#cenik,
#kontakt {
  scroll-margin-top: 88px;
}

/* Headings share the serif voice; sizes are set per section */
h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--clay);
  color: #fff;
  font-weight: 700;
  transition: transform .2s ease;
}

.btn:hover {
  color: #fff;
  transform: translateY(-2px);
}

.btn--nav {
  position: relative;
  padding: 10px 20px;
  font-size: 14px;
  box-shadow: var(--shadow-btn-nav);
}

/* enlarged tap target, no visual change */
.btn--nav::after {
  content: "";
  position: absolute;
  inset: -3px 0;
}

.btn--primary {
  gap: 10px;
  padding: 15px 28px;
  font-size: 15px;
  box-shadow: var(--shadow-btn-primary);
}

.contact-panel .btn--primary {
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Eyebrow / kicker
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay-dark);
}

.eyebrow-rule {
  flex: none;
  width: 26px;
  height: 1.5px;
  background: var(--clay);
}

.eyebrow--sage {
  color: var(--sage-muted);
}

.eyebrow--sage .eyebrow-rule {
  background: var(--sage);
}

.eyebrow--contact {
  color: var(--sand);
}

/* --------------------------------------------------------------------------
   Sticky navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 238, 228, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(62, 49, 41, 0.07);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(22px, 4vw, 46px);
  padding: 16px var(--gutter);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.wordmark-logo {
  flex: none;
  width: 44px;
  height: 44px;
}

.wordmark-text {
  display: flex;
  flex-direction: column;
}

.wordmark-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: .01em;
}

.wordmark-sub {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--clay-dark);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  /* enlarged tap target, no visual change */
  padding: 12px 4px;
  margin: -12px -4px;
}

.nav-link:hover {
  color: var(--clay);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(38px, 7vw, 86px) var(--gutter) clamp(28px, 5vw, 54px);
}

.hero-inner {
  max-width: var(--hero-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.hero-text {
  flex: 1 1 420px;
  min-width: 290px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid rgba(133, 142, 121, .4);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--sage-muted);
}

.hero-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  display: inline-block;
}

.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--clay-dark);
}

.hero-lead {
  margin: 22px 0 0;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: var(--text-body);
  max-width: 31em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-strong);
  /* enlarged tap target, no visual change */
  padding: 12px 4px;
  margin: -12px -4px;
}

.hero-phone:hover {
  color: var(--clay);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.chip {
  padding: 8px 15px;
  background: var(--cream-alt);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage-muted);
}

.hero-media {
  flex: 1 1 350px;
  min-width: 270px;
  display: flex;
  justify-content: center;
}

.portrait {
  position: relative;
  width: min(100%, 380px);
}

.portrait-blob {
  position: absolute;
  inset: -24px -16px 30% -20px;
  background: var(--sage-light);
  border-radius: 220px 220px 44px 44px;
  z-index: 0;
  opacity: .75;
}

.portrait-dot {
  position: absolute;
  right: -14px;
  bottom: 24px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--peach);
  z-index: 0;
}

.portrait-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 16%;
  border-radius: 210px 210px 34px 34px;
  box-shadow: var(--shadow-portrait);
}

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

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

/* --------------------------------------------------------------------------
   O meni
   -------------------------------------------------------------------------- */
.about {
  padding: clamp(30px, 5vw, 62px) var(--gutter);
}

.about-card {
  max-width: var(--content-width);
  margin: 0 auto;
  background: var(--white);
  border-radius: 36px;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: var(--shadow-card-about);
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.about-text {
  flex: 1 1 320px;
  min-width: 280px;
}

.about h2,
.about h1 {
  margin: 0 0 18px;
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.1;
}

.about-text p:not(.eyebrow) {
  margin: 0 0 16px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-body);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-media {
  flex: 1 1 240px;
  min-width: 230px;
  display: flex;
}

/* Temporary ambience graphic — swap for the real practice-room <picture> when supplied */
.about-art {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(133, 142, 121, .28);
}

/* --------------------------------------------------------------------------
   Strokovna pot
   -------------------------------------------------------------------------- */
.path {
  padding: clamp(20px, 4vw, 44px) var(--gutter);
}

.path-grid {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
  align-items: flex-start;
}

.path-text {
  flex: 1 1 340px;
  min-width: 290px;
}

.path h2 {
  margin: 0 0 18px;
  font-size: clamp(27px, 3.6vw, 40px);
  line-height: 1.12;
}

.path-text p:not(.eyebrow) {
  margin: 0 0 16px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-body);
}

.path-text p:last-child {
  margin-bottom: 0;
}

.credentials {
  flex: 1 1 280px;
  min-width: 260px;
  background: var(--white);
  border-radius: 30px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-card-credentials);
}

.credentials-label {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay-dark);
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credentials-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.cred-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 6px;
}

.credentials-list li:nth-child(1) .cred-dot { background: var(--clay); }
.credentials-list li:nth-child(2) .cred-dot { background: var(--sand); }
.credentials-list li:nth-child(3) .cred-dot { background: var(--sage); }
.credentials-list li:nth-child(4) .cred-dot { background: var(--sage-light); }

.cred-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-card);
  font-weight: 600;
}

.cred-sub {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   Quote band
   -------------------------------------------------------------------------- */
.quote {
  padding: clamp(40px, 7vw, 88px) var(--gutter);
}

.quote-panel {
  max-width: var(--content-width);
  margin: 0 auto;
  background: var(--sage);
  color: var(--cream);
  border-radius: 44px;
  padding: clamp(44px, 6vw, 78px) clamp(28px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 150px;
  line-height: .6;
  color: rgba(247, 238, 228, .26);
  position: absolute;
  top: 34px;
  left: 44px;
}

.quote-panel blockquote {
  margin: 0;
}

.quote-panel blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 4.6vw, 48px);
  line-height: 1.24;
  margin: 0 auto;
  max-width: 15em;
  position: relative;
}

/* --------------------------------------------------------------------------
   Pristop
   -------------------------------------------------------------------------- */
.approach {
  padding: clamp(20px, 4vw, 44px) var(--gutter);
}

.approach-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.approach-intro {
  max-width: 640px;
}

.approach h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.approach-intro p:not(.eyebrow) {
  margin: 0 0 8px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-body);
}

.approach-intro p:not(.eyebrow) + p {
  margin: 16px 0 0;
}

/* Card rows: 3-up → 1-up, never 2 + 1.
   Below a 720px-wide container every card's flex-basis explodes past the row
   width and each card wraps alone; above it the basis collapses to 0 and
   flex-grow splits the row into thirds. */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.cards > * {
  flex-grow: 1;
  flex-basis: calc((720px - 100%) * 999);
  min-width: 0;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(133, 142, 121, .2);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow-card-service);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.service-icon--peach { background: var(--peach); }
.service-icon--peach .service-icon-dot { background: var(--clay); }
.service-icon--sage { background: var(--sage-light); }
.service-icon--sage .service-icon-dot { background: var(--sage); }
.service-icon--wheat { background: var(--wheat); }
.service-icon--wheat .service-icon-dot { background: var(--sand); }

.service-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--ink);
}

.service-card p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--text-body);
  margin: 0;
}

.callout {
  margin-top: 20px;
  background: var(--cream-alt);
  border-radius: 28px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(133, 142, 121, .26);
}

.callout h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 10px;
  color: var(--ink);
}

.callout p {
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-body);
  margin: 0;
  max-width: 52em;
}

/* --------------------------------------------------------------------------
   Cenik
   -------------------------------------------------------------------------- */
.pricing {
  padding: clamp(30px, 5vw, 60px) var(--gutter);
}

.pricing-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.pricing h2 {
  margin: 0 0 28px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.pricing .cards {
  margin-top: 0;
}

.price-card {
  background: var(--white);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow-card-price);
}

.price-card--sage {
  background: var(--sage);
  color: var(--cream);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.price-row h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.price-card--sage .price-row h3 {
  color: inherit;
}

.price {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 36px;
  color: var(--clay);
  line-height: 1;
  margin: 0;
}

.price--talk {
  font-weight: 500;
  font-style: italic;
  font-size: 26px;
  color: inherit;
}

.price-meta {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

.price-card--sage .price-meta {
  color: rgba(247, 238, 228, .82);
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact {
  padding: clamp(30px, 5vw, 64px) var(--gutter) 0;
}

.contact-panel {
  max-width: var(--content-width);
  margin: 0 auto;
  background: var(--ink);
  color: var(--cream);
  border-radius: 44px;
  padding: clamp(34px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 56px);
}

.contact-main {
  flex: 1 1 300px;
  min-width: 280px;
}

.contact-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08;
  color: inherit;
}

.contact-lead {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(247, 238, 228, .78);
  max-width: 26em;
}

.contact-details {
  flex: 1 1 260px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
  font-style: normal;
}

.field-label {
  margin: 0 0 5px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(247, 238, 228, .5);
}

.field-value {
  margin: 0;
  font-size: 16.5px;
  font-weight: 600;
}

.link-on-dark {
  position: relative;
  color: var(--cream);
  border-bottom: 1px solid rgba(208, 170, 134, .5);
}

/* enlarged tap target, no visual change — pseudo-element keeps the underline
   tight to the text where padding/negative-margin would displace it */
.link-on-dark::after {
  content: "";
  position: absolute;
  inset: -12px -6px;
}

.link-on-dark:hover {
  color: var(--sand);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 26px var(--gutter) clamp(20px, 4vw, 40px);
  text-align: center;
}

.site-footer p {
  max-width: var(--content-width);
  margin: 0 auto;
  font-size: 13px;
  color: var(--text-footer);
}

/* --------------------------------------------------------------------------
   Motion — only when the visitor is fine with it
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .portrait-blob {
    animation: floaty 9s ease-in-out infinite;
  }

  .portrait-dot {
    animation: floaty2 7s ease-in-out infinite;
  }
}
