/* ============================================================
   AIVARS-K — MAIN CSS
   Premium Stone Industry Website
   Design: Editorial minimalism × Dark granite aesthetic
   ============================================================ */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Colors */
  --color-dark:         #1c1b19;
  --color-stone:        #2e2c28;
  --color-stone-mid:    #3d3a34;
  --color-sand:         #c8b99a;
  --color-sand-light:   #ddd0bc;
  --color-warm:         #f0ede8;
  --color-warm-deep:    #e8e3dc;
  --color-white:        #fafaf8;
  --color-text:         #3a3833;
  --color-muted:        #8a8070;
  --color-border:       #e0d9d0;
  --color-border-dark:  #3a3730;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Type Scale */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   2rem;
  --text-4xl:   clamp(2rem, 4vw, 3rem);
  --text-5xl:   clamp(2.75rem, 5.5vw, 4.5rem);
  --text-hero:  clamp(2.975rem, 7.65vw, 6.8rem);

  /* Spacing */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;    --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 5vw, 4rem);
  --section-v:     clamp(5rem, 10vw, 9rem);
  --nav-h:         80px;
  --rd-toolbar-offset: 0px;

  /* Transitions */
  --ease-fast:   0.18s ease;
  --ease-base:   0.32s ease;
  --ease-slow:   0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:   0 8px 30px rgba(0,0,0,0.11);
  --shadow-lg:   0 24px 64px rgba(0,0,0,0.16);
  --shadow-dark: 0 24px 64px rgba(0,0,0,0.45);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Page transition — CSS sets this before first paint so there is no flash */
  opacity: 0;
  transition: opacity 0.38s ease;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-sand);
  color: var(--color-dark);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: 0 0 4px 4px;
  z-index: 9999;
  transition: top var(--ease-fast);
}
.skip-link:focus { top: 0; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.display-xl  { font-size: var(--text-hero);  font-weight: 400; line-height: 0.95; letter-spacing: -0.03em; }
.display-lg  { font-size: var(--text-5xl);   font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
.display-md  { font-size: var(--text-4xl);   font-weight: 500; line-height: 1.1;  letter-spacing: -0.015em; }
.display-sm  { font-size: var(--text-3xl);   font-weight: 500; line-height: 1.2;  }
.lead        { font-size: var(--text-lg);    font-weight: 300; line-height: 1.7;  color: var(--color-muted); }
.label       { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--ease-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-101%);
  transition: transform var(--ease-slow);
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--color-sand);
  color: var(--color-dark);
}
.btn-primary::before { background: var(--color-dark); }
.btn-primary:hover { color: var(--color-sand); }

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-outline::before { background: rgba(255,255,255,0.1); }
.btn-outline:hover { border-color: rgba(255,255,255,0.6); }

.btn-outline-dark {
  background: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-border);
}
.btn-outline-dark::before { background: var(--color-dark); }
.btn-outline-dark:hover { color: var(--color-white) !important; border-color: var(--color-dark); }

.btn-text {
  padding: 0;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sand);
  gap: var(--space-3);
  position: relative;
}
.btn-text::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--color-sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease-base);
}
.btn-text:hover::after { transform: scaleX(1); }
.btn-text .arrow {
  display: inline-block;
  transition: transform var(--ease-base);
}
.btn-text:hover .arrow { transform: translateX(4px); }

/* === NAVIGATION === */
/* Rental Dashboard frontend toolbar offset (body.rd-has-frontend-toolbar) */
body.rd-has-frontend-toolbar {
  --rd-toolbar-offset: var(--rd-toolbar-height, 46px);
}

/* Fallback: core WP admin bar (when RNT toolbar is not used) */
body.admin-bar:not(.rd-has-frontend-toolbar) {
  --rd-toolbar-offset: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar:not(.rd-has-frontend-toolbar) {
    --rd-toolbar-offset: 46px;
  }
}

.nav {
  position: fixed;
  top: var(--rd-toolbar-offset);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--ease-base), box-shadow var(--ease-base), backdrop-filter var(--ease-base), top var(--ease-base);
}

.nav.scrolled {
  background: rgba(28, 27, 25, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
}
.nav__logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.04em;
  line-height: 1;
}
.nav__logo-sub {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  color: var(--color-sand);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(250,250,248,0.75);
  letter-spacing: 0.04em;
  position: relative;
  transition: color var(--ease-fast);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0;
  height: 1px;
  background: var(--color-sand);
  transition: width var(--ease-base);
}
.nav__link:hover, .nav__link.active {
  color: var(--color-white);
}
.nav__link:hover::after, .nav__link.active::after {
  width: 100%;
}

.nav__cta {
  margin-left: var(--space-4);
  padding: 0.625rem 1.375rem;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-dark);
  background: var(--color-sand);
  border-radius: 2px;
  transition: all var(--ease-base);
}
.nav__cta:hover {
  background: var(--color-sand-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,185,154,0.3);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  z-index: 1001;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-white);
  transform-origin: center;
  transition: all var(--ease-base);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--rd-toolbar-offset);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-base);
}
.nav__mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.nav__mobile .nav__link {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0;
}
.nav__mobile .nav__link::after { bottom: -6px; height: 2px; }

/* === SECTION LABELS === */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sand);
  margin-bottom: var(--space-6);
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-sand);
  flex-shrink: 0;
}

.section-label-dark {
  color: var(--color-muted);
}
.section-label-dark::before {
  background: var(--color-muted);
}

/* === DIVIDER === */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}
.divider-dark {
  background: var(--color-border-dark);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-dark);
}

.hero__bg {
  position: absolute;
  inset: -20% 0;
  background:
    radial-gradient(ellipse at 25% 60%, rgba(60,50,38,0.7) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 20%, rgba(35,30,25,0.5) 0%, transparent 50%),
    linear-gradient(160deg, #0d0c0a 0%, #1c1b19 35%, #2a2620 65%, #1a1815 100%);
  will-change: transform;
  overflow: hidden;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  display: block;
}

.hero__bg-img[src*="placeholder.svg"] {
  opacity: 0;
}

/* Granite texture overlay */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='300' height='300' filter='url(%23n)' opacity='0.035'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.6;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,11,9,0.85) 0%,
    rgba(12,11,9,0.4) 40%,
    rgba(12,11,9,0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(3rem, 8vh, 6rem);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: flex-end;
}

.hero__text { max-width: 700px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sand);
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}
.hero__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--color-sand);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.35s forwards;
}
.hero__title em {
  font-style: italic;
  color: var(--color-sand);
}

.hero__desc {
  font-size: var(--text-lg);
  font-weight: 300;
  color: rgba(250,250,248,0.65);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--space-10);
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.5s forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.65s forwards;
}

.hero__right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  opacity: 0;
  animation: fadeInUp 1s ease 0.8s forwards;
}

.hero__badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: var(--space-1);
}
.hero__badge-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(250,250,248,0.08);
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero__badge-text {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.35);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--color-sand));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats {
  background: var(--color-stone);
  border-top: 1px solid var(--color-border-dark);
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide-x: 1px solid var(--color-border-dark);
}

.stats__item {
  padding: var(--space-10) var(--space-8);
  text-align: center;
  border-right: 1px solid var(--color-border-dark);
  position: relative;
  overflow: hidden;
  transition: background var(--ease-base);
}
.stats__item:last-child { border-right: none; }
.stats__item:hover { background: var(--color-stone-mid); }

.stats__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--color-sand);
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: var(--space-2);
}

.stats__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.4);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-preview {
  background: var(--color-white);
  padding-block: var(--section-v);
}

.services-preview__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: flex-end;
  margin-bottom: var(--space-16);
}

.services-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
}

.service-card {
  background: var(--color-white);
  padding: var(--space-10) var(--space-8);
  position: relative;
  overflow: hidden;
  transition: background-color var(--ease-base), transform var(--ease-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--color-sand);
  transition: width var(--ease-slow);
}
.service-card:hover::before { width: 100%; }
.service-card:hover { background: var(--color-warm); }

.service-card__thumb {
  width: 100%;
  height: 200px;
  border-radius: 2px;
  margin-bottom: var(--space-4);
  overflow: hidden;
  position: relative;
}

.service-card__thumb-inner {
  width: 100%;
  height: 100%;
  transition: transform var(--ease-slow);
}
img.service-card__thumb-inner {
  display: block;
  object-fit: cover;
  background: #1c1b19;
}
.service-card:hover .service-card__thumb-inner {
  transform: scale(1.05);
}

/* Rental Dashboard gallery inside theme */
.gallery-page .rnt-gallery {
  margin-top: var(--space-4);
}
.gallery-page .rnt-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.gallery-page .rnt-gallery-grid--uniform {
  gap: 12px;
}
.gallery-page .rnt-gallery-grid--uniform .rnt-gallery-item {
  aspect-ratio: 1;
  border-radius: 4px;
}
.gallery-page .rnt-gallery-grid--uniform .rnt-gallery-open img {
  object-fit: cover;
}

.service-card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--color-border);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color var(--ease-base);
}
.service-card:hover .service-card__num { color: var(--color-sand); }

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.2;
}

.service-card__text {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-muted);
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-top: var(--space-2);
  transition: gap var(--ease-base), color var(--ease-base);
}
.service-card__link:hover { gap: var(--space-3); color: var(--color-sand); }

.services-preview__all {
  display: flex;
  justify-content: center;
  margin-top: var(--space-16);
}

/* ============================================================
   ABOUT TEASER
   ============================================================ */
.about-teaser {
  background: var(--color-dark);
  padding-block: var(--section-v);
  position: relative;
  overflow: hidden;
}

.about-teaser::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-dark), transparent);
}

.about-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.about-teaser__quote {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-white);
}
.about-teaser__quote em {
  font-style: italic;
  color: var(--color-sand);
}

.about-teaser__body { }

.about-teaser__text {
  font-size: var(--text-base);
  line-height: 1.8;
  color: rgba(250,250,248,0.6);
  margin-bottom: var(--space-8);
}

.about-teaser__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-dark);
}

.fact__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sand);
  margin-bottom: var(--space-1);
}
.fact__value {
  font-size: var(--text-sm);
  color: rgba(250,250,248,0.55);
}

/* ============================================================
   USP STRIP
   ============================================================ */
.usp-strip {
  background: var(--color-warm);
  padding-block: var(--space-20);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.usp-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
}

.usp-item {
  background: var(--color-warm);
  padding: var(--space-10) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: background var(--ease-base);
}
.usp-item:hover { background: var(--color-white); }

.usp-item__icon {
  width: 40px;
  height: 40px;
  color: var(--color-sand);
}

.usp-item__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.2;
}

.usp-item__text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.65;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--color-dark);
  padding-block: var(--section-v);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(200,185,154,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.cta-section__title em { font-style: italic; color: var(--color-sand); }

.cta-section__text {
  font-size: var(--text-lg);
  font-weight: 300;
  color: rgba(250,250,248,0.5);
  max-width: 480px;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
}

.cta-section__contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-10);
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-border-dark);
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(250,250,248,0.55);
  font-size: var(--text-sm);
  transition: color var(--ease-fast);
}
.cta-contact-item:hover { color: var(--color-sand); }
.cta-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   PAGE HERO (Inner pages)
   ============================================================ */
.page-hero {
  background: var(--color-dark);
  padding-top: calc(var(--nav-h) + clamp(3rem, 8vh, 6rem));
  padding-bottom: clamp(3rem, 8vh, 6rem);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='300' height='300' filter='url(%23n)' opacity='0.03'/></svg>");
  pointer-events: none;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.35);
  margin-bottom: var(--space-6);
}
.page-hero__breadcrumb a { transition: color var(--ease-fast); }
.page-hero__breadcrumb a:hover { color: var(--color-sand); }
.page-hero__breadcrumb span { color: var(--color-sand); }

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--color-white);
  max-width: 700px;
}
.page-hero__title em { font-style: italic; color: var(--color-sand); }

.page-hero__desc {
  font-size: var(--text-lg);
  font-weight: 300;
  color: rgba(250,250,248,0.5);
  max-width: 560px;
  margin-top: var(--space-6);
  line-height: 1.75;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story {
  background: var(--color-white);
  padding-block: var(--section-v);
}

.about-story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.about-story__pull {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text);
  position: sticky;
  top: calc(var(--rd-toolbar-offset) + var(--nav-h) + 2rem);
}
.about-story__pull em { font-style: italic; color: var(--color-sand); }

.about-story__body { padding-top: var(--space-4); }

.about-story__text {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--color-muted);
  margin-bottom: var(--space-6);
}
.about-story__text:last-child { margin-bottom: 0; }

/* USP Grid */
.usp-grid-section {
  background: var(--color-warm);
  padding-block: var(--section-v);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  margin-top: var(--space-16);
}

.usp-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 960px;
  margin-inline: auto;
}

.usp-grid--2col .usp-grid-item {
  padding: var(--space-12) var(--space-12);
  min-height: 100%;
}

.usp-grid-item {
  background: var(--color-warm);
  padding: var(--space-12) var(--space-10);
  transition: background var(--ease-base);
}
.usp-grid-item:hover { background: var(--color-white); }

.usp-grid-item__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--color-sand);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-4);
  opacity: 0.5;
}

.usp-grid-item__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

.usp-grid-item__text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.7;
}

/* Locations */
.locations-section {
  background: var(--color-dark);
  padding-block: var(--section-v);
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.locations-grid--single {
  grid-template-columns: 1fr;
  max-width: 920px;
  margin-inline: auto;
}

.location-card {
  background: var(--color-stone);
  border: 1px solid var(--color-border-dark);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color var(--ease-base), transform var(--ease-base);
}
.location-card:hover {
  border-color: var(--color-sand);
  transform: translateY(-4px);
}

.location-card--featured {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 320px;
}
.location-card--featured:hover {
  transform: none;
}

.location-card__map {
  width: 100%;
  height: 200px;
  background: var(--color-stone-mid);
  overflow: hidden;
}
.location-card--featured .location-card__map {
  height: 100%;
  min-height: 320px;
}
.location-card__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) brightness(0.85);
  transition: filter var(--ease-base);
}
.location-card:hover .location-card__map iframe {
  filter: invert(0%) hue-rotate(0deg) brightness(1);
}

.location-card__body {
  padding: var(--space-8);
}
.location-card--featured .location-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-12) var(--space-10);
}

.location-card__city {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: var(--space-4);
}
.location-card--featured .location-card__city {
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin-bottom: var(--space-5);
}

.location-card__address {
  font-size: var(--text-sm);
  color: rgba(250,250,248,0.5);
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}
.location-card__address svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-sand);
}

.location-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-8);
  color: var(--color-sand);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--ease-fast), gap var(--ease-fast);
}
.location-card__link:hover {
  color: var(--color-sand-light);
  gap: 0.75rem;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page {
  background: var(--color-white);
}

.service-section {
  padding-block: var(--section-v);
  position: relative;
  overflow: hidden;
}

.service-section:nth-child(even) {
  background: var(--color-dark);
}

.service-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.service-section:nth-child(even) .service-section__inner {
  direction: rtl;
}
.service-section:nth-child(even) .service-section__content,
.service-section:nth-child(even) .service-section__visual {
  direction: ltr;
}

.service-section__visual {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-section__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-slow);
}
.service-section:hover .service-section__img { transform: scale(1.04); }

.service-section__num {
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(250,250,248,0.08);
  line-height: 1;
  letter-spacing: -0.06em;
}

.service-section__content { }

.service-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}
.service-section:nth-child(even) .service-section__title {
  color: var(--color-white);
}

.service-section__text {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-muted);
  margin-bottom: var(--space-8);
}
.service-section:nth-child(even) .service-section__text {
  color: rgba(250,250,248,0.5);
}

.service-section__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  transition: all var(--ease-fast);
}
.tag:hover { border-color: var(--color-sand); color: var(--color-sand); }

.service-section:nth-child(even) .tag {
  border-color: var(--color-border-dark);
  color: rgba(250,250,248,0.35);
}

/* Services overview grid */
.services-overview {
  background: var(--color-warm);
  padding-block: var(--section-v);
}

.services-overview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-16);
}

.service-overview-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: var(--space-8);
  transition: all var(--ease-base);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.service-overview-card:hover {
  border-color: var(--color-sand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-overview-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-border);
  line-height: 1;
  letter-spacing: -0.04em;
}

.service-overview-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.2;
}

.service-overview-card__text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.65;
  flex: 1;
}

.service-overview-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sand);
  margin-top: var(--space-2);
  transition: gap var(--ease-base);
}
.service-overview-card:hover .service-overview-card__arrow { gap: var(--space-3); }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-page {
  background: var(--color-white);
  padding-block: var(--section-v);
}

.gallery-filter {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: transparent;
  transition: all var(--ease-fast);
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--color-text); color: var(--color-text); }
.filter-btn.active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

.gallery-grid {
  columns: 3;
  column-gap: var(--space-4);
}

.gallery-item {
  display: block;
  break-inside: avoid;
  margin-bottom: var(--space-4);
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity var(--ease-base), transform var(--ease-base);
}

.gallery-item.hidden {
  display: none;
}

.gallery-item__thumb {
  width: 100%;
  display: block;
  transition: transform var(--ease-slow);
}
.gallery-item:hover .gallery-item__thumb { transform: scale(1.05); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,11,9,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--ease-base);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__cat {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sand);
  margin-bottom: var(--space-1);
}

.gallery-item__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.2;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page {
  background: var(--color-white);
  padding-block: var(--section-v);
}

.contact-info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  margin-bottom: var(--space-20);
}

.contact-info-item {
  background: var(--color-warm);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: background var(--ease-base);
}
.contact-info-item:hover { background: var(--color-white); }

.contact-info-item__icon {
  width: 36px;
  height: 36px;
  background: var(--color-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item__icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-sand);
}

.contact-info-item__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.contact-info-item__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}
.contact-info-item__value a {
  transition: color var(--ease-fast);
}
.contact-info-item__value a:hover { color: var(--color-sand); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-4) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: var(--color-white);
  color: var(--color-text);
  font-size: var(--text-base);
  font-weight: 400;
  outline: none;
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-sand);
  box-shadow: 0 0 0 3px rgba(200,185,154,0.12);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.65;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8070' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Custom select (theme dropdown — replaces native OS menu) */
.aivarsk-select {
  position: relative;
  width: 100%;
}
.aivarsk-select__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
  appearance: none !important;
  background: none !important;
}
.aivarsk-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: var(--color-white);
  color: var(--color-text);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast), background var(--ease-fast);
}
.aivarsk-select__trigger:hover {
  border-color: #cfc5b8;
}
.aivarsk-select.is-open .aivarsk-select__trigger,
.aivarsk-select__trigger:focus {
  outline: none;
  border-color: var(--color-sand);
  box-shadow: 0 0 0 3px rgba(200, 185, 154, 0.12);
}
.aivarsk-select.is-invalid .aivarsk-select__trigger {
  border-color: #c46;
}
.aivarsk-select__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aivarsk-select__label.is-placeholder {
  color: var(--color-muted);
}
.aivarsk-select__chevron {
  flex-shrink: 0;
  display: inline-flex;
  color: var(--color-muted);
  transition: transform var(--ease-fast), color var(--ease-fast);
}
.aivarsk-select.is-open .aivarsk-select__chevron {
  transform: rotate(180deg);
  color: var(--color-sand);
}
.aivarsk-select__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  display: none;
  max-height: 280px;
  margin: 0;
  padding: var(--space-2);
  list-style: none;
  overflow-y: auto;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}
.aivarsk-select.is-open .aivarsk-select__list {
  display: block;
  animation: aivarsk-select-in 0.18s ease;
}
@keyframes aivarsk-select-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.aivarsk-select__option {
  padding: 0.7rem 0.85rem;
  border-radius: 2px;
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.4;
  cursor: pointer;
  transition: background var(--ease-fast), color var(--ease-fast);
}
.aivarsk-select__option:hover,
.aivarsk-select__option:focus {
  outline: none;
  background: var(--color-warm);
  color: var(--color-dark);
}
.aivarsk-select__option.is-selected {
  background: rgba(200, 185, 154, 0.22);
  color: var(--color-dark);
  font-weight: 500;
}
.aivarsk-select__option.is-placeholder {
  color: var(--color-muted);
  font-style: italic;
}
.aivarsk-select__option.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.aivarsk-select__option.is-disabled:hover {
  background: transparent;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.contact-form .btn-primary {
  align-self: flex-start;
}

/* Contact Form 7 */
.aivarsk-cf7 .wpcf7 {
  width: 100%;
}
.aivarsk-cf7 .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin: 0;
}
.aivarsk-cf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.aivarsk-cf7 .wpcf7-spinner {
  margin-left: var(--space-3);
}
.aivarsk-cf7 .form-note {
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin: calc(var(--space-2) * -1) 0 0;
}
.aivarsk-cf7 .wpcf7-not-valid-tip {
  font-size: var(--text-xs);
  color: #a33;
  margin-top: 0.35rem;
}
.aivarsk-cf7 .wpcf7-not-valid {
  border-color: #c46 !important;
}
.aivarsk-cf7 .wpcf7-response-output {
  margin: 0;
  padding: var(--space-4) var(--space-5);
  border-radius: 2px;
  font-size: var(--text-sm);
  line-height: 1.5;
}
.aivarsk-cf7 .wpcf7 form.sent .wpcf7-response-output {
  border-color: #5a8a60;
  background: rgba(90, 138, 96, 0.08);
  color: #2f5a36;
}
.aivarsk-cf7 .wpcf7 form.invalid .wpcf7-response-output,
.aivarsk-cf7 .wpcf7 form.unaccepted .wpcf7-response-output,
.aivarsk-cf7 .wpcf7 form.failed .wpcf7-response-output,
.aivarsk-cf7 .wpcf7 form.aborted .wpcf7-response-output {
  border-color: #c46;
  background: rgba(204, 68, 102, 0.06);
  color: #7a2438;
}
.aivarsk-cf7 input.wpcf7-submit.btn {
  cursor: pointer;
  border: 0;
  width: auto;
  appearance: none;
  -webkit-appearance: none;
}
.aivarsk-cf7 .wpcf7-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Honeypot — visually hidden, still in DOM for bots */
.aivarsk-cf7 .aivarsk-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-stone);
  border-top: 1px solid var(--color-border-dark);
  padding-block: var(--space-20) var(--space-12);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.footer__brand {
  min-width: 0;
  padding-right: clamp(0rem, 2vw, 2rem);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.04em;
  display: inline-block;
  margin-bottom: var(--space-4);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(250,250,248,0.35);
  line-height: 1.7;
  max-width: 28ch;
  margin-bottom: var(--space-8);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(250,250,248,0.45);
  transition: color var(--ease-fast);
  width: fit-content;
}

.footer__contact-link:hover { color: var(--color-sand); }
.footer__contact-link svg { width: 14px; height: 14px; flex-shrink: 0; }

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.25);
  margin-bottom: var(--space-5);
}

.footer__nav,
.footer__location {
  min-width: 0;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(250,250,248,0.45);
  transition: color var(--ease-fast);
  display: inline-block;
}

.footer__link:hover { color: var(--color-sand); }

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: var(--space-5);
}

.footer__city {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-sand);
  letter-spacing: 0.02em;
}

.footer__street,
.footer__postal {
  font-size: var(--text-sm);
  color: rgba(250,250,248,0.45);
  line-height: 1.5;
}

.footer__map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.4);
  transition: color var(--ease-fast), gap var(--ease-fast);
}

.footer__map-link:hover {
  color: var(--color-sand);
  gap: 0.65rem;
}

.footer__bottom {
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__copy,
.footer__reg {
  font-size: var(--text-xs);
  color: rgba(250,250,248,0.22);
  letter-spacing: 0.06em;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              background-color var(--ease-base);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.45s; }
.reveal-delay-5 { transition-delay: 0.6s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

/* === KEYFRAMES === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   GRADIENT STONE VISUALS (No-image placeholders)
   ============================================================ */
/* Granite textures via CSS */
.stone-dark {
  background: linear-gradient(150deg, #0d0c0a 0%, #1c1b19 40%, #252320 70%, #0f0e0c 100%);
}
.stone-gray {
  background: linear-gradient(150deg, #2e2c28 0%, #4a4840 40%, #3a3830 70%, #2e2c28 100%);
}
.stone-warm {
  background: linear-gradient(150deg, #4a3828 0%, #6a5040 40%, #4a3828 80%, #3a2818 100%);
}
.stone-sand {
  background: linear-gradient(150deg, #c4a882 0%, #d8c0a0 40%, #c0a070 80%, #b89060 100%);
}
.stone-red {
  background: linear-gradient(150deg, #3d1c1c 0%, #5a2828 40%, #6a3030 60%, #3d1c1c 100%);
}
.stone-black {
  background: linear-gradient(150deg, #0a0a08 0%, #1a1a18 40%, #252520 70%, #0a0a08 100%);
}
.stone-green {
  background: linear-gradient(150deg, #1a2818 0%, #283820 40%, #1e3018 80%, #141e10 100%);
}
.stone-blue {
  background: linear-gradient(150deg, #18202e 0%, #222c40 40%, #1a2438 80%, #14182a 100%);
}

/* Gallery stone thumb variants */
.gallery-thumb-1 { background: linear-gradient(135deg, #1a1a18 0%, #2e2e2a 35%, #1e1e1c 70%, #282826 100%); height: 260px; }
.gallery-thumb-2 { background: linear-gradient(135deg, #c0a88a 0%, #d8c0a0 45%, #b89878 85%); height: 320px; }
.gallery-thumb-3 { background: linear-gradient(135deg, #2a2018 0%, #483828 50%, #2a2018 100%); height: 200px; }
.gallery-thumb-4 { background: linear-gradient(135deg, #3a3836 0%, #5a5850 45%, #3a3836 100%); height: 280px; }
.gallery-thumb-5 { background: linear-gradient(135deg, #3a1818 0%, #601e1e 45%, #3a1818 100%); height: 240px; }
.gallery-thumb-6 { background: linear-gradient(135deg, #f0ece8 0%, #e0d8d0 45%, #ccc0b0 100%); height: 300px; }
.gallery-thumb-7 { background: linear-gradient(135deg, #18281e 0%, #243828 50%, #18281e 100%); height: 220px; }
.gallery-thumb-8 { background: linear-gradient(135deg, #0a0a0a 0%, #1a1a18 40%, #0e0e0c 80%); height: 360px; }
.gallery-thumb-9 { background: linear-gradient(135deg, #d4b89a 0%, #e8d0b0 45%, #c8a880 100%); height: 230px; }
.gallery-thumb-10 { background: linear-gradient(135deg, #2c2824 0%, #4a4440 50%, #2c2824 100%); height: 290px; }
.gallery-thumb-11 { background: linear-gradient(135deg, #1a1814 0%, #2e2a24 50%, #1a1814 100%); height: 210px; }
.gallery-thumb-12 { background: linear-gradient(135deg, #381818 0%, #581e1e 50%, #381818 100%); height: 340px; }
.gallery-thumb-13 { background: linear-gradient(135deg, #e8e4e0 0%, #f0ece8 50%, #dcd8d4 100%); height: 250px; }
.gallery-thumb-14 { background: linear-gradient(135deg, #20281c 0%, #303c28 50%, #20281c 100%); height: 270px; }
.gallery-thumb-15 { background: linear-gradient(135deg, #181818 0%, #2a2a28 50%, #181818 100%); height: 220px; }
.gallery-thumb-16 { background: linear-gradient(135deg, #b8a088 0%, #ccc0a8 50%, #b09078 100%); height: 300px; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-sand    { color: var(--color-sand); }
.text-muted   { color: var(--color-muted); }
.text-white   { color: var(--color-white); }
.text-dark    { color: var(--color-dark); }
.mt-auto      { margin-top: auto; }
.mb-0         { margin-bottom: 0; }
.pt-0         { padding-top: 0; }

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner       { grid-template-columns: 1fr; }
  .hero__right       { display: none; }

  .services-preview__header { grid-template-columns: 1fr; }
  .services-preview__grid   { grid-template-columns: 1fr 1fr; }

  .about-teaser__inner    { grid-template-columns: 1fr; gap: var(--space-12); }
  .about-teaser__quote    { font-size: var(--text-4xl); }

  .usp-strip__inner { grid-template-columns: 1fr 1fr; }

  .about-story__inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .about-story__pull  { position: static; }

  .usp-grid,
  .usp-grid--2col    { grid-template-columns: 1fr 1fr; }
  .locations-grid    { grid-template-columns: 1fr; }
  .location-card--featured {
    grid-template-columns: 1fr;
  }
  .location-card--featured .location-card__map {
    min-height: 240px;
  }

  .service-section__inner { grid-template-columns: 1fr; }
  .service-section:nth-child(even) .service-section__inner { direction: ltr; }

  .services-overview__grid { grid-template-columns: 1fr 1fr; }

  .contact-layout    { grid-template-columns: 1fr; }
  .contact-info-bar  { grid-template-columns: 1fr; }

  .footer__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-8);
  }

  .footer__brand {
    padding-right: 0;
  }

  .footer__tagline {
    max-width: 34ch;
  }

  .gallery-grid { columns: 2; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger        { display: flex; }

  .hero__title   { letter-spacing: -0.025em; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: var(--space-4); }

  .stats__inner { grid-template-columns: 1fr; }
  .stats__item  { border-right: none; border-bottom: 1px solid var(--color-border-dark); }
  .stats__item:last-child { border-bottom: none; }

  .services-preview__grid { grid-template-columns: 1fr; }

  .usp-strip__inner   { grid-template-columns: 1fr; }
  .usp-grid,
  .usp-grid--2col     { grid-template-columns: 1fr; }
  .services-overview__grid { grid-template-columns: 1fr; }

  .gallery-grid { columns: 1; }

  .footer {
    padding-block: var(--space-16) var(--space-10);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .footer__brand {
    grid-column: auto;
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .footer__tagline {
    max-width: none;
  }

  .footer__contacts {
    flex-direction: column;
    gap: var(--space-3);
  }

  /* Fill width on mobile — no empty right gutter */
  .footer__nav .footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--space-4);
    row-gap: var(--space-3);
  }

  .footer__location {
    padding-top: var(--space-2);
    border-top: 1px solid var(--color-border-dark);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    text-align: left;
  }

  .form-row { grid-template-columns: 1fr; }
  .cta-section__contacts { flex-direction: column; gap: var(--space-4); }
  .service-section__visual { aspect-ratio: 16/9; }
}

@media (max-width: 480px) {
  .about-teaser__quote { font-size: var(--text-3xl); }
  .page-hero__title    { font-size: clamp(2.5rem, 10vw, 4rem); }
}
