/* ═══════════════════════════════════════════════════════
   TEMPLATE C — "Bold / Outdoor"
   Dark transparent header, angled hero, overlapping trust
   bar, zigzag services, testimonial carousel, pill buttons.
   ═══════════════════════════════════════════════════════ */

:root {
  --primary: #2d6a4f;
  --primary-dark: #1b4332;
  --accent: #d4a017;
  --accent-dark: #b8860b;
  --light: #f4f9f4;
  --dark: #1a2e1a;
  --text: #2d3436;
  --text-light: #5f6b6d;
  --radius: 50px;
  --radius-card: 16px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { line-height: 1.15; }
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.section-title--left { text-align: left; }
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* ─── BUTTONS (PILL SHAPE) ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--outline-bold {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn--outline-bold:hover { background: rgba(255,255,255,0.15); }
.btn--xl { padding: 18px 40px; font-size: 1rem; }
.btn--lg { padding: 16px 36px; }
.btn--full { width: 100%; }

/* ─── HEADER (TRANSPARENT → SOLID) ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
}
.header--transparent {
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header--solid {
  background: #fff;
  box-shadow: var(--shadow);
}
.header--solid .header__logo,
.header--solid .header__link { color: var(--text); }
.header--solid .header__phone { color: var(--primary); }
.header--solid .header__hamburger span { background: var(--text); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header__logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.header__nav { display: none; gap: 32px; }
.header__link {
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.header__link:hover { color: var(--accent); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}
.header__cta { padding: 10px 24px; font-size: 0.8rem; }

/* Hamburger */
.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  transition: all var(--transition);
  border-radius: 2px;
}
.header__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__hamburger.active span:nth-child(2) { opacity: 0; }
.header__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.header__nav.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: #fff;
  padding: 20px;
  gap: 0;
  box-shadow: var(--shadow-lg);
}
.header__nav.active .header__link {
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--light);
}

/* ─── HERO (ANGLED) ─── */
.hero {
  position: relative;
  padding: 160px 0 120px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #3a8d66 100%);
  color: #fff;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__inner { position: relative; max-width: 800px; margin: 0 auto; }
.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero__headline {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -1px;
}
.hero__sub {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

/* ─── TRUST BAR (OVERLAPPING CARD) ─── */
.trust-bar {
  margin-top: -60px;
  position: relative;
  z-index: 10;
  padding-bottom: 40px;
}
.trust-bar__card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 24px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.trust-badge:nth-child(odd) { border-right: 1px solid rgba(0,0,0,0.05); }
.trust-badge__icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 4px;
}
.trust-badge__value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
}
.trust-badge__label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ─── SERVICES (ZIGZAG) ─── */
.services {
  padding: 60px 0 80px;
  background: #fff;
}
.services__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 3rem;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--light);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all var(--transition);
}
.service-row:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.service-row__visual {
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  min-height: 120px;
}
.service-row__icon {
  width: 56px;
  height: 56px;
  color: #fff;
  opacity: 0.9;
}
.service-row__content {
  padding: 24px;
}
.service-row__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--primary);
}
.service-row__desc {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}
.services__cta { text-align: center; }

/* ─── ABOUT (COLORED BAND) ─── */
.about {
  padding: 80px 0;
  background: var(--primary);
  color: #fff;
}
.about__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px 24px;
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.about__image-col { text-align: center; }
.about__photo {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 0 auto 16px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--accent);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__placeholder { color: var(--primary); opacity: 0.3; }
.about__owner-name { font-weight: 800; font-size: 1.1rem; color: var(--primary); }
.about__owner-title { color: var(--text-light); font-size: 0.9rem; }
.about__text { color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.7; }
.about__highlights { list-style: none; margin-bottom: 2rem; }
.about__highlights li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-weight: 500;
}
.about__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

/* ─── TESTIMONIALS (CAROUSEL) ─── */
.testimonials { padding: 80px 0; background: var(--light); }
.carousel { margin-top: 2rem; overflow: hidden; position: relative; }
.carousel__track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel__slide {
  min-width: 100%;
  padding: 0 20px;
}
.carousel__card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 680px;
  margin: 0 auto;
}
.carousel__stars {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 16px;
  letter-spacing: 4px;
}
.carousel__text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}
.carousel__author {
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
}
.carousel__location {
  color: var(--text-light);
  font-size: 0.85rem;
}
.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.carousel__btn {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--primary);
}
.carousel__btn:hover { background: var(--primary); color: #fff; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.carousel__dot--active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

/* ─── CONTACT ─── */
.contact { padding: 80px 0; background: #fff; }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.contact__sub { color: var(--text-light); margin-bottom: 2rem; }
.contact__details { display: flex; flex-direction: column; gap: 16px; }
.contact__detail { display: flex; align-items: center; gap: 12px; }
.contact__detail svg { color: var(--primary); flex-shrink: 0; }
.contact__detail a { color: var(--primary); font-weight: 600; }

.contact__form-wrap {
  background: var(--light);
  border-radius: var(--radius-card);
  padding: 32px 24px;
}
.contact__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #dfe6e9;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }

.contact__success { text-align: center; padding: 40px 20px; }
.contact__success svg { color: #27ae60; margin-bottom: 16px; }
.contact__success h3 { font-size: 1.5rem; margin-bottom: 8px; color: var(--primary); }

/* ─── FOOTER ─── */
.footer { background: var(--dark); color: #fff; padding: 60px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer__brand h3 { font-size: 1.4rem; margin-bottom: 8px; font-weight: 800; }
.footer__brand p { opacity: 0.6; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  transition: all var(--transition);
}
.footer__social a:hover { background: var(--accent); }
.footer__col h4 {
  font-size: 0.8rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: var(--accent);
}
.footer__col a,
.footer__col p {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 8px;
  transition: color var(--transition);
  line-height: 1.5;
}
.footer__col a:hover { color: #fff; }
.footer__emergency { color: var(--accent) !important; font-weight: 700; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
}
.footer__bottom p { font-size: 0.8rem; opacity: 0.4; }

/* ─── MOBILE CALL BAR ─── */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 12px;
  background: #fff;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

/* ─── ANIMATIONS ─── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ═══ TABLET ═══ */
@media (min-width: 640px) {
  .hero__headline { font-size: 3.2rem; }
  .hero__ctas { flex-direction: row; justify-content: center; }

  .trust-bar__card { grid-template-columns: repeat(4, 1fr); }
  .trust-badge { border-bottom: none; }
  .trust-badge:nth-child(odd) { border-right: none; }
  .trust-badge:not(:last-child) { border-right: 1px solid rgba(0,0,0,0.05); }

  .service-row { grid-template-columns: 160px 1fr; }
  .service-row:nth-child(even) { direction: rtl; }
  .service-row:nth-child(even) > * { direction: ltr; }

  .contact__form { grid-template-columns: repeat(2, 1fr); }
  .form-group--full { grid-column: 1 / -1; }
}

/* ═══ DESKTOP ═══ */
@media (min-width: 1024px) {
  .header__nav { display: flex; }
  .header__phone { display: flex; }
  .header__hamburger { display: none; }

  .hero { padding: 180px 0 140px; }
  .hero__headline { font-size: 3.8rem; }

  .about__card { grid-template-columns: 280px 1fr; padding: 48px 40px; }

  .contact__inner { grid-template-columns: 1fr 1.2fr; }

  .footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

@media (max-width: 639px) {
  .mobile-call-bar { display: block; }
  .footer { padding-bottom: 70px; }
}
