/* Centered reading layout for the detailed sections. */
.care-grid { text-align: center; }
.quote { border-right: 0; border-top: 2px solid var(--sage-dark); padding: 20px 0 0; text-align: center; }
.timeline, .timeline article, time, .clinic-card { text-align: center; }
.timeline article { align-items: start; }
@media (max-width: 720px) { .quote { padding-top: 16px; } }

/* Final layout and imagery. */
.brand { flex-direction: row; align-items: center; gap: 10px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-size: 20px; }
.hero { display: grid; grid-template-columns: minmax(210px, 310px) minmax(300px, 560px); column-gap: 82px; align-items: center; justify-content: center; direction: rtl; }
.portrait { width: min(29vw, 270px); height: min(29vw, 270px); margin: 0; overflow: hidden; border-color: #fffaf0; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-copy { font-family: 'Gveret Levin Alef Alef Alef', 'Segoe Print', cursive; }
.hero-copy .hero-role { font-size: 25px; }
.hero-copy .license, .hero-copy .hero-subtitle { font-size: 19px; }
.hero-copy .button { font-family: Tahoma, Arial, sans-serif; font-size: 14px; }
.clinic { padding-bottom: 22px; }
.clinic-card { background: var(--sky-soft); display: block; padding: 30px 46px; }
.contact { background: var(--cream); color: var(--ink); min-height: 0; padding: 30px max(8vw, 30px) 80px; }
.contact .eyebrow, .contact .contact-label { color: var(--sage-dark); }
.contact .phone { color: var(--ink); border-color: var(--sage-dark); }
footer { background: var(--sky); color: var(--ink); }
@media (max-width: 720px) {
  .brand img { width: 38px; height: 38px; }
  .brand-text strong { font-size: 17px; }
  .hero { grid-template-columns: 1fr; row-gap: 24px; }
  .portrait { width: 205px; height: 205px; margin: auto; }
  .hero-copy .hero-role { font-size: 21px; }
  .hero-copy .license, .hero-copy .hero-subtitle { font-size: 16px; }
}

/* More colour, a visible cropped logo, and a single centered timeline. */
body { background: #fffdf2; }
.site-header { background: #eff9f1; }
.brand-logo { width: 115px; height: 58px; display: block; flex: 0 0 auto; background-image: url('assets/logo.jpg'); background-repeat: no-repeat; background-size: 225%; background-position: center 48%; }
.hero { background: linear-gradient(115deg, #cbeacb 0%, #d9f3ec 50%, #c6e9e8 100%); }
.about { background: #fffdf2; }
.care { background: linear-gradient(105deg, #cdf0ee, #e1f3dd); }
.education { background: #eef8e9; }
.work { background: #e8f5f0; }
.clinic-card { background: #d3eddf; }
.contact { background: #eff9f1; }
.portrait { position: relative; border: 0; box-shadow: none; overflow: visible; }
.portrait img { border-radius: 50%; position: relative; z-index: 1; border: 5px solid #fffaf0; }
.portrait::before, .portrait::after { content: ''; position: absolute; inset: -13px; border-radius: 48% 52% 50% 50%; z-index: 0; pointer-events: none; }
.portrait::before { border: 9px solid #8bbfae; border-left-color: #b8ded2; border-bottom-color: #d5eee1; transform: rotate(-13deg); }
.portrait::after { inset: -7px -16px -11px -8px; border: 5px solid transparent; border-top-color: #f9fbef; border-right-color: #99cabf; transform: rotate(18deg); }
.timeline article { display: block; text-align: center; }
.timeline time { display: block; text-align: center; margin: 0 0 5px; }
.header-whatsapp { color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 13px; font-weight: 700; border-bottom: 1px solid #8bbfae; }
.header-whatsapp span { color: #4ea77e; font-size: 19px; vertical-align: -2px; }
.map-link { display: inline-block; margin-top: 17px; color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid #76ad9c; }
@media (max-width: 900px) { .header-whatsapp { display: none; } }
@media (max-width: 720px) { .brand-logo { width: 75px; height: 43px; background-size: 235%; } .portrait::before { inset: -10px; border-width: 7px; } .portrait::after { inset: -6px -12px -8px -5px; } }

/* Refined colour, handwriting, and map presentation. */
.brand-logo { width: 92px; height: 52px; background-size: 220%; }
.hero { background: linear-gradient(115deg, #bfe4d1 0%, #c3e8e8 48%, #abd9dd 100%); }
.care { background: linear-gradient(105deg, #bde6e7, #d3eec8); }
.education { background: #e2f3dc; }
.work { background: #dcefea; }
.clinic-card { background: #c3e6db; }
.contact { background: #e1f2e5; }
.hero-copy, .hero-copy * { font-family: 'Gveret Levin Alef Alef Alef', 'Segoe Print', cursive !important; }
.hero-copy .button { font-size: 18px; }
.header-whatsapp { display: inline-flex; align-items: center; gap: 5px; }
.header-whatsapp span { display: none; }
.header-whatsapp svg { width: 18px; height: 18px; fill: #36a877; flex: 0 0 auto; }
.map-image { display: block; width: min(100%, 380px); margin: 25px auto 0; border: 5px solid #fafffb; border-radius: 4px; overflow: hidden; box-shadow: 0 5px 14px #5d998533; }
.map-image img { width: 100%; display: block; }

/* Requested handwritten hierarchy and botanical dividers. */
.hero-copy h1, .hero-copy .hero-role, .hero-copy .license, .hero-copy .hero-subtitle { font-family: 'Guttman Yad-Brush', 'Guttman Yad Brush', cursive !important; font-weight: 400 !important; font-size: 22px !important; }
.hero-copy h1 { font-size: 26px !important; font-weight: 700 !important; }
.section-heading h2, .section h3 { font-family: 'Guttman Yad-Brush', 'Guttman Yad Brush', cursive; font-weight: 700; }
.header-whatsapp svg { width: 21px; height: 21px; fill: #25d366; }
.plant-divider { height: 64px; display: grid; place-items: center; position: relative; background: #fffdf2; overflow: hidden; }
.plant-divider::before, .plant-divider::after { content: ''; height: 1px; width: min(30vw, 280px); background: #a8c99e; opacity: .6; position: absolute; top: 50%; }
.plant-divider::before { right: calc(50% + 48px); }.plant-divider::after { left: calc(50% + 48px); }
.plant-divider img { width: 73px; height: 73px; object-fit: contain; position: relative; z-index: 1; background: #fffdf2; padding: 5px 9px; }
@media (max-width: 720px) { .plant-divider { height: 52px; }.plant-divider img { width: 58px; height: 58px; }.plant-divider::before, .plant-divider::after { width: 28vw; }.plant-divider::before { right: calc(50% + 38px); }.plant-divider::after { left: calc(50% + 38px); } }

/* More compact introduction. */
.hero { min-height: 0; padding: 54px 24px 48px; background: linear-gradient(115deg, rgba(182, 224, 203, .72) 0%, rgba(194, 231, 220, .68) 50%, rgba(161, 211, 200, .72) 100%); }
.hero-copy h1 { font-size: 30px !important; }
.hero-copy .hero-role, .hero-copy .license, .hero-copy .hero-subtitle { font-size: 20px !important; }
.care-grid { display: block; }
@media (max-width: 720px) { .hero { padding: 44px 24px 40px; }.hero-copy h1 { font-size: 30px !important; }.hero-copy .hero-role, .hero-copy .license, .hero-copy .hero-subtitle { font-size: 20px !important; } }

/* Header contact and education alignment. */
.header-whatsapp { direction: ltr; }
.education h3 { text-align: center; }

/* Supplied WhatsApp mark and full-width title centering. */
.header-whatsapp img { width: 22px; height: 22px; object-fit: contain; display: block; }
.section-heading { width: 100%; text-align: center; }
.section-heading h2, .education h3 { width: 100%; text-align: center; }

/* Align each education title to the centered content column beneath it. */
.education > h3 { width: min(100%, 1190px) !important; max-width: 1190px !important; margin: 0 auto 22px !important; text-align: center !important; }
.education > h3.subhead { margin: 50px auto 22px !important; }

/* Blend supplied raster assets into each surrounding page colour. */
.brand-logo { width: 82px; height: 54px; background-size: 165%; background-position: center 49%; mix-blend-mode: multiply; }
.plant-divider img { background: transparent; mix-blend-mode: multiply; }
.education > h3 + .timeline { width: min(100%, 1190px); max-width: 1190px; margin-left: auto; margin-right: auto; }

/* Keep the complete logo visible and blend the supplied WhatsApp image into the header. */
.brand-logo {
  width: 84px;
  height: 58px;
  background-size: 100% auto;
  background-position: center;
}
.header-whatsapp img {
  background: transparent;
  mix-blend-mode: multiply;
}

/* Compact header only on phones; desktop proportions remain unchanged. */
@font-face {
  font-family: 'Yuval Hero Hand';
  src: url('assets/guttman-yad-brush.ttf') format('truetype');
  font-display: block;
}
@font-face {
  font-family: 'Yuval Tahoma';
  src: url('assets/tahoma.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'Yuval Tahoma';
  src: url('assets/tahomabd.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: block;
}
@media (max-width: 720px) {
  body, button, input, textarea, select { font-family: 'Yuval Tahoma', Tahoma, Arial, sans-serif; }
  .site-header { height: 62px; padding: 0 12px; gap: 8px; }
  .brand { gap: 5px; min-width: 0; }
  .brand-logo { width: 50px; height: 44px; background-size: 100% auto; }
  .brand-text strong { font-size: 15px; white-space: nowrap; }
  .brand-text small { font-size: 8px; white-space: nowrap; }
  .menu-toggle { font-size: 12px; padding: 0; white-space: nowrap; }
  .nav { top: 62px; }
  /* Ship the same handwritten font used on desktop so phones do not fall back to their system cursive font. */
  .hero-copy, .hero-copy * { font-family: 'Yuval Hero Hand', 'Guttman Yad-Brush', 'Guttman Yad Brush', cursive !important; }
}

/* Match the requested section backgrounds. */
.work { background: #e2f3dc; }
.clinic { background: #fffdf2; }
.clinic-card { background: transparent; }

/* Contact is a seamless continuation of the clinic section; directions finish the page. */
.clinic { padding-bottom: 58px; }
.contact-inline {
  background: transparent;
  color: var(--ink);
  min-height: 0;
  padding: 20px 0 30px;
  margin: 12px 0 0;
}
.contact-inline .eyebrow, .contact-inline .contact-label { color: var(--sage-dark); }
.contact-inline .phone { color: var(--ink); border-color: var(--sage-dark); }
.contact-heading { margin-bottom: 20px; }
.clinic-map { text-align: center; }
.clinic-map .map-image { margin-top: 0; }
