/* ═══════════════════════════════════════════════════════
   MasterBud v2 — Premium Light Theme
   ═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ───────────────────────────────────── */
:root {
  --bg:           #FAFAF8;
  --bg-alt:       #F1EFEA;
  --bg-hero:      #FDFCF9;
  --text:         #1A1A1E;
  --text-muted:   #71717A;
  --accent:       #8B6D3F;
  --accent-light: #B89460;
  --accent-subtle:#F2EADE;
  --accent-glow:  rgba(139,109,63,0.18);
  --white:        #FFFFFF;
  --card-bg:      rgba(255,255,255,0.6);
  --card-border:  rgba(156,112,64,0.12);
  --glass-bg:     rgba(255,255,255,0.55);
  --glass-border: rgba(255,255,255,0.7);
  --radius:       16px;
  --radius-sm:    10px;
  --radius-xs:    8px;
  --shadow-xs:    0 1px 3px rgba(26,26,30,0.03);
  --shadow-sm:    0 2px 8px rgba(26,26,30,0.05);
  --shadow:       0 4px 24px rgba(26,26,30,0.07);
  --shadow-lg:    0 16px 48px rgba(26,26,30,0.10);
  --shadow-accent:0 8px 32px rgba(139,109,63,0.20);
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

::selection {
  background: var(--accent);
  color: var(--white);
}

/* ── CUSTOM SCROLLBAR ────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── NAVIGATION ──────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 5%;
  background: rgba(250,249,246,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(156,112,64,0.08);
  transition: box-shadow 0.4s var(--ease), padding 0.3s var(--ease), background 0.3s;
}
#navbar.scrolled {
  box-shadow: var(--shadow);
  padding: 0.4rem 5%;
  background: rgba(250,249,246,0.95);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 68px;
  width: auto;
  display: block;
  transition: opacity 0.25s;
}
.nav-logo-img:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: var(--radius-xs) !important;
  transition: all 0.25s var(--ease) !important;
  box-shadow: 0 2px 8px rgba(156,112,64,0.2);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--accent-light) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent) !important;
}

.nav-portfolio { }
.nav-portfolio::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.3s var(--ease);
}
.nav-portfolio:hover::after { width: 100%; }

/* ── NAV DROPDOWN ── */
.has-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.dropdown-arrow {
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.25s var(--ease);
  margin-top: 1px;
}
.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding-top: 0.7rem;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 200;
}
.nav-dropdown-inner {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  border: 1px solid rgba(156,112,64,0.08);
  min-width: 260px;
}
.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li { list-style: none; }
.nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xs);
  color: var(--text) !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
  transition: background 0.2s var(--ease);
}
.nav-dropdown li a::after { display: none !important; }
.nav-dropdown li a:hover { background: var(--accent-subtle); color: var(--accent) !important; }
.nav-dropdown .dd-icon {
  width: 36px; height: 36px;
  background: var(--accent-subtle);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.nav-dropdown .dd-icon svg { width: 18px; height: 18px; }
.nav-dropdown .dd-desc {
  display: block;
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  font-weight: 400;
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}

/* ── HERO ─────────────────────────────────────────────── */
#hero {
  min-height: 85vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  align-items: center;
  padding: 6.5rem 5% 4rem;
  gap: 4rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-hero);
}

/* Animated mesh gradient background */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(156,112,64,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 80%, rgba(196,150,92,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 10%, rgba(156,112,64,0.04) 0%, transparent 50%);
  animation: mesh-shift 12s ease-in-out infinite alternate;
  z-index: 0;
}

/* Subtle grain texture overlay */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float 8s ease-in-out infinite;
}
.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 1.5s; animation-duration: 9s; width: 3px; height: 3px; }
.particle:nth-child(3) { left: 45%; top: 30%; animation-delay: 3s; animation-duration: 6s; width: 5px; height: 5px; }
.particle:nth-child(4) { left: 70%; top: 70%; animation-delay: 2s; animation-duration: 8s; }
.particle:nth-child(5) { left: 85%; top: 15%; animation-delay: 4s; animation-duration: 10s; width: 3px; height: 3px; }
.particle:nth-child(6) { left: 55%; top: 85%; animation-delay: 1s; animation-duration: 7.5s; width: 6px; height: 6px; }
.particle:nth-child(7) { left: 90%; top: 45%; animation-delay: 3.5s; animation-duration: 8.5s; }
.particle:nth-child(8) { left: 15%; top: 80%; animation-delay: 5s; animation-duration: 9.5s; width: 4px; height: 4px; }

.hero-text { position: relative; z-index: 1; }

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}
.hero-text h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text p {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2.2rem;
  line-height: 1.8;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(156,112,64,0.25);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid rgba(156,112,64,0.3);
  margin-left: 1rem;
}
.btn-outline:hover {
  background: var(--accent-subtle);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ── HERO STATS ── */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(156,112,64,0.12);
}
.stat strong {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  line-height: 1.2;
  padding: 0.1em 0.15em 0.1em 0.05em;
  margin-left: -0.05em;
  margin-bottom: 0.2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat span { font-size: 0.83rem; color: var(--text-muted); }

/* ── HERO IMAGE ── */
.hero-image { position: relative; z-index: 1; }

.img-hero {
  width: 100%;
  max-height: 75vh;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
  transition: transform 0.5s var(--ease);
}
.img-hero:hover { transform: scale(1.02); }

.hero-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.85rem;
  animation: float 4s ease-in-out infinite;
}
.badge-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent-subtle), rgba(196,150,92,0.15));
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.badge-icon svg { width: 24px; height: 24px; }
.hero-badge strong { display: block; font-size: 0.95rem; }
.hero-badge span { color: var(--text-muted); font-size: 0.78rem; }

/* ── SECTION COMMON ──────────────────────────────────── */
section {
  padding: 6rem 5%;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 1px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.25;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
  line-height: 1.7;
}

/* ── WAVE DIVIDER ── */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}
.wave-divider-top {
  top: -1px;
  bottom: auto;
  transform: rotate(180deg);
}

/* ── O NAS (ABOUT) ───────────────────────────────────── */
#o-nas { background: var(--bg-alt); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 1rem;
  position: relative;
}
.about-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease);
}
.about-img:hover { transform: scale(1.03); }
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-img:first-child { grid-row: 1 / 3; }

.about-years {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  width: 88px; height: 88px;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  box-shadow: var(--shadow-accent);
  z-index: 2;
  border: 3px solid var(--white);
}
.about-years strong { font-size: 1.7rem; line-height: 1; }
.about-years span { font-size: 0.55rem; text-align: center; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.05em; }

.about-content p { color: var(--text-muted); margin-bottom: 1.2rem; }

.about-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.8rem 0 2.2rem;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.about-list li::before {
  content: '';
  width: 20px; height: 20px;
  background: var(--accent-subtle);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='%239C7040' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

/* ── USŁUGI (SERVICES) ───────────────────────────────── */
.services-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.services-intro .section-subtitle { margin-bottom: 0; max-width: 520px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 2.2rem;
  border: 1px solid var(--card-border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(156,112,64,0.2);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--accent-subtle), rgba(196,150,92,0.1));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--accent);
  transition: transform 0.3s var(--ease-spring);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { transform: scale(1.1) rotate(-3deg); }

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}
.service-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.service-list {
  list-style: none;
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.service-list li {
  font-size: 0.83rem;
  color: var(--text-muted);
  padding-left: 1.2rem;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
}

/* ── MEBLE NA WYMIAR dark section ── */
#meble { background: var(--bg-alt); }

/* ── DLACZEGO MY (WHY US) ────────────────────────────── */
#dlaczego-my { background: var(--bg-alt); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.why-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-item .icon-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent-subtle);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  position: relative;
  color: var(--accent);
  transition: transform 0.3s var(--ease-spring);
}
.why-item .icon-wrap svg { width: 28px; height: 28px; }
.why-item:hover .icon-wrap { transform: scale(1.1); }

/* Pulse ring behind icon */
.why-item .icon-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: pulse-ring 2.5s ease-out infinite;
}
.why-item:hover .icon-wrap::before { opacity: 0.3; }

.why-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.why-item p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ── CTA PORTFOLIO ───────────────────────────────────── */
.cta-portfolio {
  background: var(--bg-alt);
  text-align: center;
  padding: 5.5rem 5%;
  position: relative;
  overflow: hidden;
}
.cta-portfolio::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(156,112,64,0.05), transparent),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(196,150,92,0.04), transparent);
}
.cta-portfolio .section-label { justify-content: center; }
.cta-portfolio p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  position: relative;
}
.cta-portfolio .section-title { position: relative; }
.cta-portfolio .btn { position: relative; }

/* ── KONTAKT (CONTACT) ───────────────────────────────── */
#kontakt { background: var(--bg-alt); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info p { color: var(--text-muted); margin-bottom: 2.2rem; line-height: 1.7; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.6rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  transition: background 0.3s;
}
.contact-item:hover { background: rgba(156,112,64,0.04); }

.contact-item-icon {
  width: 48px; height: 48px;
  background: var(--accent-subtle);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.3s var(--ease-spring);
}
.contact-item-icon svg { width: 22px; height: 22px; }
.contact-item:hover .contact-item-icon { transform: scale(1.08); }

.contact-item-text strong {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.contact-item-text a,
.contact-item-text p {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}
.contact-item-text a:hover { color: var(--accent); }

/* ── CONTACT FORM ── */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(156,112,64,0.06);
}
.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  margin-bottom: 1.8rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group {
  margin-bottom: 1.3rem;
  position: relative;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border: 1.5px solid rgba(156,112,64,0.15);
  border-radius: var(--radius-xs);
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--white);
}
.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group select:focus ~ label { color: var(--accent); }
.form-group textarea { height: 130px; resize: vertical; }

.btn-submit {
  width: 100%;
  text-align: center;
  justify-content: center;
  font-size: 1rem;
  padding: 1rem 2rem;
  margin-top: 0.5rem;
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
  border-top: 1px solid rgba(156,112,64,0.12);
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding: 4.5rem 5% 3.5rem;
  border-bottom: 1px solid rgba(156,112,64,0.12);
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 1.1rem;
  line-height: 0;
}
.footer-logo-img {
  height: 58px;
  width: auto;
  display: block;
  opacity: 0.95;
  transition: opacity 0.25s;
}
.footer-logo-img:hover {
  opacity: 1;
}

.footer-brand p {
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1.4rem;
  font-weight: 700;
  position: relative;
}
.footer-col h4::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  margin-top: 0.6rem;
  border-radius: 1px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }

.footer-contact { gap: 1rem !important; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.footer-contact li svg { flex-shrink: 0; margin-top: 2px; opacity: 0.7; color: var(--accent); }
.footer-contact li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact li a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 5%;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}
.footer-bottom strong { color: var(--text); }
.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-bottom a:hover { opacity: 0.75; }

/* ── TOAST ────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem; left: 2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  padding: 1.1rem 1.8rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem) scale(0.96);
  transition: all 0.4s var(--ease-spring);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.toast svg { width: 20px; height: 20px; flex-shrink: 0; }
.toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ── BACK TO TOP ──────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
  z-index: 998;
}
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}

/* ── KEYFRAME ANIMATIONS ─────────────────────────────── */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes pulse-ring {
  0% { transform: scale(0.85); opacity: 0.3; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.85); opacity: 0; }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes mesh-shift {
  0% {
    background:
      radial-gradient(ellipse 60% 50% at 10% 20%, rgba(156,112,64,0.08) 0%, transparent 60%),
      radial-gradient(ellipse 50% 60% at 80% 80%, rgba(196,150,92,0.06) 0%, transparent 55%),
      radial-gradient(ellipse 40% 40% at 50% 10%, rgba(156,112,64,0.04) 0%, transparent 50%);
  }
  100% {
    background:
      radial-gradient(ellipse 55% 55% at 30% 40%, rgba(156,112,64,0.06) 0%, transparent 60%),
      radial-gradient(ellipse 60% 50% at 60% 60%, rgba(196,150,92,0.08) 0%, transparent 55%),
      radial-gradient(ellipse 45% 45% at 70% 20%, rgba(156,112,64,0.05) 0%, transparent 50%);
  }
}

@keyframes particle-float {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  10%  { opacity: 0.35; transform: translateY(-10px) scale(1); }
  90%  { opacity: 0.15; transform: translateY(-80px) scale(0.8); }
  100% { opacity: 0; transform: translateY(-100px) scale(0); }
}

/* ── REVEAL ANIMATIONS ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; padding-top: 6.5rem; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-text .btn { margin: 0 0.5rem; }
  .hero-stats { justify-content: center; }
  .hero-image { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-images { display: none; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }

  .services-intro { flex-direction: column; align-items: flex-start; }

  .section-label { justify-content: flex-start; }
}

@media (max-width: 640px) {
  section { padding: 4rem 5%; }
  #hero { padding-top: 6rem; }
  
  .hero-text .btn { 
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0.75rem 0 0 0; 
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(250,249,246,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 5%;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(156,112,64,0.1);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a::after { display: none; }
  .hamburger { display: flex; }

  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  .stat strong { font-size: 1.8rem; }
  .btn-outline { margin-left: 0; margin-top: 0.75rem; }

  .why-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .services-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 5% 2rem; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Dropdown mobile — accordion */
  .has-dropdown { flex-direction: column; align-items: center; gap: 0; }
  .nav-dropdown-trigger {
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
  .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    min-width: 0;
    transition: max-height 0.35s ease, opacity 0.25s;
    width: 100%;
  }
  .has-dropdown.mobile-open .nav-dropdown {
    opacity: 1 !important;
    pointer-events: auto !important;
    max-height: 200px;
    padding-top: 0.7rem;
  }
  .has-dropdown.mobile-open .dropdown-arrow { transform: rotate(180deg) !important; }
  .nav-dropdown-inner {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }
  .nav-dropdown li a {
    padding: 0 !important;
    color: var(--text-muted) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    gap: 0.4rem !important;
    justify-content: center !important;
  }
  .nav-dropdown .dd-desc { display: none; }
  .nav-dropdown .dd-icon { width: 28px; height: 28px; }
  .nav-dropdown .dd-icon svg { width: 14px; height: 14px; }
}
