﻿:root {
  --bg: #f4f7f7;
  --surface: #ffffff;
  --text: #173336;
  --muted: #4f6668;
  --primary: #0f8b8d;
  --accent: #ff7a59;
  --line: #d7e3e3;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, #d9efeb 0%, transparent 42%),
    linear-gradient(180deg, #eef6f5 0%, #e7f1ef 100%);
  line-height: 1.6;
}

.container { width: min(1120px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(247, 251, 251, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-wrap { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--text);
  font-size: 1.25rem;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.12;
}
.brand-title {
  color: var(--text);
  text-decoration: none;
}
.brand-title:hover { color: var(--primary); }
.brand small {
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.brand-phone {
  color: var(--primary);
  text-decoration: none;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15, 139, 141, 0.25);
  background: rgba(15, 139, 141, 0.08);
  animation: phonePulse 1.8s ease-in-out infinite;
}
.brand-phone:hover { text-decoration: underline; }

@keyframes phonePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.nav-links { display: flex; gap: 18px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 20px;
  transition: transform .25s ease, box-shadow .25s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(15, 139, 141, .2); }
.btn-sm { padding: 10px 16px; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); box-shadow: none; }

.hero-phone {
  color: #0b5f61;
  border-color: rgba(11, 95, 97, 0.28);
  background: rgba(11, 95, 97, 0.06);
  animation: softBlink 1.7s ease-in-out infinite;
}
.hero-phone:hover { color: #083f40; border-color: rgba(11, 95, 97, 0.5); }

.hero-plan { animation: softBlink 1.7s ease-in-out infinite; }

@keyframes softBlink {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.62; transform: translateY(-1px); }
}

.menu-btn { display: none; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 8px 10px; }

.hero { padding: 88px 0 48px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 34px;
  align-items: center;
}
.eyebrow { color: var(--primary); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: .98rem; }
h1 { font-family: "Sora", sans-serif; font-size: clamp(2rem, 4.8vw, 3.4rem); line-height: 1.13; margin: 8px 0 14px; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }
.hero-actions { display: flex; gap: 12px; margin: 26px 0 18px; flex-wrap: wrap; }
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}
.hero-highlights article {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.hero-highlights strong { font-size: 1.05rem; color: var(--text); }
.hero-highlights span { color: var(--muted); font-size: .9rem; }

.hero-card {
  background: linear-gradient(140deg, #0f8b8d, #16697a);
  border-radius: var(--radius);
  padding: 30px;
  color: #fff;
  box-shadow: 0 24px 46px rgba(22, 105, 122, .25);
}
.hero-card .btn { background: var(--accent); margin-top: 8px; }
.hero-card .mini-title { opacity: .88; margin-bottom: 2px; }

.features { padding: 24px 0 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }

section { padding: 54px 0; }
h2 { font-family: "Sora", sans-serif; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 24px; }
.section-lead { color: var(--muted); margin-top: -8px; margin-bottom: 18px; max-width: 85ch; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  transition: transform .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--primary); }

.seo-pages { padding-top: 10px; }
.seo-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.seo-page-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.seo-page-tag {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}
.seo-page-card h3 { margin: 0 0 10px; }
.seo-page-card p { color: var(--muted); margin: 0 0 14px; }
.seo-page-card a { color: var(--primary); text-decoration: none; font-weight: 800; }
.seo-page-card a:hover { text-decoration: underline; }

.service-page { padding-bottom: 36px; }
.page-hero { padding: 78px 0 26px; }
.page-content { padding-top: 14px; }
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
  gap: 22px;
  align-items: start;
}
.page-main,
.page-side-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}
.page-main h2 { margin-top: 0; }
.page-main p { color: var(--muted); }
.page-list { margin: 0; padding-left: 18px; color: var(--muted); }
.page-side-card p { margin: 0 0 10px; color: var(--text); }
.page-side-card a:not(.btn) { color: var(--primary); text-decoration: none; font-weight: 800; }
.page-side-card a:not(.btn):hover { text-decoration: underline; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-grid article { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }

.testimonials { background: #eaf4f4; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
blockquote {
  margin: 0;
  background: #fff;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 18px;
  font-weight: 600;
}
.rating {
  display: block;
  color: #e4a400;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; }

.accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.conditions details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  align-self: start;
}
.conditions summary { cursor: pointer; font-weight: 800; }
.conditions p { color: var(--muted); margin: 10px 0 10px; }
.conditions ul { margin: 0; padding-left: 18px; color: var(--text); }
.conditions li { color: var(--muted); }

.location p { color: var(--muted); margin-top: -8px; margin-bottom: 18px; }
.contact-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.contact-card p { margin: 0 0 8px; color: var(--text); }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card a { color: var(--primary); text-decoration: none; font-weight: 800; }
.contact-card a:hover { text-decoration: underline; }
.map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 51, 54, 0.08);
}
.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}
.map-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}
.map-link:hover { text-decoration: underline; }

.cta-wrap {
  background: linear-gradient(130deg, #173336, #0f8b8d);
  border-radius: var(--radius);
  padding: 32px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}
.cta-wrap .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.cta-wrap .btn-ghost:hover { border-color: #fff; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { padding: 28px 0 34px; border-top: 1px solid var(--line); }
.footer-wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

.bot-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  border: 1px solid rgba(0,0,0,0.08);
  background: linear-gradient(130deg, var(--primary), #16697a);
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 16px;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(22, 105, 122, .25);
}
.bot-fab:hover { transform: translateY(-2px); }

.bot-panel {
  position: fixed;
  right: 18px;
  bottom: 74px;
  width: min(380px, calc(100vw - 36px));
  height: min(520px, calc(100vh - 120px));
  z-index: 70;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: none;
  box-shadow: 0 26px 70px rgba(23, 51, 54, 0.18);
}
.bot-panel.open { display: block; }
.bot-head {
  background: linear-gradient(130deg, #173336, #0f8b8d);
  color: #fff;
  padding: 14px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.bot-title { font-weight: 800; }
.bot-sub { font-size: .78rem; opacity: .9; }
.bot-close {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.bot-body { display: flex; flex-direction: column; height: calc(100% - 62px); }
.bot-messages {
  padding: 14px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    radial-gradient(circle at 10% 0%, rgba(15, 139, 141, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f6fbfb 100%);
}
.bot-msg {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 650;
}
.bot-msg.bot { border-left: 4px solid var(--primary); }
.bot-msg.user { margin-left: auto; background: #f2fbfa; border-color: #cfe9e6; }
.bot-quick {
  padding: 0 14px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bot-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 750;
  font-size: .9rem;
}
.bot-chip:hover { border-color: var(--primary); color: var(--primary); }
.bot-form {
  display: flex;
  gap: 8px;
  padding: 10px 14px 14px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.bot-input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  font-weight: 650;
}
.bot-input:focus { border-color: rgba(15, 139, 141, 0.55); box-shadow: 0 0 0 4px rgba(15, 139, 141, 0.12); }
.bot-send {
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  padding: 10px 12px;
  cursor: pointer;
}
.bot-footnote {
  padding: 0 14px 12px;
  color: var(--muted);
  font-size: .78rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-grid,
  .service-grid,
  .team-grid,
  .quote-grid,
  .seo-page-grid { grid-template-columns: 1fr 1fr; }
  .page-grid { grid-template-columns: 1fr; }
  .accordion-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .menu-btn { display: inline-block; margin-left: auto; }
}

@media (max-width: 720px) {
  .hero { padding-top: 60px; }
  .hero-grid,
  .feature-grid,
  .service-grid,
  .team-grid,
  .quote-grid,
  .seo-page-grid { grid-template-columns: 1fr; }
  .hero-highlights { grid-template-columns: 1fr; }
  .cta-wrap { flex-direction: column; align-items: flex-start; }
  .site-header .btn-sm { display: none; }
  .bot-panel { right: 10px; bottom: 68px; width: calc(100vw - 20px); }
  .bot-fab { right: 10px; bottom: 10px; }
  .brand small { align-items: flex-start; }
  .brand-phone { margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .bot-fab,
  .btn,
  .brand-phone,
  .hero-phone,
  .hero-plan { transition: none; animation: none; }
  .reveal { transition: none; }
}
