:root {
  --bg: #eef4f9;
  --bg-alt: #deedf7;
  --ink: #0b1c26;
  --muted: #3f5664;
  --accent: #1f7aa7;
  --accent-dark: #145a7d;
  --card: #ffffff;
  --line: #c3d6e4;
  --shadow: 0 18px 45px rgba(11, 28, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #f2f8ff 0%, #eef4f9 45%, #e6eef5 100%);
  line-height: 1.6;
}

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

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

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-logo {
  width: 260px;
  max-width: 80vw;
  height: auto;
  display: block;
}

.brand-name {
  font-family: "Prata", serif;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 420px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.phone {
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.hero {
  padding: 70px 0 90px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(31, 122, 167, 0.25), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-family: "Prata", serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 10px 0 16px;
}

.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 32px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  padding: 0;
  list-style: none;
  margin: 0;
}

.hero-stats li {
  background: var(--card);
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  min-width: 120px;
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card {
  background: linear-gradient(160deg, #e9f4fb, #fff);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.hero-card-inner {
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  border: 1px solid var(--line);
}

.hero-card h2 {
  font-family: "Prata", serif;
  font-size: 1.6rem;
  margin-top: 0;
}

.hero-card-badge {
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--accent-dark);
}

section {
  padding: 70px 0;
}

.section-head {
  margin-bottom: 36px;
  max-width: 620px;
}

.section-head h2 {
  font-family: "Prata", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 12px;
}

.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.about-visual {
  display: grid;
  gap: 18px;
}

.about-card {
  background: var(--bg-alt);
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.about-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.services {
  background: #f3f7fb;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.service-detail-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.detail-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
  align-items: stretch;
}

.service-detail-card {
  width: min(680px, 92vw);
  flex: 0 0 min(680px, 92vw);
  background: #fff;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 260px;
}

.service-detail-card h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.service-detail-card ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 2;
}

.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }

.cases {
  background: #fff;
}

.cases-slider {
  position: relative;
  overflow: hidden;
  padding: 12px 0 32px;
}

.cases-track {
  display: flex;
  transition: transform 0.4s ease;
}

.case-card {
  min-width: 100%;
  background: var(--bg-alt);
  border-radius: 20px;
  padding: 26px;
  border: 1px solid var(--line);
}

.case-card h3 {
  margin-top: 0;
}

.slider-btn {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  border: none;
  background: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(43, 141, 186, 0.2);
}

.dot.active {
  background: var(--accent);
}

.cta {
  background: linear-gradient(135deg, #d9ecf7, #f5fbff);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.form-section {
  background: #f3f7fb;
}

.form-intro {
  background: #fff;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.success {
  margin-top: 20px;
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.success-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 12px;
}

.site-footer {
  background: #1b1713;
  color: #f6efe8;
  padding: 40px 0 20px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.55);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  width: min(520px, 92vw);
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--muted);
}

.modal-head {
  margin-bottom: 18px;
}

.modal-counter {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 6px;
}

.modal-question {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
}

.modal-body input,
.modal-body select,
.modal-body textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  background: #fff;
}

.modal-body textarea {
  min-height: 120px;
  resize: vertical;
}

.modal-body .radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-body .option-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.modal-body .option-line input {
  margin: 0;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 20px;
}

.footer-grid a {
  color: #f6efe8;
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-size: 0.85rem;
}

.disclaimer {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 50px 0 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card {
    padding: 16px;
  }

  .form {
    padding: 20px;
  }
}
