/* ============================================================
   BATI-POL — Editorial Craft v3
   Paleta: głęboka zieleń / złamana biel / mosiądz/złoto
   Fonty: Cormorant Garamond (display) + Syne (sans)
   Kierunek: editorial atelier, nie sklep meblowy
   ============================================================ */

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

/* ---- Tokens ---- */
:root {
  --ink:        #1A1A16;
  --forest:     #1C3A2E;
  --forest-mid: #2A5240;
  --forest-lt:  #3D6B56;
  --cream:      #F5F0E8;
  --cream-dark: #EDE6D6;
  --warm-white: #FAF8F4;
  --gold:       #C9A96E;
  --gold-lt:    #E8D5AA;
  --gold-dk:    #A07C42;
  --stone:      #8A8678;
  --mist:       #C8C4BC;
  --error:      #8B2E14;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-ui:      'Syne', system-ui, sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --shadow-gold: 0 8px 32px rgba(201,169,110,.18);
  --shadow-ink:  0 12px 40px rgba(26,26,22,.15);
  --shadow-deep: 0 24px 64px rgba(26,26,22,.22);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-ui);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: .6;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  color: var(--ink);
  font-weight: 400;
}
h1 { font-size: clamp(3.2rem, 7vw, 6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-family: var(--font-ui); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
p  { color: var(--stone); font-size: .95rem; line-height: 1.75; }

.display { font-family: var(--font-display); }
.eyebrow {
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.rule {
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 1rem 0 1.5rem;
}
.rule-center { margin-left: auto; margin-right: auto; }

/* ---- Layout ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
@media (min-width: 768px)  { .container { padding: 0 3rem; } }
@media (min-width: 1200px) { .container { padding: 0 4rem; } }

.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-ui); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .85rem 2rem; border-radius: var(--r-xs);
  transition: all .3s var(--ease-out); cursor: pointer;
  white-space: nowrap; position: relative; overflow: hidden;
  isolation: isolate;
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border: 1.5px solid var(--gold);
}
.btn-gold::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gold-dk);
  transform: translateX(-101%);
  transition: transform .35s var(--ease-out);
  z-index: -1;
}
.btn-gold:hover::after { transform: translateX(0); }
.btn-gold > * { position: relative; z-index: 1; }

.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(245,240,232,.35);
}
.btn-outline-cream:hover {
  background: rgba(245,240,232,.08);
  border-color: rgba(245,240,232,.7);
}

.btn-outline-ink {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(26,26,22,.25);
}
.btn-outline-ink:hover {
  border-color: var(--gold);
  color: var(--gold-dk);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 0;
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
#site-header.scrolled {
  background: rgba(245,240,232,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: .75rem 0;
  border-bottom-color: rgba(138,134,120,.2);
}

.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 52px;
}
.nav-logo {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 600;
  color: var(--cream);
  letter-spacing: .04em;
  transition: color .3s;
}
.nav-logo.dark { color: var(--ink); }
.nav-logo-mark {
  width: 32px; height: 32px;
  background: var(--gold);
  border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-mark svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-link {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(245,240,232,.7);
  position: relative; padding-bottom: 2px;
  transition: color .2s;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: rgba(245,240,232,1); }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }

/* Dark nav (sub-pages) */
#site-header.nav-dark .nav-link { color: var(--stone); }
#site-header.nav-dark .nav-link:hover,
#site-header.nav-dark .nav-link.active { color: var(--ink); }
#site-header.scrolled .nav-link { color: var(--stone); }
#site-header.scrolled .nav-link:hover,
#site-header.scrolled .nav-link.active { color: var(--ink); }
#site-header.scrolled .nav-logo { color: var(--ink); }
#site-header.scrolled .nav-burger { color: var(--ink); }
#site-header.scrolled .nav-cta.outline-cream {
  color: var(--ink);
  border-color: rgba(26,26,22,.16);
}
#site-header.scrolled .nav-cta.outline-cream:hover {
  background: rgba(26,26,22,.04);
  border-color: rgba(26,26,22,.28);
}

.nav-cta {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .55rem 1.4rem;
  background: var(--gold); color: var(--ink);
  border-radius: var(--r-xs);
  transition: background .2s;
}
.nav-cta:hover { background: var(--gold-dk); }
.nav-cta.outline-cream {
  background: transparent; color: var(--cream);
  border: 1.5px solid rgba(245,240,232,.4);
}
.nav-cta.outline-cream:hover { background: rgba(245,240,232,.1); border-color: var(--cream); }

.nav-burger { display: none; padding: .3rem; color: var(--cream); }
.nav-burger.dark-icon { color: var(--ink); }
.nav-burger svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

#mobile-menu {
  display: none; background: var(--forest);
  padding: 1.5rem 2rem 2rem; border-top: 1px solid rgba(245,240,232,.1);
}
#mobile-menu.open { display: block; }
.mobile-nav-link {
  display: block; padding: .8rem 0;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(245,240,232,.65);
  border-bottom: 1px solid rgba(245,240,232,.08);
  transition: color .2s;
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--gold); }
.mobile-nav-cta {
  display: block; margin-top: 1.5rem; text-align: center;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .9rem; background: var(--gold); color: var(--ink); border-radius: var(--r-xs);
}

.header-spacer { height: 76px; }

@media (max-width: 900px) { .nav-links { display: none; } .nav-burger { display: flex; } }

/* ============================================================
   HERO — full dark, editorial
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--forest);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

/* Large decorative number */
.hero-num {
  position: absolute;
  bottom: -3rem; left: -1rem;
  font-family: var(--font-display);
  font-size: clamp(14rem, 30vw, 24rem);
  font-weight: 700;
  color: rgba(245,240,232,.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.04em;
}

/* Vertical label */
.hero-vert {
  position: absolute;
  right: 2rem; top: 50%; transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-size: .65rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(245,240,232,.2);
  white-space: nowrap;
}

/* Diagonal accent line */
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 42%;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(201,169,110,.25) 30%, rgba(201,169,110,.25) 70%, transparent);
}

.hero-left {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 5rem 3rem 5rem 4rem;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: pulse-gold 2.4s ease-in-out infinite;
}
@keyframes pulse-gold {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: .6; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.0;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-sub {
  color: rgba(245,240,232,.5);
  font-size: .9rem;
  line-height: 1.8;
  max-width: 360px;
  margin-bottom: 3rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Stats row at bottom of hero-left */
.hero-stats {
  display: flex; gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245,240,232,.1);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 600;
  color: var(--cream); line-height: 1;
}
.hero-stat-lbl {
  font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(245,240,232,.4); margin-top: .2rem;
}

/* Hero right — polaroid stack */
.hero-right {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 4rem 3rem;
  background: rgba(0,0,0,.15);
}

/* ============================================================
   POLAROID STACK
   ============================================================ */
.polaroid-stack {
  position: relative;
  width: 320px; height: 380px;
}
.polaroid-card {
  position: absolute;
  background: #faf8f4;
  padding: 10px 10px 40px;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 4px 12px rgba(0,0,0,.25);
  transition: transform .8s cubic-bezier(.34,1.2,.64,1), opacity .5s ease;
  will-change: transform, opacity;
  width: 69%;
}
.polaroid-card img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; display: block;
  border-radius: 1px;
  background: var(--cream-dark);
}
.polaroid-label {
  font-family: var(--font-ui);
  font-size: .6rem; font-weight: 600; letter-spacing: .08em;
  color: var(--stone); text-align: center;
  padding-top: 8px; text-transform: uppercase;
}

/* Decorative corner details */
.hero-corner {
  position: absolute;
  width: 60px; height: 60px;
  border-color: rgba(201,169,110,.3);
  border-style: solid;
}
.hero-corner-tl { top: 2rem; left: 1.5rem; border-width: 1px 0 0 1px; }
.hero-corner-br { bottom: 2rem; right: 1.5rem; border-width: 0 1px 1px 0; }

/* ============================================================
   SECTION DECORATION HELPERS
   ============================================================ */
.section-side-label {
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--mist);
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%) rotate(180deg);
}

.big-num {
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 11rem);
  font-weight: 700;
  color: rgba(26,26,22,.04);
  line-height: 1;
  user-select: none; pointer-events: none;
  letter-spacing: -.04em;
}

/* ============================================================
   TAGLINE STRIP
   ============================================================ */
.tagline-strip {
  background: var(--ink);
  padding: 1rem 0;
  overflow: hidden;
}
.tagline-track {
  display: flex; gap: 3rem; align-items: center;
  animation: marquee 28s linear infinite;
  white-space: nowrap; width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tagline-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(245,240,232,.45);
}
.tagline-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: var(--warm-white); position: relative; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--mist);
  border: 1.5px solid var(--mist);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--warm-white);
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column; gap: .75rem;
  position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: background .3s;
}
.service-card:hover { background: var(--cream); }

.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 700;
  color: rgba(26,26,22,.06);
  line-height: 1;
  position: absolute; top: 1rem; right: 1.2rem;
  transition: color .3s;
  user-select: none;
}
.service-card:hover .service-num { color: rgba(201,169,110,.12); }

.service-icon {
  width: 44px; height: 44px;
  background: var(--cream-dark);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dk);
  transition: background .3s;
}
.service-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-icon { background: var(--gold-lt); }

.service-title {
  font-family: var(--font-ui);
  font-size: .9rem; font-weight: 700;
  color: var(--ink); letter-spacing: .01em;
}
.service-desc { font-size: .82rem; color: var(--stone); line-height: 1.7; flex: 1; }
.service-link {
  display: flex; align-items: center; gap: .3rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-dk);
  opacity: 0; transform: translateY(4px);
  transition: opacity .25s, transform .25s;
}
.service-link svg { width: 12px; height: 12px; }
.service-card:hover .service-link { opacity: 1; transform: translateY(0); }

/* CTA card in grid */
.service-card-dark {
  background: var(--forest);
}
.service-card-dark:hover { background: var(--forest-mid); }
.service-card-dark .service-title { color: var(--cream); }
.service-card-dark .service-desc  { color: rgba(245,240,232,.5); }
.service-card-dark .service-num   { color: rgba(245,240,232,.04); }
.service-card-dark .service-icon  { background: rgba(245,240,232,.08); color: var(--gold); }
.service-card-dark:hover .service-icon { background: rgba(201,169,110,.15); }
.service-card-dark .service-link  { color: var(--gold); opacity: 1; transform: none; }

/* ============================================================
   WHY
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 3rem;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2,1fr); gap: 2rem; } }
.why-item {
  display: flex; flex-direction: column; gap: .6rem;
}
.why-icon-wrap {
  width: 52px; height: 52px;
  border: 1px solid rgba(201,169,110,.3);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.why-icon-wrap svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-item h4 { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.why-item p  { font-size: .82rem; color: var(--stone); line-height: 1.7; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .75rem;
}
.gallery-item {
  position: relative; border-radius: var(--r-sm);
  overflow: hidden; aspect-ratio: 4/3;
  cursor: pointer; background: var(--cream-dark);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,58,46,.8) 0%, transparent 50%);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end; padding: 1rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(245,240,232,.8);
}
.gallery-zoom {
  position: absolute; top: .75rem; right: .75rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(245,240,232,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); opacity: 0;
  transition: opacity .3s;
}
.gallery-zoom svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.gallery-item:hover .gallery-zoom { opacity: 1; }

img.lazy {
  background: linear-gradient(135deg, var(--cream-dark), var(--mist));
  animation: shimmer 1.6s ease-in-out infinite;
  background-size: 200% 100%;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
img.lazy.loaded { animation: none; background: none; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
#lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,12,10,.96);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
#lightbox.open { opacity: 1; pointer-events: all; }
#lightbox img {
  max-width: 88vw; max-height: 84vh;
  border-radius: var(--r-xs);
  object-fit: contain;
  box-shadow: 0 0 100px rgba(0,0,0,.6);
  transition: opacity .25s;
}
.lb-close {
  position: absolute; top: 1.5rem; right: 2rem;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(245,240,232,.08); border: 1px solid rgba(245,240,232,.15);
  color: rgba(245,240,232,.7);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; cursor: pointer;
}
.lb-close:hover { background: rgba(245,240,232,.18); color: var(--cream); }
.lb-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(245,240,232,.07); border: 1px solid rgba(245,240,232,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(245,240,232,.6); transition: all .2s; cursor: pointer;
}
.lb-nav:hover { background: rgba(245,240,232,.18); color: var(--cream); }
.lb-nav svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-caption {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(245,240,232,.35); white-space: nowrap; pointer-events: none;
}
.lb-caption span:last-child { margin-left: 1rem; color: rgba(245,240,232,.2); }

/* ============================================================
   OFFER PHOTO BG (oferta.php)
   ============================================================ */
.offer-photo-bg {
  position: relative; border-radius: var(--r-lg);
  overflow: hidden; min-height: 300px;
  display: flex; align-items: flex-end;
  background: var(--forest);
}
.offer-photo-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.offer-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,58,46,.85) 20%, rgba(28,58,46,.15) 100%);
}
.offer-photo-content {
  position: relative; z-index: 1;
  padding: 1.75rem;
}
.offer-photo-content h4 { color: var(--gold); margin-bottom: .3rem; }
.offer-photo-content p  { color: rgba(245,240,232,.65); font-size: .82rem; }
.offer-photo-content a {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: 1rem; font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(245,240,232,.3);
  padding: .5rem 1.1rem; border-radius: var(--r-xs);
  transition: background .2s, border-color .2s;
}
.offer-photo-content a:hover { background: rgba(245,240,232,.1); border-color: rgba(245,240,232,.65); }
.offer-photo-content a svg { width: 12px; height: 12px; stroke: var(--cream); fill: none; stroke-width: 2.2; stroke-linecap: round; }

/* ============================================================
   CONTACT BOXES
   ============================================================ */
.contact-box {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--warm-white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--r-md); padding: 1.1rem 1.3rem;
  transition: border-color .2s, box-shadow .2s;
}
.contact-box:hover { border-color: rgba(201,169,110,.4); box-shadow: var(--shadow-gold); }
.contact-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border: 1px solid rgba(201,169,110,.3);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dk);
}
.contact-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); margin-bottom: .25rem; }
.contact-value { font-size: .9rem; color: var(--ink); font-weight: 500; }
.contact-value a { color: var(--gold-dk); transition: color .2s; }
.contact-value a:hover { color: var(--gold); }

/* Forms */
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--warm-white); border: 1px solid var(--cream-dark);
  border-radius: var(--r-xs); padding: .75rem 1rem;
  font-family: var(--font-ui); font-size: .9rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,.12);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-req { color: var(--gold); }
.alert-success {
  background: rgba(28,58,46,.06); border: 1px solid rgba(28,58,46,.2);
  color: var(--forest-mid);
  border-radius: var(--r-xs); padding: .9rem 1.2rem; font-size: .85rem;
}
.alert-error {
  background: rgba(139,46,20,.06); border: 1px solid rgba(139,46,20,.2);
  color: var(--error); border-radius: var(--r-xs); padding: .9rem 1.2rem; font-size: .85rem;
}

/* ============================================================
   FEATURE TAGS
   ============================================================ */
.feature-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.feature-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--cream); color: var(--forest-mid);
  padding: .3rem .8rem; border-radius: 999px;
  border: 1px solid rgba(28,58,46,.2);
}
.feature-tag svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--forest);
  padding: 6rem 0; position: relative; overflow: hidden;
}
.cta-strip::before {
  content: 'BATI•POL';
  position: absolute;
  bottom: -2rem; right: -1rem;
  font-family: var(--font-display);
  font-size: 14rem; font-weight: 700;
  color: rgba(245,240,232,.025);
  line-height: 1; pointer-events: none; user-select: none;
  letter-spacing: -.04em;
}
.cta-strip h2 { color: var(--cream); }
.cta-strip p  { color: rgba(245,240,232,.5); max-width: 480px; margin: .5rem auto 0; font-size: .95rem; }
.cta-strip-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
.cta-strip-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   PAGE BANNER (subpages)
   ============================================================ */
.page-banner {
  background: var(--forest);
  padding: 5rem 0 3.5rem;
  position: relative; overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(to left, rgba(245,240,232,.03), transparent);
}
.page-banner h1 { color: var(--cream); }
.page-banner .rule { background: var(--gold); }
.page-banner p { color: rgba(245,240,232,.5); }
.eyebrow-light { color: var(--gold); }

/* ============================================================
   FLOAT CTA
   ============================================================ */
.float-cta { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200; display: flex; flex-direction: column; gap: .6rem; }
@media (min-width: 1024px) { .float-cta { display: none; } }
.float-btn {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25); transition: transform .2s; color: white;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn svg { width: 20px; height: 20px; stroke: white; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float-phone { background: var(--forest-mid); }
.float-mail  { background: var(--gold-dk); }

/* ============================================================
   MAP
   ============================================================ */
.map-container { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(245,240,232,.5); }
.footer-main {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr;
  gap: 4rem; padding: 5rem 0 4rem;
  border-bottom: 1px solid rgba(245,240,232,.06);
}
@media (max-width: 768px) { .footer-main { grid-template-columns: 1fr; gap: 2.5rem; } }

.footer-logo {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: var(--cream); margin-bottom: 1rem;
}
.footer-logo-mark {
  width: 30px; height: 30px; background: var(--gold); border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-mark svg { width: 15px; height: 15px; stroke: var(--ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.footer-desc { font-size: .82rem; color: rgba(245,240,232,.35); line-height: 1.75; margin-bottom: 1.5rem; }
.footer-ci { display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: rgba(245,240,232,.35); margin-bottom: .5rem; }
.footer-ci svg { width: 13px; height: 13px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.footer-ci a { color: rgba(245,240,232,.35); transition: color .2s; }
.footer-ci a:hover { color: var(--gold); }
.footer-col-title { font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(245,240,232,.22); margin-bottom: 1.2rem; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: rgba(245,240,232,.35); font-size: .82rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-seo { padding: 1.2rem 0; border-bottom: 1px solid rgba(245,240,232,.04); font-size: .68rem; color: rgba(245,240,232,.15); line-height: 1.9; }
.footer-copy { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1.2rem 0; font-size: .72rem; color: rgba(245,240,232,.2); }
.footer-copy a { color: rgba(245,240,232,.25); transition: color .2s; }
.footer-copy a:hover { color: var(--gold); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .35s; }
.reveal-d4 { transition-delay: .5s; }

/* ============================================================
   UTILS
   ============================================================ */
.text-center { text-align: center; }
.hidden { display: none !important; }
.section-pad { padding: 5.5rem 0; }
.section-pad-sm { padding: 3.5rem 0; }
.bg-warm { background: var(--warm-white); }
.bg-cream { background: var(--cream); }

/* Responsive for inline grids on sub-pages */
@media (max-width: 768px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:2fr 3fr"],
  [style*="grid-template-columns:repeat(3,1fr)"] { display: block !important; }
  [style*="grid-template-columns:1fr 1fr"] > *+*,
  [style*="grid-template-columns:2fr 3fr"] > *+*,
  [style*="grid-template-columns:repeat(3,1fr)"] > *+* { margin-top: 1.75rem; }
}
/* Offer section */
@media (max-width: 768px) {
  .offer-section[style*="grid"] { display: block !important; }
  .offer-section .offer-photo-bg { margin-top: 1.5rem; min-height: 220px; }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--mist); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--stone); }

/* ============================================================
   HOME — offer section layout fix
   ============================================================ */
.home-offer-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .home-offer-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  .home-offer-layout {
    gap: 1.5rem;
  }
}
