:root {
  --ink: #eef8f8;
  --muted: #a7b9ba;
  --brand-dark: #112e5c;
  --paper: var(--brand-dark);
  --white: #ffffff;
  --surface: #193765;
  --surface-2: #234370;
  --line: rgba(255, 255, 255, 0.1);
  --aqua: #19b8c6;
  --aqua-soft: #9ff3f1;
  --aqua-dark: #0a7381;
  --leaf: #5f8b60;
  --sand: #d9c7aa;
  --stone: #25373a;
  --clay: #b76746;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(25, 184, 198, 0.12), transparent 32rem),
    linear-gradient(180deg, #112e5c 0%, #173563 46%, #112e5c 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

main {
  background: transparent;
}

body.is-loading {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.page-loader {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 18px;
  color: var(--white);
  background: var(--brand-dark);
  transition: opacity 420ms ease, visibility 420ms ease;
}

.page-loader span {
  width: 62px;
  height: 62px;
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--aqua-soft);
  border-radius: 50%;
  animation: spin 850ms linear infinite;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(17, 46, 92, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: 58px;
  max-width: min(44vw, 260px);
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 30px);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  opacity: 1;
  transition: opacity 160ms ease, color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 0.8;
  transform: scaleX(1);
}

.site-nav .nav-cta {
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--aqua), #16a34a);
  color: var(--white);
  opacity: 1;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--white);
  background: rgba(17, 46, 92, 0.98);
}

.site-nav .nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: currentColor;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--brand-dark);
  isolation: isolate;
}

.hero,
.page-hero {
  padding-top: 70px;
}

.hero-image,
.hero picture {
  position: absolute;
  inset: 0;
}

.hero-image {
  transform: scale(1.06);
  animation: heroZoom 12s ease-out forwards;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 10, 12, 0.9) 0%, rgba(5, 15, 17, 0.66) 47%, rgba(5, 15, 17, 0.28) 100%),
    linear-gradient(0deg, rgba(3, 10, 12, 0.82) 0%, rgba(3, 10, 12, 0.16) 54%);
}

.water-shine {
  position: absolute;
  inset: auto -20% 13% -20%;
  height: 28vh;
  background: linear-gradient(100deg, transparent 15%, rgba(159, 243, 241, 0.16) 45%, transparent 70%);
  filter: blur(10px);
  transform: translateX(-22%) skewY(-4deg);
  animation: shimmer 7s ease-in-out infinite;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(126px, 16vh, 176px) clamp(24px, 7vw, 96px);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--aqua-soft);
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(3.3rem, 8vw, 7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.cta-band,
.contact-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--aqua), var(--aqua-dark));
  color: var(--white);
  box-shadow: 0 12px 25px rgba(7, 151, 166, 0.28);
}

.button-primary:hover {
  background: var(--aqua-dark);
  box-shadow: 0 18px 35px rgba(7, 151, 166, 0.34);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.2);
}

.button-light {
  background: var(--aqua-soft);
  color: #062123;
}

.hero-card {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 5vw, 72px);
  bottom: 116px;
  width: min(300px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(17, 46, 92, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card span,
.hero-card small {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.hero-card strong {
  display: block;
  margin: 6px 0;
  font-size: 1.8rem;
  line-height: 1;
}

.hero-strip {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 56px);
  bottom: 26px;
  left: clamp(18px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.hero-strip span {
  padding: 18px;
  background: rgba(17, 46, 92, 0.62);
  font-size: 0.95rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(82px, 11vw, 132px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
}

.intro-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.stats strong {
  display: block;
  color: var(--aqua-dark);
  font-size: 2rem;
  line-height: 1;
}

.stats .stat-since {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  white-space: nowrap;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.section-heading,
.project-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2,
.project-heading h2 {
  max-width: 760px;
}

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

.service-card {
  position: relative;
  min-height: 245px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 151, 166, 0.12), transparent 55%);
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(7, 151, 166, 0.25);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card h3,
.service-card p,
.service-card .icon {
  position: relative;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  border: 1px solid rgba(159, 243, 241, 0.28);
  border-radius: 12px;
  background: rgba(25, 184, 198, 0.1);
  color: var(--aqua);
}

.icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projects {
  padding: clamp(82px, 11vw, 132px) 0;
  background: var(--brand-dark);
}

.text-link {
  color: var(--aqua-soft);
  font-weight: 900;
}

.text-link::after {
  display: inline-block;
  margin-left: 8px;
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.gallery {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 265px;
  gap: 20px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  transition: transform 550ms ease, filter 550ms ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.gallery-item::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(0deg, rgba(17, 46, 92, 0.78), rgba(17, 46, 92, 0));
  content: "";
}

.gallery-item figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: var(--white);
  font-weight: 900;
  transform: translateY(4px);
  transition: transform 220ms ease;
}

.gallery-item:hover figcaption {
  transform: translateY(-4px);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.8fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: center;
}

.feature-media {
  height: min(620px, 64vw);
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-copy h2 {
  margin-bottom: 28px;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  padding: 22px;
  border-left: 4px solid var(--aqua);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 6px;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 220px;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #234370, #173563);
  color: var(--white);
  transition: transform 220ms ease, background 220ms ease;
}

.steps li:hover {
  transform: translateY(-6px);
  background: #173739;
}

.steps .process-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 38px;
  border: 1px solid rgba(159, 243, 241, 0.32);
  border-radius: 14px;
  background: rgba(159, 243, 241, 0.1);
  color: var(--aqua-soft);
}

.process-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.testimonials {
  background:
    linear-gradient(rgba(12, 27, 29, 0.82), rgba(12, 27, 29, 0.82)),
    url("../img/piscina-01.jpg?v=2") center/cover fixed;
  color: var(--white);
}

.testimonials .section-kicker {
  color: var(--aqua-soft);
}

.testimonials h2 {
  max-width: 840px;
  margin-bottom: 30px;
}

.testimonial-slider {
  position: relative;
  min-height: 230px;
  max-width: 760px;
}

.site-reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  gap: 16px;
}

.review-card {
  padding: 22px 24px 24px;
  border: 1px solid #e3e7ee;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(32, 33, 36, 0.18);
}

.review-head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-head strong,
.review-head small {
  display: block;
}

.review-head strong {
  color: #202124;
  font-size: 0.96rem;
}

.review-head small {
  margin-top: 2px;
  color: #70757a;
  font-size: 0.76rem;
}

.review-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4285f4;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.review-avatar-green {
  background: #34a853;
}

.review-avatar-purple {
  background: #7e57c2;
}

.review-avatar-orange {
  background: #f57c00;
}

.review-source {
  font-size: 1.35rem;
  font-weight: 900;
  color: #4285f4;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #fbbc04;
  font-size: 1rem;
  font-weight: 900;
}

.review-rating small {
  color: #70757a;
  font-size: 0.76rem;
  font-weight: 500;
}

.review-card p {
  margin: 0;
  color: #3c4043;
  font-size: 0.94rem;
  line-height: 1.55;
}

.testimonial {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 420ms ease, transform 420ms ease;
  pointer-events: none;
}

.testimonial.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial p {
  margin-bottom: 18px;
  font-size: clamp(1.32rem, 3vw, 2.35rem);
  line-height: 1.15;
  font-weight: 800;
}

.testimonial strong {
  color: var(--aqua-soft);
}

.slider-dots {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.slider-dots button.is-active {
  background: var(--aqua-soft);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.faq summary {
  padding: 20px 22px;
  font-weight: 900;
  cursor: pointer;
}

.faq summary::marker {
  color: var(--aqua);
}

.faq details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.cta-band {
  justify-content: space-between;
  padding: clamp(50px, 7vw, 76px) clamp(24px, 7vw, 96px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4, 74, 84, 0.96), rgba(11, 27, 30, 0.94)),
    url("../img/piscina-05.jpg?v=2") center/cover;
}

.cta-band h2 {
  max-width: 700px;
  margin-bottom: 10px;
}

.cta-band p {
  max-width: 740px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta-band .section-kicker {
  color: var(--aqua-soft);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: clamp(40px, 8vw, 96px);
  align-items: center;
}

.contact-copy p:last-child {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-panel {
  align-items: stretch;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-panel a:not(.button) {
  width: 100%;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.contact-panel strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 1.08rem;
}

.contact-panel .button {
  width: 100%;
  margin-top: 8px;
}

.floating-whatsapp {
  position: fixed;
  z-index: 18;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: #16a34a;
  box-shadow: 0 14px 32px rgba(22, 163, 74, 0.35);
  font-weight: 900;
  animation: pulse 2.4s ease-in-out infinite;
}

.whatsapp-popup {
  position: fixed;
  z-index: 19;
  right: 18px;
  bottom: 24px;
  width: min(360px, calc(100vw - 36px));
  padding: 18px;
  overflow: hidden;
  border: 1px solid #e3e7ee;
  border-radius: 16px;
  color: #202124;
  background: #fff;
  box-shadow: 0 12px 38px rgba(20, 30, 48, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.96);
  transform-origin: right bottom;
  transition: opacity 280ms ease, visibility 280ms ease, transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.whatsapp-popup.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.whatsapp-popup button {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  color: #70757a;
  background: #f1f3f4;
  cursor: pointer;
}

.notification-head {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 11px;
  padding-right: 20px;
}

.notification-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: center / cover no-repeat url("../img/avatar-atendente.png?v=1");
  box-shadow: 0 5px 14px rgba(17, 46, 92, 0.24);
}

.notification-avatar svg {
  display: none;
}

.notification-avatar::before {
  content: none;
}

.notification-head strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}

.notification-head small {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  color: #5f6368;
  font-size: 0.73rem;
}

.notification-head small i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
}

.notification-head time {
  color: #80868b;
  font-size: 0.68rem;
}

.whatsapp-popup p {
  position: relative;
  margin: 16px 0 14px;
  padding: 30px 14px 12px;
  border-radius: 4px 12px 12px 12px;
  color: #303134;
  background: #f1f3f4;
  font-size: 0.9rem;
  line-height: 1.45;
}

.whatsapp-popup p::before {
  position: absolute;
  top: 10px;
  left: 14px;
  color: #128c4a;
  content: "Atendente diz:";
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.whatsapp-popup > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: #25d366;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.22);
}

.notification-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 8px;
  border: 1px solid #dfe3e7;
  border-radius: 12px;
  background: #f8f9fa;
}

.notification-compose input {
  width: 100%;
  min-width: 0;
  padding: 0 6px;
  border: 0;
  outline: 0;
  color: #202124;
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
}

.notification-compose input::placeholder {
  color: #80868b;
}

.whatsapp-popup .notification-send {
  position: static;
  width: auto;
  height: 38px;
  padding: 0 15px;
  border-radius: 9px;
  color: #fff;
  background: #25d366;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.2);
}

.whatsapp-popup .notification-send:hover {
  background: #1fbd59;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lightbox {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(17, 46, 92, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  width: min(1120px, 96vw);
  height: min(760px, 82vh);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--brand-dark);
  background: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid var(--line);
  background: #0b2247;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.page-hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--brand-dark);
}

.page-hero-spaced {
  min-height: calc(76vh + 40px);
  padding-top: 110px;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 10, 12, 0.9), rgba(3, 10, 12, 0.42)),
    linear-gradient(0deg, rgba(3, 10, 12, 0.82), transparent 58%);
  content: "";
}

.page-hero img {
  position: absolute;
  inset: 0;
  transform: scale(1.04);
  animation: heroZoom 10s ease-out forwards;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(840px, calc(100% - 36px));
  margin: 0 0 clamp(64px, 9vw, 104px) clamp(24px, 7vw, 96px);
}

.page-hero-content h1 {
  max-width: 900px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.page-hero-content p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.14rem;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

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

.service-detail,
.idea-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.service-detail .service-detail-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 34px;
  border: 1px solid rgba(159, 243, 241, 0.28);
  border-radius: 14px;
  background: rgba(25, 184, 198, 0.1);
  color: var(--aqua);
}

.service-detail-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-detail h2,
.idea-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
}

.page-hero-content h1 {
  line-height: 1.08;
}

body:has(.page-hero-content h1) .page-hero-content h1 {
  text-wrap: balance;
}

.service-detail p,
.idea-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.idea-card-photo {
  overflow: hidden;
  padding: 0;
}

.idea-card-photo img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.idea-card-photo div {
  padding: 26px;
}

.idea-card-photo span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-projects {
  padding-top: clamp(68px, 10vw, 118px);
}

.expanded-gallery {
  grid-auto-rows: 310px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: start;
}

.rich-text p {
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-page {
  padding-bottom: 40px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-grid .reveal:nth-child(2),
.steps .reveal:nth-child(2),
.gallery .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.service-grid .reveal:nth-child(3),
.steps .reveal:nth-child(3),
.gallery .reveal:nth-child(3) {
  transition-delay: 180ms;
}

.gallery .reveal:nth-child(4) {
  transition-delay: 270ms;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

@keyframes shimmer {
  0%,
  100% {
    transform: translateX(-28%) skewY(-4deg);
    opacity: 0.55;
  }
  50% {
    transform: translateX(28%) skewY(-4deg);
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 980px) {
  .hero-card {
    display: none;
  }

  .intro,
  .contact,
  .feature-band,
  .service-grid,
  .site-reviews,
  .steps,
  .service-detail-grid,
  .idea-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .feature-media {
    height: 460px;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 80px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(17, 46, 92, 0.98);
    color: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav a {
    color: rgba(255, 255, 255, 0.84);
  }

  .site-nav.is-open {
    display: flex;
  }

  .section-heading,
  .project-heading {
    display: block;
  }

  .text-link {
    display: inline-block;
    margin-top: 18px;
  }

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

  .gallery-item.large,
  .gallery-item.tall {
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 8px 18px;
  }

  .brand-logo {
    height: 52px;
    max-width: 52vw;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-content {
    margin: 0 auto 148px;
  }

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

  .hero-strip {
    grid-template-columns: 1fr;
    bottom: 14px;
  }

  .hero-strip span {
    padding: 10px 14px;
    font-size: 0.84rem;
  }

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

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 285px;
  }

  .feature-media {
    height: 340px;
    min-height: 340px;
  }

  .testimonial-slider {
    min-height: 330px;
  }

  .cta-band {
    align-items: stretch;
  }

  .cta-band .button {
    width: 100%;
  }

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

  .whatsapp-popup {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .page-hero {
    min-height: 68vh;
  }

  .page-hero-spaced {
    min-height: calc(68vh + 36px);
    padding-top: 100px;
  }

  .page-hero-content {
    margin: 0 auto 56px;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
