:root {
  --primary: #ff2d55;
  --primary-dark: #e01f46;
  --primary-soft: #ff5c78;
  --dark: #1a1c1e;
  --dark-2: #1f2327;
  --text: #1a1c1e;
  --muted: #6b7280;
  --body: #5f656d;
  --light: #f6f7f9;
  --border: #eceef2;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(26, 28, 30, 0.08);
  --radius: 4px;
  --container: 1200px;
  --header-h: 92px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.25s ease;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 80px 0;
}

.section-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
}

.section-kicker {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.muted {
  color: var(--body);
}

.center {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 28px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  cursor: pointer;
  transition: 0.25s ease;
}

.btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.btn-dark {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Topbar */
.topbar {
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 16px;
}

.topbar-left {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.topbar-left span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d7dbe0;
}

.topbar-left i {
  color: var(--primary);
}

.btn-top {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 14px 22px;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
}

.btn-top:hover {
  background: var(--primary-dark);
}

/* Header */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.05);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.4px;
}

.logo-text span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
}

.nav > ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav > ul > li {
  position: relative;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
  z-index: 20;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
}

.dropdown a:hover {
  background: #fff1f4;
}

.header-social {
  display: flex;
  gap: 8px;
}

.social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.social-circle:hover {
  background: var(--dark);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  font-size: 18px;
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background: var(--dark) center / cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 18, 22, 0.78), rgba(15, 18, 22, 0.72));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 70px 16px;
}

.page-hero h1 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 14px;
  color: #d7dbe0;
}

.breadcrumb a {
  color: var(--white);
}

.breadcrumb a:hover,
.breadcrumb span {
  color: var(--primary);
}

/* Home hero */
.home-hero {
  position: relative;
  min-height: 640px;
  background: var(--dark) center / cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 22, 26, 0.28) 0%, rgba(20, 22, 26, 0.08) 55%, rgba(20, 22, 26, 0.18) 100%);
}

.hero-blob {
  position: absolute;
  left: -140px;
  top: 50%;
  transform: translateY(-54%);
  width: 720px;
  height: 720px;
  background: rgba(255, 45, 85, 0.92);
  border-radius: 50%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  color: var(--white);
  padding: 90px 0 160px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 16px;
  max-width: 460px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.92);
}

/* Feature cards */
.feature-overlap {
  position: relative;
  z-index: 3;
  margin-top: -90px;
  margin-bottom: 30px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--dark);
  color: var(--white);
  padding: 36px 30px 32px;
  position: relative;
  overflow: hidden;
  min-height: 230px;
}

.feature-card i {
  color: var(--primary);
  font-size: 34px;
  margin-bottom: 16px;
  display: block;
}

.feature-card .num {
  position: absolute;
  right: 22px;
  top: 18px;
  font-size: 42px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.feature-card p {
  color: #c5c9ce;
  font-size: 14px;
}

/* About split */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.about-photos {
  position: relative;
  min-height: 520px;
}

.about-frame {
  position: absolute;
  left: 0;
  top: 0;
  width: 72%;
  height: 78%;
  border: 6px solid var(--primary);
  transform: translate(-18px, -18px);
  z-index: 0;
}

.about-photos .main-img {
  position: relative;
  z-index: 1;
  width: 78%;
  height: 470px;
  object-fit: cover;
}

.about-photos .inset-img {
  position: absolute;
  right: 0;
  bottom: 20px;
  width: 46%;
  height: 230px;
  object-fit: cover;
  z-index: 2;
  box-shadow: var(--shadow);
  border: 8px solid var(--white);
}

.check-list {
  margin: 22px 0 28px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: var(--body);
}

.check-list i {
  color: var(--primary);
  margin-top: 5px;
}

/* Newsletter */
.newsletter {
  background: var(--primary);
  color: var(--white);
  padding: 42px 0 52px;
}

.newsletter .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.newsletter h3 {
  font-size: 28px;
  font-weight: 700;
}

.newsletter-form {
  display: flex;
  background: var(--white);
  min-width: min(460px, 100%);
  border-radius: 2px;
  overflow: visible;
  position: relative;
}

.newsletter-form .form-group {
  margin: 0;
  flex: 1;
}

.newsletter-form .field-error {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 6px;
  color: #fff;
}

.newsletter-form input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 16px 18px;
  font-size: 15px;
}

.newsletter-form button {
  width: 58px;
  border: 0;
  background: var(--white);
  color: var(--primary);
  font-size: 18px;
  cursor: pointer;
}

.form-message {
  display: none;
  margin-top: 12px;
  font-weight: 600;
}

.form-message.show {
  display: block;
}

.form-message.success {
  color: #0f7b3b;
}

.newsletter .form-message.success {
  color: var(--white);
}

.field-error {
  color: var(--primary);
  font-size: 12px;
  margin-top: 6px;
  display: none;
}

.field-error.show {
  display: block;
}

input.error,
textarea.error {
  border-color: var(--primary) !important;
}

/* Services */
.service-head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  border: 1px solid var(--border);
  padding: 32px 28px 28px;
  background: var(--white);
  transition: 0.25s ease;
  min-height: 280px;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
  transform: translateY(-4px);
}

.service-card i {
  color: var(--primary);
  font-size: 36px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--body);
  font-size: 14px;
  margin-bottom: 18px;
}

.more-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.more-link:hover {
  gap: 10px;
}

.arrow-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  color: var(--dark);
  font-size: 13px;
}

.service-card:hover .arrow-btn {
  background: var(--primary);
  color: var(--white);
}

/* Gallery row */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.gallery-row img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* Stats */
.stats {
  background: var(--primary);
  color: var(--white);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08), transparent 35%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08), transparent 35%);
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 8px;
}

.stat-item strong {
  display: block;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
}

.stat-item span {
  font-size: 15px;
  opacity: 0.95;
}

/* Team */
.team-wrap {
  position: relative;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  text-align: center;
}

.team-photo {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}

.team-photo img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.plus {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.team-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.team-card span {
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.slider-btn {
  position: absolute;
  top: 42%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--dark);
  color: var(--white);
  cursor: pointer;
  z-index: 2;
}

.slider-btn.prev {
  left: -24px;
}

.slider-btn.next {
  right: -24px;
}

.slider-btn:hover {
  background: var(--primary);
}

/* Testimonials */
.testimonials {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials .section-title {
  color: var(--white);
}

.testimonial-stage {
  position: relative;
  min-height: 420px;
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
}

.testimonial-quote {
  font-size: 20px;
  line-height: 1.8;
  color: #dfe3e8;
  margin: 24px 0 18px;
}

.testimonial-quote::before {
  content: "“";
  color: var(--primary);
  font-size: 42px;
  display: block;
  line-height: 1;
}

.client-name {
  font-weight: 700;
}

.client-role {
  color: var(--primary);
  font-size: 14px;
}

.avatar-ring img,
.main-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  margin: 0 auto;
}

.float-avatar {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 45, 85, 0.7);
}

.float-avatar:nth-of-type(1) {
  left: 4%;
  top: 18%;
}

.float-avatar:nth-of-type(2) {
  right: 8%;
  top: 12%;
}

.float-avatar:nth-of-type(3) {
  left: 10%;
  bottom: 16%;
}

.float-avatar:nth-of-type(4) {
  right: 6%;
  bottom: 20%;
}

.testimonial-nav {
  display: flex;
  justify-content: space-between;
  position: absolute;
  inset: 40% 0 auto;
}

.testimonial-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.testimonial-nav button:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* CTA */
.cta-banner {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background: var(--dark) center / cover no-repeat;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 22, 0.62);
}

.cta-banner .content {
  position: relative;
  z-index: 1;
  padding: 70px 16px;
}

.cta-banner h2 {
  font-size: 40px;
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.3;
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-card {
  background: var(--white);
}

.news-body {
  padding: 22px 8px 0;
}

.news-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  margin-top: -34px;
  position: relative;
}

.news-body h3 {
  font-size: 20px;
  margin: 12px 0 8px;
  line-height: 1.4;
}

.news-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: #c8ced6;
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--primary);
}

.footer p {
  font-size: 14px;
  margin: 16px 0 20px;
  color: #b7bec6;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
}

.footer-social a.fb {
  background: #3b5998;
}

.footer-social a.tw {
  background: var(--primary);
}

.footer-social a.ig {
  background: #4fc3f7;
}

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.footer-gallery img {
  width: 100%;
  height: 72px;
  object-fit: cover;
}

.footer-bottom {
  background: var(--primary);
  color: var(--white);
}

.footer-bottom .container {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.copy-box {
  background: var(--dark);
  color: var(--white);
  padding: 12px 18px;
  font-size: 13px;
  border-radius: 4px;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  background: var(--dark);
  color: var(--white);
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  z-index: 50;
}

.back-top:hover {
  background: var(--primary);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 42px 32px 36px;
  text-align: center;
  border: 1px solid #f1f2f4;
}

.price-card.featured {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-12px);
}

.price-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.price-card .price {
  font-size: 52px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.price-card.featured .price,
.price-card.featured h3,
.price-card.featured p {
  color: var(--white);
}

.price-card .period {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}

.price-card.featured .period {
  color: rgba(255, 255, 255, 0.85);
}

.price-card ul {
  margin: 0 0 28px;
  text-align: left;
}

.price-card li {
  padding: 10px 0;
  border-bottom: 1px dashed #ececec;
  color: var(--body);
  font-size: 14px;
}

.price-card.featured li {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-item {
  background: var(--white);
  box-shadow: 0 8px 30px rgba(26, 28, 30, 0.06);
  border-radius: 8px;
  padding: 18px 20px;
}

.faq-q {
  width: 100%;
  background: none;
  border: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--dark);
}

.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.faq-a {
  display: none;
  color: var(--body);
  font-size: 14px;
  padding-top: 12px;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-item.open .faq-icon {
  background: var(--primary-dark);
}

/* Contact */
.info-bar {
  background: var(--dark-2);
  color: var(--white);
  padding: 42px 0;
  margin-top: -1px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-item i {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.info-item h4 {
  margin-bottom: 6px;
}

.info-item p,
.info-item a {
  color: #cfd4da;
  font-size: 14px;
}

.quote-form {
  max-width: 860px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid #d9dee5;
  background: #f7f8fa;
  padding: 14px 16px;
  outline: none;
  font-size: 15px;
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.newsletter-form .form-group input {
  border: 0;
  background: var(--white);
  padding: 16px 18px;
}

.form-error {
  color: var(--primary);
  font-size: 13px;
  display: none;
  margin-top: 6px;
}

.form-error.show {
  display: block;
}

.success-box {
  display: none;
  background: #f0fff6;
  border: 1px solid #b7ebc9;
  color: #146c2e;
  padding: 18px 20px;
  font-weight: 600;
  margin-top: 16px;
}

.success-box.show {
  display: block;
}

.form-center {
  text-align: center;
}

/* Service details */
.details-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
}

.side-menu a {
  display: block;
  padding: 14px 18px;
  background: var(--light);
  margin-bottom: 8px;
  font-weight: 500;
  border: 1px solid var(--border);
}

.side-menu a.active,
.side-menu a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.brochure {
  background: var(--primary);
  color: var(--white);
  padding: 28px 22px;
  margin-top: 24px;
}

.brochure h3 {
  margin-bottom: 10px;
}

.brochure p {
  font-size: 14px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.brochure .btn-dark {
  width: 100%;
  margin-bottom: 10px;
}

.details-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  margin-bottom: 28px;
}

.details-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
}

.details-split img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.legal {
  max-width: 900px;
  margin: 0 auto;
}

.legal h2 {
  font-size: 24px;
  margin: 28px 0 12px;
}

.legal h3 {
  font-size: 18px;
  margin: 22px 0 10px;
}

.legal p,
.legal li {
  color: var(--body);
  margin-bottom: 12px;
}

.legal ul,
.legal ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal li {
  list-style: disc;
}

.legal ol li {
  list-style: decimal;
}

.narrow-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 40px 36px;
}

.content-rich p {
  margin-bottom: 16px;
  color: var(--body);
}

.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* Mobile */
@media (max-width: 1100px) {
  .hero-content h1 {
    font-size: 42px;
  }

  .footer-grid,
  .service-grid,
  .news-grid,
  .team-grid,
  .pricing-grid,
  .stats-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .details-layout,
  .about-split,
  .service-head,
  .faq-grid,
  .form-row,
  .two-col-text,
  .details-split {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }

  .float-avatar {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .header-social {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 12px 0 18px;
  }

  .nav.open {
    display: block;
  }

  .nav > ul {
    flex-direction: column;
    align-items: stretch;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    padding-left: 16px;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .home-hero {
    min-height: 520px;
  }

  .hero-blob {
    width: 520px;
    height: 520px;
    left: -180px;
  }

  .hero-content {
    padding: 70px 0 130px;
  }

  .hero-content h1,
  .page-hero h1,
  .section-title,
  .cta-banner h2 {
    font-size: 32px;
  }

  .newsletter .container,
  .topbar .container,
  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-top {
    width: 100%;
    justify-content: center;
  }

  .feature-grid,
  .service-grid,
  .news-grid,
  .team-grid,
  .pricing-grid,
  .stats-grid,
  .gallery-row,
  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-row img,
  .team-photo img {
    height: 280px;
  }

  .about-photos {
    min-height: 420px;
  }

  .about-photos .main-img {
    width: 88%;
    height: 360px;
  }

  .price-card.featured {
    transform: none;
  }

  .header-inner {
    position: relative;
  }
}
