:root {
  --navy-950: #08283f;
  --navy-900: #0c3552;
  --navy-800: #123f61;
  --blue-500: #81bdef;
  --blue-200: #cfe9fb;
  --blue-100: #eaf6ff;
  --yellow-500: #ffbd4a;
  --yellow-400: #ffca69;
  --cyan-400: #66d7db;
  --ink: #11324a;
  --muted: #5c7181;
  --white: #fff;
  --cream: #fffaf1;
  --line: rgba(17, 50, 74, 0.14);
  --shadow: 0 28px 70px rgba(5, 34, 53, 0.16);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --container: 1180px;
  --header-height: 82px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
summary {
  font: inherit;
}

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

a {
  color: inherit;
}

button,
a,
summary,
input {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow-500);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(17, 50, 74, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-900);
  text-decoration: none;
  line-height: 1;
}

.brand-sun {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--yellow-500);
  background: var(--navy-900);
  border-radius: 50%;
}

.brand-sun svg {
  width: 29px;
  fill: currentColor;
}

.brand-sun path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
}

.brand-copy {
  display: grid;
  gap: 2px;
  text-transform: uppercase;
}

.brand-copy strong {
  color: var(--yellow-500);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.025em;
}

.brand-copy span {
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.24em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--yellow-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-small {
  min-height: 44px;
  padding: 10px 17px;
}

.button-yellow {
  color: var(--navy-950);
  background: var(--yellow-500);
  box-shadow: 0 12px 26px rgba(255, 189, 74, 0.22);
}

.button-yellow:hover {
  background: var(--yellow-400);
  box-shadow: 0 16px 32px rgba(255, 189, 74, 0.3);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(4, 29, 47, 0.14);
  backdrop-filter: blur(7px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.contact-menu {
  position: relative;
}

.contact-menu summary {
  list-style: none;
}

.contact-menu summary::-webkit-details-marker {
  display: none;
}

.contact-menu[open] summary > span {
  transform: rotate(180deg);
}

.contact-menu summary > span {
  display: inline-block;
  font-size: 18px;
  transition: transform 180ms ease;
}

.contact-popover {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 292px;
  padding: 19px;
  color: var(--white);
  background: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.contact-popover::before {
  position: absolute;
  top: -7px;
  right: 28px;
  width: 14px;
  height: 14px;
  content: "";
  background: var(--navy-950);
  transform: rotate(45deg);
}

.contact-popover p {
  margin: 0 0 10px;
  color: var(--blue-200);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-popover > a:not(.popover-whatsapp) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  text-decoration: none;
}

.contact-popover a span {
  color: var(--blue-200);
  font-size: 12px;
}

.contact-popover a strong {
  color: var(--yellow-400);
  font-size: 16px;
}

.popover-whatsapp {
  display: block;
  margin-top: 10px;
  padding: 11px;
  color: var(--navy-950);
  background: var(--white);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: min(780px, calc(100svh - var(--header-height)));
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 33, 51, 0.95) 0%, rgba(6, 37, 57, 0.8) 34%, rgba(6, 35, 54, 0.18) 68%, rgba(5, 31, 48, 0.05) 100%),
    linear-gradient(0deg, rgba(5, 29, 45, 0.5) 0%, transparent 35%);
}

.hero-inner {
  position: relative;
  display: flex;
  min-height: min(780px, calc(100svh - var(--header-height)));
  align-items: center;
  padding-block: 76px 96px;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--yellow-400);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 24px;
  height: 2px;
  background: currentColor;
}

.eyebrow-dark {
  color: var(--navy-800);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", ui-sans-serif, sans-serif;
  line-height: 1.05;
}

h1 {
  max-width: 650px;
  margin-bottom: 25px;
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 900;
  letter-spacing: -0.055em;
}

h1 em {
  color: var(--yellow-500);
  font-style: normal;
}

.hero-intro {
  max-width: 600px;
  margin: 0 0 31px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.65;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 28px 0 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.83);
  list-style: none;
  font-size: 13px;
  font-weight: 700;
}

.hero-points span {
  display: inline-grid;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  color: var(--navy-950);
  background: var(--cyan-400);
  border-radius: 50%;
  place-items: center;
  font-size: 12px;
}

.scroll-cue {
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 25px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
}

.scroll-cue i::after {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 7px;
  content: "";
  background: var(--yellow-500);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: scroll-dot 1.8s infinite ease-in-out;
}

@keyframes scroll-dot {
  0%, 100% { opacity: 0.35; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 9px); }
}

.intro-strip {
  color: var(--navy-950);
  background: var(--yellow-500);
}

.intro-strip-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
}

.intro-strip p {
  margin: 0;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: clamp(18px, 2.2vw, 27px);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.intro-strip span {
  color: var(--white);
}

.section {
  padding-block: clamp(84px, 10vw, 138px);
}

.section-heading h2,
.why h2,
.contact-section h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--navy-900);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.048em;
}

.split-heading,
.work-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 58px;
}

.split-heading > p,
.work-heading > p {
  max-width: 430px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
}

.services {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.services::before {
  position: absolute;
  top: -220px;
  right: -170px;
  width: 500px;
  height: 500px;
  content: "";
  background: radial-gradient(circle, rgba(129, 189, 239, 0.2), transparent 67%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 390px;
  padding: 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  z-index: 2;
  border-color: rgba(18, 63, 97, 0.25);
  box-shadow: 0 24px 48px rgba(17, 50, 74, 0.1);
  transform: translateY(-8px);
}

.service-card-featured {
  color: var(--white);
  background: var(--navy-800);
  border-color: transparent;
}

.service-number {
  color: #8a9aa6;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.service-card-featured .service-number {
  color: var(--blue-200);
}

.service-icon {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 44px 0 33px;
  color: var(--navy-800);
  background: var(--blue-100);
  border-radius: 50%;
  place-items: center;
}

.service-card-featured .service-icon {
  color: var(--navy-950);
  background: var(--yellow-500);
}

.service-icon svg {
  width: 41px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.service-icon .spark {
  fill: var(--yellow-500);
  stroke: none;
}

.service-card-featured .service-icon .spark {
  fill: var(--white);
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--navy-900);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.service-card-featured h3 {
  color: var(--yellow-400);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-card-featured p {
  color: rgba(255, 255, 255, 0.72);
}

.work {
  color: var(--white);
  background: var(--navy-950);
}

.work .section-heading h2 {
  color: var(--white);
}

.work-heading > p {
  color: rgba(255, 255, 255, 0.66);
}

.comparison-shell {
  padding: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
}

.comparison {
  position: relative;
  --position: 52%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #dbe1e4;
  border-radius: 26px 26px 14px 14px;
  user-select: none;
}

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

.comparison-before {
  position: absolute;
  inset: 0;
}

.comparison-after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.comparison-label {
  position: absolute;
  z-index: 3;
  top: 22px;
  padding: 8px 13px;
  color: var(--white);
  background: rgba(5, 36, 55, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.label-before {
  right: 22px;
}

.label-after {
  left: 22px;
  color: var(--navy-950);
  background: var(--yellow-500);
  border-color: var(--yellow-500);
}

.comparison-line {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 3px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(5, 34, 53, 0.12);
  transform: translateX(-50%);
  pointer-events: none;
}

.comparison-line span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  color: var(--navy-950);
  background: var(--yellow-500);
  border: 5px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(5, 34, 53, 0.28);
  transform: translate(-50%, -50%);
  place-items: center;
  font-size: 22px;
  font-weight: 900;
}

.comparison-range {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.comparison-caption {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 23px 24px 14px;
}

.comparison-caption div {
  display: grid;
  gap: 2px;
}

.comparison-caption span {
  color: var(--blue-500);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.comparison-caption strong {
  color: var(--white);
  font-size: 14px;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  margin-top: 20px;
}

.media-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

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

.media-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(4, 29, 45, 0.88), transparent 60%);
}

.media-card > div:not(.play-mark) {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 25px;
  left: 28px;
}

.media-card span {
  color: var(--yellow-400);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media-card h3 {
  max-width: 440px;
  margin: 7px 0 0;
  color: var(--white);
  font-size: clamp(23px, 3vw, 34px);
  letter-spacing: -0.035em;
}

.media-ready {
  background:
    radial-gradient(circle at 78% 22%, rgba(102, 215, 219, 0.24), transparent 26%),
    linear-gradient(145deg, var(--navy-800), #0d4668);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.media-ready::before,
.media-ready::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(129, 189, 239, 0.24);
  border-radius: 50%;
}

.media-ready::before {
  top: -60px;
  right: -70px;
  width: 250px;
  height: 250px;
}

.media-ready::after {
  top: -10px;
  right: -20px;
  width: 150px;
  height: 150px;
}

.play-mark {
  position: absolute;
  top: 32px;
  left: 32px;
  display: grid;
  width: 62px;
  height: 62px;
  color: var(--navy-950);
  background: var(--yellow-500);
  border-radius: 50%;
  place-items: center;
}

.play-mark span {
  margin-left: 4px;
  color: var(--navy-950);
  font-size: 20px;
}

.media-ready p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.why {
  position: relative;
  overflow: hidden;
  background: var(--blue-100);
}

.why::after {
  position: absolute;
  right: -220px;
  bottom: -300px;
  width: 560px;
  height: 560px;
  content: "";
  border: 90px solid rgba(129, 189, 239, 0.24);
  border-radius: 50%;
}

.why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 100px;
}

.why-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin: 27px 0 24px;
  color: var(--muted);
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
  font-weight: 850;
  text-decoration: none;
  border-bottom: 2px solid var(--yellow-500);
}

.process-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 23px;
  padding: 27px 0;
  border-bottom: 1px solid rgba(17, 50, 74, 0.16);
}

.process-list li:first-child {
  padding-top: 0;
}

.process-list li > span {
  display: grid;
  width: 54px;
  height: 54px;
  color: var(--navy-950);
  background: var(--yellow-500);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 850;
  place-items: center;
}

.process-list h3 {
  margin: 3px 0 7px;
  color: var(--navy-900);
  font-size: 23px;
  letter-spacing: -0.03em;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq {
  background: var(--cream);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 110px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
  color: var(--navy-900);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  background: var(--blue-100);
  border-radius: 50%;
  place-items: center;
  transition: transform 180ms ease, background 180ms ease;
}

.faq-list details[open] summary span {
  background: var(--yellow-500);
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 650px;
  padding: 0 55px 24px 0;
  margin: 0;
  color: var(--muted);
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(82px, 9vw, 120px);
  color: var(--white);
  background:
    radial-gradient(circle at 10% 100%, rgba(102, 215, 219, 0.18), transparent 28%),
    var(--navy-800);
}

.contact-section::after {
  position: absolute;
  top: -120px;
  right: -90px;
  width: 360px;
  height: 360px;
  content: "";
  border: 75px solid rgba(129, 189, 239, 0.11);
  border-radius: 50%;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 0.65fr);
  align-items: center;
  gap: 100px;
}

.contact-section h2 {
  max-width: 650px;
  color: var(--white);
}

.contact-section h2 + p {
  max-width: 570px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
}

.contact-actions {
  display: grid;
}

.contact-number {
  position: relative;
  display: grid;
  padding: 17px 45px 17px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.contact-number small {
  color: var(--blue-200);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-number strong {
  color: var(--white);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -0.02em;
}

.contact-number > span {
  position: absolute;
  right: 0;
  bottom: 26px;
  color: var(--yellow-400);
  font-size: 22px;
}

.button-wide {
  width: 100%;
  margin-top: 25px;
}

.site-footer {
  padding: 60px 0 22px;
  color: rgba(255, 255, 255, 0.68);
  background: #061f31;
}

.footer-main {
  display: grid;
  grid-template-columns: 0.7fr 1fr 0.55fr;
  align-items: center;
  gap: 50px;
  padding-bottom: 50px;
}

.brand-footer .brand-copy span {
  color: var(--white);
}

.footer-main > p {
  max-width: 470px;
  margin: 0;
  font-size: 14px;
}

.footer-main nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-main nav a,
.footer-bottom a {
  color: var(--white);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  font-size: 11px;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 20px;
  }

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

  .service-card {
    min-height: 350px;
  }

  .why-grid,
  .faq-grid,
  .contact-grid {
    gap: 55px;
  }

  .why-grid {
    grid-template-columns: 0.85fr 1fr;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 72px;
  }

  body {
    padding-bottom: 64px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-sun {
    width: 37px;
    height: 37px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy span {
    font-size: 10px;
  }

  .main-nav {
    display: none;
  }

  .contact-menu .button-small {
    min-height: 40px;
    padding: 8px 13px;
    font-size: 12px;
  }

  .hero,
  .hero-inner {
    min-height: calc(100svh - var(--header-height));
  }

  .hero-photo {
    object-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 33, 51, 0.94) 0%, rgba(6, 37, 57, 0.76) 55%, rgba(6, 35, 54, 0.18) 100%),
      linear-gradient(0deg, rgba(5, 29, 45, 0.72) 0%, transparent 55%);
  }

  .hero-inner {
    align-items: flex-end;
    padding-block: 80px 86px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 64px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-points,
  .scroll-cue {
    display: none;
  }

  .intro-strip-inner {
    min-height: 68px;
    justify-content: center;
  }

  .intro-strip-inner p:nth-of-type(2),
  .intro-strip-inner p:nth-of-type(3),
  .intro-strip-inner span:nth-of-type(2) {
    display: none;
  }

  .split-heading,
  .work-heading,
  .why-grid,
  .faq-grid,
  .contact-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .split-heading,
  .work-heading {
    gap: 24px;
    margin-bottom: 38px;
  }

  .section-heading h2,
  .why h2,
  .contact-section h2 {
    font-size: clamp(37px, 11vw, 51px);
  }

  .comparison {
    aspect-ratio: 4 / 3;
  }

  .comparison img {
    object-position: center;
  }

  .comparison-caption {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 17px 12px;
  }

  .comparison-caption div {
    grid-template-columns: 80px 1fr;
  }

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

  .media-card {
    min-height: 310px;
  }

  .why-grid,
  .faq-grid,
  .contact-grid {
    gap: 55px;
  }

  .contact-grid {
    align-items: start;
  }

  .footer-main {
    gap: 28px;
  }

  .footer-main nav {
    flex-direction: row;
    align-items: center;
    gap: 22px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 900;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    height: 64px;
    grid-template-columns: 1fr 1fr;
    padding: 8px;
    background: rgba(6, 31, 49, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(12px);
  }

  .mobile-cta a {
    display: grid;
    color: var(--white);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
    place-items: center;
  }

  .mobile-cta a:last-child {
    color: var(--navy-950);
    background: var(--yellow-500);
  }
}

@media (max-width: 540px) {
  .contact-popover {
    position: fixed;
    top: 78px;
    right: 14px;
    left: 14px;
    width: auto;
  }

  .contact-popover::before {
    right: 42px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

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

  .service-card {
    min-height: 325px;
  }

  .service-icon {
    margin: 34px 0 25px;
  }

  .comparison-shell {
    padding: 6px;
    border-radius: 22px;
  }

  .comparison {
    aspect-ratio: 1 / 1;
    border-radius: 17px 17px 10px 10px;
  }

  .comparison img {
    object-position: 55% center;
  }

  .comparison-label {
    top: 14px;
  }

  .label-before {
    right: 14px;
  }

  .label-after {
    left: 14px;
  }

  .comparison-line span {
    width: 50px;
    height: 50px;
    border-width: 4px;
  }

  .process-list li {
    grid-template-columns: 48px 1fr;
    gap: 15px;
  }

  .process-list li > span {
    width: 44px;
    height: 44px;
  }

  .contact-number strong {
    font-size: 25px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Poster-aligned Sunshine Cleaners identity */
:root {
  --poster-sky: #86bff0;
  --poster-navy: #174867;
  --poster-yellow: #ffbd57;
  --poster-pill: #c7deed;
  --poster-aqua: #63d8dc;
}

.site-header {
  background: rgba(134, 191, 240, 0.96);
  border-bottom: 2px solid var(--poster-navy);
}

.poster-wordmark {
  min-width: 151px;
  gap: 0;
  text-align: center;
}

.poster-wordmark > strong {
  color: var(--poster-yellow);
  font-size: 23px;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 0.96;
}

.poster-wordmark > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 3px;
  color: var(--white);
  font-size: 8px;
  letter-spacing: 0;
}

.poster-wordmark b {
  padding: 4px 10px 5px;
  color: var(--poster-navy);
  background: var(--poster-pill);
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1;
}

.poster-wordmark i {
  color: var(--white);
  font-size: 9px;
  font-style: normal;
}

.poster-hero {
  min-height: auto;
  padding: clamp(48px, 6vw, 82px) 0;
  color: var(--poster-navy);
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 255, 255, 0.2), transparent 18%),
    var(--poster-sky);
}

.poster-hero-grid {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(440px, 0.93fr) minmax(0, 1.07fr);
  align-items: stretch;
  gap: clamp(42px, 6vw, 82px);
}

.poster-brand-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.poster-kicker {
  max-width: 520px;
  margin: 0 auto;
  color: var(--poster-navy);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.poster-rule {
  display: block;
  width: 88%;
  height: 3px;
  margin: 18px auto 22px;
  background: var(--poster-navy);
}

.hero-logo {
  display: grid;
  max-width: none;
  margin: 0 0 27px;
  text-align: center;
  text-transform: uppercase;
}

.hero-sunshine {
  color: var(--poster-yellow);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(58px, 6.7vw, 104px);
  font-weight: 950;
  letter-spacing: 0.015em;
  line-height: 0.9;
}

.hero-cleaners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(9px, 1.4vw, 19px);
  margin-top: 11px;
  color: var(--white);
}

.hero-cleaners b {
  padding: 7px clamp(18px, 2.5vw, 35px) 10px;
  color: var(--poster-navy);
  background: var(--poster-pill);
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(36px, 4.6vw, 70px);
  font-weight: 950;
  letter-spacing: 0.015em;
  line-height: 1;
}

.hero-cleaners i {
  color: var(--white);
  font-size: clamp(24px, 3vw, 43px);
  font-style: normal;
  line-height: 1;
}

.poster-brand-panel .hero-intro {
  max-width: 580px;
  margin: 0 0 27px;
  color: var(--poster-navy);
  font-size: 17px;
  font-weight: 650;
}

.button-navy {
  color: var(--white);
  background: var(--poster-navy);
  box-shadow: 0 12px 26px rgba(23, 72, 103, 0.2);
}

.button-navy:hover {
  background: var(--navy-950);
  box-shadow: 0 16px 32px rgba(23, 72, 103, 0.28);
}

.poster-brand-panel .hero-points {
  padding-top: 25px;
  color: var(--poster-navy);
}

.poster-brand-panel .hero-points span {
  color: var(--white);
  background: var(--poster-navy);
}

.poster-photo-panel {
  position: relative;
  min-height: 650px;
  overflow: visible;
  background: var(--poster-navy);
  border: 7px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  box-shadow: 18px 18px 0 var(--poster-yellow), var(--shadow);
}

.poster-photo-panel > .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  border-radius: 23px;
}

.hero-photo-caption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  color: var(--white);
  background: rgba(23, 72, 103, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  backdrop-filter: blur(8px);
}

.hero-photo-caption span {
  color: var(--poster-aqua);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-photo-caption strong {
  font-size: 14px;
}

.hero-photo-inset {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: -35px;
  width: 145px;
  height: 185px;
  padding: 5px;
  overflow: hidden;
  background: var(--white);
  border-radius: 17px;
  box-shadow: 0 18px 42px rgba(4, 33, 51, 0.24);
  transform: rotate(-3deg);
}

.hero-photo-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.hero-photo-inset span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  color: var(--poster-navy);
  background: var(--poster-yellow);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-strip {
  color: var(--poster-yellow);
  background: var(--poster-navy);
}

.intro-strip span {
  color: var(--poster-aqua);
}

.services {
  background: linear-gradient(180deg, #f4faff 0%, var(--cream) 100%);
}

.real-work-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 70px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.real-work-heading span,
.project-story-copy span {
  color: var(--poster-yellow);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.real-work-heading h3 {
  margin: 7px 0 0;
  color: var(--white);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
}

.real-work-heading p {
  max-width: 380px;
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  text-align: right;
}

.project-stories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 28px;
}

.project-story {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}

.project-pair {
  display: grid;
  height: 480px;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--poster-navy);
}

.project-pair figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.project-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.project-pair figure:hover img {
  transform: scale(1.025);
}

.project-pair figcaption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 7px 11px;
  color: var(--white);
  background: rgba(8, 40, 63, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.project-pair figure:last-child figcaption {
  color: var(--poster-navy);
  background: var(--poster-yellow);
  border-color: var(--poster-yellow);
}

.project-story-copy {
  padding: 24px 25px 27px;
}

.project-story-copy h3 {
  margin: 7px 0 8px;
  color: var(--white);
  font-size: 25px;
  letter-spacing: -0.03em;
}

.project-story-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 14px;
}

.project-video-story {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.4fr);
  align-items: center;
}

.project-video-story video {
  display: block;
  width: 100%;
  max-height: 650px;
  background: #061f31;
  object-fit: contain;
}

.brand-footer .poster-wordmark > span {
  color: var(--white);
}

@media (max-width: 1000px) {
  .poster-hero-grid {
    min-height: 560px;
    grid-template-columns: minmax(380px, 0.9fr) 1.1fr;
    gap: 42px;
  }

  .poster-photo-panel {
    min-height: 560px;
  }

  .hero-photo-inset {
    left: -23px;
    width: 115px;
    height: 150px;
  }

  .project-pair {
    height: 390px;
  }
}

@media (max-width: 780px) {
  .poster-wordmark {
    min-width: 130px;
  }

  .poster-wordmark > strong {
    font-size: 19px;
  }

  .poster-wordmark b {
    font-size: 10px;
  }

  .poster-hero {
    min-height: auto;
    padding: 40px 0 58px;
  }

  .poster-hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .poster-brand-panel {
    align-items: stretch;
  }

  .poster-kicker {
    max-width: 440px;
    font-size: clamp(19px, 5.8vw, 26px);
  }

  .poster-rule {
    width: 92%;
    margin-block: 15px 20px;
  }

  .hero-sunshine {
    font-size: clamp(54px, 17.5vw, 92px);
  }

  .hero-cleaners b {
    font-size: clamp(34px, 11vw, 58px);
  }

  .poster-brand-panel .hero-intro {
    max-width: 600px;
    font-size: 16px;
  }

  .poster-brand-panel .hero-points {
    display: flex;
  }

  .poster-photo-panel {
    min-height: min(600px, 112vw);
    margin-left: 14px;
    box-shadow: 11px 11px 0 var(--poster-yellow), var(--shadow);
  }

  .hero-photo-inset {
    top: 20px;
    left: -18px;
  }

  .real-work-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 55px;
  }

  .real-work-heading p {
    text-align: left;
  }

  .project-stories {
    grid-template-columns: 1fr;
  }

  .project-video-story {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .project-video-story video {
    max-height: 560px;
  }
}

@media (max-width: 540px) {
  .hero-cleaners {
    gap: 7px;
  }

  .hero-cleaners b {
    padding-inline: 16px;
  }

  .hero-cleaners i {
    font-size: 23px;
  }

  .poster-brand-panel .hero-points {
    gap: 8px 16px;
    font-size: 11px;
  }

  .project-pair {
    height: 360px;
  }
}

/* Refined advert-led layout using only real project media */
.brand-logo {
  display: block;
  width: 166px;
  height: auto;
}

.brand-footer .brand-logo {
  width: 190px;
}

.hero-logo-image {
  display: block;
  width: min(100%, 590px);
  height: auto;
  margin: -9px auto 25px;
}

.poster-brand-panel .poster-kicker {
  max-width: 560px;
  margin: 0 auto;
  color: var(--poster-navy);
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.025em;
}

.poster-photo-panel {
  min-height: 610px;
  box-shadow: 14px 14px 0 var(--poster-yellow), var(--shadow);
}

.poster-photo-panel > .hero-photo {
  object-position: center 50%;
}

.work {
  padding-block: clamp(78px, 9vw, 118px);
}

.work-heading {
  margin-bottom: 0;
}

.real-work-heading {
  padding-top: 48px;
}

.project-stories {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.project-story {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.project-pair {
  height: 285px;
}

.gallery-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

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

.gallery-open::after {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 29px;
  height: 29px;
  content: "+";
  color: var(--poster-navy);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  place-items: center;
  pointer-events: none;
}

.project-story-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 21px 22px 24px;
}

.project-story-copy h3 {
  font-size: 22px;
}

.project-video-story {
  grid-column: auto;
  display: flex;
  grid-template-columns: none;
  align-items: stretch;
}

.project-video-story video {
  width: 100%;
  height: 285px;
  max-height: none;
  background: #061f31;
  object-fit: cover;
}

.gallery-dialog {
  width: min(92vw, 760px);
  max-width: 760px;
  max-height: 90vh;
  padding: 0;
  overflow: visible;
  background: #071f30;
  border: 5px solid var(--white);
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.gallery-dialog::backdrop {
  background: rgba(3, 22, 34, 0.82);
  backdrop-filter: blur(7px);
}

.gallery-dialog img {
  display: block;
  width: 100%;
  max-height: calc(90vh - 10px);
  object-fit: contain;
  border-radius: 14px;
}

.gallery-close {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: -18px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--poster-navy);
  background: var(--poster-yellow);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  place-items: center;
}

body:has(.gallery-dialog[open]) {
  overflow: hidden;
}

@media (max-width: 1000px) {
  .poster-photo-panel {
    min-height: 540px;
  }

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

  .project-video-story {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
    align-items: center;
  }

  .project-video-story video {
    height: 330px;
  }
}

@media (max-width: 780px) {
  .brand-logo {
    width: 137px;
  }

  .hero-logo-image {
    width: min(100%, 540px);
  }

  .poster-photo-panel {
    min-height: min(540px, 105vw);
  }

  .project-stories {
    grid-template-columns: 1fr;
  }

  .project-pair {
    height: min(340px, 82vw);
  }

  .project-video-story {
    grid-column: auto;
    display: flex;
  }

  .project-video-story video {
    height: min(400px, 90vw);
    object-fit: contain;
  }
}

@media (max-width: 540px) {
  .poster-brand-panel .poster-kicker {
    font-size: 21px;
  }

  .hero-logo-image {
    margin-bottom: 20px;
  }

  .poster-photo-panel {
    min-height: 430px;
  }

  .project-pair {
    height: 270px;
  }

  .gallery-dialog {
    width: calc(100vw - 30px);
  }

  .gallery-close {
    top: 8px;
    right: 8px;
  }
}

/* Curated before/after selector and timed project carousel */
.pair-showcase {
  margin-top: 48px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
}

.pair-showcase-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 24px 24px;
}

.pair-showcase-head > div:first-child > span,
.carousel-heading span,
.work-video-card > div > span,
.pair-copy > span {
  color: var(--poster-yellow);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pair-showcase-head h3,
.carousel-heading h3,
.work-video-card h3 {
  margin: 6px 0 0;
  color: var(--white);
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.035em;
}

.pair-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.pair-tabs button {
  min-height: 40px;
  padding: 8px 15px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.pair-tabs button[aria-selected="true"] {
  color: var(--poster-navy);
  background: var(--poster-yellow);
  border-color: var(--poster-yellow);
}

.pair-slides {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(99, 216, 220, 0.13), transparent 30%),
    #0d3855;
  border-radius: 25px;
}

.pair-slide[hidden],
.carousel-slide[hidden] {
  display: none;
}

.pair-layout {
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
  padding: 28px clamp(28px, 5vw, 70px) 28px 28px;
}

.comparison-real {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  border: 4px solid var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(3, 24, 38, 0.34);
}

.comparison-real img {
  object-fit: cover;
}

.comparison-real .comparison-line span {
  width: 52px;
  height: 52px;
  border-width: 4px;
}

.pair-copy {
  max-width: 500px;
}

.pair-copy h4 {
  margin: 9px 0 17px;
  color: var(--white);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: clamp(31px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.pair-copy p {
  max-width: 430px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
}

.pair-copy small {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--poster-aqua);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pair-copy small::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

.work-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  align-items: stretch;
  gap: 20px;
  margin-top: 22px;
}

.project-carousel,
.work-video-card {
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
}

.carousel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 19px;
}

.carousel-heading h3 {
  font-size: 25px;
}

.carousel-heading small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 750;
}

.carousel-viewport {
  height: 405px;
  overflow: hidden;
  background: #061f31;
}

.carousel-slide {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carousel-slide figcaption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 7px 12px;
  color: var(--poster-navy);
  background: var(--poster-yellow);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.carousel-controls {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 9px;
  padding: 10px 17px;
}

.carousel-controls button {
  display: grid;
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  place-items: center;
}

.carousel-controls button:hover {
  color: var(--poster-navy);
  background: var(--poster-yellow);
  border-color: var(--poster-yellow);
}

.carousel-dots {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.carousel-dots button {
  min-width: 8px;
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.3);
  border: 0;
}

.carousel-dots button[aria-current="true"] {
  width: 24px;
  background: var(--poster-yellow);
}

.carousel-controls .carousel-toggle {
  min-width: 70px;
}

.work-video-card {
  display: flex;
  flex-direction: column;
}

.work-video-card video {
  display: block;
  width: 100%;
  height: 405px;
  background: #061f31;
  object-fit: contain;
}

.work-video-card > div {
  flex: 1;
  padding: 23px 24px 25px;
}

.work-video-card h3 {
  font-size: 25px;
}

.work-video-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

@media (max-width: 1000px) {
  .pair-layout {
    gap: 45px;
  }

  .work-media-grid {
    grid-template-columns: 1fr 0.72fr;
  }
}

@media (max-width: 780px) {
  .pair-showcase {
    margin-top: 38px;
    padding: 7px;
    border-radius: 24px;
  }

  .pair-showcase-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 19px 15px 20px;
  }

  .pair-tabs {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 3px;
    overflow-x: auto;
  }

  .pair-tabs button {
    flex: 0 0 auto;
  }

  .pair-layout {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 16px 16px 30px;
  }

  .comparison-real {
    max-width: 430px;
    margin-inline: auto;
  }

  .pair-copy {
    max-width: 520px;
    margin-inline: auto;
  }

  .pair-copy h4 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .work-media-grid {
    grid-template-columns: 1fr;
  }

  .carousel-viewport,
  .work-video-card video {
    height: min(440px, 95vw);
  }
}

@media (max-width: 540px) {
  .pair-showcase-head h3 {
    font-size: 24px;
  }

  .carousel-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .carousel-controls {
    padding-inline: 10px;
  }

  .carousel-controls .carousel-toggle {
    min-width: 62px;
    font-size: 11px;
  }
}
