@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #24172d;
  --muted: #574a5e;
  --accent: #721650;
  --accent-hover: #51113f;
  --deep: #211427;
  --paper: #fff;
  --white: #fff;
  --tint: #f5edf8;
  --line: #eaddeb;
  --sans: "DM Sans", Arial, sans-serif;
  --column: 1152px;
  --gutter: clamp(19px, 5vw, 68px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--sans); }
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; }
p, h1, h2, h3, figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #83195f; outline-offset: 5px; }
.wrap { width: min(var(--column), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: clamp(47px, 6.5vw, 89px); }
.skip-link { position: fixed; z-index: 5; top: 10px; left: 10px; transform: translateY(-160%); padding: 10px 15px; background: white; }
.skip-link:focus { transform: translateY(0); }
.site-notice { padding: 12px var(--gutter); background: #fff3c5; }

h1, h2, h3 { font-weight: 700; letter-spacing: -.037em; }
h1 { font-size: clamp(2.8rem, 5vw, 4.25rem); line-height: 1.055; }
h2 { font-size: clamp(2rem, 3.45vw, 3rem); line-height: 1.12; }
h3 { font-size: 1.27rem; line-height: 1.25; letter-spacing: -.022em; }
.eyebrow { margin-bottom: 9px; color: var(--accent); font-size: .86rem; font-weight: 700; }
.section-heading { margin: 0 auto 30px; text-align: center; }
.section-heading > p { max-width: 53ch; margin: 10px auto 0; color: var(--muted); }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s, border-color .18s, color .18s;
}
.button svg { flex: none; width: 19px; height: 19px; }
.button-primary { background: var(--accent); color: var(--white); }
.button-primary:hover { background: var(--accent-hover); }
.button-outline { background: transparent; border-color: #bc96bd; color: var(--accent); }
.button-outline:hover { border-color: var(--accent); background: var(--tint); }
.brand { display: inline-flex; flex: none; align-items: center; width: fit-content; mix-blend-mode: multiply; }
.brand img { width: auto; height: 66px; }
.site-footer .brand img { height: 78px; }

.site-header { position: sticky; top: 0; z-index: 4; background: white; border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; }
[data-header] .header-inner {
  width: auto;
  margin-inline-start: clamp(12px, 1.4vw, 24px);
  margin-inline-end: max(var(--gutter), (100% - var(--column)) / 2);
}
.site-nav { display: flex; align-self: stretch; align-items: stretch; gap: clamp(18px, 3.2vw, 42px); }
.site-nav > a, .service-nav > button { display: inline-flex; align-items: center; }
.site-nav > a, .service-nav > button, .footer-inner nav a { color: var(--ink); font-weight: 600; font-size: .93rem; text-decoration: none; }
.site-nav > a:hover, .site-nav a[aria-current], .footer-inner nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.service-nav { position: relative; display: flex; align-items: stretch; }
.service-nav > button { gap: 5px; padding: 0; border: 0; background: transparent; }
.service-nav > button[aria-expanded="true"] { color: var(--accent); }
.service-nav > button svg { transition: transform .18s ease; }
.service-nav > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.service-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(640px, 85vw);
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 10px 18px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
  background: white;
  box-shadow: 0 16px 35px #49144023;
  transform: translateX(-45%);
}
.service-panel-label { padding: 2px 7px 6px; color: var(--accent); font-size: .86rem; font-weight: 700; }
.service-panel ul { list-style: none; margin: 0; padding: 0; }
.service-panel li + li { border-top: 1px solid var(--line); }
.service-panel a { display: block; padding: 5px 7px; font-size: .91rem; line-height: 1.4; text-decoration: none; }
.service-panel a:hover, .service-panel a:focus-visible { color: var(--accent); background: var(--tint); }
.service-panel .service-panel-all { grid-column: 1 / -1; padding-block: 10px 2px; border-top: 1px solid var(--line); color: var(--accent); font-weight: 700; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(510px, 40vw, 675px);
  overflow: hidden;
  background: #28142e;
  color: white;
}
.hero-backdrop, .hero::before { position: absolute; inset: 0; }
.hero-backdrop { z-index: -2; overflow: hidden; }
.hero-backdrop img, .hero-backdrop video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateY(var(--hero-offset, 0px));
}
.hero-backdrop video { position: absolute; inset: 0; opacity: 0; }
.hero-backdrop video.is-playing { opacity: 1; }
.hero[data-media-shape="portrait"] .hero-upload-image {
  object-fit: contain;
  object-position: 87% center;
}
.hero[data-media-shape="portrait"] .hero-backdrop:has(video.is-playing) {
  background: radial-gradient(ellipse at 78% 50%, #52304b, #28142e 65%);
}
.hero[data-media-shape="portrait"] .hero-backdrop video {
  left: auto;
  right: 10%;
  width: auto;
  max-width: 50%;
  object-fit: contain;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 87%, transparent);
}
.hero::before {
  content: "";
  z-index: -1;
  background:
    linear-gradient(90deg, #22102aeb 0%, #27142ddb 26%, #28152bb0 43%, #30183238 65%, #2b15251c 100%),
    linear-gradient(0deg, #1c0b2163, transparent 28%);
}
.hero-grid { padding-block: clamp(64px, 7vw, 105px); }
.hero-copy { max-width: min(51vw, 620px); }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #ffdeef;
  font-size: .88rem;
  font-weight: 700;
}
.hero-kicker::before { content: ""; width: 24px; height: 2px; flex: none; background: currentColor; }
.hero-copy h1 { font-size: clamp(2.45rem, 4.4vw, 4.3rem); line-height: 1.04; }
.hero-copy h1 span { display: block; }
.hero-description { max-width: 49ch; margin-block: 18px 28px; color: #fff3fa; font-size: 1.07rem; }
.hero-quote { min-height: 50px; padding-inline: 22px; background: #f9cbe6; color: #39132d; }
.hero-quote:hover { background: #ffdeee; }
.hero-copy :focus-visible { outline-color: #ffd8ee; }

.owner-section { background: #fff; }
.owner-grid { display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; gap: clamp(26px, 7vw, 106px); }
.owner-portrait {
  width: min(100%, 380px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(150deg, #f6e8f4, #eddbf2);
}
.owner-portrait img { width: 100%; height: clamp(270px, 33vw, 415px); object-fit: contain; object-position: center bottom; }
.owner-copy p:not(.eyebrow) { max-width: 49ch; margin-top: 13px; color: var(--muted); }
.owner-link { display: inline-block; margin-top: 19px; color: var(--accent); font-weight: 700; text-underline-offset: 4px; }

.metrics-section { border-bottom: 1px solid var(--line); background: #f9f1f8; }
.metrics-grid { display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: 30px; padding-block: 28px; }
.metrics-grid h2 { font-size: clamp(1.3rem, 2.5vw, 2rem); }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.metrics > div { display: flex; flex-direction: column-reverse; gap: 4px; justify-content: flex-end; padding-left: 18px; border-left: 1px solid #ddc8df; }
.metrics dt { color: var(--muted); font-size: .92rem; font-weight: 600; }
.metrics dd { margin: 0; color: var(--accent); font-size: clamp(1.72rem, 3.7vw, 3.15rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric-plus { margin-left: 3px; font-size: .68em; }

.office-section { background: #fcf5fa; border-block: 1px solid var(--line); }
.office-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(26px, 6vw, 84px); align-items: center; }
.office-copy p:last-child { max-width: 37ch; margin-top: 14px; color: var(--muted); }
.office-phone {
  position: relative;
  justify-self: center;
  width: min(100%, 300px);
  padding: 13px 8px 11px;
  border: 1px solid #705268;
  border-radius: 25px;
  background: #231729;
  box-shadow: inset 0 0 0 2px #473446, 0 15px 32px #4719421c;
}
.office-phone::before, .office-phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 1px;
  background: #674f63;
}
.office-phone::before { height: 29px; left: -3px; top: 76px; }
.office-phone::after { height: 35px; right: -3px; top: 109px; }
.office-video { width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: #f1e0f3; }
.office-video video { width: 100%; height: 100%; object-fit: contain; background: var(--deep); }

.comparison-section { padding-top: clamp(44px, 5.5vw, 76px); background: #faf5fc; }
.comparison { display: grid; gap: 13px; }
.comparison-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: min(100%, 658px); margin-inline: auto; overflow: hidden; border-radius: 18px; }
.comparison-panel, .comparison-stage { position: relative; overflow: hidden; background: #f0e5f5; }
.comparison-panel { aspect-ratio: 9 / 16; }
.comparison-panel[data-media-shape="wide"] { aspect-ratio: 4 / 3; }
.comparison-panel + .comparison-panel { background: #f6e2ee; }
.comparison-panel > img, .comparison-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.comparison-stage { width: min(100%, 390px); margin-inline: auto; aspect-ratio: 9 / 16; border-radius: 18px; --split: 50%; }
.comparison-stage[data-media-shape="wide"] { width: min(100%, 850px); aspect-ratio: 16 / 9; }
.comparison-before { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.comparison-divider { position: absolute; inset-block: 0; left: clamp(2px, var(--split), calc(100% - 2px)); width: 3px; background: white; transform: translateX(-50%); pointer-events: none; }
.comparison-divider > span { display: grid; place-items: center; position: absolute; top: 50%; left: 50%; width: 43px; height: 43px; transform: translate(-50%, -50%); border: 2px solid white; border-radius: 50%; background: var(--accent); color: white; }
.comparison-slider { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.comparison-stage:focus-within { outline: 3px solid #83195f; outline-offset: 4px; }
.comparison-composite { overflow: hidden; display: grid; place-items: center; border-radius: 18px; background: var(--tint); }
.comparison-composite[data-media-shape="portrait"] { width: min(100%, 390px); margin-inline: auto; }
.comparison-composite img { width: 100%; max-height: 680px; object-fit: contain; }
.comparison-caption { color: var(--muted); font-size: .9rem; text-align: center; }
.media-label { position: absolute; z-index: 1; top: 16px; left: 16px; border-radius: 5px; padding: 5px 10px; background: #481d4e; color: white; font-weight: 700; font-size: .79rem; line-height: 1.2; pointer-events: none; }
.label-after { left: auto; right: 16px; }
.placeholder { display: grid; position: relative; min-height: 100%; height: 100%; align-content: center; justify-items: center; gap: 10px; padding: 22px 12px; color: #604363; background: radial-gradient(ellipse at 70% 0, #ffffff40, transparent 75%); text-align: center; }
.placeholder-icon { display: grid; place-items: center; width: 57px; height: 57px; border: 1px solid #a577a570; border-radius: 50%; }
.placeholder-title { font-size: .91rem; font-weight: 600; }

.services-section { background: white; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 42px; }
.service-card { padding-inline: 7px; text-align: center; }
.service-icon { display: grid; width: 53px; height: 53px; place-items: center; margin: 0 auto 12px; border-radius: 50%; background: #f3e2f4; color: var(--accent); }
.service-card p { max-width: 34ch; margin: 6px auto 0; color: var(--muted); }
.service-items { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px 14px; padding: 0; margin: 13px 0 0; list-style: none; font-size: .91rem; font-weight: 600; }
.service-items a { color: var(--accent); text-decoration-color: #a06b9e; text-underline-offset: 3px; }
.service-items a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }

.work-section { border-top: 1px solid var(--line); background: #fdf8fb; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 22px; width: min(100%, 960px); margin-inline: auto; }
.video-card h3 { margin: 15px 0 5px; }
.video-card p { color: var(--muted); }
.video-frame { aspect-ratio: 9 / 16; overflow: hidden; border-radius: 15px; background: #f2e5f6; }
.video-frame[data-media-shape="wide"], .gallery-media[data-media-shape="wide"] { aspect-ratio: 16 / 9; }
.frame-garagem { background: #f7e8f2; }
.frame-jardinagem { background: #f0e6f7; }
.video-frame video, .gallery-media video { width: 100%; height: 100%; object-fit: contain; background: #221b27; }
.portfolio-link { margin-top: 30px; }

.story-section { color: var(--white); background: var(--deep); }
.story-section .section-heading { margin-bottom: 35px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 68px); }
.team-frame { width: min(100%, 330px); justify-self: center; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 12px; background: #efe4f3; }
.team-frame[data-media-shape="wide"] { width: 100%; aspect-ratio: 4 / 3; }
.team-frame .placeholder { color: #64466a; background: none; }
.team-frame img { width: 100%; height: 100%; object-fit: contain; }
.story-copy h3 { font-size: clamp(1.42rem, 2.8vw, 2.15rem); line-height: 1.15; }
.story-copy p { margin-top: 14px; color: #e9ddea; white-space: pre-line; overflow-wrap: anywhere; }
.reviews-section { padding-block: clamp(30px, 4vw, 54px); background: #fff; text-align: center; }
.reviews-section h2 { font-size: clamp(1.65rem, 3.4vw, 2.55rem); }
.reviews-intro { max-width: 74ch; margin: 9px auto 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.reviews-summary { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 3px 8px; margin-top: 17px; color: var(--muted); }
.reviews-summary strong { color: var(--ink); }
.reviews-carousel { position: relative; }
.reviews-grid {
  --reviews-per-view: 3;
  --reviews-visible: 3;
  --review-gap: 18px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--reviews-visible) - 1) * var(--review-gap)) / var(--reviews-visible));
  gap: var(--review-gap);
  margin-top: 14px;
  align-items: start;
  text-align: left;
}
.reviews-grid:not(.reviews-placeholders) { padding-top: 34px; }
.reviews-grid:not(.reviews-scrollable, .reviews-placeholders) {
  max-width: calc(352px * var(--reviews-visible) + var(--review-gap) * (var(--reviews-visible) - 1));
  margin-inline: auto;
}
.reviews-scrollable { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.reviews-scrollable:focus-visible { outline-offset: -3px; }
.review-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 164px;
  min-width: 0;
  padding: clamp(14px, 1.5vw, 21px);
  border-radius: 15px;
  border: 1px solid #eddfef;
  background: #f6f1f6;
  overflow-wrap: anywhere;
  scroll-snap-align: start;
}
.review-card:has(.review-identity) { position: relative; padding-top: 34px; }
.review-rating { display: flex; justify-content: center; align-items: center; gap: 7px; }
.review-stars { display: flex; align-items: center; gap: 2px; color: #a6929f; }
.review-verified { display: inline-flex; color: #306ad6; }
.review-stars span { display: inline-flex; }
.review-stars .star-filled { color: #c48300; }
.star-filled svg { fill: currentColor; }
.review-content { display: grid; gap: 6px; width: min(100%, 34ch); margin-inline: auto; }
.review-card blockquote { margin: 0; white-space: pre-line; text-align: center; font-size: .92rem; line-height: 1.4; }
.review-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.review-read-more { justify-self: center; padding: 1px 6px; border: 0; background: none; color: var(--accent); font-size: .83rem; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.review-dialog { width: min(520px, calc(100% - 32px)); max-height: 85dvh; padding: 24px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); }
.review-dialog::backdrop { background: #211427a6; }
.review-dialog h3 { margin-bottom: 12px; }
.review-dialog blockquote { font-size: 1rem; text-align: left; }
.review-dialog button { margin-top: 16px; }
.review-thumbnail-link { position: absolute; inset: 0; border-radius: 10px; }
.review-identity { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; color: var(--accent-hover); font-weight: 700; }
.review-avatar { display: block; flex: none; width: 50px; height: 50px; border-radius: 50%; object-fit: cover; background: #efd9ee; }
.review-identity .review-avatar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border: 3px solid white;
}
.review-initials { display: grid; place-items: center; font-size: .85rem; }
.review-controls { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.review-control {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #bc96bd;
  border-radius: 50%;
  background: white;
  color: var(--accent);
  pointer-events: auto;
}
.review-control:hover { background: var(--tint); border-color: var(--accent); }
.review-previous, .review-next { top: calc((100% - 44px) / 2); }
.review-previous { left: -54px; }
.review-next { right: -54px; }
.review-icon { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 50%; background: #efd9ee; color: var(--accent); }
.review-icon svg { width: 17px; height: 17px; fill: currentColor; }
.reviews-empty { margin-top: 9px; color: var(--muted); }
.reviews-placeholders .review-card { min-height: 148px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.reasons-section { border-top: 1px solid var(--line); background: #fff; }
.reasons-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(27px, 7vw, 104px); align-items: center; }
.reasons-copy p { max-width: 57ch; margin-top: 14px; color: var(--muted); }
.reasons-copy .button { margin-top: 22px; }
.reason-list { display: grid; gap: 13px; padding: 0; margin: 0; list-style: none; }
.reason-list li { display: flex; align-items: center; gap: 15px; padding: 14px 17px; border: 1px solid var(--line); border-radius: 12px; background: #faf2fa; }
.reason-list li:nth-child(2) { background: #fbf0f7; }
.reason-list span { display: grid; place-items: center; width: 41px; height: 41px; flex: none; border-radius: 50%; background: #f3ddec; color: var(--accent); }
.reason-list svg { width: 21px; height: 21px; }

.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(25px, 6vw, 82px); }
.faq-heading p { margin-top: 12px; color: var(--muted); }
.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: 12px; min-height: 56px; padding-block: 11px; font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none; }
.faq-list summary:focus-visible { outline-offset: -3px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+" / ""; flex: none; color: var(--accent); font-size: 1.3rem; }
.faq-list details[open] summary::after { content: "−" / ""; }
.faq-list details p { max-width: 67ch; padding: 0 27px 17px 0; color: var(--muted); }

.quote-section { background: #f8eef7; }

.quote-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: start; gap: clamp(25px, 6vw, 88px); }
.quote-intro { padding-top: 16px; }
.quote-intro p:not(.eyebrow) { max-width: 36ch; margin-top: 18px; color: var(--muted); }
.quote-form { display: grid; gap: 17px; padding: clamp(18px, 3vw, 35px); border: 1px solid var(--line); border-radius: 20px; background: white; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
label { display: block; min-width: 0; font-size: .93rem; font-weight: 700; line-height: 1.4; }
input:not([type="range"]), textarea, select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #bea4c2;
  border-radius: 9px;
  background-color: #fdfafd;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}
textarea { resize: vertical; }
select { padding-right: 26px; }
.optional { color: var(--muted); font-size: .85em; font-weight: 400; }
.quote-form > button, .upload-form > button, .settings-form > button { justify-self: start; }
.quote-preview { border-top: 1px solid var(--line); padding-top: 15px; }
.quote-preview .button { margin-block: 12px 0; }
.quote-preview p, #copy-status { color: var(--muted); font-size: .92rem; }
#copy-status { display: inline-block; margin-left: 8px; }

.site-footer { padding-block: 55px 62px; border-top: 1px solid var(--line); background: #f6edf8; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; align-items: start; gap: 25px; }
.footer-inner nav { display: grid; justify-items: start; gap: 6px; }
.footer-inner nav strong { margin-bottom: 4px; }
.footer-inner p { max-width: 31ch; margin-top: 10px; color: var(--muted); font-size: .94rem; }
.footer-contact span, .footer-contact address { color: var(--muted); font-size: .94rem; font-style: normal; overflow-wrap: anywhere; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact a[data-footer-phone], .footer-contact a[data-footer-instagram] { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); text-decoration: none; }
.footer-contact :is([data-footer-phone], [data-footer-instagram]):hover { text-decoration: none; }
.footer-contact [data-footer-instagram] svg { width: 24px; height: 24px; padding: 2px; border-radius: 6px; color: white; background: radial-gradient(circle at 25% 110%, #ffdc80 0%, #f77737 29%, #e1306c 52%, #833ab4 77%, #405de6 100%); }
.footer-contact [data-footer-phone] svg { width: 23px; height: 23px; padding: 1px; border-radius: 50%; color: white; background: #168348; }
.footer-contact :is([data-footer-phone], [data-footer-instagram]) span { color: inherit; }
.footer-contact :is([data-footer-phone], [data-footer-instagram]) svg { flex: none; }

.whatsapp-float { position: fixed; bottom: max(18px, env(safe-area-inset-bottom)); right: max(18px, env(safe-area-inset-right)); z-index: 3; display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid #f6e4f1; border-radius: 50%; color: white; background: #168348; box-shadow: 0 5px 15px #16462c38; }
.whatsapp-float:hover { background: #116a3a; }
.whatsapp-float span { display: grid; }

[data-reveal] { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.65,.35,1); }
.awaiting-reveal:not(:focus-within) { opacity: 0; transform: translateY(19px); }

.portfolio-hero { padding-block: clamp(48px, 8vw, 120px); background: var(--tint); border-bottom: 1px solid var(--line); }
.portfolio-hero p:not(.eyebrow) { max-width: 45ch; margin-top: 21px; color: var(--muted); font-size: 1.13rem; }
.gallery-section { padding-block: clamp(34px, 5.5vw, 70px); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-bar button { min-height: 43px; padding-inline: 17px; border: 1px solid #bea4c2; border-radius: 100px; background: white; color: var(--accent); font-weight: 700; }
.filter-bar button[aria-pressed="true"] { background: var(--accent); color: white; border-color: var(--accent); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; width: min(100%, 960px); margin-inline: auto; gap: 19px; }
.gallery-empty { grid-column: 1 / -1; justify-self: center; width: min(100%, 300px); height: auto; min-height: 0; aspect-ratio: 9 / 16; border: 1px solid #e4cfe6; border-radius: 15px; background-color: var(--tint); }
.gallery-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; }
.gallery-media { aspect-ratio: 9 / 16; width: 100%; overflow: hidden; }
.photo-button { width: 100%; height: 100%; }
.photo-button { display: block; padding: 0; border: 0; background: var(--tint); }
.photo-button img { width: 100%; height: 100%; object-fit: contain; }
.photo-button:focus-visible { outline-offset: -5px; }
.gallery-copy { padding: 17px; overflow-wrap: anywhere; }
.gallery-description { margin: 6px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.gallery-copy h2 { font: 700 1.18rem/1.25 var(--sans); letter-spacing: -.025em; }
.portfolio-cta { padding-bottom: 54px; }
.gallery-dialog { width: min(900px, calc(100vw - 34px)); max-height: 90dvh; padding: 18px; border: 0; border-radius: 14px; color: var(--ink); }
.gallery-dialog::backdrop { background: #211127dd; }
.dialog-close { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 0 8px auto; border: 0; border-radius: 100px; background: var(--tint); color: var(--ink); }
.dialog-content img { width: 100%; max-height: 66dvh; object-fit: contain; }
.dialog-content figcaption { margin-top: 8px; text-align: center; }

.admin-login { display: grid; min-height: 100dvh; place-items: center; padding: 22px; background: var(--tint); }
.admin-login-card { width: min(100%, 410px); padding: clamp(22px, 6vw, 39px); border: 1px solid var(--line); border-radius: 18px; background: white; }
.admin-login-card h1 { margin: 12px 0 20px; font-size: clamp(1.9rem, 6vw, 2.4rem); }
.admin-login-card form { display: grid; gap: 15px; }
.admin-login-card form .button { justify-self: start; min-width: 110px; }
.admin-login-back { display: inline-block; margin-top: 16px; color: var(--accent); text-underline-offset: 4px; }
.admin-header-actions { display: flex; justify-content: flex-end; gap: 8px; }
.admin-header-actions .button { padding-inline: 12px; }
.admin-main { padding-block: 45px 75px; }
.admin-main h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); }
.admin-intro { max-width: 65ch; margin: 16px 0; color: var(--muted); }
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px 19px; padding-block: 10px 13px; font-weight: 700; color: var(--accent); }
.admin-section { border-top: 1px solid var(--line); padding-block: 31px; }
.admin-section h2 { margin-bottom: 10px; font-size: clamp(2.15rem, 4vw, 3.4rem); }
.admin-section > p { color: var(--muted); }
.admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 16px; }
.admin-card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.admin-card > p { color: var(--muted); }
.upload-form, .settings-form { display: grid; align-content: start; gap: 11px; }
#new-gallery, .settings-form { max-width: 780px; margin-top: 16px; }
.admin-preview { display: grid; place-items: center; height: 126px; overflow: hidden; border-radius: 8px; background: var(--tint); }
.admin-preview img, .admin-preview video { width: 100%; height: 126px; object-fit: contain; }
.admin-preview .placeholder { width: 100%; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-card input[type="file"] { padding: 8px; font-size: .91rem; }
.admin-card input[type="file"]::file-selector-button { margin-right: 7px; color: var(--accent); }
.admin-card fieldset { min-width: 0; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.field-hint { margin-bottom: 8px; color: var(--muted); font-size: .9rem; }
.admin-card legend { padding-inline: 6px; font-weight: 700; }
.review-fields { display: grid; align-items: start; gap: 9px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.review-fields button { justify-self: start; }
.extra-videos-title { width: min(100%, 960px); margin: 32px auto 16px; }
.review-attachment { display: grid; gap: 8px; min-width: 0; }
.review-attachment-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 10px; background: #24132a; }
.review-attachment-frame :is(img, video) { position: absolute; inset: 0 auto auto 0; width: 100%; height: 100%; max-width: none; object-fit: fill; }
.review-attachment > button { justify-self: start; }
.review-thumbnail { position: relative; justify-self: center; width: min(100%, 144px); }
.review-thumbnail-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; display: grid; place-items: center; border: 0; border-radius: 10px; background: #21142738; color: white; }
.review-thumbnail-play svg { box-sizing: content-box; border-radius: 50%; padding: 7px; background: #211427d9; }
.review-media-preview { width: min(100%, 260px); }
.review-media-preview:empty { display: none; }
.review-avatar-tools { display: flex; align-items: center; gap: 10px; }
.review-verification { display: flex; align-items: center; gap: 7px; }
.review-verification input[type="checkbox"] { width: auto; accent-color: var(--accent); }
.review-crop-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.review-crop-sides input { width: 100%; accent-color: #881652; }
.field-status:empty, #admin-status:empty { display: none; }
.field-status:not(:empty), #admin-status:not(:empty) { color: var(--accent); font-size: .92rem; }
#admin-status:not(:empty) { margin-bottom: 12px; }
.error-message:not(:empty) { color: #a63027 !important; }

@media (max-width: 1200px) {
  .reviews-carousel:has(.review-controls:not([hidden])) { padding-bottom: 48px; }
  .review-previous, .review-next { top: auto; bottom: 0; }
  .review-previous { left: 0; }
  .review-next { right: 0; }
}

@media (max-width: 1040px) {
  .header-inner { gap: 18px; }
  .site-nav { gap: 18px; }
}

@media (max-width: 850px) {
  html { scroll-padding-top: 76px; }
  .header-inner { min-height: 63px; }
  .menu-toggle { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #e4cde5; border-radius: 100px; background: white; color: var(--accent); }
  .site-nav { display: none; position: absolute; top: calc(100% + 1px); right: 0; left: 0; align-items: stretch; padding: 13px; border: 1px solid var(--line); border-radius: 0 0 12px 12px; background: white; box-shadow: 0 13px 19px #49144020; }
  .site-nav.is-open { display: grid; gap: 1px; }
  .site-nav { max-height: calc(100dvh - 74px); overflow-y: auto; overscroll-behavior: contain; }
  .site-nav > a, .service-nav > button { min-height: 44px; padding: 9px 8px; }
  .service-nav { display: grid; }
  .service-nav > button { width: 100%; justify-content: space-between; }
  .service-panel { position: static; width: 100%; padding: 9px 8px 12px; grid-template-columns: 1fr 1fr; transform: none; box-shadow: none; }
  .hero { min-height: 470px; }
  .hero-copy { max-width: 58vw; }
  .hero-copy h1 { font-size: clamp(2.16rem, 5.15vw, 3.15rem); }
  .hero-description { margin-block: 13px 23px; }
  .services-grid, .admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews-grid { --reviews-per-view: 2; }
  .video-grid { gap: 14px; }
  .video-card h3 { font-size: 1.17rem; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-intro { padding-top: 0; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .brand img { height: 56px; }
  .service-panel { grid-template-columns: 1fr; }
  .service-panel a { min-height: 41px; display: flex; align-items: center; }
  .hero { --image-height: clamp(290px, 83vw, 440px); min-height: 0; }
  .hero-grid { padding-block: calc(var(--image-height) - 103px) 51px; }
  .hero-backdrop { bottom: auto; height: var(--image-height); }
  .hero-backdrop img, .hero-backdrop video { object-position: 70% 36%; }
  .hero[data-media-shape="portrait"] { --image-height: clamp(360px, 111vw, 510px); }
  .hero[data-media-shape="portrait"] .hero-upload-image { object-position: center top; }
  .hero[data-media-shape="portrait"]:has(.hero-backdrop video) { --image-height: clamp(380px, 140vw, 640px); }
  .hero[data-media-shape="portrait"] .hero-backdrop video {
    inset: 0;
    width: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 45%;
    mask-image: none;
  }
  .hero::before { bottom: auto; height: var(--image-height); background: linear-gradient(180deg, #28142e12 0%, #28142e22 33%, #28142ec7 72%, #28142e 100%); }
  .hero-copy { max-width: 480px; }
  .hero-copy h1 { font-size: clamp(2rem, 8.85vw, 3.25rem); }
  .hero-description { max-width: 40ch; font-size: 1rem; }
  .hero-quote { padding-inline: 17px; }
  .owner-grid { grid-template-columns: 1fr; gap: 23px; }
  .owner-portrait { width: min(100%, 320px); }
  .owner-copy { grid-row: 1; }
  .metrics-grid, .reasons-grid, .faq-grid { grid-template-columns: 1fr; gap: 23px; }
  .metrics-grid { padding-block: 21px; }
  .metrics { gap: 9px; }
  .metrics > div { padding-left: 10px; }
  .section-heading { margin-bottom: 21px; }
  .comparison-pair { gap: 4px; border-radius: 10px; }
  .media-label { top: 10px; left: 10px; }
  .label-after { left: auto; right: 10px; }
  .comparison-panel .placeholder-icon { width: 45px; height: 45px; }
  .comparison-panel .placeholder-title { font-size: .81rem; }
  .services-grid, .video-grid, .story-grid, .office-grid, .gallery-grid, .admin-grid { grid-template-columns: 1fr; }
  .reviews-grid { --reviews-per-view: 1; }
  .services-grid { gap: 29px; }
  .video-grid { gap: 25px; }
  .video-card, .gallery-card { justify-self: center; width: min(100%, 325px); }
  .form-row { grid-template-columns: 1fr; }
  .reviews-placeholders { --review-gap: 7px; }
  .reviews-placeholders .review-card { min-height: 77px; padding: 9px; }
  .reviews-placeholders .review-icon { width: 30px; height: 30px; }
  .footer-inner > div { grid-column: 1 / -1; }
  .site-footer { padding-bottom: 75px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], .button { transition: none; }
  .hero-backdrop img, .hero-backdrop video { transform: none; }
  .awaiting-reveal:not(:focus-within) { opacity: 1; transform: none; }
}

