/* نجارة ودهانات الشرقاوى — shared responsive styles */
:root {
  color-scheme: light;
  --wood-950: #2b1a10;
  --wood-900: #3d2517;
  --wood-800: #55331e;
  --wood-700: #744724;
  --wood-600: #925b30;
  --wood-500: #b3783f;
  --wood-400: #cf9b62;
  --wood-300: #e2bd8d;
  --wood-200: #f0d9bb;
  --wood-100: #f8ecdc;
  --wood-50: #fffaf2;
  --paint-50: #f7fbfa;
  --paint-100: #edf5f2;
  --sage-700: #225948;
  --sage-600: #2e6d59;
  --sage-500: #43846f;
  --ink: #211b16;
  --muted: #6f655d;
  --line: rgba(78, 50, 29, 0.13);
  --surface: #fffefa;
  --surface-soft: #f9f5ef;
  --white: #ffffff;
  --whatsapp: #128c4e;
  --whatsapp-dark: #0b6f3d;
  --danger: #9b2c2c;
  --shadow-sm: 0 8px 24px rgba(62, 39, 23, 0.08);
  --shadow-md: 0 18px 52px rgba(62, 39, 23, 0.12);
  --shadow-lg: 0 28px 80px rgba(52, 31, 18, 0.18);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 42px;
  --header-height: 76px;
  --container: 1180px;
  --font: Tahoma, "Segoe UI", Arial, sans-serif;
}

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

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--surface-soft);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

button,
textarea,
input {
  font: inherit;
}

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

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

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

ul,
ol {
  padding-inline-start: 1.25rem;
}

::selection {
  background: var(--wood-300);
  color: var(--wood-950);
}

:focus-visible {
  outline: 3px solid rgba(67, 132, 111, 0.65);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 9999;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 12px;
  background: var(--wood-950);
  color: var(--white);
  transition: transform 180ms ease;
}

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

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

.section {
  position: relative;
  padding-block: clamp(68px, 9vw, 116px);
}

.section--light {
  background: var(--surface);
}

.section--soft {
  background:
    radial-gradient(circle at 12% 12%, rgba(226, 189, 141, 0.28), transparent 34%),
    var(--surface-soft);
}

.section--dark {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 0, rgba(207, 155, 98, 0.2), transparent 36%),
    linear-gradient(145deg, var(--wood-950), #1f1813);
  color: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-block-end: clamp(30px, 5vw, 52px);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 14px;
  color: var(--wood-700);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  width: 26px;
  height: 3px;
  border-radius: 99px;
  background: var(--wood-500);
  content: "";
}

.section--dark .eyebrow {
  color: var(--wood-300);
}

.section-title {
  margin-block-end: 14px;
  color: var(--wood-950);
  font-size: clamp(1.8rem, 5vw, 3.15rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.section--dark .section-title {
  color: var(--white);
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.section--dark .section-copy {
  color: rgba(255, 255, 255, 0.72);
}

/* Balanced centered presentation for marketing copy and reusable cards. */
.section-heading {
  margin-inline: auto;
  text-align: center;
}

.hero-copy,
.service-card,
.feature-card,
.post-card-body,
.schedule-card,
.contact-card,
.page-hero .container,
.sidebar-card,
.footer-main {
  text-align: center;
}

.hero h1,
.hero-lead,
.page-hero h1,
.page-hero p,
.cta-band p,
.footer-brand p {
  margin-inline: auto;
}

.hero-trust,
.hero-actions,
.hero-points,
.breadcrumbs,
.page-hero-actions,
.post-meta,
.article-top-meta,
.contact-list li,
.contact-list a,
.booking-badge,
.quick-benefit {
  justify-content: center;
}

.trust-item {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.service-icon,
.feature-icon {
  margin-inline: auto;
}

.service-card .text-link,
.post-card .text-link {
  align-self: center;
}

.schedule-card h3,
.contact-card h3,
.faq-answer p,
.featured-image figcaption,
.prose h2,
.prose h3,
.prose h4 {
  text-align: center;
}

.contact-list svg {
  margin-block-start: 0;
}

.cta-band-inner {
  text-align: center;
}

.cta-band-inner > .btn {
  justify-self: center;
}

.footer-brand .brand {
  justify-content: center;
}

.footer-links {
  justify-items: center;
}

.footer-bottom {
  align-items: center;
  text-align: center;
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 1000;
  height: var(--header-height);
  border-block-end: 1px solid transparent;
  background: rgba(255, 253, 249, 0.86);
  backdrop-filter: blur(18px) saturate(135%);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 32px rgba(54, 34, 20, 0.08);
}

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

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(180, 120, 63, 0.22);
  border-radius: 15px;
  background: linear-gradient(145deg, var(--wood-50), var(--wood-100));
  box-shadow: inset 0 1px 0 var(--white), var(--shadow-sm);
  color: var(--wood-700);
}

.brand-mark svg {
  width: 27px;
  height: 27px;
}

.brand-text {
  display: grid;
  min-width: 0;
  line-height: 1.35;
}

.brand-text strong {
  overflow: hidden;
  color: var(--wood-950);
  font-size: clamp(0.88rem, 3vw, 1.05rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.7rem;
}

.nav-toggle {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--wood-900);
  cursor: pointer;
}

.nav-toggle svg {
  width: 23px;
  height: 23px;
}

.site-nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  display: grid;
  max-height: calc(100dvh - var(--header-height));
  padding: 18px 16px 28px;
  overflow-y: auto;
  border-block-end: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.98);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.nav-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--wood-900);
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: var(--wood-100);
  color: var(--wood-700);
}

.header-cta {
  display: none;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.25;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.btn--primary {
  background: linear-gradient(135deg, var(--wood-700), var(--wood-600));
  box-shadow: 0 13px 28px rgba(116, 71, 36, 0.22);
  color: var(--white);
}

.btn--whatsapp {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  box-shadow: 0 13px 28px rgba(18, 140, 78, 0.2);
  color: var(--white);
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn--ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--wood-800);
}

.btn--small {
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(54px, 8vw, 104px);
  background:
    radial-gradient(circle at 15% 0, rgba(255, 255, 255, 0.96), transparent 35%),
    radial-gradient(circle at 92% 86%, rgba(207, 155, 98, 0.25), transparent 30%),
    linear-gradient(145deg, #fffdf9 0%, #f8efe2 55%, #f1dfc7 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(116, 71, 36, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(116, 71, 36, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(34px, 7vw, 80px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(116, 71, 36, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--wood-800);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-500);
  box-shadow: 0 0 0 5px rgba(67, 132, 111, 0.12);
}

.hero h1 {
  max-width: 770px;
  margin-block-end: 20px;
  color: var(--wood-950);
  font-size: clamp(2.25rem, 8.4vw, 4.65rem);
  line-height: 1.24;
  letter-spacing: -0.045em;
}

.hero h1 span {
  color: var(--wood-600);
}

.hero-lead {
  max-width: 690px;
  margin-block-end: 24px;
  color: #5f554d;
  font-size: clamp(1rem, 2.5vw, 1.18rem);
}

.hero-trust {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-block-end: 26px;
  padding: 11px 14px;
  border: 1px solid rgba(167, 104, 47, 0.14);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #f1aa18;
  font-size: 1.1rem;
  letter-spacing: 2px;
  line-height: 1;
  white-space: nowrap;
}

.hero-trust strong {
  color: var(--wood-950);
}

.hero-trust small {
  color: var(--muted);
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--wood-800);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-points li::before {
  color: var(--sage-600);
  content: "✓";
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 400px;
  border: 1px solid rgba(116, 71, 36, 0.12);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 242, 0.5)),
    repeating-linear-gradient(10deg, rgba(116, 71, 36, 0.06) 0 2px, transparent 2px 34px);
  box-shadow: var(--shadow-lg);
}

.hero-visual::after {
  position: absolute;
  inset: auto 9% -22px 9%;
  z-index: -1;
  height: 42px;
  border-radius: 50%;
  background: rgba(71, 43, 25, 0.18);
  filter: blur(18px);
  content: "";
}

.cabinet-scene {
  position: absolute;
  inset: 34px;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 12px;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(145deg, #8f5a30, #5a351f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 24px 46px rgba(58, 34, 20, 0.24);
}

.cabinet-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background:
    repeating-radial-gradient(ellipse at 10% 15%, rgba(246, 214, 169, 0.18) 0 2px, transparent 3px 26px),
    linear-gradient(145deg, #b47a43, #8b552d);
}

.cabinet-panel::before {
  position: absolute;
  inset: 17px;
  border: 2px solid rgba(255, 235, 205, 0.34);
  border-radius: 12px;
  content: "";
}

.cabinet-panel::after {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 16px;
  width: 8px;
  height: 34px;
  border-radius: 99px;
  background: #2f2119;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  content: "";
  transform: translateY(-50%);
}

.cabinet-panel--small {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  background: transparent;
}

.cabinet-panel--small::before,
.cabinet-panel--small::after {
  content: none;
}

.cabinet-drawer {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: linear-gradient(145deg, #c68e51, #8a522b);
}

.cabinet-drawer::after {
  position: absolute;
  inset-block-start: 18px;
  inset-inline-start: 50%;
  width: 42px;
  height: 6px;
  border-radius: 99px;
  background: #35231a;
  content: "";
  transform: translateX(50%);
}

.visual-note {
  position: absolute;
  inset-block-end: 18px;
  inset-inline-start: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
  color: var(--wood-900);
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.visual-note-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: var(--paint-100);
  color: var(--sage-700);
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-block-start: -26px;
}

.trust-strip-grid {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border-radius: 14px;
}

.trust-item-icon,
.service-icon,
.feature-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: linear-gradient(145deg, var(--wood-50), var(--wood-100));
  color: var(--wood-700);
}

.trust-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.trust-item svg,
.service-icon svg,
.feature-icon svg {
  width: 22px;
  height: 22px;
}

.trust-item strong {
  display: block;
  color: var(--wood-950);
  font-size: 0.9rem;
}

.trust-item small {
  color: var(--muted);
}

.services-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::after {
  position: absolute;
  inset: auto auto -54px -46px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(226, 189, 141, 0.16);
  content: "";
}

.service-card:hover {
  border-color: rgba(179, 120, 63, 0.34);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.service-icon {
  width: 54px;
  height: 54px;
  margin-block-end: 18px;
  border: 1px solid rgba(179, 120, 63, 0.16);
  border-radius: 17px;
}

.service-card h3 {
  margin-block-end: 10px;
  color: var(--wood-950);
  font-size: 1.18rem;
  line-height: 1.5;
}

.service-card p {
  flex: 1;
  margin-block-end: 18px;
  color: var(--muted);
  font-size: 0.93rem;
}

.text-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  color: var(--wood-700);
  font-size: 0.9rem;
  font-weight: 900;
}

.text-link::after {
  content: "←";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(-4px);
}

.features-grid,
.posts-grid {
  display: grid;
  gap: 16px;
}

.feature-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-block-end: 16px;
  border-radius: 15px;
}

.feature-card h3 {
  margin-block-end: 8px;
  font-size: 1.08rem;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.schedule-layout {
  display: grid;
  gap: 20px;
}

.schedule-card,
.contact-card,
.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.schedule-card,
.contact-card {
  padding: clamp(22px, 4vw, 34px);
}

.schedule-card h3,
.contact-card h3 {
  margin-block-end: 18px;
  color: var(--wood-950);
  font-size: 1.35rem;
}

.hours-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-list li {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 12px;
  padding-block: 11px;
  border-block-end: 1px dashed var(--line);
  text-align: center;
}

.hours-list li:last-child {
  border: 0;
}

.hours-list span {
  color: var(--muted);
}

.hours-list strong {
  color: var(--wood-900);
  font-size: 0.9rem;
  text-align: center;
}

.booking-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-start: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(67, 132, 111, 0.16);
  border-radius: 14px;
  background: var(--paint-100);
  color: var(--sage-700);
  font-size: 0.9rem;
  font-weight: 800;
}

.booking-badge::before {
  content: "✓";
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.contact-list li,
.contact-list a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-list svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-block-start: 0;
  color: var(--wood-600);
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.map-card iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
}

.faq-list {
  display: grid;
  max-width: 900px;
  gap: 12px;
  margin-inline: auto;
}

.faq-item {
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(62, 39, 23, 0.04);
}

.faq-question {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 54px;
  border: 0;
  background: transparent;
  color: var(--wood-950);
  cursor: pointer;
  font-weight: 800;
  text-align: center;
}

.faq-question::after {
  position: absolute;
  inset-inline-end: 17px;
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: var(--wood-100);
  color: var(--wood-700);
  content: "+";
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer > div {
  min-height: 0;
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 17px 17px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.post-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.post-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--wood-100);
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.post-card:hover .post-card-media img {
  transform: scale(1.03);
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-block-end: 10px;
  color: var(--muted);
  font-size: 0.78rem;
}

.post-card h3 {
  margin-block-end: 10px;
  color: var(--wood-950);
  font-size: 1.08rem;
  line-height: 1.6;
}

.post-card p {
  flex: 1;
  margin-block-end: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(42px, 7vw, 72px);
  background: linear-gradient(135deg, var(--wood-800), var(--wood-950));
  color: var(--white);
}

.cta-band::before {
  position: absolute;
  inset: -100px auto auto -80px;
  width: 320px;
  height: 320px;
  border: 70px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  content: "";
}

.cta-band-inner {
  position: relative;
  display: grid;
  align-items: center;
  gap: 24px;
}

.cta-band h2,
.cta-band h3 {
  margin-block-end: 8px;
  font-size: clamp(1.6rem, 4vw, 2.45rem);
}

.cta-band p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  background: #17120f;
  color: rgba(255, 255, 255, 0.74);
}

.footer-main {
  display: grid;
  gap: 30px;
  padding-block: 54px 38px;
}

.footer-brand .brand-text strong {
  color: var(--white);
}

.footer-brand .brand-text small {
  color: rgba(255, 255, 255, 0.54);
}

.footer-brand p {
  max-width: 430px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-col h3 {
  margin-block-end: 14px;
  color: var(--white);
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--wood-300);
}

.footer-map {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #241b16;
}

.footer-map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  filter: saturate(0.78) contrast(1.02);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-block: 18px calc(18px + env(safe-area-inset-bottom));
  border-block-start: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
}

.developer-credit {
  color: rgba(255, 255, 255, 0.58);
}

.developer-credit a {
  color: var(--wood-300);
  font-weight: 800;
}

/* Inner pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(54px, 8vw, 90px);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.8), transparent 32%),
    linear-gradient(145deg, #fffdf8, #f0dec7);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  margin-block-end: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumbs a {
  color: var(--wood-700);
  font-weight: 700;
}

.breadcrumbs span[aria-hidden="true"] {
  opacity: 0.5;
}

.page-hero h1 {
  max-width: 900px;
  margin-block-end: 16px;
  color: var(--wood-950);
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.page-hero p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.14rem);
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 24px;
}

.inner-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

.content-card {
  padding: clamp(22px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.prose {
  color: #413a34;
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 2;
}

.prose > *:first-child {
  margin-block-start: 0;
}

.prose h2,
.prose h3,
.prose h4 {
  scroll-margin-top: calc(var(--header-height) + 22px);
  color: var(--wood-950);
  line-height: 1.5;
}

.prose h2 {
  margin-block: 42px 15px;
  padding-block-end: 10px;
  border-block-end: 2px solid var(--wood-100);
  font-size: clamp(1.55rem, 4vw, 2.25rem);
}

.prose h3 {
  margin-block: 28px 10px;
  font-size: clamp(1.22rem, 3vw, 1.55rem);
}

.prose p {
  margin-block: 0 18px;
}

.prose ul,
.prose ol {
  margin-block: 0 22px;
}

.prose li {
  margin-block: 7px;
}

.prose li::marker {
  color: var(--wood-500);
}

.prose strong {
  color: var(--wood-900);
}

.prose a:not(.btn) {
  color: var(--sage-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-top-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-block-end: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.featured-image {
  margin: 0 0 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--wood-100);
  box-shadow: var(--shadow-sm);
}

.featured-image img {
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
}

.featured-image figcaption {
  padding: 9px 14px;
  color: var(--muted);
  font-size: 0.76rem;
}

.quick-benefits {
  display: grid;
  gap: 10px;
  margin-block: 24px 30px;
}

.quick-benefit {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(67, 132, 111, 0.14);
  border-radius: 13px;
  background: var(--paint-50);
  color: var(--sage-700);
  font-size: 0.88rem;
  font-weight: 800;
}

.quick-benefit::before {
  content: "✓";
}

.toc,
.takeaway-box,
.inline-cta {
  margin-block: 28px;
  padding: 20px;
  border-radius: var(--radius-md);
}

.toc {
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.toc h2 {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  font-size: 1.2rem;
}

.toc ol {
  margin: 0;
}

.takeaway-box {
  border: 1px solid rgba(67, 132, 111, 0.18);
  background: var(--paint-100);
}

.takeaway-box h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  color: var(--sage-700);
  font-size: 1.2rem;
}

.takeaway-box p {
  margin: 0;
}

.inline-cta {
  border: 1px solid rgba(179, 120, 63, 0.18);
  background: linear-gradient(145deg, var(--wood-50), var(--wood-100));
  text-align: center;
}

.inline-cta h3 {
  margin: 0 0 7px;
}

.inline-cta p {
  margin-block-end: 15px;
}

.sidebar {
  display: grid;
  gap: 16px;
}

.sidebar-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.sidebar-card h2,
.sidebar-card h3 {
  margin-block-end: 13px;
  color: var(--wood-950);
  font-size: 1.08rem;
}

.sidebar-links {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 150ms ease, color 150ms ease;
}

.sidebar-links a::after {
  content: "←";
}

.sidebar-links a:hover,
.sidebar-links a[aria-current="page"] {
  background: var(--wood-100);
  color: var(--wood-800);
}

.sidebar-cta {
  background: linear-gradient(145deg, var(--wood-800), var(--wood-950));
  color: rgba(255, 255, 255, 0.74);
}

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

.sidebar-cta .btn {
  width: 100%;
  margin-block-start: 12px;
}

.service-detail-list {
  display: grid;
  gap: 12px;
  margin-block: 22px 30px;
  padding: 0;
  list-style: none;
}

.service-detail-list li {
  position: relative;
  padding: 13px 42px 13px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
}

.service-detail-list li::before {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 7px;
  background: var(--sage-600);
  color: var(--white);
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
}

.related-links {
  display: grid;
  gap: 12px;
  margin-block-start: 24px;
}

.related-link-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--wood-800);
  font-weight: 800;
  text-align: center;
}

/* Floating contact actions: call above WhatsApp on the lower-left. */
.floating-contact-actions {
  position: fixed;
  left: max(14px, env(safe-area-inset-left));
  right: auto;
  inset-block-end: max(16px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 2900;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.floating-contact-button {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(28, 30, 36, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  color: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-contact-button::before {
  position: absolute;
  inset: -6px;
  z-index: -1;
  border: 1px solid currentColor;
  border-radius: inherit;
  content: "";
  opacity: 0;
  animation: floating-contact-halo 3.4s ease-out infinite;
}

.floating-contact-button:hover {
  box-shadow: 0 20px 40px rgba(28, 30, 36, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-3px) scale(1.03);
}

.floating-contact-button svg {
  width: 26px;
  height: 26px;
}

.floating-contact-button--call {
  background: linear-gradient(145deg, #2b8be6, #125da8);
}

.floating-contact-button--call::before {
  animation-delay: 0.8s;
}

.floating-contact-button--whatsapp {
  background: linear-gradient(145deg, #2bd66f, #128c4e);
}

.floating-contact-tooltip {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  padding: 7px 11px;
  border: 1px solid rgba(62, 39, 23, 0.1);
  border-radius: 999px;
  background: rgba(33, 27, 22, 0.94);
  box-shadow: var(--shadow-sm);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-5px);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.floating-contact-button:hover .floating-contact-tooltip,
.floating-contact-button:focus-visible .floating-contact-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Floating AI assistant: all class names deliberately prefixed. */
.ai-assistant-root {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  left: auto;
  inset-block-end: max(16px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.ai-assistant-launch-wrap,
.ai-assistant-window {
  pointer-events: auto;
}

.ai-assistant-launch-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ai-assistant-label {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(43, 26, 16, 0.94);
  box-shadow: var(--shadow-md);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.ai-assistant-launch {
  position: relative;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: linear-gradient(145deg, #7b4a28, var(--wood-950));
  box-shadow: 0 18px 38px rgba(52, 31, 18, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: var(--white);
  cursor: pointer;
  animation: ai-assistant-breathe 2.8s ease-in-out infinite;
}

.ai-assistant-launch::before {
  position: absolute;
  inset: -6px;
  z-index: -1;
  border: 1px solid rgba(179, 120, 63, 0.46);
  border-radius: 50%;
  content: "";
  animation: ai-assistant-pulse 2.8s ease-out infinite;
}

.ai-assistant-launch::after {
  position: absolute;
  right: 1px;
  bottom: 2px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: #37c77a;
  box-shadow: 0 3px 8px rgba(21, 88, 58, 0.3);
  content: "";
}

.ai-assistant-launch svg {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 5px 5px rgba(36, 20, 12, 0.24));
}

.ai-assistant-window {
  width: min(calc(100vw - 28px), 390px);
  max-height: min(72dvh, 650px);
  overflow: hidden;
  border: 1px solid rgba(116, 71, 36, 0.18);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(38, 23, 14, 0.28);
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transform-origin: bottom right;
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.ai-assistant-window.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.ai-assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  background: linear-gradient(135deg, var(--wood-800), var(--wood-950));
  color: var(--white);
}

.ai-assistant-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.ai-assistant-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.ai-assistant-avatar svg {
  width: 23px;
  height: 23px;
}

.ai-assistant-title {
  overflow: hidden;
  font-size: 0.88rem;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-assistant-status {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.68rem;
  font-weight: 400;
}

.ai-assistant-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.ai-assistant-body {
  max-height: calc(min(72dvh, 650px) - 68px);
  padding: 15px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ai-assistant-welcome {
  margin: 0 0 13px;
  padding: 12px 13px;
  border-radius: 14px 14px 4px 14px;
  background: var(--wood-100);
  color: var(--wood-900);
  font-size: 0.82rem;
}

.ai-assistant-quick-title {
  display: block;
  margin-block-end: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.ai-assistant-quick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-block-end: 12px;
}

.ai-assistant-quick-button {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  color: var(--wood-800);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 800;
  text-align: start;
  transition: background 150ms ease, border-color 150ms ease;
}

.ai-assistant-quick-button:hover,
.ai-assistant-quick-button[aria-pressed="true"] {
  border-color: rgba(179, 120, 63, 0.35);
  background: var(--wood-100);
}

.ai-assistant-answer {
  min-height: 52px;
  margin-block-end: 13px;
  padding: 11px 12px;
  border: 1px solid rgba(67, 132, 111, 0.14);
  border-radius: 4px 14px 14px 14px;
  background: var(--paint-100);
  color: var(--sage-700);
  font-size: 0.8rem;
}

.ai-assistant-field-label {
  display: block;
  margin-block-end: 6px;
  color: var(--wood-900);
  font-size: 0.76rem;
  font-weight: 900;
}

.ai-assistant-textarea {
  width: 100%;
  min-height: 86px;
  padding: 11px 12px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.7;
}

.ai-assistant-textarea::placeholder {
  color: #9b9189;
}

.ai-assistant-send {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-block-start: 9px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: var(--white);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
}

.ai-assistant-send svg {
  width: 19px;
  height: 19px;
}

.ai-assistant-error {
  min-height: 20px;
  margin: 5px 0 0;
  color: var(--danger);
  font-size: 0.72rem;
}

@keyframes ai-assistant-breathe {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes ai-assistant-pulse {
  0% { opacity: 0.7; transform: scale(0.88); }
  70%,
  100% { opacity: 0; transform: scale(1.18); }
}

@keyframes floating-contact-halo {
  0% { opacity: 0.48; transform: scale(0.88); }
  72%,
  100% { opacity: 0; transform: scale(1.18); }
}

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

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

@media (min-width: 540px) {
  .container {
    width: min(100% - 44px, var(--container));
  }

  .trust-strip-grid,
  .quick-benefits,
  .contact-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid,
  .features-grid,
  .posts-grid,
  .related-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 760px) {
  :root {
    --header-height: 84px;
  }

  .hero-grid,
  .schedule-layout,
  .cta-band-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  }

  .hero-visual {
    min-height: 470px;
  }

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

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

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

  .footer-main {
    grid-template-columns: 1.35fr 0.8fr 0.8fr;
  }

  .footer-map {
    grid-column: 1 / -1;
  }

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

@media (min-width: 960px) {
  body.nav-open {
    overflow: auto;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    max-height: none;
    align-items: center;
    gap: 14px;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .nav-link {
    min-height: 42px;
    padding-inline: 11px;
    font-size: 0.88rem;
  }

  .header-cta {
    display: inline-flex;
  }

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

  .inner-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .sidebar {
    position: sticky;
    inset-block-start: calc(var(--header-height) + 22px);
  }

  .footer-main {
    grid-template-columns: 1.15fr 0.55fr 0.65fr 1.15fr;
  }

  .footer-map {
    grid-column: auto;
  }

  .footer-map iframe {
    height: 270px;
  }
}

@media (max-width: 430px) {
  .brand-text small {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero-actions .btn,
  .page-hero-actions .btn {
    width: 100%;
  }

  .hours-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .cabinet-scene {
    inset: 22px;
  }

  .visual-note {
    inset-block-end: 11px;
    inset-inline-start: 11px;
    max-width: calc(100% - 22px);
  }

  .ai-assistant-root {
    right: 10px;
    left: 10px;
    align-items: stretch;
  }

  .floating-contact-actions {
    left: max(10px, env(safe-area-inset-left));
    gap: 10px;
  }

  .floating-contact-button {
    width: 54px;
    height: 54px;
  }

  .floating-contact-button svg {
    width: 24px;
    height: 24px;
  }

  .floating-contact-tooltip,
  .ai-assistant-label {
    display: none;
  }

  .ai-assistant-launch {
    width: 56px;
    height: 56px;
  }

  .ai-assistant-window {
    width: 100%;
    transform-origin: bottom center;
  }

  .ai-assistant-launch-wrap {
    align-self: flex-end;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .ai-assistant-root,
  .floating-contact-actions,
  .cta-band,
  .site-footer,
  .page-hero-actions,
  .sidebar {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .content-card {
    border: 0;
    box-shadow: none;
  }
}
