/* === TOKENS === */
:root {
  --orange: #E8600A;
  --orange-dark: #c44f08;
  --navy: #1B2A4A;
  --navy-light: #2a3f6f;
  --white: #ffffff;
  --grey-light: #f5f6f8;
  --grey-mid: #e2e4e9;
  --text: #1B2A4A;
  --text-muted: #5a6a82;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(27,42,74,0.08);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* === LAYOUT === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-title { font-size: 2rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 48px; }

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--navy); }
.btn--nav { background: var(--orange); color: var(--white); padding: 8px 20px; font-size: 0.9rem; }
.btn--nav:hover { background: var(--orange-dark); }
.btn--mobile { display: block; text-align: center; margin-top: 8px; background: var(--orange); color: var(--white); }
.btn--lg { padding: 16px 40px; font-size: 1.05rem; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-mid);
  box-shadow: 0 1px 8px rgba(27,42,74,0.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__logo { height: 44px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-weight: 600; font-size: 0.95rem; color: var(--navy); transition: color 0.2s; }
.nav__links a:hover { color: var(--orange); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }
.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 16px 24px 20px; border-top: 1px solid var(--grey-mid); }
.nav__mobile a { font-weight: 600; font-size: 1rem; padding: 8px 0; color: var(--navy); }
.nav__mobile.open { display: flex; }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 96px 0 80px;
  text-align: center;
}
.hero__badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__free { margin-top: 14px; font-size: 0.85rem; color: rgba(255,255,255,0.55); letter-spacing: 0.03em; }

/* === SERVICES === */
.services { padding: 88px 0; background: var(--grey-light); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.service-card {
  grid-column: span 2;
}
.service-card:nth-child(4) { grid-column: 2 / span 2; }
.service-card:nth-child(5) { grid-column: 4 / span 2; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(27,42,74,0.13); }
.service-card__icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }


/* === ABOUT === */
.about { padding: 88px 0; background: var(--white); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__text .section-title { margin-bottom: 20px; }
.about__text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1rem; }
.about__text strong { color: var(--navy); }
.about__stats { display: flex; gap: 32px; margin-top: 36px; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-size: 2rem; font-weight: 800; color: var(--orange); line-height: 1; }
.stat__label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.about__logo img { border-radius: var(--radius); max-width: 380px; margin: 0 auto; }

/* === REVIEWS === */
.reviews { padding: 88px 0; background: var(--grey-light); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-card__stars { color: var(--orange); font-size: 1.1rem; letter-spacing: 2px; }
.review-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; flex: 1; }
.review-card__author { font-weight: 700; font-size: 0.9rem; color: var(--navy); }

/* === GALLERY / CAROUSEL === */
.gallery { padding: 88px 0 72px; background: var(--white); }
.gallery .section-title { color: var(--navy); }
.gallery .section-sub { color: var(--text-muted); margin-bottom: 40px; }
.gallery .container { text-align: center; }

.carousel { position: relative; user-select: none; }

.carousel__track-wrap { overflow: hidden; }

.carousel__track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 76%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  opacity: 0.4;
  transform: scale(0.94);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.carousel__slide--active { opacity: 1; transform: scale(1); }

.carousel__slide img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  display: block;
}

@media (min-width: 769px) {
  .carousel__slide img.img--lower    { object-position: center 65%; }
  .carousel__slide img.img--lower-2  { object-position: center 80%; }
  .carousel__slide img.img--higher   { object-position: center 45%; }
}


.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: background 0.2s, transform 0.15s;
}
.carousel__btn:hover { background: var(--orange-dark); transform: translateY(-50%) scale(1.08); }
.carousel__btn--prev { left: 16px; }
.carousel__btn--next { right: 16px; }


/* === CTA BANNER === */
.cta-banner {
  background: var(--orange);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.cta-banner p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 32px; }
.cta-banner__free { font-size: 0.85rem; opacity: 0.7; margin-top: 14px; margin-bottom: 0; letter-spacing: 0.03em; }
.cta-banner .btn--primary {
  background: var(--white);
  color: var(--orange);
}
.cta-banner .btn--primary:hover {
  background: var(--grey-light);
}

/* === CONTACT === */
.contact { padding: 88px 0; background: var(--white); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__info .section-title { margin-bottom: 28px; }
.contact__detail { margin-bottom: 20px; display: flex; flex-direction: column; gap: 4px; }
.contact__detail strong { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange); }
.contact__detail span, .contact__detail a { font-size: 1rem; color: var(--navy); }
.contact__detail a:hover { color: var(--orange); }
.contact__hours { margin-top: 8px; }
.contact__hours strong { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange); display: block; margin-bottom: 12px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--grey-mid); color: var(--navy); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr.closed td { color: var(--text-muted); }
.contact__map { border-radius: var(--radius); overflow: hidden; height: 420px; box-shadow: var(--shadow); }
.contact__map iframe { width: 100%; height: 100%; }

/* === FOOTER === */
.footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 48px 0 32px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer__brand { font-size: 1.6rem; font-weight: 800; color: var(--white); letter-spacing: -0.01em; }
.footer__brand span { color: var(--orange); }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: rgba(255,255,255,0.65); transition: color 0.2s, transform 0.2s; display: flex; align-items: center; }
.footer__links a:hover { color: var(--orange); transform: translateY(-2px); }
.footer__legal { font-size: 0.78rem; max-width: 640px; opacity: 0.6; line-height: 1.5; }
.footer__copy { font-size: 0.82rem; opacity: 0.5; }

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero { padding: 64px 0 56px; }

  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__logo { display: none; }
  .about__stats { gap: 24px; }

  .services__grid { grid-template-columns: 1fr; }
  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) { grid-column: span 1; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__map { height: 300px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .carousel__slide { flex: 0 0 85%; }
  .carousel__slide img { height: 260px; }
  .carousel__btn { width: 40px; height: 40px; font-size: 1.6rem; }
  .carousel__btn--prev { left: 8px; }
  .carousel__btn--next { right: 8px; }
  .section-title { font-size: 1.6rem; }
}

/* === CHAT WIDGET === */
.chat-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 200;
  box-shadow: 0 4px 16px rgba(232,96,10,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-bubble:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(232,96,10,0.55); }

.chat-window {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 340px;
  max-height: 480px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(27,42,74,0.18);
  display: flex;
  flex-direction: column;
  z-index: 199;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.chat-window.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }

.chat-header {
  background: var(--navy);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header__info { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; font-size: 0.95rem; }
.chat-header__dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; }
.chat-header__close { background: none; border: none; cursor: pointer; padding: 4px; line-height: 0; opacity: 0.7; transition: opacity 0.2s; }
.chat-header__close:hover { opacity: 1; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  word-break: break-word;
}
.chat-msg--bot { background: var(--grey-light); color: var(--navy); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg--user { background: var(--orange); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg--typing { opacity: 0.6; font-style: italic; }
.chat-book-btn {
  display: inline-block;
  margin-top: 10px;
  background: var(--orange);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s;
}
.chat-book-btn:hover { background: var(--orange-dark); }

.chat-input-row {
  display: flex;
  border-top: 1px solid var(--grey-mid);
  padding: 10px 12px;
  gap: 8px;
  align-items: center;
}
.chat-input-row textarea {
  flex: 1;
  border: 1px solid var(--grey-mid);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  color: var(--navy);
  resize: none;
  overflow-y: auto;
  max-height: 120px;
  line-height: 1.5;
}
.chat-input-row textarea:focus { border-color: var(--orange); }
.chat-input-row button {
  background: var(--orange);
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.chat-input-row button:hover { background: var(--orange-dark); }

@media (max-width: 480px) {
  .chat-window {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  .chat-input-row textarea {
    font-size: 16px;
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: center; }
  .about__stats { flex-wrap: wrap; }
}
