/*
Theme Name: VELVET Starter
Theme URI: https://velvet-nails.hr
Author: BOGU Design
Author URI: https://bogu.design
Description: Awwwards-quality premium nail salon WordPress theme. Light editorial aesthetic with soft brutalist touches, bilingual HR/EN, horizontal scroll galleries, split-screen layouts, morphing blob cursor, pill-shaped UI, parallax text layers and rich micro-interactions. Built for luxury nail studios and beauty brands.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: velvet-starter
Tags: one-column, custom-menu, featured-images, translation-ready, blog, portfolio

VELVET Starter — Luxury at your fingertips.
*/

/* ═══════════════════════════════════════
   IMPORTS & VARIABLES
   ═══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Syne+Mono&display=swap');

:root {
  --c-bg: #faf6f2;
  --c-bg-alt: #f3ece4;
  --c-bg-warm: #efe7dc;
  --c-surface: #ffffff;
  --c-text: #2c2420;
  --c-text-soft: #7a6e64;
  --c-text-muted: #b5a99e;
  --c-rose: #c4727f;
  --c-rose-light: #dfa3ac;
  --c-rose-dark: #a85565;
  --c-blush: #e8c4c0;
  --c-nude: #d4b5a0;
  --c-mauve: #9c7e8e;
  --c-border: rgba(44,36,32,0.08);
  --c-border-strong: rgba(44,36,32,0.15);

  --f-display: 'Playfair Display', 'Georgia', serif;
  --f-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --f-mono: 'Syne Mono', 'Courier New', monospace;

  --s-nav: 80px;
  --s-max: 1360px;
  --s-page: clamp(1.25rem, 4vw, 3rem);

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.45, 0, 0.15, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.87, 0, 0.13, 1);

  --radius-pill: 100px;
  --radius-card: 20px;
  --radius-sm: 12px;
}

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--c-rose) var(--c-bg);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-rose); border-radius: 10px; }

body {
  font-family: var(--f-body);
  font-weight: 400;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--c-rose);
  color: #fff;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; border: none; background: none; color: inherit; cursor: pointer; }
ul, ol { list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--s-max);
  margin: 0 auto;
  padding: 0 var(--s-page);
}

/* ═══════════════════════════════════════
   BLOB CURSOR
   ═══════════════════════════════════════ */
.blob-cursor {
  position: fixed;
  width: 28px;
  height: 28px;
  background: var(--c-rose);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.5s var(--ease-spring),
              height 0.5s var(--ease-spring),
              border-radius 0.5s var(--ease-spring);
  display: none;
}

@media (min-width: 1024px) {
  body { cursor: none; }
  a, button { cursor: none; }
  .blob-cursor { display: block; }
}

body.blob-expand .blob-cursor {
  width: 70px;
  height: 70px;
}

body.blob-square .blob-cursor {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════
   LOADER
   ═══════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--c-bg);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
}

.loader.done {
  animation: loaderWipe 0.9s var(--ease-in-out) 0.2s forwards;
}

@keyframes loaderWipe {
  to { clip-path: inset(100% 0 0 0); }
}

.loader__word {
  font-family: var(--f-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: 0.12em;
}

.loader__dots {
  display: flex;
  gap: 8px;
}

.loader__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-rose-light);
  animation: loaderBounce 1.2s ease-in-out infinite;
}

.loader__dot:nth-child(2) { animation-delay: 0.15s; }
.loader__dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes loaderBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--s-nav);
  z-index: 9999;
  transition: background 0.4s, box-shadow 0.4s;
}

.site-nav.stuck {
  background: rgba(250,246,242,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--c-border);
}

.site-nav__inner {
  max-width: var(--s-max);
  margin: 0 auto;
  padding: 0 var(--s-page);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__brand {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-text);
}

.site-nav__brand i {
  color: var(--c-rose);
  font-style: normal;
}

.site-nav__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .site-nav__links { display: none; }
}

.site-nav__link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-text-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 5px;
  height: 5px;
  background: var(--c-rose);
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  transition: transform 0.4s var(--ease-spring);
}

.site-nav__link:hover,
.site-nav__link.current {
  color: var(--c-text);
}

.site-nav__link:hover::after,
.site-nav__link.current::after {
  transform: translateX(-50%) scale(1);
}

/* Right side */
.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Lang pill */
.lang-pill {
  display: flex;
  background: var(--c-bg-alt);
  border-radius: var(--radius-pill);
  overflow: hidden;
  padding: 3px;
}

.lang-pill__btn {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  transition: background 0.3s, color 0.3s;
  color: var(--c-text-muted);
}

.lang-pill__btn.on {
  background: var(--c-rose);
  color: #fff;
}

/* Book pill button */
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 12px 24px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  background: var(--c-text);
  color: var(--c-bg);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring);
}

.pill-btn:hover { transform: scale(1.04); }

.pill-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-rose);
  border-radius: var(--radius-pill);
  transform: translateY(100%);
  transition: transform 0.45s var(--ease-out);
}

.pill-btn:hover::before { transform: translateY(0); }
.pill-btn span { position: relative; z-index: 1; }

.pill-btn--outline {
  background: transparent;
  color: var(--c-text);
  border: 1.5px solid var(--c-border-strong);
}

.pill-btn--outline:hover { color: #fff; }

.pill-btn--rose {
  background: var(--c-rose);
  color: #fff;
}

.pill-btn--rose::before {
  background: var(--c-rose-dark);
}

@media (max-width: 768px) {
  .pill-btn--nav { display: none; }
}

/* Hamburger */
.hamburger {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  z-index: 100;
}

@media (max-width: 1024px) {
  .hamburger { display: flex; }
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ═══════════════════════════════════════
   MOBILE DRAWER
   ═══════════════════════════════════════ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
}

.drawer.open { pointer-events: all; }

.drawer__bg {
  position: absolute;
  inset: 0;
  background: rgba(250,246,242,0.96);
  backdrop-filter: blur(24px);
  opacity: 0;
  transition: opacity 0.5s;
}

.drawer.open .drawer__bg { opacity: 1; }

.drawer__body {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.drawer__link {
  font-family: var(--f-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 500;
  color: var(--c-text);
  padding: 0.4rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}

.drawer.open .drawer__link {
  opacity: 1;
  transform: translateY(0);
}

.drawer.open .drawer__link:nth-child(1) { transition-delay: 0.05s; }
.drawer.open .drawer__link:nth-child(2) { transition-delay: 0.1s; }
.drawer.open .drawer__link:nth-child(3) { transition-delay: 0.15s; }
.drawer.open .drawer__link:nth-child(4) { transition-delay: 0.2s; }
.drawer.open .drawer__link:nth-child(5) { transition-delay: 0.25s; }
.drawer.open .drawer__link:nth-child(6) { transition-delay: 0.3s; }

.drawer__link:hover { color: var(--c-rose); }

/* ═══════════════════════════════════════
   HERO — SPLIT SCREEN
   ═══════════════════════════════════════ */
.hero-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.hero-split__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--s-nav) + 3rem) var(--s-page) 3rem;
}

@media (max-width: 900px) {
  .hero-split__left {
    padding-top: calc(var(--s-nav) + 2rem);
  }
  body.demo-banner-visible .hero-split__left {
    padding-top: calc(var(--s-nav) + 2rem + 56px);
  }
}

@media (min-width: 901px) {
  .hero-split__left {
    padding-left: max(var(--s-page), calc((100vw - var(--s-max)) / 2 + var(--s-page)));
    padding-right: 4rem;
  }
}

.hero-split__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--c-rose);
  background: rgba(196,114,127,0.08);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
  width: fit-content;
}

.hero-split__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--c-rose);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-split__title {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--c-text);
}

.hero-split__title i {
  font-style: italic;
  color: var(--c-rose);
}

.hero-split__desc {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 300;
  color: var(--c-text-soft);
  max-width: 440px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.hero-split__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-split__right {
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero-split__right { min-height: 55vw; }
}

.hero-split__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroSoft 14s ease-out forwards;
}

@keyframes heroSoft {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-split__float {
  position: absolute;
  bottom: 3rem;
  left: -2rem;
  background: var(--c-surface);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: floatUp 6s ease-in-out infinite;
  z-index: 5;
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-split__float-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--c-rose-light), var(--c-rose));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.hero-split__float-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-split__float-text span {
  font-size: 0.72rem;
  color: var(--c-text-soft);
}

@media (max-width: 900px) {
  .hero-split__float { display: none; }
}

/* ═══════════════════════════════════════
   TICKER (vertical rotating words, NOT marquee)
   ═══════════════════════════════════════ */
.ticker-bar {
  background: var(--c-text);
  color: var(--c-bg);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

.ticker-bar__inner {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
}

@media (max-width: 600px) {
  .ticker-bar__inner {
    gap: 1rem;
    justify-content: flex-start;
    padding: 0 var(--s-page);
  }
}

.ticker-bar__word {
  font-family: var(--f-display);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  white-space: nowrap;
  opacity: 0.6;
}

.ticker-bar__diamond {
  width: 5px;
  height: 5px;
  background: var(--c-rose);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════ */
.sec-tag {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--c-rose);
  background: rgba(196,114,127,0.07);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 1rem;
}

.sec-heading {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--c-text);
}

.sec-heading i {
  font-style: italic;
  color: var(--c-rose);
}

.sec-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--c-text-soft);
  max-width: 540px;
  line-height: 1.85;
  margin-top: 1rem;
}

/* ═══════════════════════════════════════
   ABOUT — OFFSET CARDS
   ═══════════════════════════════════════ */
.about-offset {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.about-offset__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .about-offset__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.about-offset__img-stack {
  position: relative;
  padding-bottom: 2rem;
  padding-right: 2rem;
}

.about-offset__img-main {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  z-index: 2;
}

.about-offset__img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-offset__img-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  aspect-ratio: 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 5px solid var(--c-bg);
  z-index: 3;
}

.about-offset__img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-offset__shape {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 100px;
  height: 100px;
  background: var(--c-rose-light);
  border-radius: 50%;
  opacity: 0.15;
  z-index: 1;
}

.about-offset__body p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--c-text-soft);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.about-offset__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--c-border);
}

@media (max-width: 400px) {
  .about-offset__highlights {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .about-highlight__num {
    font-size: 2rem;
  }
}

.about-highlight__num {
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--c-rose);
  line-height: 1;
}

.about-highlight__label {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-top: 0.3rem;
}

/* ═══════════════════════════════════════
   SERVICES — BENTO GRID
   ═══════════════════════════════════════ */
.svc-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--c-bg-alt);
}

.svc-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .svc-bento { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .svc-bento { grid-template-columns: 1fr; }
}

.svc-card {
  background: var(--c-surface);
  border-radius: var(--radius-card);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.06);
}

.svc-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(196,114,127,0.1), rgba(196,114,127,0.05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.svc-card__title {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.svc-card__desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--c-text-soft);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.svc-card__price {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--c-rose);
  letter-spacing: 0.04em;
}

.svc-card__corner {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: var(--c-rose-light);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s var(--ease-spring);
  transform: scale(0.5);
}

.svc-card:hover .svc-card__corner {
  opacity: 0.1;
  transform: scale(1);
}

/* ═══════════════════════════════════════
   HORIZONTAL SCROLL GALLERY
   ═══════════════════════════════════════ */
.hgallery {
  padding: clamp(5rem, 10vw, 9rem) 0 3rem;
  overflow: hidden;
}

.hgallery__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--s-page) 2rem;
  scrollbar-width: none;
}

.hgallery__track::-webkit-scrollbar { display: none; }

.hgallery__item {
  flex: 0 0 auto;
  width: clamp(240px, 72vw, 380px);
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.hgallery__item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.hgallery__item:hover img { transform: scale(1.06); }

.hgallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(44,36,32,0.7), transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s;
}

.hgallery__item:hover .hgallery__caption {
  opacity: 1;
  transform: translateY(0);
}

.hgallery__caption-title {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.hgallery__caption-cat {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  opacity: 0.7;
  margin-top: 4px;
}

.hgallery__hint {
  text-align: center;
  margin-top: 1.5rem;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  color: var(--c-text-muted);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════
   TESTIMONIALS — CARD STACK
   ═══════════════════════════════════════ */
.reviews {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--c-bg-alt);
}

.reviews__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .reviews__cards { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }
}

.review-card {
  background: var(--c-surface);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform 0.4s var(--ease-spring);
}

.review-card:hover { transform: translateY(-4px); }

.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1.25rem;
}

.review-card__star {
  width: 16px;
  height: 16px;
  color: var(--c-rose);
}

.review-card__text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--c-text-soft);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-card__author {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--c-text);
}

.review-card__role {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  color: var(--c-text-muted);
  margin-top: 2px;
}

.review-card__quote {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--f-display);
  font-size: 4rem;
  color: var(--c-rose-light);
  opacity: 0.15;
  line-height: 1;
}

/* ═══════════════════════════════════════
   TEAM — ROUND AVATARS
   ═══════════════════════════════════════ */
.team-round {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.team-round__grid {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: 3rem;
  flex-wrap: wrap;
}

.team-member {
  text-align: center;
  max-width: 200px;
}

.team-member__avatar {
  width: clamp(130px, 14vw, 180px);
  height: clamp(130px, 14vw, 180px);
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  position: relative;
  border: 3px solid var(--c-bg-alt);
  transition: border-color 0.4s;
}

.team-member:hover .team-member__avatar {
  border-color: var(--c-rose-light);
}

.team-member__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.team-member:hover .team-member__avatar img {
  transform: scale(1.08);
}

.team-member__name {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.team-member__role {
  font-size: 0.78rem;
  color: var(--c-rose);
  font-weight: 400;
}

/* ═══════════════════════════════════════
   CTA — FULL-WIDTH ROUNDED
   ═══════════════════════════════════════ */
.cta-full {
  padding: 0 var(--s-page) clamp(3rem, 6vw, 5rem);
}

.cta-full__box {
  background: var(--c-text);
  border-radius: var(--radius-card);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-full__box::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--c-rose) 0%, transparent 70%);
  opacity: 0.08;
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.cta-full__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--c-bg);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-full__title i {
  font-style: italic;
  color: var(--c-rose-light);
}

.cta-full__sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--c-text-muted);
  max-width: 460px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.pill-btn--light {
  background: var(--c-bg);
  color: var(--c-text);
}

.pill-btn--light::before {
  background: var(--c-rose);
}

.pill-btn--light:hover { color: #fff; }

/* ═══════════════════════════════════════
   PRICING TABLE
   ═══════════════════════════════════════ */
.price-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.price-group {
  margin-bottom: 3rem;
}

.price-group__title {
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.price-group__sub {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-bottom: 1.5rem;
}

.price-row {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-border);
  transition: padding-left 0.3s var(--ease-out);
}

.price-row:hover { padding-left: 0.75rem; }

.price-row__name {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 400;
}

.price-row__dots {
  flex: 1;
  border-bottom: 1px dotted var(--c-border-strong);
  margin: 0 1rem;
  min-width: 30px;
}

.price-row__cost {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  color: var(--c-rose);
  white-space: nowrap;
}

/* ═══════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; }
}

.contact-field {
  margin-bottom: 1.75rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-text-soft);
  margin-bottom: 0.5rem;
  display: block;
}

.contact-input,
.contact-textarea,
.contact-select {
  width: 100%;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--f-body);
  font-size: 0.92rem;
  color: var(--c-text);
  transition: border-color 0.3s;
  outline: none;
}

.contact-input:focus,
.contact-textarea:focus,
.contact-select:focus {
  border-color: var(--c-rose);
}

.contact-textarea { min-height: 120px; resize: vertical; }

.contact-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M5 7L1 3h8z' fill='%23c4727f'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.contact-info-block {
  margin-bottom: 2rem;
}

.contact-info-block__label {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-rose);
  margin-bottom: 0.5rem;
}

.contact-info-block__value {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.contact-info-block__value a:hover { color: var(--c-rose); }

/* ═══════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════ */
.inner-hero {
  padding: calc(var(--s-nav) + 4rem) 0 4rem;
  text-align: center;
  background: var(--c-bg-alt);
  position: relative;
  overflow: hidden;
}

body.demo-banner-visible .inner-hero {
  padding-top: calc(var(--s-nav) + 4rem + 32px);
}

@media (max-width: 960px) {
  body.demo-banner-visible .inner-hero {
    padding-top: calc(var(--s-nav) + 4rem + 56px);
  }
}

.inner-hero__deco {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--c-rose-light);
  opacity: 0.06;
}

.inner-hero__deco--l { top: -80px; left: -80px; }
.inner-hero__deco--r { bottom: -120px; right: -80px; width: 400px; height: 400px; }

.inner-hero__crumb {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-bottom: 1rem;
}

.inner-hero__crumb a:hover { color: var(--c-rose); }

.inner-hero__title {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  color: var(--c-text);
}

.inner-hero__title i { font-style: italic; color: var(--c-rose); }

/* ═══════════════════════════════════════
   GALLERY FILTER TABS
   ═══════════════════════════════════════ */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-tab {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-border);
  color: var(--c-text-soft);
  transition: all 0.3s var(--ease-spring);
}

.filter-tab:hover,
.filter-tab.on {
  background: var(--c-rose);
  border-color: var(--c-rose);
  color: #fff;
}

/* Masonry grid */
.masonry {
  columns: 3;
  column-gap: 1.25rem;
}

@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 600px) { .masonry { columns: 1; } }

.masonry__item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}

.masonry__item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.masonry__item:hover img { transform: scale(1.05); }

/* ═══════════════════════════════════════
   MAP
   ═══════════════════════════════════════ */
.map-section {
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 0 var(--s-page);
  height: 400px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.7);
  transition: filter 0.5s;
}

.map-section:hover iframe { filter: saturate(1); }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.site-footer {
  background: var(--c-text);
  color: var(--c-bg);
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .site-footer__top { grid-template-columns: 1fr; }
}

.site-footer__brand {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.site-footer__brand i { color: var(--c-rose-light); font-style: normal; }

.site-footer__blurb {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.site-footer__socials {
  display: flex;
  gap: 0.75rem;
}

.site-footer__social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(250,246,242,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 0.55rem;
  transition: border-color 0.3s, background 0.3s;
}

.site-footer__social:hover {
  border-color: var(--c-rose-light);
  background: rgba(196,114,127,0.15);
}

.site-footer__col-title {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.site-footer__link {
  display: block;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--c-text-muted);
  padding: 0.3rem 0;
  transition: color 0.3s;
}

.site-footer__link:hover { color: var(--c-bg); }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250,246,242,0.08);
  font-size: 0.72rem;
  color: var(--c-text-muted);
}

@media (max-width: 600px) {
  .site-footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

.site-footer__totop {
  color: var(--c-rose-light);
  transition: opacity 0.3s;
}

.site-footer__totop:hover { opacity: 0.7; }

/* ═══════════════════════════════════════
   SCROLL REVEAL SYSTEM
   ═══════════════════════════════════════ */
.rv {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.rv.seen { opacity: 1; transform: translateY(0); }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }
.rv-d4 { transition-delay: 0.32s; }

.rv-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.rv-scale.seen { opacity: 1; transform: scale(1); }

.rv-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.rv-left.seen { opacity: 1; transform: translateX(0); }

.rv-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.rv-right.seen { opacity: 1; transform: translateX(0); }

/* Image clip reveal (wipe from left) */
.rv-clip {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s var(--ease-in-out);
}

.rv-clip.seen {
  clip-path: inset(0 0 0 0);
}

/* ═══════════════════════════════════════
   404
   ═══════════════════════════════════════ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  padding: 2rem;
}

.error-page__num {
  font-family: var(--f-display);
  font-size: clamp(8rem, 20vw, 14rem);
  font-weight: 500;
  color: var(--c-rose-light);
  opacity: 0.12;
  line-height: 1;
}

/* ═══════════════════════════════════════
   BILINGUAL TOGGLE
   ═══════════════════════════════════════ */
[data-lang="en"] [data-show="hr"] { display: none !important; }
[data-lang="hr"] [data-show="en"] { display: none !important; }


@media (max-width: 500px) {
  .price-row {
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .price-row__dots { display: none; }
  .price-row__cost {
    width: 100%;
    font-size: 0.78rem;
  }
}


@media (max-width: 500px) {
  .about-offset__img-stack {
    padding-right: 1rem;
    padding-bottom: 1rem;
  }
  .about-offset__img-accent {
    width: 45%;
  }
}

/* WordPress defaults */
.wp-block-image img { max-width: 100%; height: auto; }
.alignfull { width: 100vw; margin-left: calc(-50vw + 50%); }
.screen-reader-text { position: absolute!important; clip: rect(1px,1px,1px,1px); overflow: hidden; height: 1px; width: 1px; }

/* ═══════════════════════════════════════
   DEMO BANNER
   ═══════════════════════════════════════ */

body.demo-banner-visible .site-nav {
  top: 32px;
  transition: top 0.3s var(--ease-out), background 0.4s, box-shadow 0.4s;
}

@media (max-width: 960px) {
  body.demo-banner-visible .site-nav {
    top: 56px;
  }
}

.demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100001;
  background: var(--c-nude);
  color: var(--c-text);
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.55rem 1.5rem;
}

.demo-banner__text {
  text-align: center;
  line-height: 1.5;
}

.demo-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--c-text);
  color: var(--c-bg);
  padding: 0.35rem 0.9rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.demo-banner__cta:hover {
  background: var(--c-rose-dark);
  color: #fff;
}

.demo-banner,
.demo-banner * { cursor: pointer; }

@media (max-width: 768px) {
  .demo-banner__inner {
    gap: 0.75rem;
    padding: 0.4rem 0.75rem;
    flex-wrap: wrap;
  }
  .demo-banner__text { font-size: 0.58rem; }
}
/* ═══════════════════════════════════════
   MOBILE — ADDITIONAL RESPONSIVE FIXES
   ═══════════════════════════════════════ */

/* Services detail rows (page-usluge) */
.svc-detail-row {
  grid-template-columns: 1fr 1fr;
}

.svc-detail-row--rev > *:first-child { order: 2; }
.svc-detail-row--rev > *:last-child  { order: 1; }

@media (max-width: 768px) {
  .svc-detail-row {
    grid-template-columns: 1fr !important;
  }
  .svc-detail-row--rev > *:first-child { order: unset; }
  .svc-detail-row--rev > *:last-child  { order: unset; }
  .svc-detail-row > div[style*="aspect-ratio"] {
    aspect-ratio: 16/9 !important;
  }
}

/* Values grid (page-o-nama) */
@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Contact form inline phone/email row */
@media (max-width: 600px) {
  .contact-form-row {
    grid-template-columns: 1fr !important;
  }
}


/* Ensure hero-split stacks correctly with banner */
@media (max-width: 900px) {
  .hero-split {
    min-height: auto;
  }
  .hero-split__left {
    min-height: 50vh;
  }
}

/* Drawer needs to account for banner */
body.demo-banner-visible .drawer {
  top: 32px;
}

@media (max-width: 960px) {
  body.demo-banner-visible .drawer {
    top: 56px;
  }
}

/* Map section responsive */
@media (max-width: 600px) {
  .map-section {
    margin: 0;
    border-radius: 0;
    height: 280px;
  }
}

/* CTA box padding mobile */
@media (max-width: 600px) {
  .cta-full__box {
    padding: 2.5rem 1.5rem;
  }
  .cta-full__title {
    font-size: clamp(1.7rem, 6vw, 2.5rem);
  }
}

/* Footer top grid mobile */
@media (max-width: 480px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

/* Team grid — 2 cols on mobile */
@media (max-width: 600px) {
  .team-round__grid {
    gap: 1.5rem;
  }
  .team-member {
    max-width: 150px;
  }
}

/* Inner hero - font size on very small screens */
@media (max-width: 400px) {
  .inner-hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

/* About offset - mobile stack improvement */
@media (max-width: 900px) {
  .about-offset__img-stack {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* Sec heading mobile */
@media (max-width: 480px) {
  .sec-heading {
    font-size: clamp(1.9rem, 7vw, 2.5rem);
  }
}