:root {
  --bg: #fbfaf7;
  --paper: #ffffff;
  --ink: #1c1b19;
  --muted: #6f6b65;
  --line: #e7dfd4;
  --wood: #caa47d;
  --wood-dark: #9f7650;
  --soft-wood: #f2e7da;
  --charcoal: #171716;
  --shadow: 0 24px 70px rgba(29, 25, 20, 0.12);
  --radius: 22px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.footer-bottom a {
  color: #d8b26a;
  font-weight: 700;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  z-index: 1000;
  border-radius: 12px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 223, 212, 0.8);
}
.header-inner {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: 300px; height: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.94rem;
  font-weight: 600;
}
.main-nav a {
  position: relative;
  padding: 8px 0;
  color: #2d2b28;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--wood-dark);
  transition: width .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.94rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #e1bf9b, #b98d63);
  color: #181514;
  box-shadow: 0 14px 30px rgba(159, 118, 80, 0.22);
}
.header-cta {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.86rem;
  gap: 8px;
  white-space: nowrap;
}
.btn-outline {
  border: 1px solid #cdb9a2;
  color: var(--wood-dark);
  background: rgba(255,255,255,.68);
}
.light-outline {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  background: rgba(0,0,0,.12);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 18, 16, 0.72), rgba(20, 18, 16, 0.22), rgba(20, 18, 16, 0.04)),
    url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=82') center/cover no-repeat;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.16), transparent 28%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 92px 0;
  color: #fff;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: .96;
  max-width: 750px;
  margin: 0 0 22px;
  letter-spacing: -0.035em;
}
.hero-text {
  font-size: 1.22rem;
  max-width: 560px;
  margin: 0 0 34px;
  color: rgba(255,255,255,.88);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.eyebrow {
  color: var(--wood-dark);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 800;
  margin: 0 0 10px;
}
.eyebrow.light { color: #e5c39e; }

.features {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  padding: 34px 26px;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 18px;
  row-gap: 6px;
  align-content: flex-start;
  border-right: 1px solid var(--line);
}

.feature-card:last-child {
  border-right: 0;
}

.feature-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border: 1px solid #e3c6a8;
  color: var(--wood-dark);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-card h3 {
  grid-column: 2;
  margin: 0 0 6px;
  font-size: 1.02rem;
  line-height: 1.35;
}

.feature-card p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
}

/* Responsivo tablet */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card {
    border-bottom: 1px solid var(--line);
  }

  .feature-card:nth-child(2) {
    border-right: 0;
  }

  .feature-card:nth-child(3),
  .feature-card:nth-child(4) {
    border-bottom: 0;
  }
}

/* Responsivo celular */
@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-card:last-child {
    border-bottom: 0;
  }
}

.split-section { padding: 0; }
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  align-items: stretch;
  min-height: 520px;
}
.section-copy {
  padding: 76px 72px 76px 0;
  align-self: center;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}
.section-copy p:not(.eyebrow), .section-subtitle {
  color: var(--muted);
  margin: 0 0 16px;
}
.image-panel {
  margin: 0;
  min-height: 440px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services, .projects {
  padding: 82px 0;
  background: linear-gradient(180deg, #fff, #fbfaf7);
}
.centered { text-align: center; }
.section-heading {
  max-width: 800px;
  margin: 0 auto 40px;
}
.section-heading h2 { margin-bottom: 14px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px 24px;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: #d4b28e;
  box-shadow: var(--shadow);
}
.service-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: var(--wood-dark);
  border: 1px solid #e1c2a1;
  border-radius: 18px;
  font-size: 28px;
}
.service-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.45rem;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

.projects { padding-top: 72px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-status {
  margin: 0 0 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}
.gallery-status.success { color: var(--wood-dark); border-color: #d9bd9e; }
.gallery-status.warning { color: #8a5b23; background: #fff8ec; border-color: #ead2af; }
.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 255px;
  border: 0;
  border-radius: 6px;
  background: #ddd;
  isolation: isolate;
  cursor: pointer;
  padding: 0;
  text-align: left;
  box-shadow: 0 16px 40px rgba(29, 25, 20, 0.08);
}
.gallery-item.wide { min-height: 300px; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.72));
  opacity: .86;
  z-index: 1;
}
.gallery-item span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 38px;
  z-index: 2;
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  text-shadow: 0 2px 10px rgba(0,0,0,.34);
}
.gallery-item small {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 2;
  color: rgba(255,255,255,.86);
  font-weight: 700;
  letter-spacing: .02em;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:focus-visible {
  outline: 3px solid #d6ad83;
  outline-offset: 4px;
}
.gallery-action { margin-top: 26px; }


.location {
  padding: 82px 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(202, 164, 125, .20), transparent 32%),
    linear-gradient(135deg, #fffaf3 0%, #ffffff 48%, #f4eadf 100%);
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.location-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 28px;
  align-items: center;
}

.location-copy,
.map-panel {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.location-copy {
  padding: 40px;
  border-radius: 18px;
}

.location-copy h2 {
  margin-bottom: 16px;
}

.location-copy p:not(.eyebrow) {
  color: var(--muted);
  margin: 0 0 22px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 26px 0 24px;
}

.contact-info-card {
  min-height: 112px;
  padding: 17px 18px;
  border: 1px solid rgba(159, 118, 80, .18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(242,231,218,.7));
  display: grid;
  align-content: start;
  gap: 4px;
}

.contact-info-card:nth-child(3),
.contact-info-card:nth-child(4) {
  grid-column: span 2;
}

.contact-info-card span {
  color: var(--wood-dark);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.contact-info-card strong {
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.45;
  word-break: break-word;
}

.contact-info-card a:hover {
  color: var(--wood-dark);
}

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

.map-panel {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  align-self: center;
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.testimonial {
  background:
    linear-gradient(90deg, rgba(0,0,0,.93), rgba(28,27,25,.94)),
    url('https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1500&q=80') center/cover;
  color: #fff;
  padding: 62px 0;
}
.testimonial-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}
.quote-mark {
  color: #caa47d;
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 0;
  transform: translateY(22px);
}
blockquote { margin: 0; }
blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.25;
  max-width: 820px;
}
.rating {
  display: grid;
  gap: 2px;
  color: #fff;
  min-width: 190px;
}
.rating span { color: #e2bc78; letter-spacing: 4px; font-size: 1.3rem; }
.rating small { color: rgba(255,255,255,.7); }

.cta {
  background:
    linear-gradient(90deg, #f8efe5, #f5e5d4 70%, rgba(245,229,212,.8)),
    radial-gradient(circle at 92% 100%, rgba(159,118,80,.20), transparent 30%);
  padding: 58px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
}
.cta h2 { margin-bottom: 8px; }
.cta p:not(.eyebrow) { max-width: 620px; color: var(--muted); margin: 0; }
.cta-actions { display: grid; gap: 12px; justify-items: start; }
.phone-link { color: var(--ink); font-weight: 700; }

.site-footer {
  background: #171716;
  color: rgba(255,255,255,.72);
  padding: 58px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr .85fr 1fr;
  gap: 42px;
}
.footer-logo {
  width: 220px;
  filter: invert(1) grayscale(1) brightness(2.4);
  opacity: .86;
  margin-bottom: 18px;
}
.site-footer h3 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  font-size: .84rem;
  color: rgba(255,255,255,.52);
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  font-size: 26px;
  box-shadow: 0 18px 38px rgba(37, 211, 102, .32);
  z-index: 90;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 13, 12, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
  z-index: 300;
}
.lightbox.active { display: flex; }
.lightbox figure { margin: 0; max-width: min(1100px, 88vw); max-height: 88vh; }
.lightbox img { max-height: 78vh; width: 100%; object-fit: contain; border-radius: 12px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 14px; font-weight: 700; }
.lightbox-close, .lightbox-arrow {
  position: absolute;
  border: 0;
  color: #fff;
  background: rgba(255,255,255,.12);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox-close {
  right: 26px;
  top: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 32px;
}
.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 72px;
  font-size: 54px;
  border-radius: 12px;
}
.lightbox-arrow.prev { left: 24px; }
.lightbox-arrow.next { right: 24px; }

@media (max-width: 980px) {
  .header-inner { height: 86px; }
  .brand img { width: 208px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav, .header-cta {
    position: fixed;
    left: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav {
    top: 94px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px;
    border-radius: 18px 18px 0 0;
  }
  .header-cta {
    top: 372px;
    border-radius: 0 0 18px 18px;
    margin: 0;
  }
  body.nav-open .main-nav, body.nav-open .header-cta { display: flex; }
  .features-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { border-bottom: 1px solid var(--line); }
  .split-grid, .cta-inner, .testimonial-inner, .location-grid, .reviews-grid-site { grid-template-columns: 1fr; }
  .section-copy { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .location-copy { padding: 30px; }
  .map-panel { aspect-ratio: 1 / 1; min-height: 0; max-height: 480px; justify-self: center; }
  .map-panel iframe { min-height: 0; height: 100%; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .hero { min-height: 620px; }
  .hero-content { padding: 70px 0; }
  .hero h1 { font-size: clamp(2.65rem, 15vw, 4rem); }
  .hero-actions, .btn { width: 100%; }
  .features-grid, .services-grid, .gallery, .footer-grid { grid-template-columns: 1fr; }
  .feature-card { border-right: 0; grid-template-columns: 44px 1fr; padding-inline: 0; }
  .services, .projects { padding: 62px 0; }
  .gallery-item, .gallery-item.wide { min-height: 245px; }
  .testimonial-inner { gap: 12px; }
  .quote-mark { font-size: 5rem; }
  .rating { min-width: 0; }
  .floating-whatsapp { right: 14px; bottom: 14px; }
  .location { padding: 62px 0; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-info-card:nth-child(3),
  .contact-info-card:nth-child(4) { grid-column: span 1; }
  .map-panel { aspect-ratio: 1 / 1; min-height: 0; max-height: 380px; }
  .map-panel iframe { min-height: 0; height: 100%; }
  .lightbox-arrow { width: 42px; height: 58px; font-size: 42px; }
  .lightbox-arrow.prev { left: 8px; }
  .lightbox-arrow.next { right: 8px; }
}


 .testimonial {
  background:
    linear-gradient(90deg, rgba(0,0,0,.94), rgba(28,27,25,.95)),
    url('https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1500&q=80') center/cover;
  color: #fff;
  padding: 72px 0;
}

.reviews-heading {
  margin-bottom: 34px;
}

.reviews-heading h2 {
  color: #fff;
  margin-bottom: 10px;
}

.reviews-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255,255,255,.76);
}

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

.review-card-site {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 24px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 20px 48px rgba(0,0,0,.22);
  color: #fff;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.review-card-site:hover {
  transform: translateY(-4px);
  border-color: rgba(226,188,120,.55);
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.065));
}

.review-card-site .stars {
  color: #e2bc78;
  letter-spacing: 4px;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.review-card-site p {
  margin: 0 0 20px;
  color: rgba(255,255,255,.88);
  line-height: 1.65;
}

.review-card-site strong {
  display: block;
  margin-top: auto;
  color: #fff;
}

.review-card-site small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.65);
}

.reviews-actions-site {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.quote-mark {
  color: #caa47d;
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 0;
  transform: translateY(22px);
}
blockquote { margin: 0; }
blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.25;
  max-width: 820px;
}
.rating {
  display: grid;
  gap: 2px;
  color: #fff;
  min-width: 190px;
}
.rating span { color: #e2bc78; letter-spacing: 4px; font-size: 1.3rem; }
.rating small { color: rgba(255,255,255,.7); }

@media (max-width: 980px) {
  .reviews-grid-site {
    grid-template-columns: 1fr;
  }

  .reviews-actions-site .btn {
    width: auto;
  }
}

@media (max-width: 640px) {
  .testimonial {
    padding: 58px 0;
  }

  .review-card-site {
    padding: 22px 20px;
  }

  .reviews-actions-site .btn {
    width: 100%;
  }
}


/* SEO avançado - páginas internas */
.page-hero {
  position: relative;
  padding: 104px 0 82px;
  background:
    linear-gradient(135deg, rgba(23,23,22,.92), rgba(64,49,35,.78)),
    url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=82') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 15%, rgba(255,255,255,.16), transparent 28%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.5vw, 5rem);
  line-height: .98;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
}

.page-hero p:not(.eyebrow) {
  color: rgba(255,255,255,.86);
  max-width: 720px;
  font-size: 1.08rem;
  margin: 0 0 30px;
}

.page-section {
  padding: 76px 0;
  background: linear-gradient(180deg, #fff, #fbfaf7);
}

.seo-links-home {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.seo-card-grid.compact {
  grid-template-columns: repeat(4, 1fr);
}

.seo-card {
  min-height: 100%;
}

.seo-card a,
.linked-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 44px rgba(29,25,20,.07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.seo-card a:hover,
.linked-card a:hover {
  transform: translateY(-5px);
  border-color: #d4b28e;
  box-shadow: var(--shadow);
}

.seo-card-kicker {
  color: var(--wood-dark);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.seo-card h3,
.content-card h3 {
  font-family: var(--serif);
  font-size: 1.58rem;
  line-height: 1.12;
  margin: 0 0 12px;
}

.seo-card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.seo-card small,
.linked-card small,
.text-link {
  color: var(--wood-dark);
  font-weight: 800;
  margin-top: auto;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  font-size: .9rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 26px;
  align-items: stretch;
}

.content-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(29,25,20,.07);
}

.content-card.light {
  background: linear-gradient(135deg, #fffaf3, #ffffff);
}

.content-card p {
  color: var(--muted);
  margin: 0 0 16px;
}

.keyword-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.keyword-list li {
  margin-bottom: 10px;
}

.internal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.internal-links a {
  padding: 12px 18px;
  border: 1px solid #d9bd9e;
  border-radius: 999px;
  background: #fff;
  color: var(--wood-dark);
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.internal-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(159,118,80,.16);
}

.page-icon {
  margin: 0 0 18px;
}

.linked-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.linked-card a {
  text-align: center;
}

@media (max-width: 980px) {
  .seo-card-grid,
  .seo-card-grid.compact,
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 76px 0 60px;
  }

  .seo-card-grid,
  .seo-card-grid.compact,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-card {
    padding: 28px 22px;
  }
}
