:root {
  --ia-font: "Archivo", sans-serif;
  --ia-font-2: "Titillium Web", sans-serif;
  --ia-gray: #6e777d;
  --ia-white: #ffffff;
  --ia-base: #2ab97e;
  --ia-black: #171717;
  --ia-primary: #fedb5c;
  --ia-extra: #f4fbf9;
  --ia-bdr: #dddddd;
  --ia-dark: #111111;
  --ia-card: #f4fbf9;
  --container: 1320px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ia-font);
  font-size: 16px;
  line-height: 29px;
  font-weight: 400;
  color: var(--ia-gray);
  background: var(--ia-white);
}

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

a {
  color: var(--ia-base);
  text-decoration: none;
  transition: 0.4s;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ia-font-2);
  color: var(--ia-black);
  margin: 0;
  font-weight: 600;
}

p {
  margin: 0;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.page-wrapper {
  position: relative;
  overflow: hidden;
}

/* Buttons */
.thm-btn,
.thm-btn-green {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  color: var(--ia-black);
  font-family: var(--ia-font-2);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  background: var(--ia-primary);
  padding: 16px 36px;
  border-radius: 12px;
  text-transform: uppercase;
  overflow: hidden;
  transition: 0.4s;
  border: none;
  cursor: pointer;
}

.thm-btn::before,
.thm-btn::after,
.thm-btn-green::before,
.thm-btn-green::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--ia-base);
  z-index: -1;
  transition: 0.45s ease;
}

.thm-btn::before,
.thm-btn-green::before {
  top: 0;
  transform: scaleX(0);
  transform-origin: left;
}

.thm-btn::after,
.thm-btn-green::after {
  bottom: 0;
  transform: scaleX(0);
  transform-origin: right;
}

.thm-btn:hover,
.thm-btn-green:hover {
  color: var(--ia-white);
}

.thm-btn:hover::before,
.thm-btn:hover::after,
.thm-btn-green:hover::before,
.thm-btn-green:hover::after {
  transform: scaleX(1);
}

.thm-btn-green {
  background: var(--ia-base);
  color: var(--ia-white);
}

.thm-btn-green::before,
.thm-btn-green::after {
  background: var(--ia-primary);
}

.thm-btn-green:hover {
  color: var(--ia-black);
}

/* Topbar */
.topbar {
  background: var(--ia-primary);
  color: var(--ia-black);
  font-size: 14px;
  line-height: 1.4;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  gap: 16px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-social {
  display: flex;
  gap: 10px;
}

.topbar-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ia-black);
  font-size: 13px;
}

.topbar-social a:hover {
  color: var(--ia-base);
}

.topbar-welcome {
  font-weight: 500;
}

.topbar-right span,
.topbar-right a {
  color: var(--ia-black);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-right i {
  color: var(--ia-base);
}

/* Header */
.main-header {
  background: var(--ia-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(23, 23, 23, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-family: var(--ia-font-2);
  font-size: 18px;
  color: var(--ia-black);
  font-weight: 700;
}

.logo-text span {
  font-size: 11px;
  color: var(--ia-base);
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: var(--ia-black);
  font-family: var(--ia-font-2);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  padding: 10px 9px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ia-base);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--ia-extra);
  color: var(--ia-black);
  font-size: 20px;
}

/* Hero */
.hero {
  position: relative;
  background: #121212 url("../images/hero-worker.png") right center / auto 108% no-repeat;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #101010 0%, rgba(16, 16, 16, 0.92) 46%, rgba(16, 16, 16, 0.18) 72%, transparent 88%);
}

.hero-stripes {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 92px;
  background: repeating-linear-gradient(
    115deg,
    var(--ia-primary) 0 28px,
    var(--ia-base) 28px 56px
  );
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 120px 0 170px;
}

.hero-content h1 {
  color: var(--ia-white);
  font-size: 72px;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 22px;
}

.hero-content p {
  color: #cfd3d6;
  font-size: 18px;
  line-height: 32px;
  max-width: 540px;
  margin-bottom: 32px;
}

/* Feature strip */
.feature-strip {
  margin-top: -90px;
  position: relative;
  z-index: 5;
  padding-bottom: 30px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--ia-extra);
  border-radius: 18px;
  padding: 38px 32px 34px;
  box-shadow: 0 12px 40px rgba(23, 23, 23, 0.06);
}

.feature-card .num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ia-white);
  color: var(--ia-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ia-font-2);
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(42, 185, 126, 0.15);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  line-height: 26px;
}

/* Sections */
.section {
  padding: 110px 0;
  position: relative;
}

.section-mint {
  background: var(--ia-extra);
}

.section-title {
  margin-bottom: 50px;
}

.section-title.center {
  text-align: center;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ia-base);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.tagline::before,
.tagline.line::after {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--ia-base);
}

.tagline.plain::before {
  display: none;
}

.section-title h2,
.sec-heading {
  font-size: 48px;
  line-height: 58px;
  letter-spacing: -1.2px;
  margin-top: 12px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.about-photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about-photos img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
}

.about-photos img:last-child {
  margin-top: 48px;
}

.certified-badge {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: var(--ia-base);
  color: var(--ia-white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 8px solid var(--ia-white);
  box-shadow: 0 10px 30px rgba(42, 185, 126, 0.35);
  z-index: 2;
}

.certified-badge i {
  font-size: 28px;
  margin-bottom: 6px;
}

.certified-badge strong {
  font-size: 13px;
  line-height: 18px;
  max-width: 110px;
}

.about-copy .tagline {
  margin-bottom: 6px;
}

.about-copy p {
  margin: 16px 0;
}

.about-copy .thm-btn {
  margin-top: 14px;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--ia-white);
  border-radius: 18px;
  padding: 36px 30px 30px;
  box-shadow: 0 10px 36px rgba(23, 23, 23, 0.05);
  transition: 0.35s;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: var(--ia-extra);
  color: var(--ia-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 20px;
}

.service-card span {
  display: block;
  color: var(--ia-base);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.service-card p {
  margin-bottom: 18px;
}

.learn-more {
  color: var(--ia-black);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  font-family: var(--ia-font-2);
}

.learn-more:hover {
  color: var(--ia-base);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.testimonial-card {
  background: var(--ia-white);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 10px 36px rgba(23, 23, 23, 0.05);
}

.testimonial-card p {
  font-size: 17px;
  line-height: 30px;
  margin-bottom: 22px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-user img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-user h4 {
  font-size: 18px;
}

.testimonial-user span {
  font-size: 14px;
  color: var(--ia-base);
}

.stars {
  color: var(--ia-primary);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

/* Brands */
.brands-bar {
  background: var(--ia-primary);
  padding: 34px 0;
}

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

.brand-mark {
  font-family: var(--ia-font-2);
  font-size: 22px;
  font-weight: 700;
  color: var(--ia-black);
  opacity: 0.78;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark i {
  color: var(--ia-base);
}

/* Why choose */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.why-photo {
  position: relative;
}

.why-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
}

.why-copy p {
  margin: 16px 0;
}

.why-copy .thm-btn-green {
  margin-top: 10px;
}

.stats-bar {
  margin-top: 50px;
  background: var(--ia-black);
  color: var(--ia-white);
  border-radius: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 42px 20px;
}

.stat-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item h3 {
  color: var(--ia-white);
  font-size: 42px;
  margin-bottom: 4px;
}

.stat-item p {
  color: #b7b7b7;
  font-size: 15px;
}

/* Gallery */
.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 18px;
}

.gallery-mosaic a,
.gallery-mosaic .g-item {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.gallery-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s;
}

.gallery-mosaic a:hover img {
  transform: scale(1.06);
}

.g1 { grid-row: 1 / 2; }
.g2 { grid-column: 2; grid-row: 1; }
.g3 { grid-column: 3; grid-row: 1; }
.g4 { grid-column: 1; grid-row: 2; }
.g5 { grid-column: 2 / 4; grid-row: 2; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--ia-extra);
  border-radius: 20px;
  padding: 42px 34px 36px;
  position: relative;
}

.price-card.featured {
  background: var(--ia-white);
  box-shadow: 0 16px 50px rgba(23, 23, 23, 0.08);
  transform: translateY(-8px);
}

.price-card h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.price-card .period {
  font-size: 14px;
  margin-bottom: 8px;
}

.price-card .amount {
  font-family: var(--ia-font-2);
  font-size: 48px;
  color: var(--ia-black);
  font-weight: 700;
  margin-bottom: 22px;
}

.price-card .amount span {
  font-size: 18px;
  color: var(--ia-gray);
  font-weight: 500;
}

.price-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.price-card ul i {
  color: var(--ia-base);
}

.price-card .thm-btn {
  width: 100%;
  margin-top: 18px;
}

/* CTA */
.cta-wrap {
  padding: 0 15px 0;
  position: relative;
  z-index: 4;
  margin-bottom: -90px;
}

.cta-box {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--ia-primary);
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  overflow: hidden;
  min-height: 320px;
}

.cta-copy {
  padding: 60px 50px;
}

.cta-copy h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.cta-copy p {
  color: var(--ia-black);
  font-size: 20px;
  line-height: 32px;
  max-width: 460px;
  margin-bottom: 28px;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.cta-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.cta-visual::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  background: #111;
  border-radius: 50%;
  right: -70px;
  bottom: -90px;
}

.cta-visual img {
  position: relative;
  width: 420px;
  height: 340px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50% 50% 0 50%;
  z-index: 1;
}

/* Footer */
.site-footer {
  background: var(--ia-dark);
  color: #a9aeb3;
  padding: 170px 0 0;
  position: relative;
}

.site-footer .logo-text strong {
  color: #fff;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 30px;
  bottom: 40px;
  width: 220px;
  height: 280px;
  background: url("../images/lightbulb.svg") no-repeat center / contain;
  opacity: 0.9;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.footer-brand p {
  margin: 18px 0 22px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e1e1e;
  color: var(--ia-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  background: var(--ia-base);
}

.footer-widget h4 {
  color: var(--ia-white);
  font-size: 20px;
  margin-bottom: 22px;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget a {
  color: #a9aeb3;
}

.footer-widget a:hover {
  color: var(--ia-primary);
}

.footer-contact p {
  margin-bottom: 12px;
}

.footer-contact strong {
  display: block;
  color: var(--ia-white);
  font-size: 13px;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.footer-bottom {
  margin-top: 50px;
  border-top: 1px solid #242424;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.footer-bottom a {
  color: #a9aeb3;
  margin-left: 18px;
}

.footer-bottom a:hover {
  color: var(--ia-primary);
}

/* Page header */
.page-header {
  position: relative;
  background: var(--ia-extra);
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 55%;
  height: 100%;
  background: url("../images/circuit.svg") no-repeat left center / 720px auto;
  opacity: 0.9;
}

.page-header-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: end;
  min-height: 340px;
}

.page-header h1 {
  font-size: 56px;
  margin-bottom: 10px;
}

.breadcrumb {
  color: var(--ia-gray);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--ia-black);
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--ia-base);
}

.page-header-photo {
  position: relative;
  height: 340px;
}

.page-header-photo img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 340px;
  width: auto;
  object-fit: contain;
  object-position: bottom right;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f2f2f2;
}

.team-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.team-info {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  background: var(--ia-white);
  border-radius: 14px;
  padding: 16px 18px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.08);
}

.team-info h3 {
  font-size: 20px;
}

.team-info span {
  color: var(--ia-gray);
  font-size: 14px;
}

/* Contact */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.info-card {
  background: var(--ia-extra);
  border-radius: 18px;
  padding: 38px 24px;
  text-align: center;
}

.info-card i {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ia-white);
  color: var(--ia-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.info-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.contact-form-box {
  background: var(--ia-black);
  border-radius: 22px;
  padding: 60px 50px;
  color: var(--ia-white);
}

.contact-form-box h2 {
  color: var(--ia-white);
  text-align: center;
  font-size: 42px;
  margin-bottom: 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-group {
  position: relative;
}

.form-group input:not([type="checkbox"]),
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: 1px solid #3a3a3a;
  border-radius: 12px;
  color: var(--ia-white);
  padding: 16px 18px;
  outline: none;
}

.consent {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  color: #cfcfcf;
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 2px 0 0;
  accent-color: var(--ia-base);
  flex-shrink: 0;
  cursor: pointer;
}

.consent span {
  flex: 0 1 auto;
}

.light-form .consent {
  color: var(--ia-gray);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8d8d8d;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--ia-primary);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  display: none;
  color: #ff8b8b;
  font-size: 13px;
  margin-top: 6px;
}

.form-group.error .form-error {
  display: block;
}

.form-group.error input:not([type="checkbox"]),
.form-group.error textarea,
.form-group.error select {
  border-color: #ff8b8b;
}

.form-center {
  text-align: center;
  margin-top: 10px;
}

.light-form {
  background: var(--ia-extra);
  border-radius: 22px;
  padding: 50px 40px;
}

.light-form h2,
.light-form p {
  color: var(--ia-black);
}

.light-form p.lead {
  margin: 10px 0 28px;
  color: var(--ia-gray);
}

.light-form input:not([type="checkbox"]),
.light-form textarea,
.light-form select {
  background: var(--ia-white);
  border: 1px solid var(--ia-bdr);
  color: var(--ia-black);
}

.light-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #2ab97e 50%), linear-gradient(135deg, #2ab97e 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.light-form input::placeholder,
.light-form textarea::placeholder {
  color: #8a9297;
}

/* Legal */
.legal-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.legal-wrap h2 {
  font-size: 28px;
  margin: 32px 0 12px;
}

.legal-wrap h3 {
  font-size: 22px;
  margin: 26px 0 10px;
}

.legal-wrap p,
.legal-wrap li {
  margin-bottom: 14px;
}

.legal-wrap ul,
.legal-wrap ol {
  padding-left: 22px;
}

.legal-wrap ul {
  list-style: disc;
}

.legal-wrap ol {
  list-style: decimal;
}

.legal-meta {
  color: var(--ia-base);
  font-weight: 700;
  margin-bottom: 18px;
}

/* Projects page */
.project-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 18px;
}

.project-grid article {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.project-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-grid article:nth-child(1),
.project-grid article:nth-child(4) {
  grid-column: span 1;
}

.project-grid article:nth-child(5) {
  grid-column: span 2;
}

.project-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  padding: 12px 16px;
}

.project-caption h3 {
  font-size: 18px;
}

/* Service detail layout */
.rich-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
}

.rich-split img.main-shot {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 24px;
}

.side-box {
  background: var(--ia-extra);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 24px;
}

.side-box h3 {
  margin-bottom: 16px;
}

.side-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 10px;
  color: var(--ia-black);
  font-weight: 600;
  margin-bottom: 8px;
  background: transparent;
}

.side-links a:hover,
.side-links a.active {
  background: var(--ia-base);
  color: var(--ia-white);
}

.check-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.check-list i {
  color: var(--ia-base);
  margin-top: 6px;
}

.two-col-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}

.two-col-photos img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Modal */
.thanks-modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.thanks-modal.open {
  display: flex;
}

.thanks-card {
  background: var(--ia-white);
  border-radius: 18px;
  padding: 42px 36px;
  max-width: 460px;
  text-align: center;
}

.thanks-card i {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--ia-extra);
  color: var(--ia-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 16px;
}

.thanks-card h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.thanks-card p {
  margin-bottom: 22px;
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--ia-base);
  color: var(--ia-white);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.scroll-top.show {
  display: flex;
}

.text-block + .text-block {
  margin-top: 16px;
}

.quote-note {
  background: var(--ia-primary);
  border-radius: 14px;
  padding: 22px 24px;
  color: var(--ia-black);
  font-size: 18px;
  line-height: 30px;
  margin: 24px 0;
}

.content-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.icon-feature {
  display: flex;
  gap: 16px;
  margin-top: 22px;
}

.icon-feature i {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--ia-extra);
  color: var(--ia-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.narrow {
  max-width: 760px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 1199px) {
  .hero-content h1,
  .section-title h2,
  .page-header h1 {
    font-size: 42px;
    line-height: 1.15;
  }

  .main-nav a {
    padding: 8px 8px;
    font-size: 13px;
  }

  .hero {
    background-size: auto 100%;
  }

  .gallery-mosaic,
  .project-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 220px;
  }

  .g1, .g2, .g3, .g4, .g5,
  .project-grid article:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 991px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ia-white);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    padding: 12px 0 20px;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav a {
    display: block;
    padding: 10px 24px;
  }

  .header-inner {
    position: relative;
  }

  .hero {
    background-position: 70% center;
    min-height: 620px;
  }

  .feature-grid,
  .service-grid,
  .pricing-grid,
  .team-grid,
  .contact-cards,
  .about-grid,
  .why-grid,
  .testimonial-grid,
  .cta-box,
  .footer-grid,
  .page-header-inner,
  .rich-split,
  .content-cols,
  .stats-bar,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .about-photos img:last-child {
    margin-top: 0;
  }

  .page-header-photo {
    display: none;
  }

  .cta-visual {
    min-height: 260px;
  }

  .header-cta .thm-btn-green {
    display: none;
  }

  .stat-item {
    border-right: none;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .gallery-mosaic,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 767px) {
  .topbar-welcome,
  .topbar-right {
    display: none;
  }

  .hero-content {
    padding: 90px 0 150px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .section {
    padding: 80px 0;
  }

  .cta-copy {
    padding: 36px 24px;
  }

  .contact-form-box,
  .light-form {
    padding: 36px 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom a {
    margin-left: 0;
    margin-right: 14px;
  }

  .about-photos {
    grid-template-columns: 1fr;
  }
}
