:root {
  --white: #ffffff;
  --off-white: #f8f8f8;
  --charcoal: #1a1a1a;
  --emerald: #003f3d;
  --emerald-deep: #002f2d;
  --muted: #6f6f6f;
  --line: rgba(26, 26, 26, 0.1);
  --gold: #c9a86a;
  --gold-dark: #9c7a39;
  --shadow: 0 24px 70px rgba(26, 26, 26, 0.1);
  --shadow-soft: 0 16px 44px rgba(26, 26, 26, 0.08);
  --container: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--charcoal);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
  box-shadow: 0 16px 42px rgba(26, 26, 26, 0.08);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, 1320px);
  min-height: 82px;
  margin: 0 auto;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  min-width: 0;
}

.site-header.scrolled .brand,
.site-header.scrolled .nav-links a {
  color: var(--charcoal);
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid rgba(201, 168, 106, 0.6);
  background: var(--emerald);
  box-shadow: 0 14px 34px rgba(0, 63, 61, 0.22);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
}

.brand strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.82rem, 1.4vw, 0.98rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header.scrolled .brand small {
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

.nav-links .nav-cta {
  border: 1px solid rgba(201, 168, 106, 0.7);
  background: var(--gold);
  color: var(--charcoal);
  padding: 12px 18px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.scrolled .menu-toggle {
  border-color: var(--line);
  background: var(--white);
}

.site-header.scrolled .menu-toggle span {
  background: var(--charcoal);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2000&q=88");
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.12));
}

.hero-content {
  width: min(100% - 40px, 1120px);
  padding-top: 80px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Manrope", "Inter", sans-serif;
  line-height: 1.02;
}

h1 {
  max-width: 850px;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  letter-spacing: -0.055em;
}

h2 {
  color: var(--charcoal);
  font-size: clamp(2.1rem, 4vw, 4.3rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.28rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 14px 22px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 18px 44px rgba(201, 168, 106, 0.24);
}

.btn-secondary,
.btn-outline {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.btn-outline {
  border-color: var(--line);
  color: var(--charcoal);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  gap: 1px;
  margin-top: 52px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-stats div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--white);
  font-size: 1.25rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  margin-top: 4px;
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: grid;
  width: 30px;
  height: 48px;
  place-items: start center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-indicator span {
  width: 4px;
  height: 9px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--gold);
  animation: scrollDot 1.6s ease infinite;
}

.section {
  padding: 110px 0;
}

.section-soft {
  background: var(--off-white);
}

.lead-choice-section {
  padding: 0 0 110px;
  background:
    linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

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

.lead-choice-card {
  position: relative;
  overflow: hidden;
  min-height: 370px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 248, 248, 0.92)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=85") center/cover;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.lead-choice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.84);
}

.lead-choice-card span {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead-choice-card h2 {
  max-width: 520px;
  margin-top: 18px;
  font-size: clamp(2rem, 3vw, 3.6rem);
}

.lead-choice-card p {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
}

.lead-choice-card .btn {
  margin-top: 30px;
}

.lead-choice-dark {
  background:
    linear-gradient(135deg, rgba(0, 63, 61, 0.92), rgba(0, 47, 45, 0.88)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1200&q=85") center/cover;
  color: var(--white);
}

.lead-choice-dark::before {
  background:
    radial-gradient(circle at top right, rgba(201, 168, 106, 0.2), transparent 32%),
    rgba(0, 47, 45, 0.78);
}

.lead-choice-dark h2 {
  color: var(--white);
}

.lead-choice-dark p {
  color: rgba(255, 255, 255, 0.76);
}

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

.section-heading p,
.split-intro p,
.about-copy p,
.form-studio-intro p,
.form-panel-copy p,
.contact-card p {
  color: var(--muted);
}

.section-heading > p:last-child {
  margin-top: 18px;
  font-size: 1.05rem;
}

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

.premium-card,
.feature-card,
.service-card,
.about-panel,
.contact-card,
.form-shell {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.premium-card,
.feature-card,
.service-card {
  min-height: 220px;
  padding: 30px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.premium-card:hover,
.feature-card:hover,
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 106, 0.55);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid rgba(201, 168, 106, 0.5);
  color: var(--gold-dark);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.premium-card p,
.feature-card p,
.service-card p {
  margin-top: 14px;
  color: var(--muted);
}

.feature-card,
.service-card {
  min-height: 170px;
}

.split-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--off-white);
}

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

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease, filter 600ms ease;
}

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

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.62));
}

.gallery-item figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 1;
  color: var(--white);
  font-weight: 800;
}

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

.form-section {
  scroll-margin-top: 80px;
}

.form-studio-section {
  position: relative;
  background:
    linear-gradient(180deg, var(--off-white), #ffffff 56%, var(--off-white));
}

.anchor-target {
  position: absolute;
  top: -86px;
}

.form-studio {
  border: 1px solid rgba(201, 168, 106, 0.28);
  border-top: 4px solid var(--gold);
  background:
    radial-gradient(circle at top right, rgba(201, 168, 106, 0.12), transparent 30%),
    #ffffff;
  padding: clamp(22px, 4vw, 46px);
  box-shadow: 0 36px 110px rgba(26, 26, 26, 0.12);
}

.form-studio-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(22px, 4vw, 48px);
  align-items: end;
  margin-bottom: 30px;
}

.form-studio-intro p {
  max-width: 700px;
  margin-top: 16px;
  color: var(--muted);
}

.form-tab-list {
  display: grid;
  gap: 10px;
}

.form-tab {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--charcoal);
  padding: 14px;
  text-align: left;
  cursor: pointer;
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.form-tab span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(201, 168, 106, 0.34);
  color: var(--gold-dark);
  font-family: "Manrope", sans-serif;
}

.form-tab:hover,
.form-tab.active {
  border-color: rgba(201, 168, 106, 0.58);
  background: rgba(201, 168, 106, 0.08);
  transform: translateY(-1px);
}

.form-panel {
  display: none;
}

.form-panel.active {
  display: block;
  animation: testimonialIn 280ms ease both;
}

.form-panel-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.form-panel-copy span {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.form-panel-copy h3 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

.form-panel-copy p {
  color: var(--muted);
}

.form-benefit-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.form-benefit-strip span {
  border: 1px solid rgba(201, 168, 106, 0.28);
  background: rgba(201, 168, 106, 0.08);
  color: var(--gold-dark);
  padding: 8px 11px;
  font-size: 0.8rem;
  font-weight: 900;
}

.iframe-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--off-white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.premium-form-frame {
  position: relative;
  height: min(760px, 72vh);
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 248, 248, 0.95));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.84),
    0 24px 74px rgba(26, 26, 26, 0.08);
}

.premium-form-frame::before {
  content: "";
  position: sticky;
  top: 0;
  z-index: 2;
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 168, 106, 0.18));
}

.iframe-wrap iframe {
  display: block;
  margin: -4px auto 0;
  max-width: 980px;
}

.partner-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}

.partner-benefits span {
  border: 1px solid rgba(201, 168, 106, 0.35);
  background: rgba(201, 168, 106, 0.08);
  color: var(--gold-dark);
  padding: 9px 12px;
  font-size: 0.86rem;
  font-weight: 800;
}

.seo-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

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

.seo-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.seo-card h3 {
  margin-bottom: 14px;
}

.seo-card p {
  color: var(--muted);
}

.footer-brand {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(201, 168, 106, 0.5);
  background: var(--emerald);
  object-fit: contain;
  padding: 9px;
}

.footer-brand h2 {
  max-width: 360px;
  font-size: clamp(2.1rem, 4.3vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.065em;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 34px;
  align-items: stretch;
}

.about-copy p {
  margin-top: 18px;
  font-size: 1.04rem;
}

.about-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 430px;
  padding: 36px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.66)),
    url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1000&q=85") center/cover;
  color: var(--white);
}

.about-panel span {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-panel strong {
  margin-top: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  line-height: 1.1;
}

.about-panel p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.testimonial-slider {
  position: relative;
  min-height: 300px;
}

.testimonial-card {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(28px, 5vw, 58px);
  box-shadow: var(--shadow-soft);
}

.testimonial-card.active {
  display: block;
  animation: testimonialIn 360ms ease both;
}

.testimonial-card p {
  max-width: 900px;
  color: var(--charcoal);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.testimonial-card h3 {
  margin-top: 34px;
}

.testimonial-card span {
  color: var(--muted);
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  font-size: 1.8rem;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.slider-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-2px);
}

.contact-section {
  background: var(--white);
}

.contact-card {
  padding: clamp(28px, 5vw, 54px);
}

.contact-card h2 {
  margin-bottom: 18px;
}

.phone-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold-dark);
  font-size: 1.5rem;
  font-weight: 800;
}

.map-card {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.footer {
  background:
    radial-gradient(circle at top left, rgba(201, 168, 106, 0.1), transparent 28%),
    #111111;
  color: var(--white);
  padding: 76px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(150px, 0.7fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.footer h2,
.footer h3 {
  color: var(--white);
}

.footer p,
.footer a {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  transition: color 180ms ease;
}

.footer-grid > div:first-child > p {
  max-width: 430px;
  font-size: 1rem;
  font-weight: 700;
}

.footer a:hover {
  color: var(--gold);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.socials a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  margin-top: 0;
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

.copyright {
  width: min(100% - 40px, var(--container));
  margin: 50px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.9rem;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: grid;
  gap: 10px;
}

.floating-actions a,
.floating-actions button {
  display: grid;
  min-width: 56px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(201, 168, 106, 0.45);
  background: rgba(255, 255, 255, 0.94);
  color: var(--charcoal);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, background 180ms ease;
}

.floating-actions .float-whatsapp {
  min-width: 112px;
  border-color: rgba(37, 211, 102, 0.45);
  background: #25d366;
  color: #071d10;
}

.floating-actions .float-whatsapp:hover {
  background: #20bd5a;
  color: #071d10;
}

.floating-actions a:hover,
.floating-actions button:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

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

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

@keyframes heroDrift {
  from {
    transform: scale(1.04) translateX(0);
  }
  to {
    transform: scale(1.09) translateX(-1.4%);
  }
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes testimonialIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 16px;
  }

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

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

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

  .split-intro,
  .about-grid,
  .contact-grid,
  .form-studio-intro,
  .form-panel-copy {
    grid-template-columns: 1fr;
  }

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

  .map-card {
    min-height: 360px;
  }

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

@media (max-width: 820px) {
  .navbar {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: 72px 14px auto 14px;
    display: grid;
    max-height: calc(100vh - 92px);
    padding: 22px;
    overflow: auto;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-links a,
  .site-header .nav-links a {
    color: var(--charcoal);
  }

  .nav-links .nav-cta {
    text-align: center;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.58));
  }

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

  .section {
    padding: 78px 0;
  }

  .category-grid,
  .feature-grid,
  .service-grid,
  .gallery-grid,
  .footer-grid,
  .lead-choice-grid {
    grid-template-columns: 1fr;
  }

  .form-studio {
    padding: 18px;
  }

  .form-tab {
    grid-template-columns: 38px 1fr;
    gap: 10px;
    padding: 12px;
  }

  .form-tab span {
    width: 38px;
    height: 38px;
  }

  .premium-form-frame {
    height: 680px;
  }

  .gallery-grid {
    grid-auto-rows: 240px;
  }

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

  .premium-card,
  .feature-card,
  .service-card {
    min-height: auto;
  }

  .floating-actions {
    left: 12px;
    right: 12px;
    bottom: 10px;
    grid-template-columns: 1fr 0.72fr 46px;
    gap: 8px;
  }

  .floating-actions a,
  .floating-actions button {
    min-width: 0;
    height: 46px;
    font-size: 0.72rem;
  }

  .floating-actions .float-whatsapp {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .container,
  .navbar,
  .hero-content {
    width: min(100% - 28px, var(--container));
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand strong {
    max-width: 168px;
    white-space: normal;
    font-size: 0.78rem;
    line-height: 1.05;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .form-shell,
  .contact-card {
    padding: 22px;
  }

  .iframe-wrap iframe {
    min-height: 900px;
  }

  .footer {
    padding-bottom: 84px;
  }

  .footer-brand {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .footer-brand img {
    width: 48px;
    height: 48px;
    padding: 7px;
  }

  .footer-brand h2 {
    font-size: 2rem;
    letter-spacing: -0.05em;
  }
}
