/* =============================================================
   CRK Wilanowska — Global Styles
   ============================================================= */

/* --- Reset & Root --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #2f4a3c;
  --green-mid:   #3d5e4d;
  --green-light: #e8efe9;
  --gold:        #b89a5a;
  --gold-dark:   #a68843;
  --text:        #1a1a1a;
  --text-muted:  #5a5a5a;
  --text-light:  #888;
  --bg:          #fff;
  --bg-gray:     #f6f6f4;
  --border:      #e0e0da;
  --radius:      6px;
  --font:        'Lato', sans-serif;
  --font-serif:  'Playfair Display', serif;
  --shadow-card: 0 4px 20px rgba(47,74,60,.12);
  --shadow-sm:   0 2px 10px rgba(47,74,60,.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-mid); }

/* --- Layout --- */
.page-wrap   { max-width: 1415px; margin: 0 auto; overflow: hidden; }
.container   { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.section     { padding: 72px 40px; }
.section-sm  { padding: 48px 40px; }
.section-green  { background: var(--green); color: #fff; }
.section-gray   { background: var(--bg-gray); }

/* --- Typography utilities --- */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-label--light { color: rgba(184,154,90,.8); }
.section-heading {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 16px;
}
.section-heading--light { color: #fff; }
.section-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 640px;
}
.section-lead--light { color: rgba(255,255,255,.85); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  text-decoration: none;
  border: 1.5px solid transparent;
}
.btn-lg  { padding: 14px 32px; font-size: 15px; }
.btn-sm  { padding: 7px 14px;  font-size: 13px; }
.btn-md  { padding: 11px 24px; font-size: 14px; }

.btn-primary  { background: var(--green);  color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-mid); border-color: var(--green-mid); color: #fff; }
.btn-outline  { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-gold     { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }

/* --- Tag & Badge --- */
.tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: .3px;
}

/* --- Card with icon --- */
.icon-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  transition: border-color .2s, box-shadow .2s;
}
.icon-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-card);
}
.icon-card__icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--green);
  flex-shrink: 0;
}
.icon-card__icon svg { width: 22px; height: 22px; stroke: var(--green); }
.icon-card__title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.icon-card__desc  { font-size: 13px; line-height: 1.6; color: var(--text-muted); }

/* --- Separator --- */
.section-divider { width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin: 12px 0 20px; }

/* --- Breadcrumb --- */
.breadcrumb {
  background: var(--bg-gray);
  padding: 12px 40px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: underline; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb__sep { margin: 0 6px; opacity: .5; }

/* --- Navigation --- */
.crk-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1415px;
  margin: 0 auto;
}
.crk-nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.crk-nav__logo-mark {
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 13px; letter-spacing: .5px;
}
.crk-nav__logo-text { font-size: 15px; font-weight: 700; color: var(--green); letter-spacing: .3px; }
.crk-nav__links { display: flex; align-items: center; gap: 32px; }
.crk-nav__links a { font-size: 14px; font-weight: 400; color: var(--text); text-decoration: none; transition: color .2s; }
.crk-nav__links a:hover { color: var(--green); }
.crk-nav__cta { display: flex; align-items: center; gap: 12px; }
.crk-nav__phone { font-size: 14px; font-weight: 700; color: var(--green); }

/* --- Footer --- */
.crk-footer {
  background: var(--green);
  color: rgba(255,255,255,.8);
  padding: 56px 40px 32px;
}
.crk-footer__grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.crk-footer__brand-name { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.crk-footer__brand-desc { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.crk-footer__col-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.crk-footer__links { list-style: none; }
.crk-footer__links li { margin-bottom: 8px; }
.crk-footer__links a { font-size: 13px; color: rgba(255,255,255,.7); text-decoration: none; }
.crk-footer__links a:hover { color: #fff; }
.crk-footer__contact-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px; font-size: 13px; }
.crk-footer__contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.crk-footer__bottom { max-width: 1160px; margin: 24px auto 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.crk-footer__bottom-links { display: flex; gap: 20px; }
.crk-footer__bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.crk-footer__bottom a:hover { color: rgba(255,255,255,.8); }

/* --- Accordion FAQ --- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-align: left;
}
.faq-toggle:hover { color: var(--green); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  transition: background .2s;
}
.faq-item.open .faq-icon { background: var(--green); color: #fff; }
.faq-answer {
  display: none;
  padding: 0 36px 20px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}
.faq-item.open .faq-answer { display: block; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .section { padding: 56px 24px; }
  .section-sm { padding: 40px 24px; }
  .container { padding: 0 24px; }
  .crk-nav { padding: 0 24px; }
  .crk-nav__links { display: none; }
  .crk-footer__grid { grid-template-columns: 1fr 1fr; }
  .breadcrumb { padding: 12px 24px; }
}

@media (max-width: 768px) {
  .section-heading { font-size: 26px; }
  .section { padding: 40px 16px; }
  .section-sm { padding: 32px 16px; }
  .container { padding: 0 16px; }
  .crk-footer__grid { grid-template-columns: 1fr; }
  .crk-footer { padding: 40px 16px 24px; }
}
