/* ===== VerdeResidencia v2 — Static Site ===== */
/* Design: burgund (#6B0D25) + złoto (#F1C423) + biel */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.02em;
}

.display {
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9952E;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8e2d9;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #6B0D25;
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
}

.logo-text {
  font-weight: 600;
  font-size: 18px;
  color: #6B0D25;
}

.logo-text span {
  color: #C9952E;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: #6B0D25;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-gold {
  background: #C9952E;
  color: #1a1a1a;
}

.btn-gold:hover {
  background: #b8872a;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

.btn-primary {
  background: #6B0D25;
  color: #fff;
}

.btn-primary:hover {
  background: #5a0b1f;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 12px;
}

/* --- Mobile menu --- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #1a1a1a;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav-mobile { display: flex; }
  .mobile-toggle { display: block; }
  .nav-mobile {
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    border-top: 1px solid #e8e2d9;
    background: #fff;
  }
  .nav-mobile a {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #444;
  }
  .nav-mobile a:last-child { border-bottom: none; }
  .nav-mobile .btn { margin-top: 12px; text-align: center; justify-content: center; }
}

.hidden { display: none; }

/* --- Hero --- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 80vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107,13,37,0.9) 0%, rgba(107,13,37,0.6) 50%, rgba(107,13,37,0.2) 100%);
}

.hero-content {
  position: relative;
  max-width: 600px;
  animation: fadeUp 0.6s ease-out;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  color: #fff;
  margin-top: 20px;
  line-height: 1.1;
}

.hero-content h1 span {
  color: #C9952E;
}

.hero-content p {
  margin-top: 20px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

/* --- Stats --- */
.stats {
  border-bottom: 1px solid #e8e2d9;
  background: #fff;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
}

.stat-item .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #6B0D25;
}

.stat-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item .number { font-size: 2rem; }
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section-muted {
  background: #f8f6f3;
}

.section-dark {
  background: #6B0D25;
  color: #fff;
}

.section-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #6B0D25;
  margin-top: 16px;
}

.section-title span {
  color: #C9952E;
}

.section-desc {
  color: #777;
  margin-top: 8px;
}

/* --- About split --- */
.split-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
}

.split-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.split-content h2 {
  font-size: 2.5rem;
  color: #6B0D25;
  margin-top: 16px;
}

.split-content h2 span {
  color: #C9952E;
}

.split-content p {
  margin-top: 20px;
  color: #777;
  line-height: 1.7;
  max-width: 540px;
}

.split-content .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  font-weight: 700;
  font-size: 14px;
  color: #C9952E;
  transition: color 0.2s;
}

.split-content .link:hover {
  color: #b8872a;
}

@media (max-width: 768px) {
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-title { font-size: 2rem; }
  .split-content h2 { font-size: 2rem; }
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: #fff;
  border: 1px solid #e8e2d9;
  border-radius: 8px;
  padding: 32px;
  transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107,13,37,0.06);
  border-radius: 8px;
  font-size: 28px;
  color: #6B0D25;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #6B0D25;
  margin-top: 24px;
}

.service-card p {
  font-size: 14px;
  color: #888;
  margin-top: 12px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Values --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.value-card {
  background: #fff;
  border: 1px solid #e8e2d9;
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.value-card .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9952E;
}

.value-card h3 {
  font-size: 2.5rem;
  color: #6B0D25;
  margin-top: 12px;
}

.value-card p {
  font-size: 14px;
  color: #888;
  margin-top: 16px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* --- Testimonials --- */
.testimonials {
  background: #6B0D25;
  color: #fff;
  padding: 80px 0;
}

.testimonials .section-title {
  color: #fff;
}

.testimonial-box {
  max-width: 800px;
  margin: 48px auto 0;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 48px 64px;
  text-align: center;
}

.testimonial-box blockquote {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201,149,46,0.2);
  color: #C9952E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.testimonial-author .name {
  font-weight: 600;
  font-size: 14px;
}

.testimonial-author .role {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.testimonial-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.testimonial-dots button.active {
  width: 32px;
  border-radius: 4px;
  background: #C9952E;
}

@media (max-width: 768px) {
  .testimonial-box { padding: 32px 24px; }
  .testimonial-box blockquote { font-size: 1rem; }
}

/* --- CTA --- */
.cta {
  padding: 80px 0;
}

.cta-box {
  background: linear-gradient(135deg, #6B0D25 0%, #5a0b1f 100%);
  border-radius: 8px;
  padding: 64px 80px;
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 32px;
  align-items: center;
}

.cta-box .eyebrow {
  color: #C9952E;
}

.cta-box h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-top: 16px;
}

.cta-box p {
  color: rgba(255,255,255,0.55);
  margin-top: 16px;
  max-width: 480px;
}

.cta-box .cta-right {
  text-align: right;
}

@media (max-width: 768px) {
  .cta-box {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }
  .cta-box .cta-right { text-align: left; }
}

/* --- Footer --- */
.footer {
  background: #6B0D25;
  color: #fff;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 2fr;
  gap: 40px;
}

.footer-brand .logo-text {
  color: #fff;
  font-size: 22px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 360px;
  line-height: 1.6;
}

.footer h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #C9952E;
  margin-bottom: 20px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer ul li a:hover {
  color: #C9952E;
}

.footer ul li span {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 80px 0 0;
}

.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #6B0D25;
  margin-top: 16px;
}

.page-header h1 span {
  color: #C9952E;
}

.page-header p {
  margin-top: 24px;
  color: #777;
  max-width: 600px;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* --- Services Detail (uslugi page) --- */
.services-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-detail-card {
  background: #fff;
  border: 1px solid #e8e2d9;
  border-radius: 8px;
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow 0.3s;
}

.service-detail-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.service-detail-card .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107,13,37,0.06);
  border-radius: 8px;
  font-size: 24px;
  color: #6B0D25;
  flex-shrink: 0;
}

.service-detail-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #6B0D25;
}

.service-detail-card ul {
  margin-top: 16px;
}

.service-detail-card ul li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
  line-height: 1.5;
}

.service-detail-card ul li::before {
  content: "→";
  color: #C9952E;
  font-weight: 700;
}

@media (max-width: 768px) {
  .services-detail { grid-template-columns: 1fr; }
  .service-detail-card { flex-direction: column; }
}

/* --- Pricing (oferta page) --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  padding: 32px;
  border: 1px solid #e8e2d9;
  background: #fff;
}

.pricing-card.featured {
  border-color: #C9952E;
  background: #6B0D25;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.pricing-card .type {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #C9952E;
}

.pricing-card .name-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.pricing-card .name-row h2 {
  font-size: 2.5rem;
  font-weight: 400;
}

.pricing-card .badge {
  background: #C9952E;
  color: #1a1a1a;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
}

.pricing-card .price {
  margin-top: 24px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-card .price .amount {
  font-size: 1.75rem;
  font-weight: 300;
}

.pricing-card .price .unit {
  font-size: 12px;
  color: inherit;
  opacity: 0.6;
}

.pricing-card.featured .price .amount,
.pricing-card.featured .name-row h2 {
  color: #fff;
}

.pricing-card:not(.featured) .price .amount,
.pricing-card:not(.featured) .name-row h2 {
  color: #6B0D25;
}

.pricing-card ul {
  margin-top: 32px;
  flex: 1;
}

.pricing-card ul li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.pricing-card ul li::before {
  content: "✓";
  color: #C9952E;
  font-weight: 700;
}

.pricing-card.featured ul li {
  color: rgba(255,255,255,0.8);
}

.pricing-card:not(.featured) ul li {
  color: #888;
}

.pricing-card .btn {
  margin-top: 40px;
  justify-content: center;
}

.pricing-disclaimer {
  text-align: center;
  font-size: 12px;
  color: #aaa;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Contact (kontakt page) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-info-card {
  background: #fff;
  border: 1px solid #e8e2d9;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.contact-info-card h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #C9952E;
  margin-bottom: 20px;
}

.contact-info-card ul li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.contact-info-card ul li .icon {
  color: #C9952E;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.contact-info-secondary {
  margin-top: 24px;
  background: #fff;
  border: 1px solid #e8e2d9;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.contact-info-secondary h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #C9952E;
  margin-bottom: 16px;
}

.contact-info-secondary ul li {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
}

.contact-info-secondary ul li::before {
  content: "";
  width: 12px;
  height: 1px;
  background: #C9952E;
  margin-top: 10px;
  flex-shrink: 0;
}

/* --- Form --- */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #e8e2d9;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #6B0D25;
  box-shadow: 0 0 0 2px rgba(107,13,37,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group .error {
  font-size: 12px;
  color: #c0392b;
  margin-top: 6px;
}

.form-success {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 32px;
  background: #f8f6f3;
  border-radius: 8px;
  border: 1px solid #e8e2d9;
}

.form-success .icon {
  font-size: 48px;
  color: #6B0D25;
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 24px;
  color: #6B0D25;
}

.form-success p {
  color: #888;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
}

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
