:root {
  --paper: #f8f8f4;
  --paper-2: #f1f3ec;
  --ink: #2b2b29;
  --muted: #777b72;
  --line: #d8ddd2;
  --green: #638754;
  --green-dark: #4f7145;
  --green-soft: #e6ecdf;
  --cream: #fbfbf6;
  --shadow: 0 22px 60px rgba(54, 70, 45, .12);
  --radius: 14px;
  --container: min(1280px, calc(100vw - clamp(32px, 10vw, 96px)));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; width: 100%; min-height: 100%; overflow-x: hidden; background: var(--paper); }
body {
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 8%, rgba(255,255,255,.92), transparent 34%),
    radial-gradient(circle at 95% 42%, rgba(233,238,226,.55), transparent 28%),
    linear-gradient(90deg, rgba(255,255,255,.42), rgba(245,246,239,.18));
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.container { width: var(--container); margin: 0 auto; }
.site-header {
  height: 70px;
  width: 100%;
  padding: 0 clamp(32px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(150px, 250px) 1fr auto;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 10;
  background: rgba(249,249,245,.82);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark { width: 31px; height: 31px; color: var(--green); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand b { display: block; font-weight: 700; font-size: 13px; letter-spacing: .08em; }
.brand small { display: block; color: #6c7168; font-size: 10px; margin-top: 1px; }
.main-nav { justify-self: center; display: flex; align-items: center; gap: clamp(20px, 2.2vw, 38px); font-size: 13px; color: #333833; white-space: nowrap; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--green); }
.phone { display: inline-flex; align-items: center; gap: 10px; text-align: left; white-space: nowrap; }
.phone-icon { color: var(--green); font-size: 19px; transform: rotate(-20deg); }
.phone b { display: block; font-size: 15px; }
.phone small { display: block; color: var(--muted); font-size: 12px; }

.hero {
  min-height: clamp(380px, 41vw, 560px);
  position: relative;
  display: grid;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}
.hero-media {
  position: absolute;
  top: 0;
  right: max(0px, calc((100vw - 1480px) / 2));
  width: min(58vw, 845px);
  height: 100%;
  min-height: 380px;
  background-image: url("assets/hero-garden.webp");
  background-size: cover;
  background-position: center top;
  z-index: -2;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(248,248,244,.86) 15%, rgba(248,248,244,.36) 36%, rgba(248,248,244,.02) 62%);
}
.hero-fog {
  position: absolute;
  left: 0;
  top: 0;
  width: min(69vw, 970px);
  height: 100%;
  z-index: -1;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(248,248,244,.96) 35%, rgba(248,248,244,.55) 68%, transparent 100%);
}
.hero-inner { position: relative; min-height: inherit; padding-top: clamp(42px, 4.8vw, 82px); padding-bottom: 34px; }
.hero-copy { width: min(440px, 52vw); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: #2d2d2a; letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(48px, 5.45vw, 80px); line-height: .98; margin-bottom: 18px; }
.hero-copy p { max-width: 390px; margin: 0 0 18px; color: #4f554d; font-size: clamp(15px, 1.12vw, 18px); line-height: 1.56; }
.hero-actions { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.btn {
  border: 0;
  border-radius: 8px;
  min-height: 40px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, #729863, #5d844f); color: #fff; box-shadow: 0 10px 24px rgba(73,105,62,.18); }
.btn-primary:hover { box-shadow: 0 14px 32px rgba(73,105,62,.25); background: linear-gradient(180deg, #7ba36b, #557947); }
.text-link, .link-button { border: 0; background: transparent; color: #3b4139; display: inline-flex; align-items: center; gap: 16px; font-weight: 600; }
.text-link span, .link-button span { font-size: 25px; line-height: 0; }
.benefits { position: absolute; left: 0; bottom: 34px; display: flex; gap: clamp(48px, 7vw, 92px); }
.benefit { display: flex; align-items: center; gap: 14px; min-width: 125px; color: #4e554d; }
.benefit p { margin: 0; font-size: 10px; line-height: 1.25; }
.mini-leaf, .shield, .service-icon, .season-icon { flex: none; }
.mini-leaf { width: 25px; height: 31px; position: relative; border-left: 2px solid var(--green); transform: rotate(26deg); }
.mini-leaf::before, .mini-leaf::after { content: ""; position: absolute; width: 14px; height: 22px; border: 2px solid var(--green); border-radius: 100% 0 100% 0; transform: rotate(-50deg); left: -2px; top: 1px; }
.mini-leaf::after { top: 12px; left: 5px; width: 12px; height: 17px; }
.mini-leaf.sprout { transform: rotate(0deg); }
.shield { width: 28px; height: 31px; border: 2px solid var(--green); border-radius: 14px 14px 18px 18px; color: var(--green); display: grid; place-items: center; font-size: 16px; }

.section { padding: clamp(24px, 3.4vw, 50px) 0 0; }
.section h2 { font-size: clamp(28px, 2.15vw, 38px); line-height: 1.05; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.carousel-wrap { position: relative; }
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.project-card {
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 8px 22px rgba(48, 63, 43, .04);
}
.project-card img { width: 100%; aspect-ratio: 1.52 / 1; object-fit: cover; }
.project-card div { padding: 12px 14px 14px; min-height: 66px; }
.project-card h3 { margin: 0 0 6px; font-size: clamp(13px, .95vw, 17px); line-height: 1.18; font-weight: 650; color: #2f332e; }
.project-card p { margin: 0; color: #8a8e87; font-size: clamp(11px, .82vw, 13px); }
.round-arrow {
  position: absolute;
  top: 35%;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(207,213,203,.85);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 28px rgba(53,61,49,.08);
  display: grid;
  place-items: center;
  font-size: 31px;
  line-height: 1;
  z-index: 2;
}
.arrow-left { left: -34px; }
.arrow-right { right: -34px; }
.dots { height: 34px; display: flex; justify-content: center; align-items: center; gap: 9px; }
.dots span { width: 8px; height: 8px; border-radius: 99px; background: #cfd3cc; }
.dots .active { background: var(--green); }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 25px; }
.service-card {
  min-height: 178px;
  position: relative;
  padding: 23px 16px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(240,244,235,.58));
  box-shadow: 0 10px 24px rgba(43, 60, 37, .04);
}
.service-card h3 { margin: 0 0 14px 58px; font-size: clamp(13px, .95vw, 17px); line-height: 1.22; font-weight: 650; }
.service-card p { min-height: 44px; margin: 0 0 11px; color: #596056; font-size: clamp(11px, .82vw, 13px); line-height: 1.55; }
.service-card strong { display: block; font-size: clamp(15px, 1.15vw, 20px); margin-bottom: 10px; }
.service-card button {
  width: 100%;
  height: 34px;
  border: 1px solid #cfd7ca;
  border-radius: 7px;
  background: rgba(255,255,255,.42);
  color: #2f352e;
  font-weight: 650;
}
.service-card button.filled { background: linear-gradient(180deg, #729863, #5d844f); color: #fff; border-color: transparent; }
.service-icon { position: absolute; top: 23px; left: 16px; width: 44px; height: 44px; border-radius: 999px; background: radial-gradient(circle at 36% 30%, #fff, #dfe8d6); }
.service-icon::before { content: ""; position: absolute; inset: 12px; border: 2px solid var(--green); border-radius: 50% 0 50% 50%; transform: rotate(-35deg); opacity: .9; }
.tree-icon::after, .flower-icon::after, .house-icon::after { content: ""; position: absolute; left: 22px; top: 12px; width: 2px; height: 25px; background: var(--green); opacity: .9; }
.flower-icon::before { border-radius: 50%; transform: none; }
.house-icon::before { border-radius: 4px; transform: rotate(45deg); }
.badge { position: absolute; top: -11px; left: 16px; border: 1px solid var(--green); color: var(--green); background: var(--paper); border-radius: 999px; padding: 3px 11px; font-size: 11px; font-weight: 650; }

.calc-grid { display: grid; grid-template-columns: 1fr .98fr; gap: clamp(32px, 6vw, 78px); align-items: end; }
.calc-left p { color: #6f756d; margin: 14px 0 22px; }
.range-row { display: grid; grid-template-columns: 1fr 120px 52px; gap: 26px; align-items: center; }
input[type="range"] { accent-color: var(--green); width: 100%; }
input[type="number"], .lead-form input, .modal-form input, .modal-form select, .modal-form textarea {
  height: 48px;
  border: 1px solid #dbe0d7;
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  padding: 0 16px;
  outline: none;
}
.modal-form textarea { height: auto; padding-top: 12px; resize: vertical; }
.range-caps { width: calc(100% - 198px); display: flex; justify-content: space-between; color: #555c54; font-size: 12px; font-weight: 650; margin-top: 7px; }
.estimate-card {
  min-height: 126px;
  border-radius: 11px;
  background: linear-gradient(103deg, rgba(239,243,232,.92), rgba(250,250,245,.72));
  border: 1px solid #e1e4dc;
  position: relative;
  padding: 24px 32px;
  overflow: hidden;
}
.estimate-card p { margin: 0 0 12px; font-weight: 650; color: #4f564e; }
.estimate-card strong { display: block; color: var(--green); font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 3.1vw, 50px); font-weight: 400; line-height: 1; margin-bottom: 12px; }
.estimate-card span { color: #798075; font-size: 13px; max-width: 320px; display: block; }
.estimate-leaf { position: absolute; right: 24px; bottom: -14px; width: 118px; height: 118px; fill: none; stroke: #b7c5ad; stroke-width: 1.5; opacity: .75; }

.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 20px; }
.season-grid article { display: grid; grid-template-columns: 48px 1fr; gap: 17px; min-width: 0; }
.season-icon { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; font-size: 25px; }
.spring { background: #dfe9d1; color: var(--green); }
.summer { background: #fae2ad; color: #d48b11; }
.autumn { background: #f5d0bd; color: #c86427; }
.winter { background: #d8e6ef; color: #5c97bd; }
.season-grid h3 { margin: 4px 0 10px; font-size: 15px; }
ul { margin: 0; padding-left: 14px; color: #596055; font-size: clamp(11px, .82vw, 13px); line-height: 1.75; }
li::marker { color: var(--green); }

.visit-card {
  display: grid;
  grid-template-columns: 37% 1fr;
  align-items: center;
  gap: 32px;
  min-height: 158px;
  padding: 0 215px 0 0;
  position: relative;
  background: linear-gradient(100deg, rgba(255,255,255,.78), rgba(236,241,231,.82));
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e6dd;
}
.visit-card img { height: 100%; min-height: 158px; width: 100%; object-fit: cover; }
.visit-content h2 { margin-bottom: 14px; }
.visit-content p { margin: 0 0 24px; color: #5d635b; max-width: 470px; }
.visit-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.visit-points span { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-size: 18px; }
.visit-points small { color: #60675e; font-size: 10px; line-height: 1.25; }
.visit-cta { min-width: 170px; position: absolute; right: 36px; bottom: 34px; }

.request { padding-top: 24px; padding-bottom: 20px; }
.request h2 { margin-bottom: 24px; }
.lead-form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: center; }
.lead-form input { width: 100%; }
.lead-form input::placeholder { color: #a1a69e; }
.consent { grid-column: 1 / 3; display: flex; align-items: center; gap: 10px; color: #777d74; font-size: 12px; }
.consent input { width: 16px; height: 16px; accent-color: var(--green); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.submit-wide { grid-column: 4 / 5; justify-self: stretch; }

.site-footer { min-height: 78px; background: rgba(243,244,240,.88); border-top: 1px solid #ebece6; }
.footer-inner { min-height: 78px; display: grid; grid-template-columns: 1fr 1.2fr 1fr 1.3fr; align-items: center; gap: 24px; }
.footer-inner p { margin: 0; color: #7b8078; font-size: 12px; line-height: 1.65; }
.socials { display: flex; justify-content: center; gap: 26px; font-size: 21px; }
.privacy-link { border: 0; background: transparent; color: #696f67; justify-self: end; }

.modal-root { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 28px; }
.modal-root.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 28, 19, .38); backdrop-filter: blur(8px); }
.modal-card {
  display: none;
  position: relative;
  z-index: 1;
  width: min(820px, calc(100vw - 40px));
  max-height: min(820px, calc(100vh - 48px));
  overflow: auto;
  padding: 36px;
  border-radius: 18px;
  background: #fbfbf7;
  box-shadow: var(--shadow);
  border: 1px solid #dfe4d8;
}
.modal-card.active { display: block; }
.modal-card h2 { margin-bottom: 14px; }
.modal-card > p { color: #626960; margin: 0 0 24px; }
.modal-close { position: absolute; right: 18px; top: 14px; border: 0; background: transparent; font-size: 34px; color: #6d746b; }
.modal-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.modal-form label { color: #565d54; font-size: 13px; display: grid; gap: 8px; }
.modal-form .wide { grid-column: 1 / -1; }
.gallery-modal { width: min(1120px, calc(100vw - 40px)); }
.modal-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.modal-gallery img { width: 100%; aspect-ratio: 1.28 / 1; object-fit: cover; border-radius: 10px; }
.price-list { display: grid; gap: 12px; margin: 25px 0; }
.price-list div { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: baseline; border-bottom: 1px dotted #b9c2b2; padding-bottom: 11px; }
.price-list b { color: var(--green); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: #263021; color: #fff; padding: 13px 18px; border-radius: 999px; z-index: 120; transition: transform .25s ease; box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: auto 1fr auto; padding-inline: 32px; }
  .main-nav { gap: 18px; font-size: 12px; }
}

@media (max-width: 900px) {
  :root { --container: min(100% - 40px, 760px); }
  .site-header { height: 66px; grid-template-columns: auto auto; justify-content: space-between; }
  .main-nav { display: none; }
  .phone b { font-size: 13px; }
  .hero { min-height: auto; padding-bottom: 24px; }
  .hero-media { position: relative; right: auto; width: 100%; height: 340px; min-height: 0; order: 2; margin-top: 8px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(248,248,244,.1), var(--paper)); }
  .hero-fog { display: none; }
  .hero-inner { padding-top: 36px; padding-bottom: 0; }
  .hero-copy { width: min(530px, 100%); }
  .benefits { position: static; margin-top: 34px; gap: 24px; flex-wrap: wrap; }
  .projects-grid, .service-grid, .season-grid { grid-template-columns: repeat(2, 1fr); }
  .arrow-left { left: -16px; }
  .arrow-right { right: -16px; }
  .calc-grid { grid-template-columns: 1fr; gap: 28px; }
  .visit-card { grid-template-columns: 1fr; padding: 0 0 28px; gap: 24px; }
  .visit-card img { min-height: 280px; }
  .visit-content, .visit-cta { margin-inline: 28px; }
  .visit-cta { position: static; justify-self: stretch; width: auto; }
  .lead-form { grid-template-columns: 1fr 1fr; }
  .consent { grid-column: 1 / -1; }
  .submit-wide { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 18px 0; }
  .privacy-link { justify-self: start; }
  .modal-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  :root { --container: min(100% - 28px, 430px); }
  body { font-size: 14px; }
  .site-header { padding-inline: 14px; gap: 10px; }
  .brand b { font-size: 11px; }
  .brand small { font-size: 9px; }
  .brand-mark { width: 28px; height: 28px; }
  .phone { font-size: 0; gap: 0; }
  .phone small { display: none; }
  .phone-icon { font-size: 22px; }
  h1 { font-size: clamp(48px, 15vw, 62px); }
  .hero-copy p { font-size: 15px; }
  .hero-actions { gap: 16px; align-items: stretch; flex-direction: column; }
  .hero-actions .btn, .text-link { width: 100%; justify-content: center; }
  .benefits { display: grid; grid-template-columns: 1fr; }
  .hero-media { height: 290px; }
  .section-head { align-items: flex-start; flex-direction: column; margin-bottom: 18px; }
  .projects-grid, .service-grid, .season-grid { grid-template-columns: 1fr; }
  .round-arrow { top: 82px; width: 39px; height: 39px; }
  .arrow-left { left: -8px; }
  .arrow-right { right: -8px; }
  .service-card { min-height: auto; }
  .range-row { grid-template-columns: 1fr 84px; gap: 12px; }
  .range-row span { grid-column: 2; }
  .range-caps { width: 100%; }
  .estimate-card { padding: 26px 22px; }
  .season-grid { gap: 24px; }
  .visit-card img { min-height: 210px; }
  .visit-points { display: grid; gap: 14px; }
  .lead-form { grid-template-columns: 1fr; gap: 12px; }
  .lead-form input, input[type="number"] { height: 46px; }
  .footer-inner { grid-template-columns: 1fr; gap: 14px; }
  .socials { justify-content: flex-start; }
  .modal-root { padding: 14px; }
  .modal-card { width: calc(100vw - 24px); padding: 28px 18px; border-radius: 15px; }
  .modal-form, .modal-gallery { grid-template-columns: 1fr; }
  .price-list div { grid-template-columns: 1fr; gap: 4px; }
}

/* 1:1 reference density refinements */
@media (min-width: 901px) {
  .section { padding-top: clamp(20px, 2.25vw, 36px); }
  .project-card div { min-height: 58px; padding: 10px 13px 11px; }
  .project-card h3 { margin-bottom: 5px; font-size: clamp(12px, .9vw, 16px); line-height: 1.12; }
  .project-card p { font-size: 11px; line-height: 1.25; }
  .service-card { height: 178px; min-height: 178px; padding: 22px 16px 15px; overflow: hidden; }
  .service-card h3 { margin-left: 58px; margin-bottom: 13px; }
  .service-card p { min-height: 0; max-height: 44px; overflow: hidden; margin: 0; padding-right: 2px; }
  .service-card strong { position: absolute; left: 16px; right: 16px; bottom: 56px; margin: 0; }
  .service-card button { position: absolute; left: 16px; right: 16px; bottom: 15px; width: auto; height: 34px; }
  .season-grid { gap: 24px; }
  .season-grid article { grid-template-columns: 44px 1fr; gap: 14px; }
  .season-icon { width: 44px; height: 44px; font-size: 22px; }
  ul { line-height: 1.58; }
  .request { padding-top: 22px; }
}
.toast { opacity: 0; pointer-events: none; }
.toast.show { opacity: 1; pointer-events: auto; }
@media (min-width: 901px) {
  .service-card strong { bottom: 48px; }
  .service-card button { height: 32px; bottom: 14px; }
  .service-card p { max-height: 35px; font-size: 10.5px; line-height: 1.45; }
  .season-grid h3 { font-size: 13px; margin-bottom: 7px; }
  .season-grid ul { font-size: 10px; line-height: 1.5; }
  .lead-form input { height: 38px; }
  .request h2 { margin-bottom: 18px; }
  .site-footer, .footer-inner { min-height: 68px; }
}
@media (max-width: 560px) {
  h1 { font-size: clamp(42px, 12vw, 52px); line-height: 1.02; }
  .service-card h3 { min-height: 44px; display: flex; align-items: center; margin-bottom: 12px; }
  .service-card p { min-height: auto; margin-bottom: 20px; }
}

/* Hi-res image refresh */
.hero-media { background-position: center center; }
.visit-image-wrap { position: relative; height: 100%; min-height: 158px; overflow: hidden; }
.visit-image-wrap > img:first-child { width: 100%; height: 100%; min-height: 158px; object-fit: cover; }
.expert-avatar {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.92);
  box-shadow: 0 14px 28px rgba(28, 42, 25, .18);
}
.modal-team {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e1e6dc;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.modal-team article { display: flex; align-items: center; gap: 12px; color: #30362f; font-weight: 650; }
.modal-team img { width: 54px; height: 54px; border-radius: 999px; object-fit: cover; }
.modal-team small { color: #737a70; font-weight: 500; font-size: 11px; }
@media (max-width: 900px) {
  .visit-image-wrap { min-height: 280px; }
  .visit-image-wrap > img:first-child { min-height: 280px; }
}
@media (max-width: 560px) {
  .visit-image-wrap { min-height: 240px; }
  .visit-image-wrap > img:first-child { min-height: 240px; }
  .modal-team { grid-template-columns: 1fr; }
}
.visit-card .expert-avatar { min-height: 0; }
.visit-card .expert-avatar {
  width: 72px;
  height: 72px;
  min-height: 0;
  object-fit: cover;
}
@media (max-width: 560px) {
  .visit-card .expert-avatar { width: 76px; height: 76px; min-height: 0; }
}

/* Fix service package card text/icon overlap */
@media (min-width: 901px) {
  .service-card h3 {
    min-height: 44px;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
  }
  .service-card p {
    max-height: 38px;
    line-height: 1.42;
  }
}

/* Robust adaptive package cards: no clipped text, no absolute CTA layout */
.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 286px), 1fr)) !important;
  align-items: stretch;
}
.service-card {
  height: auto !important;
  min-height: 220px !important;
  overflow: visible !important;
  padding: 24px 18px 18px !important;
  display: flex !important;
  flex-direction: column !important;
}
.service-card h3 {
  margin: 0 0 16px 62px !important;
  min-height: 46px !important;
  display: flex !important;
  align-items: center !important;
  font-size: clamp(15px, 1.05vw, 18px) !important;
  line-height: 1.24 !important;
}
.service-card p {
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  font-size: clamp(12px, .95vw, 14px) !important;
  line-height: 1.48 !important;
}
.service-card strong {
  position: static !important;
  display: block !important;
  margin: auto 0 12px !important;
  font-size: clamp(19px, 1.32vw, 22px) !important;
  line-height: 1.1 !important;
}
.service-card button {
  position: static !important;
  width: 100% !important;
  height: 40px !important;
}
.footer-legal {
  justify-self: end;
  display: grid;
  gap: 8px;
  text-align: right;
}
.policy-text { display: grid; gap: 12px; color: #596056; line-height: 1.6; }
.policy-text p { margin: 0; }
@media (max-width: 900px) {
  .footer-legal { justify-self: start; text-align: left; }
}
@media (min-width: 901px) and (max-width: 1300px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Personal data policy footer card */
.pd-card-link {
  width: min(320px, 100%);
  border: 1px solid #d5ddcf;
  border-radius: 12px;
  background: rgba(255,255,255,.62);
  color: #3b4239;
  padding: 12px 14px;
  display: grid;
  gap: 4px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(43, 60, 37, .05);
}
.pd-card-link b { font-size: 13px; }
.pd-card-link span { color: #747b72; font-size: 11px; line-height: 1.35; }
.policy-notice {
  margin: 6px 0 22px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #d6dfcf;
  background: linear-gradient(135deg, rgba(234,241,226,.9), rgba(255,255,250,.72));
  display: grid;
  gap: 7px;
  color: #3f493b;
}
.policy-notice strong { font-size: 17px; }
.policy-notice span { color: #687064; line-height: 1.55; }
.policy-text b { color: #3f493b; }
@media (max-width: 900px) {
  .pd-card-link { width: 100%; }
}

/* Apple-style seasonal calendar emojis */
.season-icon {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  line-height: 1;
  transform: translateZ(0);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58);
}
.season-icon.spring { font-size: 26px; }
.season-icon.summer { font-size: 24px; }
.season-icon.autumn { font-size: 25px; }
.season-icon.winter { font-size: 23px; }
@media (max-width: 560px) {
  .season-icon.spring { font-size: 24px; }
  .season-icon.summer { font-size: 22px; }
  .season-icon.autumn { font-size: 23px; }
  .season-icon.winter { font-size: 21px; }
}
