:root {
  --dourado: #cbac6a;
  --off-white: #fff8f1;
  --grafite: #3d3d3d;
  --branco: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.58);
  --glass-bg-warm: rgba(255, 248, 241, 0.68);
  --glass-border: rgba(203, 172, 106, 0.38);
  --shadow-soft: rgba(61, 61, 61, 0.14);
  --shadow-deep: rgba(61, 61, 61, 0.18);
  --font-title: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', 'Inter', Arial, sans-serif;
  --container: 1220px;
  --header-height: 86px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(203, 172, 106, 0.13), transparent 30rem),
    radial-gradient(circle at 92% 4%, rgba(255, 255, 255, 0.85), transparent 26rem),
    var(--off-white);
  color: var(--grafite);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

::selection {
  background: rgba(203, 172, 106, 0.38);
}

.skip-link {
  background: var(--grafite);
  color: var(--branco);
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: 12px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
  z-index: 1000;
}

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

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

.section-pad {
  padding: 92px 0;
  position: relative;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(203, 172, 106, 0.34);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(61, 61, 61, 0.12);
}

.glass-card-dark {
  background: rgba(61, 61, 61, 0.38);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(203, 172, 106, 0.42);
  color: var(--branco);
}

.site-header {
  background: rgba(255, 248, 241, 0.56);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(203, 172, 106, 0.18);
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 248, 241, 0.68);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(203, 172, 106, 0.25);
  box-shadow: 0 16px 44px rgba(61, 61, 61, 0.09);
}

.header-inner {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: auto 1fr auto auto;
  min-height: var(--header-height);
}

.brand {
  align-items: center;
  display: inline-flex;
  min-width: 150px;
}

.brand img {
  height: 58px;
  object-fit: contain;
  width: auto;
}

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

.main-nav a {
  color: rgba(61, 61, 61, 0.84);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.main-nav a::after {
  background: var(--dourado);
  bottom: -8px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
  width: 100%;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--grafite);
}

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

.menu-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 48px;
  justify-content: center;
  padding: 0;
  width: 48px;
}

.menu-toggle span {
  background: var(--grafite);
  border-radius: 999px;
  display: block;
  height: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  width: 22px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

h1,
h2,
h3,
blockquote {
  color: var(--grafite);
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 4vw, 4.35rem);
  max-width: 700px;
}

h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.55rem);
}

h3 {
  font-size: clamp(1.28rem, 1.7vw, 1.62rem);
}

p {
  margin: 0;
}

.section-badge {
  align-items: center;
  color: var(--grafite);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-badge::before {
  background: var(--dourado);
  content: "";
  display: inline-block;
  height: 1px;
  width: 42px;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 36px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .section-badge {
  justify-content: center;
}

.section-heading p,
.section-copy p,
.professional-content p,
.contact-copy p,
.cta-card p {
  color: rgba(61, 61, 61, 0.78);
  font-size: 0.96rem;
  max-width: 600px;
}

.section-subtitle,
.hero-subtitle {
  color: rgba(61, 61, 61, 0.9);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.5;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  overflow: hidden;
  padding: 12px 21px;
  position: relative;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease;
  white-space: nowrap;
}

.btn::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  content: "";
  height: 100%;
  left: -120%;
  position: absolute;
  top: 0;
  transform: skewX(-18deg);
  transition: left 0.55s var(--ease);
  width: 80%;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:hover::before,
.btn:focus-visible::before {
  left: 130%;
}

.btn-primary {
  background: var(--dourado);
  color: var(--grafite);
  box-shadow: 0 18px 38px rgba(203, 172, 106, 0.32);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 22px 48px rgba(203, 172, 106, 0.42);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--glass-border);
  color: var(--grafite);
  box-shadow: 0 16px 34px rgba(61, 61, 61, 0.08);
}

.hero {
  min-height: auto;
  overflow: hidden;
  padding-bottom: 50px;
  padding-top: calc(var(--header-height) + 20px);
}

.hero-ambient {
  border: 1px solid rgba(203, 172, 106, 0.18);
  border-radius: 999px;
  height: 55vw;
  max-height: 680px;
  max-width: 680px;
  min-height: 340px;
  min-width: 340px;
  position: absolute;
  right: -12vw;
  top: 120px;
  width: 55vw;
}

.hero-ambient::before,
.hero-ambient::after {
  border: 1px solid rgba(203, 172, 106, 0.16);
  border-radius: inherit;
  content: "";
  inset: 42px;
  position: absolute;
}

.hero-ambient::after {
  inset: 94px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  position: relative;
}

.hero-copy {
  margin-top: -54px;
  padding-top: 0;
}

.hero-copy > * + * {
  margin-top: 15px;
}

.hero-actions,
.section-actions,
.center-actions,
.quick-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.microcopy {
  color: rgba(61, 61, 61, 0.68);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  aspect-ratio: 0.82;
  border-radius: 40px;
  box-shadow: 0 34px 90px rgba(61, 61, 61, 0.18);
  min-height: 460px;
  overflow: hidden;
  position: relative;
}

.hero-frame::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(61, 61, 61, 0.24));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-frame img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  width: 100%;
}

.hero-frame-line {
  border: 1px solid rgba(203, 172, 106, 0.78);
  border-radius: 34px;
  inset: 18px;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.hero-project-card {
  border-radius: 26px;
  bottom: 30px;
  left: 30px;
  padding: 20px;
  position: absolute;
  width: min(calc(100% - 60px), 360px);
  z-index: 3;
}

.hero-project-card span {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-project-card strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.48rem;
  line-height: 1.12;
  margin-top: 8px;
}

.hero-project-card p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  margin-top: 6px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag-row span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--branco);
  font-size: 0.68rem;
  padding: 6px 9px;
  text-transform: none;
}

.feature-grid {
  display: grid;
  gap: 20px;
}

.four-cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.service-card,
.testimonial-card,
.timeline-card,
.mini-card {
  min-height: 100%;
  padding: 24px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s ease;
}

.feature-card:hover,
.service-card:hover,
.testimonial-card:hover,
.timeline-card:hover,
.mini-card:hover {
  border-color: rgba(203, 172, 106, 0.62);
  box-shadow: 0 28px 90px rgba(61, 61, 61, 0.15);
  transform: translateY(-6px);
}

.card-number,
.timeline-card span {
  color: var(--dourado);
  display: inline-block;
  font-weight: 800;
  margin-bottom: 14px;
}

.feature-card p,
.service-card p,
.timeline-card p,
.mini-card p {
  color: rgba(61, 61, 61, 0.74);
  font-size: 0.93rem;
  line-height: 1.55;
  margin-top: 10px;
}

.split-section,
.consulting-grid,
.contact-grid,
.faq-grid,
.about-professional-grid {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.section-copy > * + * {
  margin-top: 16px;
}

.service-cloud {
  align-content: start;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px;
}

.service-cloud span,
.check-list li {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(203, 172, 106, 0.28);
  border-radius: 999px;
  color: rgba(61, 61, 61, 0.86);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 13px;
}

.project-visual {
  display: grid;
  gap: 16px;
}

.project-image-card {
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  padding: 10px;
}

.project-image-card img {
  border-radius: 20px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.project-visual .service-cloud {
  box-shadow: 0 18px 54px rgba(61, 61, 61, 0.09);
  padding: 18px;
}

.commercial-band,
.services,
.process,
.main-cta {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 248, 241, 0.18)),
    rgba(255, 255, 255, 0.18);
}

.consult-list {
  display: grid;
  gap: 18px;
}

.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 24px;
}

.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(260px, 1fr));
}

.gallery-item {
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(61, 61, 61, 0.13);
  min-height: 300px;
  overflow: hidden;
  position: relative;
}

.gallery-feature {
  grid-row: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
  width: 100%;
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.06);
}

.gallery-overlay {
  border-radius: 22px;
  bottom: 18px;
  left: 18px;
  opacity: 0;
  padding: 16px;
  position: absolute;
  right: 18px;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s var(--ease);
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-within .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay span {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-overlay strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.42rem;
  line-height: 1.05;
  margin-top: 6px;
}

.gallery-overlay a {
  color: var(--dourado);
  display: inline-block;
  font-weight: 800;
  font-size: 0.86rem;
  margin-top: 10px;
}

.center-actions {
  justify-content: center;
  margin-top: 28px;
}

.timeline {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  position: relative;
}

.timeline::before {
  background: linear-gradient(90deg, transparent, rgba(203, 172, 106, 0.55), transparent);
  content: "";
  height: 1px;
  left: 6%;
  position: absolute;
  right: 6%;
  top: 42px;
}

.timeline-card {
  position: relative;
}

.timeline-card span {
  background: rgba(255, 248, 241, 0.92);
  border: 1px solid rgba(203, 172, 106, 0.38);
  border-radius: 999px;
  padding: 7px 12px;
}

.about-professional-grid {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(255, 248, 241, 0.58)),
    var(--glass-bg-warm);
  padding: 28px;
}

.professional-photo-wrap {
  border-radius: 26px;
  min-height: 540px;
  overflow: hidden;
  position: relative;
}

.professional-photo-wrap::before {
  border: 1px solid rgba(203, 172, 106, 0.72);
  border-radius: 23px;
  content: "";
  inset: 16px;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.professional-photo-wrap img {
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.professional-signature {
  border-radius: 22px;
  bottom: 30px;
  left: 30px;
  padding: 18px 20px;
  position: absolute;
  right: 30px;
  z-index: 3;
}

.professional-signature strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.65rem;
  line-height: 1;
}

.professional-signature span {
  color: rgba(255, 255, 255, 0.82);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 8px;
}

.professional-content > * + * {
  margin-top: 15px;
}

blockquote {
  border-left: 2px solid var(--dourado);
  font-size: clamp(1.35rem, 2.1vw, 1.95rem);
  padding-left: 18px;
}

.testimonial-card p {
  color: rgba(61, 61, 61, 0.82);
  font-family: var(--font-title);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.26;
}

.cta-card {
  margin-inline: auto;
  max-width: 940px;
  padding: clamp(30px, 5vw, 54px);
  text-align: center;
}

.cta-card .section-badge,
.cta-card .section-actions {
  justify-content: center;
}

.cta-card p {
  margin-inline: auto;
  margin-top: 16px;
}

.cta-card .section-actions {
  margin-top: 24px;
}

.faq-grid {
  align-items: start;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
}

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

.faq-item {
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-title);
  font-size: clamp(1.12rem, 1.45vw, 1.38rem);
  font-weight: 700;
  list-style: none;
  padding: 20px 24px;
  position: relative;
}

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

.faq-item summary::after {
  color: var(--dourado);
  content: "+";
  font-family: var(--font-body);
  font-size: 1.25rem;
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  color: rgba(61, 61, 61, 0.75);
  font-size: 0.92rem;
  padding: 0 24px 22px;
}

.contact-grid {
  align-items: start;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.contact-copy > * + * {
  margin-top: 16px;
}

.quick-actions {
  align-items: stretch;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 28px;
}

.contact-form label {
  color: rgba(61, 61, 61, 0.78);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(203, 172, 106, 0.3);
  border-radius: 18px;
  color: var(--grafite);
  outline: none;
  padding: 13px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
}

.contact-form textarea {
  min-height: 112px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(203, 172, 106, 0.72);
  box-shadow: 0 0 0 4px rgba(203, 172, 106, 0.14);
}

.contact-form .btn {
  margin-top: 12px;
  width: 100%;
}

.form-note {
  color: rgba(61, 61, 61, 0.7);
  font-size: 0.88rem;
  text-align: center;
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(203, 172, 106, 0.12), transparent 40%),
    var(--grafite);
  color: var(--branco);
  padding: 54px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.25fr) auto minmax(260px, 0.8fr);
}

.footer-brand img {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 8px 12px;
}

.footer-brand h2 {
  color: var(--branco);
  font-size: 1.9rem;
  margin-top: 16px;
}

.footer-brand p,
.footer-info p,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.74);
}

.footer-brand p {
  max-width: 520px;
  margin-top: 12px;
}

.footer-nav,
.footer-info {
  display: grid;
  gap: 10px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--dourado);
}

.footer-info strong {
  color: var(--branco);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 46px;
  padding-top: 22px;
}

.whatsapp-float {
  align-items: center;
  bottom: 24px;
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 12px;
  left: 24px;
  position: fixed;
  right: auto;
  transition: left 0.3s var(--ease), opacity 0.25s ease, right 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 120;
}

.whatsapp-float.is-docked-right {
  flex-direction: row;
  left: auto;
  right: 24px;
}

.whatsapp-bubble {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(37, 211, 102, 0.28);
  border-radius: 999px;
  box-shadow: 0 16px 46px rgba(61, 61, 61, 0.15);
  color: var(--grafite);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  max-width: 230px;
  padding: 12px 16px;
  white-space: nowrap;
}

.whatsapp-icon {
  align-items: center;
  animation: whatsappPulse 2.8s ease-in-out infinite;
  background: #25d366;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.34);
  display: inline-flex;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.whatsapp-icon svg {
  display: block;
  fill: var(--branco);
  height: 31px;
  width: 31px;
}

.whatsapp-float:hover .whatsapp-icon,
.whatsapp-float:focus-visible .whatsapp-icon {
  animation-play-state: paused;
  transform: translateY(-2px);
}

@keyframes whatsappPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-4px) scale(1.04);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

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

:focus-visible {
  outline: 3px solid rgba(203, 172, 106, 0.78);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  :root {
    --header-height: 78px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav {
    background: rgba(255, 248, 241, 0.84);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(203, 172, 106, 0.32);
    border-radius: 28px;
    box-shadow: 0 24px 80px rgba(61, 61, 61, 0.14);
    display: grid;
    gap: 0;
    opacity: 0;
    padding: 18px;
    pointer-events: none;
    position: fixed;
    right: 24px;
    top: calc(var(--header-height) + 12px);
    transform: translateY(-10px);
    transition: opacity 0.24s ease, transform 0.24s var(--ease);
    width: min(360px, calc(100vw - 48px));
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    border-bottom: 1px solid rgba(203, 172, 106, 0.18);
    font-size: 1rem;
    padding: 15px 8px;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-cta {
    justify-self: end;
  }

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

  .hero-copy {
    margin-top: 0;
    padding-bottom: 0;
    padding-top: 0;
  }

  .hero-frame {
    min-height: 500px;
  }

  .four-cols,
  .three-cols,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }

  .split-section,
  .reverse,
  .consulting-grid,
  .about-professional-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 820px) {
  .section-pad {
    padding: 74px 0;
  }

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

  .header-inner {
    gap: 12px;
    min-height: var(--header-height);
  }

  .brand img {
    height: 50px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 34px);
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-actions,
  .section-actions,
  .quick-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-frame {
    border-radius: 30px;
    min-height: 460px;
  }

  .hero-project-card {
    bottom: 20px;
    left: 20px;
    padding: 18px;
    width: calc(100% - 40px);
  }

  .hero-project-card strong {
    font-size: 1.55rem;
  }

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

  .gallery-feature {
    grid-column: span 2;
    grid-row: auto;
  }

  .gallery-item {
    min-height: 330px;
  }

  .gallery-overlay {
    opacity: 1;
    transform: none;
  }

  .professional-photo-wrap,
  .professional-photo-wrap img {
    min-height: 470px;
  }

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

@media (max-width: 620px) {
  body {
    font-size: 14px;
  }

  .section-pad {
    padding: 62px 0;
  }

  .hero {
    padding-bottom: 48px;
    padding-top: calc(var(--header-height) + 26px);
  }

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

  h1 {
    font-size: clamp(2.2rem, 10vw, 2.85rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading.centered {
    text-align: left;
  }

  .section-heading.centered .section-badge {
    justify-content: flex-start;
  }

  .main-nav {
    left: 20px;
    right: 20px;
    width: auto;
  }

  .hero-frame {
    aspect-ratio: 0.78;
    min-height: 420px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    gap: 13px;
  }

  .hero-copy > * {
    margin-top: 0 !important;
  }

  .hero-copy .section-badge {
    margin-bottom: 0;
    order: 1;
  }

  .hero-copy h1 {
    order: 2;
  }

  .hero-subtitle {
    order: 3;
  }

  .hero-actions {
    order: 4;
  }

  .microcopy {
    order: 5;
  }

  .hero-text {
    order: 6;
  }

  .hero-frame-line {
    inset: 12px;
  }

  .tag-row span {
    font-size: 0.7rem;
  }

  .four-cols,
  .three-cols,
  .timeline,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-feature {
    grid-column: auto;
  }

  .gallery-item {
    min-height: 360px;
  }

  .feature-card,
  .service-card,
  .testimonial-card,
  .timeline-card,
  .mini-card,
  .service-cloud,
  .project-image-card,
  .check-list,
  .contact-form {
    padding: 20px;
  }

  .about-professional-grid {
    padding: 18px;
  }

  .professional-photo-wrap,
  .professional-photo-wrap img {
    min-height: 420px;
  }

  .professional-signature {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  .faq-item summary {
    padding: 18px 52px 18px 20px;
  }

  .faq-item p {
    padding: 0 20px 20px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .brand img {
    height: 44px;
  }

  .menu-toggle {
    height: 44px;
    width: 44px;
  }

  .hero-frame {
    min-height: 390px;
  }

  .gallery-item {
    min-height: 330px;
  }

  .professional-photo-wrap,
  .professional-photo-wrap img {
    min-height: 390px;
  }

  .service-cloud span,
  .check-list li {
    width: 100%;
  }

  .whatsapp-float {
    bottom: 18px;
    gap: 9px;
    left: 18px;
    right: auto;
  }

  .whatsapp-float:not(.is-docked-right) {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
  }

  .whatsapp-float.is-docked-right {
    left: auto;
    opacity: 1;
    pointer-events: auto;
    right: 18px;
    transform: translateY(0);
  }

  .whatsapp-bubble {
    font-size: 0.74rem;
    max-width: 205px;
    padding: 10px 12px;
    white-space: normal;
  }

  .whatsapp-icon {
    height: 52px;
    width: 52px;
  }

  .whatsapp-icon svg {
    height: 28px;
    width: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
