/* ============================================================
   Warka Business Center — Main Stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #C8993A;
  --gold-light: #E8C97A;
  --gold-pale: #FDF6E8;
  --dark: #1A1612;
  --dark-2: #2E2820;
  --mid: #6B5E4E;
  --light: #F7F3EE;
  --white: #FFFFFF;
  --text: #2E2820;
  --text-muted: #7A6E63;
  --border: rgba(200,153,58,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26,22,18,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200,153,58,0.15);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold-light); }

.nav-cta {
  background: var(--gold);
  color: var(--dark) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--gold-light) !important; color: var(--dark) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--dark);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(200,153,58,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(200,153,58,0.05) 0%, transparent 40%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(200,153,58,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(200,153,58,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,153,58,0.4);
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero h1 span { color: var(--gold); }

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  border: 1px solid rgba(200,153,58,0.5);
  color: var(--gold-light);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,153,58,0.15);
  border-radius: 8px;
  padding: 2rem;
}

.hero-card-title {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(200,153,58,0.15);
}

.service-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.service-pill:last-child { border-bottom: none; }

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.pill-price {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
}

/* ── SECTION BASE ── */
section { padding: 5rem 2rem; }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.8;
}

/* ── SERVICES ── */
.services { background: var(--white); }

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.service-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.3s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(200,153,58,0.1);
  border-color: rgba(200,153,58,0.4);
}

.service-card:hover::before { height: 100%; }

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-rate {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── WHY US ── */
.why { background: var(--dark); }

.why .section-title { color: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.why-list { display: flex; flex-direction: column; gap: 1.5rem; }

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(200,153,58,0.3);
  line-height: 1;
  min-width: 2rem;
}

.why-text h4 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.why-text p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  font-weight: 300;
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(200,153,58,0.15);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(200,153,58,0.15);
}

.why-stat {
  background: rgba(255,255,255,0.03);
  padding: 2rem 1.5rem;
  text-align: center;
}

.why-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.why-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  font-weight: 300;
}

/* ── CONTACT ── */
.contact { background: var(--light); }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-pale);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 0.95rem;
  color: var(--dark);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.contact-detail-text a:hover { color: var(--gold); }

/* ── FORM ── */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem;
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-weight: 300;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--mid);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid rgba(107,94,78,0.2);
  border-radius: 5px;
  padding: 0.75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--light);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,153,58,0.1);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.6; }

.form-group select { cursor: pointer; }

.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}

.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.form-submit:active { transform: translateY(0); }
.form-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--dark);
}

.form-success-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.form-success p { font-size: 0.875rem; color: var(--text-muted); }

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
  font-weight: 300;
}

/* ── FOOTER ── */
footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(200,153,58,0.1);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.footer-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

.footer-text a { color: rgba(200,153,58,0.6); text-decoration: none; }

/* ── DIVIDER ── */
.gold-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1rem 0 1.5rem;
}

/* ── PAGE HEADER (for sub-pages like blog/tools) ── */
.page-header {
  padding: 8rem 2rem 3rem;
  background: var(--dark);
  text-align: center;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
}

.page-header p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  font-weight: 300;
  margin-top: 0.75rem;
}

/* ── BLOG ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(200,153,58,0.1);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--gold-pale);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.blog-card-title:hover { color: var(--gold); }

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.blog-card-meta {
  font-size: 0.75rem;
  color: var(--gold);
  margin-top: 1rem;
  font-weight: 500;
}

/* ── SINGLE BLOG POST ── */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.blog-post-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin: 2rem 0;
}

.blog-post h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.blog-post-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.blog-post-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}

.blog-post-content h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin: 2rem 0 1rem; color: var(--dark); }
.blog-post-content h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; margin: 1.5rem 0 0.75rem; color: var(--dark); }
.blog-post-content p { margin-bottom: 1.25rem; }
.blog-post-content img { max-width: 100%; border-radius: 8px; margin: 1.5rem 0; }
.blog-post-content ul, .blog-post-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.blog-post-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--gold-pale);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--mid);
}
.blog-post-content a { color: var(--gold); }

.blog-back {
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.blog-back:hover { color: var(--gold); }

/* ── TOOLS LISTING ── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(200,153,58,0.1);
}

.tool-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tool-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.tool-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.empty-state-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--dark); margin-bottom: 0.5rem; }
.empty-state p { font-size: 0.9rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 6rem; }
  .hero-card { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-stats { margin-top: 2rem; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  section { padding: 3rem 1.5rem; }
  .page-header { padding: 6rem 1.5rem 2rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
}