:root {
  --blue: #bde4ec;
  --blue-strong: #6ab8c8;
  --pink: #efb8c6;
  --sage: #9cad67;
  --gold: #a18b65;
  --wine: #6f2135;
  --ink: #393536;
  --muted: #746e6d;
  --paper: #fffaf7;
  --soft: #f7eeee;
  --white: #ffffff;
  --line: rgba(111, 33, 53, .12);
  --shadow: 0 24px 70px rgba(57, 53, 54, .14);
  --shadow-soft: 0 14px 36px rgba(57, 53, 54, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Nunito, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(189, 228, 236, .35), transparent 28%),
    radial-gradient(circle at 92% 22%, rgba(239, 184, 198, .22), transparent 24%),
    var(--paper);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header,
.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 70px);
  background: rgba(255, 250, 247, .76);
  border-bottom: 1px solid rgba(161, 139, 101, .16);
  backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 8px 28px rgba(57, 53, 54, .05);
}

.brand img {
  width: clamp(230px, 17vw, 320px);
  height: 72px;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding-block: 8px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.main-nav a:hover::after { transform: scaleX(1); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.button:hover { transform: translateY(-2px); filter: saturate(1.04); }
.button-primary {
  background: linear-gradient(135deg, var(--wine), #94384f);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(111, 33, 53, .22);
}
.button-secondary {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(106, 184, 200, .35);
  color: #234f58;
  box-shadow: 0 10px 26px rgba(106, 184, 200, .14);
}

.button-danger {
  background: #f7dfe4;
  color: #7b1f34;
  border: 1px solid rgba(123, 31, 52, .14);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 91px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 70px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(189, 228, 236, .66), rgba(255, 250, 247, .78) 45%, rgba(239, 184, 198, .32)),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -20% 45%;
  height: 54%;
  border-radius: 999px 0 0 0;
  background: rgba(255, 255, 255, .42);
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  line-height: 1.04;
  font-weight: 800;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.8rem, 5.8vw, 5.6rem);
  text-wrap: balance;
}

.hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.55;
  margin-bottom: 12px;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  padding: 8px 12px;
  border: 1px solid rgba(111, 33, 53, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .66);
  backdrop-filter: blur(14px);
  color: var(--wine);
  font-size: .92rem;
  font-weight: 800;
}

.hero-card {
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(161, 139, 101, .22);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
  transition: transform .28s ease, box-shadow .28s ease;
}

.hero-card:hover {
  transform: rotate(0) translateY(-4px);
  box-shadow: 0 30px 90px rgba(57, 53, 54, .18);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(161, 139, 101, .22);
}

.trust-bar div {
  padding: 24px clamp(18px, 5vw, 70px);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(16px);
}

.trust-bar strong,
.trust-bar span { display: block; }
.trust-bar span { color: var(--muted); margin-top: 4px; }

.section,
.contact-section,
.feature-band,
.process-section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 70px);
}

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

.section-heading.compact { margin-bottom: 22px; }
.section-heading h1,
.section-heading h2,
.feature-band h2,
.process-section h2,
.contact-section h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-heading p,
.feature-band p,
.process-section p,
.contact-section p {
  color: var(--muted);
  line-height: 1.7;
}

.signal-grid,
.service-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.team-grid { grid-template-columns: repeat(3, 1fr); }
.signal-grid { margin-bottom: 26px; }

.signal-grid article,
.service-card,
.app-panel,
.map-card {
  padding: 24px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(161, 139, 101, .18);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.signal-grid article:hover,
.service-card:hover,
.testimonial-card:hover,
.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(111, 33, 53, .18);
  box-shadow: 0 20px 50px rgba(57, 53, 54, .12);
}

.signal-grid article {
  min-height: 150px;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.45;
  background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(189, 228, 236, .42));
}

.service-card span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(239, 184, 198, .26);
  margin-bottom: 14px;
  color: var(--wine);
  font-weight: 900;
}

.service-card h3,
.team-card h3 { margin-bottom: 10px; }
.service-card p,
.team-card p { color: var(--muted); line-height: 1.6; }

.team-card {
  overflow: hidden;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(161, 139, 101, .2);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  transition: transform .38s ease;
}

.team-card:hover img { transform: scale(1.035); }

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

.feature-band,
.process-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr);
  gap: 32px;
  align-items: center;
}

.feature-band {
  background:
    linear-gradient(135deg, rgba(247, 238, 238, .95), rgba(255, 250, 247, .88)),
    var(--soft);
}

.feature-band img {
  width: min(330px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  justify-self: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}

.team-card.featured {
  background: linear-gradient(135deg, var(--wine), #8c3a4e);
  color: var(--white);
}

.team-card.featured p,
.team-card.featured a { color: var(--white); }
.team-card a { color: var(--wine); font-weight: 900; }

.testimonials {
  background: var(--paper);
}

.reviews-widget {
  overflow: hidden;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(161, 139, 101, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-soft);
}

.reviews-widget noscript a {
  color: var(--wine);
  font-weight: 900;
  text-decoration: underline;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.testimonial-card {
  padding: 24px;
  border: 1px solid rgba(161, 139, 101, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.testimonial-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--wine);
  font-size: 1.1rem;
}

.testimonial-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.process-section {
  background:
    linear-gradient(135deg, rgba(189, 228, 236, .96), rgba(236, 248, 250, .84)),
    var(--blue);
}

.process-steps {
  display: grid;
  gap: 10px;
}

.process-steps span {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  color: #234f58;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(35, 79, 88, .08);
}

.note-section {
  padding: 28px clamp(18px, 5vw, 70px);
  background: rgba(255, 255, 255, .76);
  border-block: 1px solid rgba(161, 139, 101, .16);
}

.note-section p {
  max-width: 980px;
  margin: 0 auto;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.7;
  text-align: center;
}

.contact-section {
  background: rgba(255, 255, 255, .9);
}

.map-card {
  width: 100%;
  max-width: 100%;
  min-height: 220px;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  background: linear-gradient(135deg, rgba(189, 228, 236, .9), rgba(239, 184, 198, .6));
}

.map-card iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: inherit;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 26px 18px;
  color: var(--muted);
  text-align: center;
}

footer img { width: 82px; height: 52px; object-fit: contain; }

footer img {
  width: 160px;
  height: 70px;
  mix-blend-mode: multiply;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #1f9d55;
  color: var(--white);
  box-shadow: 0 14px 34px rgba(31, 157, 85, .28);
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
  animation: softPulse 3.8s ease-in-out infinite;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(31, 157, 85, .34);
}

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

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

@keyframes softPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.02); }
}

.app-body { background: #f9f5f1; }
.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

.login-panel {
  width: min(460px, 100%);
}

.login-logo {
  width: min(280px, 100%);
  margin: 0 auto 22px;
  mix-blend-mode: multiply;
}

.admin-shell {
  display: grid;
  gap: 22px;
  padding: 28px clamp(18px, 5vw, 70px);
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-nav span {
  color: var(--muted);
  font-weight: 900;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
  align-items: center;
  gap: 24px;
}

.admin-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.admin-hero p {
  color: var(--muted);
  margin-bottom: 0;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.summary-grid div {
  padding: 18px;
  border-radius: 8px;
  background: rgba(189, 228, 236, .45);
  text-align: center;
}

.summary-grid strong {
  display: block;
  color: var(--wine);
  font-size: 2rem;
}

.summary-grid span {
  color: var(--muted);
  font-weight: 900;
}

.app-shell {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 22px;
  padding: 28px clamp(18px, 5vw, 70px);
}

.appointment-form {
  display: grid;
  gap: 14px;
}

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

.admin-form .form-wide {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(161, 139, 101, .28);
  border-radius: 8px;
  padding: 12px 13px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.agenda-toolbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.agenda-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 260px auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 22px;
}

.agenda-filters h2 {
  margin-bottom: 0;
}

.appointment-table {
  display: grid;
  gap: 12px;
}

.appointment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(161, 139, 101, .18);
  border-radius: 8px;
  background: var(--paper);
}

.appointment-row strong,
.appointment-row span {
  display: block;
}

.appointment-row span {
  color: var(--muted);
  margin-top: 3px;
}

.row-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.alert-error {
  padding: 12px 14px;
  border-radius: 8px;
  background: #f7dfe4;
  color: #7b1f34;
  font-weight: 800;
}

.flash-message {
  padding: 14px 18px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  font-weight: 900;
}

.flash-success {
  background: #e7f7ed;
  color: #166534;
  border: 1px solid rgba(22, 101, 52, .18);
}

.flash-error {
  background: #f7dfe4;
  color: #7b1f34;
  border: 1px solid rgba(123, 31, 52, .18);
}

.loading-overlay,
.dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(57, 53, 54, .28);
  backdrop-filter: blur(8px);
}

.loading-overlay[hidden],
.dialog-overlay[hidden] {
  display: none;
}

.loading-card,
.dialog-card {
  width: min(420px, 100%);
  padding: 28px;
  border: 1px solid rgba(161, 139, 101, .2);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.loading-card strong,
.dialog-card h2 {
  display: block;
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 1.35rem;
}

.loading-card p,
.dialog-card p {
  color: var(--muted);
  line-height: 1.6;
}

.loading-spinner {
  width: 42px;
  height: 42px;
  display: inline-block;
  border: 4px solid rgba(111, 33, 53, .16);
  border-top-color: var(--wine);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.dialog-icon {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 900;
}

.dialog-success {
  background: #1f9d55;
}

.dialog-error {
  background: #94384f;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.agenda-filters-modern {
  grid-template-columns: minmax(220px, 1fr) minmax(240px, .9fr) 170px 170px auto;
  align-items: end;
}

.agenda-title h2 {
  text-transform: capitalize;
}

.filter-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-actions .button-primary {
  white-space: nowrap;
}

.create-panel {
  position: relative;
  border-color: rgba(111, 33, 53, .18);
  box-shadow: var(--shadow);
  padding-top: 34px;
}

.create-panel[hidden] {
  display: none;
}

.create-panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
  padding-right: 44px;
}

.icon-close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(161, 139, 101, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--wine);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(57, 53, 54, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.icon-close-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(57, 53, 54, .12);
}

.monthly-agenda {
  display: grid;
  gap: 18px;
}

.day-group {
  overflow: hidden;
  border: 1px solid rgba(161, 139, 101, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-soft);
}

.day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(189, 228, 236, .62), rgba(255, 250, 247, .86));
  border-bottom: 1px solid rgba(161, 139, 101, .16);
}

.day-header strong,
.day-header span {
  display: block;
}

.day-header strong {
  color: var(--ink);
  font-size: 1.12rem;
}

.day-header span {
  color: var(--muted);
  font-weight: 900;
}

.day-appointments {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.appointment-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(260px, auto);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(161, 139, 101, .16);
  border-radius: 8px;
  background: var(--white);
}

.appointment-time {
  display: grid;
  gap: 8px;
  align-content: start;
}

.appointment-time strong {
  color: var(--wine);
  font-size: 1.8rem;
  line-height: 1;
}

.appointment-details h3 {
  margin-bottom: 6px;
  font-size: 1.12rem;
}

.appointment-details p {
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.45;
}

.appointment-notes {
  margin-top: 8px !important;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(247, 238, 238, .8);
}

.appointment-actions {
  display: grid;
  gap: 8px;
}

.status-confirmado { background: #dff3ff; color: #0f5d75; }
.status-realizado { background: #e7f7ed; color: #166534; }
.status-cancelado,
.status-faltou { background: #f7dfe4; color: #7b1f34; }

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

.appointment-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(161, 139, 101, .18);
  border-radius: 8px;
  background: var(--paper);
}

.appointment-item strong,
.appointment-item span { display: block; }
.appointment-item span { color: var(--muted); }
.status-pill {
  align-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #234f58;
  font-size: .85rem;
  font-weight: 900;
}

@media (max-width: 920px) {
  .main-nav { display: none; }
  .hero,
  .feature-band,
  .process-section,
  .contact-section,
  .app-shell,
  .admin-hero,
  .agenda-filters,
  .appointment-row {
    grid-template-columns: 1fr;
  }
  .trust-bar,
  .signal-grid,
  .service-grid,
  .team-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .admin-form {
    grid-template-columns: 1fr;
  }
  .agenda-filters-modern,
  .appointment-card {
    grid-template-columns: 1fr;
  }
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .filter-actions,
  .appointment-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .create-panel-header {
    display: grid;
    grid-template-columns: 1fr;
    padding-right: 44px;
  }
  .row-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .app-header {
    align-items: center;
    flex-direction: column;
    padding-inline: 18px;
  }
  .brand img {
    width: min(260px, 100%);
    height: auto;
  }
  .site-header > .button,
  .app-header > .button {
    width: 100%;
    max-width: 320px;
  }
  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }
  .contact-section {
    display: block;
    overflow: hidden;
  }
  .contact-section > * {
    min-width: 0;
    max-width: 100%;
  }
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }
  .contact-actions .button {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .map-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-inline: 18px;
    overflow-wrap: anywhere;
  }
  .map-card iframe {
    width: 100%;
    max-width: 100%;
    min-height: 300px;
  }
  .appointment-item { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
