:root {
  --ink: #102232;
  --muted: #5f6e7a;
  --line: #dce5ec;
  --paper: #ffffff;
  --wash: #f5f8fb;
  --blue: #2f8ed8;
  --blue-dark: #1d6398;
  --green: #22a779;
  --red: #c8102e;
  --warm: #fff1dd;
  --shadow: 0 18px 50px rgba(16, 34, 50, 0.14);
  --radius: 8px;
  font-family: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #ffffff;
}

body {
  width: min(100%, 1480px);
  margin: 0 auto;
  min-height: 100vh;
  border-left: clamp(18px, 3vw, 52px) solid #ffffff;
  border-right: clamp(18px, 3vw, 52px) solid #ffffff;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  box-shadow: 0 0 42px rgba(16, 34, 50, 0.08);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(220, 229, 236, 0.78);
  background: #ffffff;
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  min-height: 76px;
  box-shadow: 0 8px 28px rgba(16, 34, 50, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: #344654;
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--wash);
  color: var(--blue-dark);
  outline: none;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.instagram-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 72%, #515bd4 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(221, 42, 123, 0.2);
}

.instagram-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.header-cta {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(34, 167, 121, 0.22);
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(47, 142, 216, 0.25);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.btn:hover,
.header-cta:hover,
.instagram-icon:hover,
.floating-whatsapp:hover {
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(var(--ink), var(--ink)) center 16px / 18px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center 26px / 18px 2px no-repeat,
    var(--paper);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: calc(82svh - 30px);
  padding: 110px clamp(20px, 6vw, 76px) 42px;
  overflow: hidden;
  background: #102232;
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(16, 34, 50, 0.86) 0%, rgba(16, 34, 50, 0.65) 44%, rgba(16, 34, 50, 0.2) 100%),
    linear-gradient(180deg, rgba(16, 34, 50, 0.12), rgba(16, 34, 50, 0.28)),
    url("assets/img/hero-sirlei.png");
  background-position: center, center, right 8% top;
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, auto 100%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 16px;
  background: linear-gradient(90deg, var(--blue), var(--green), #ffd166, var(--red));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  min-width: 0;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9ee7ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 4.7rem;
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.65rem;
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-copy {
  width: min(100%, 650px);
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
}

.hero-badges span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-info div {
  min-height: 102px;
  padding: 26px clamp(18px, 4vw, 48px);
  background: var(--paper);
}

.quick-info strong,
.quick-info span {
  display: block;
}

.quick-info strong {
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.quick-info span {
  color: var(--muted);
}

.section {
  padding: 92px clamp(20px, 6vw, 76px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.intro-text,
.team-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
  gap: 44px;
  align-items: start;
  background: var(--wash);
}

.intro-text {
  display: grid;
  gap: 18px;
}

.intro-text p {
  margin-bottom: 0;
}

.services {
  background: #ffffff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(16, 34, 50, 0.05);
}

.service-card-featured {
  border-color: rgba(34, 167, 121, 0.35);
  background: linear-gradient(180deg, rgba(34, 167, 121, 0.09), rgba(255, 255, 255, 0.95));
}

.service-mark {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 800;
}

.service-card p,
.timeline-item p,
.compare-card p {
  color: var(--muted);
}

.media-band {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1px;
  background: var(--line);
}

.media-band figure {
  margin: 0;
  min-height: 360px;
  background: var(--wash);
}

.media-band img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.process {
  background: var(--warm);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(16, 34, 50, 0.14);
  border: 1px solid rgba(16, 34, 50, 0.12);
}

.timeline-item {
  min-height: 230px;
  padding: 28px;
  background: #ffffff;
}

.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  font-weight: 800;
}

.results {
  background: var(--paper);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.compare-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 12px 36px rgba(16, 34, 50, 0.08);
}

.compare-card h3 {
  margin: 14px 18px 20px;
}

.compare {
  --position: 50%;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--wash);
}

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

.compare-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--position));
}

.compare::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  z-index: 2;
  width: 3px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(16, 34, 50, 0.2);
}

.compare input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.compare-labels {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.team {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: 52px;
  align-items: center;
  background: var(--wash);
}

.team-gallery {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.team-gallery img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.team-gallery img:first-child {
  margin-top: 42px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #354655;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.54em;
  width: 6px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.referrals {
  background: #ffffff;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  border-color: rgba(47, 142, 216, 0.2);
  background: var(--wash);
  color: var(--ink);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
  gap: 48px;
  padding: 92px clamp(20px, 6vw, 76px);
  background: linear-gradient(135deg, #102232 0%, #1d6398 58%, #145b72 100%);
  color: #ffffff;
}

.contact-section .eyebrow {
  color: #9ee7ff;
}

.contact-copy {
  align-self: center;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-links a {
  width: fit-content;
  padding-bottom: 3px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
  font-weight: 800;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 7px;
}

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

label {
  color: #31414f;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cad7e1;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
}

input,
select {
  height: 48px;
  padding: 0 13px;
}

textarea {
  min-height: 116px;
  resize: vertical;
  padding: 12px 13px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 142, 216, 0.14);
  outline: none;
}

.quote-form .btn {
  width: 100%;
  border: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(190px, 0.55fr) minmax(300px, 1.1fr);
  align-items: start;
  gap: 28px;
  padding: 30px clamp(20px, 6vw, 76px);
  background: #081622;
  color: #ffffff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer strong,
.site-footer span,
.site-footer p {
  display: block;
}

.site-footer span,
.site-footer a,
.site-footer p {
  color: rgba(255, 255, 255, 0.68);
}

.footer-info {
  display: grid;
  gap: 5px;
  font-weight: 700;
}

.footer-info a {
  width: fit-content;
}

.footer-disclaimer {
  max-width: 560px;
  margin: 0;
  font-size: 0.83rem;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 18;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(34, 167, 121, 0.32);
}

@media (max-width: 1040px) {
  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .team,
  .contact-section,
  .intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    min-height: 68px;
  }

  .brand {
    order: 1;
  }

  .site-header.is-scrolled {
    min-height: 68px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
  }

  .instagram-icon {
    width: 44px;
    height: 44px;
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 25;
    order: 3;
    flex: 0 0 44px;
    opacity: 1;
    visibility: visible;
  }

  .main-nav {
    position: fixed;
    inset: 68px 14px auto;
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

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

  .hero {
    min-height: calc(78svh - 10px);
    padding: 92px 20px 34px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(16, 34, 50, 0.88), rgba(16, 34, 50, 0.64)),
      url("assets/img/hero-sirlei.png");
    background-position: center, center top;
    background-repeat: no-repeat;
    background-size: 100% 100%, cover;
  }

  .hero-content,
  .hero-actions {
    width: 100%;
    max-width: 21.875rem;
  }

  .hero-copy {
    width: 100%;
    max-width: 20.5rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .quick-info,
  .service-grid,
  .compare-grid,
  .timeline,
  .media-band,
  .quote-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    gap: 20px;
  }

  .section,
  .contact-section {
    padding: 64px 20px;
  }

  .media-band figure,
  .media-band img {
    min-height: 260px;
  }

  .team-gallery {
    grid-template-columns: 1fr;
  }

  .team-gallery img,
  .team-gallery img:first-child {
    min-height: auto;
    aspect-ratio: 4 / 5;
    margin-top: 0;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.35rem;
  }

  .hero-badges span {
    min-height: 32px;
    font-size: 0.82rem;
  }

  .quote-form {
    padding: 18px;
  }
}
