/*
Theme Name: RECKONIUM Medica
Theme URI: https://reckonium.com/
Author: RECKONIUM
Author URI: https://reckonium.com/
Description: An original, responsive WordPress theme for clinics, dental practices, doctors, hospitals, and healthcare service providers. Includes a polished starter homepage, Customizer options, appointment enquiries, blog layouts, and Elementor-friendly templates.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reckonium-medica
Tags: blog, custom-logo, custom-menu, featured-images, full-width-template, one-column, two-columns, right-sidebar, theme-options, threaded-comments, translation-ready
*/

:root {
  --rm-primary: #12233f;
  --rm-secondary: #3659d9;
  --rm-accent: #18bfa4;
  --rm-accent-dark: #0b8f7c;
  --rm-soft: #eff8f7;
  --rm-soft-blue: #f0f4ff;
  --rm-white: #ffffff;
  --rm-text: #526078;
  --rm-heading: #10213c;
  --rm-border: #dfe6ef;
  --rm-danger: #c94747;
  --rm-radius-sm: 12px;
  --rm-radius: 22px;
  --rm-radius-lg: 34px;
  --rm-shadow: 0 22px 60px rgba(16, 33, 60, .10);
  --rm-shadow-sm: 0 10px 30px rgba(16, 33, 60, .08);
  --rm-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rm-white);
  color: var(--rm-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  overflow-x: hidden;
}
body.admin-bar .rm-site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: var(--rm-secondary); text-decoration: none; transition: .25s ease; }
a:hover { color: var(--rm-accent-dark); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
  color: var(--rm-heading);
  font-weight: 760;
  line-height: 1.16;
  letter-spacing: -.025em;
  margin: 0 0 .7em;
}
h1 { font-size: clamp(2.75rem, 6vw, 5.3rem); }
h2 { font-size: clamp(2rem, 4.1vw, 3.55rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.25rem; }
hr { border: 0; border-top: 1px solid var(--rm-border); }
::selection { background: rgba(24, 191, 164, .22); color: var(--rm-heading); }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #fff; clip: auto !important; clip-path: none; color: var(--rm-heading); display: block;
  font-size: 14px; font-weight: 700; height: auto; left: 8px; line-height: normal; padding: 14px 20px;
  top: 8px; width: auto; z-index: 100000; box-shadow: var(--rm-shadow-sm); border-radius: 8px;
}

.rm-container { width: min(calc(100% - 40px), var(--rm-container)); margin-inline: auto; }
.rm-section { padding: 110px 0; position: relative; }
.rm-section--soft { background: var(--rm-soft); }
.rm-section--blue { background: var(--rm-soft-blue); }
.rm-grid { display: grid; gap: 28px; }
.rm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rm-section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.rm-section-head p { font-size: 1.06rem; }
.rm-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--rm-accent-dark);
  font-size: .79rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.rm-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 999px; background: var(--rm-accent); }
.rm-button {
  align-items: center; background: var(--rm-secondary); border: 1px solid var(--rm-secondary); border-radius: 999px;
  color: #fff; display: inline-flex; font-weight: 750; gap: 10px; justify-content: center; line-height: 1;
  min-height: 54px; padding: 0 25px; box-shadow: 0 12px 28px rgba(54, 89, 217, .22);
}
.rm-button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(54, 89, 217, .28); }
.rm-button--accent { background: var(--rm-accent); border-color: var(--rm-accent); box-shadow: 0 12px 28px rgba(24, 191, 164, .22); }
.rm-button--accent:hover { background: var(--rm-accent-dark); border-color: var(--rm-accent-dark); }
.rm-button--ghost { background: transparent; color: var(--rm-heading); border-color: var(--rm-border); box-shadow: none; }
.rm-button--ghost:hover { background: #fff; color: var(--rm-secondary); border-color: #fff; box-shadow: var(--rm-shadow-sm); }
.rm-button svg { width: 18px; height: 18px; }

/* Header */
.rm-topbar { background: var(--rm-primary); color: rgba(255,255,255,.78); font-size: .88rem; }
.rm-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 39px; gap: 20px; }
.rm-topbar__group { display: flex; align-items: center; gap: 24px; }
.rm-topbar a { color: inherit; }
.rm-topbar a:hover { color: #fff; }
.rm-site-header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(223,230,239,.75); }
.rm-header__inner { min-height: 84px; display: flex; align-items: center; gap: 30px; }
.rm-brand { display: flex; align-items: center; gap: 12px; min-width: max-content; color: var(--rm-heading); }
.rm-brand:hover { color: var(--rm-heading); }
.rm-brand__mark { width: 43px; height: 43px; flex: 0 0 43px; }
.rm-brand__text { display: flex; flex-direction: column; line-height: 1; }
.rm-brand__name { font-size: 1.26rem; font-weight: 850; letter-spacing: -.035em; }
.rm-brand__tag { color: var(--rm-text); font-size: .69rem; letter-spacing: .11em; margin-top: 5px; text-transform: uppercase; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { max-height: 52px; width: auto; }
.rm-nav { margin-left: auto; }
.rm-nav ul { list-style: none; margin: 0; padding: 0; }
.rm-nav > div > ul { display: flex; align-items: center; gap: 28px; }
.rm-nav li { position: relative; }
.rm-nav a { color: var(--rm-heading); display: block; font-size: .95rem; font-weight: 680; padding: 28px 0; }
.rm-nav a:hover, .rm-nav .current-menu-item > a { color: var(--rm-secondary); }
.rm-nav .sub-menu { position: absolute; left: -20px; top: calc(100% - 4px); width: 225px; background: #fff; border: 1px solid var(--rm-border); border-radius: 14px; box-shadow: var(--rm-shadow-sm); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .22s ease; }
.rm-nav li:hover > .sub-menu, .rm-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.rm-nav .sub-menu a { padding: 10px 12px; border-radius: 9px; }
.rm-nav .sub-menu a:hover { background: var(--rm-soft-blue); }
.rm-header__cta { min-height: 45px; padding-inline: 19px; }
.rm-menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--rm-border); background: #fff; border-radius: 12px; align-items: center; justify-content: center; }
.rm-menu-toggle span, .rm-menu-toggle::before, .rm-menu-toggle::after { content: ""; display: block; width: 21px; height: 2px; background: var(--rm-heading); border-radius: 99px; transition: .2s; }
.rm-menu-toggle span { margin: 5px 0; }
.rm-menu-toggle.is-active span { opacity: 0; }
.rm-menu-toggle.is-active::before { transform: translateY(7px) rotate(45deg); }
.rm-menu-toggle.is-active::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.rm-hero { padding: 82px 0 92px; background: linear-gradient(120deg, #f7fbff 0%, #edf7f6 100%); position: relative; overflow: hidden; }
.rm-hero::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: rgba(54,89,217,.08); top: -270px; right: 8%; }
.rm-hero::after { content: ""; position: absolute; width: 350px; height: 350px; border-radius: 50%; border: 56px solid rgba(24,191,164,.08); bottom: -250px; left: -100px; }
.rm-hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 55px; align-items: center; position: relative; z-index: 2; }
.rm-hero h1 { max-width: 760px; }
.rm-hero h1 em { color: var(--rm-secondary); font-family: Georgia, serif; font-weight: 500; }
.rm-hero__lead { font-size: 1.12rem; max-width: 640px; }
.rm-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 31px 0 35px; }
.rm-trust { display: flex; flex-wrap: wrap; gap: 20px; }
.rm-trust__item { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 680; color: var(--rm-heading); }
.rm-check { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(24,191,164,.14); color: var(--rm-accent-dark); font-size: .75rem; font-weight: 900; }
.rm-hero-visual { min-height: 535px; position: relative; display: grid; place-items: center; }
.rm-hero-visual__blob { position: absolute; inset: 8% 4% 4% 10%; border-radius: 48% 52% 46% 54% / 58% 45% 55% 42%; background: linear-gradient(145deg, var(--rm-secondary), #7690f6); box-shadow: 0 40px 80px rgba(54,89,217,.25); }
.rm-doctor-art { position: relative; z-index: 2; width: min(430px, 88%); filter: drop-shadow(0 26px 24px rgba(15,33,60,.14)); }
.rm-float-card { position: absolute; z-index: 4; background: rgba(255,255,255,.96); box-shadow: var(--rm-shadow); border: 1px solid rgba(255,255,255,.75); border-radius: 18px; padding: 15px 17px; display: flex; align-items: center; gap: 12px; }
.rm-float-card--rating { left: -12px; bottom: 50px; }
.rm-float-card--hours { right: -16px; top: 88px; }
.rm-float-card__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--rm-soft); color: var(--rm-accent-dark); }
.rm-float-card strong { display: block; color: var(--rm-heading); font-size: .93rem; }
.rm-float-card span { display: block; font-size: .78rem; }

/* Cards */
.rm-card { background: #fff; border: 1px solid var(--rm-border); border-radius: var(--rm-radius); padding: 30px; transition: .25s ease; }
.rm-card:hover { transform: translateY(-7px); box-shadow: var(--rm-shadow); border-color: transparent; }
.rm-iconbox { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; background: var(--rm-soft-blue); color: var(--rm-secondary); margin-bottom: 24px; }
.rm-iconbox svg { width: 29px; height: 29px; }
.rm-card p:last-child { margin-bottom: 0; }
.rm-card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 760; margin-top: 10px; }
.rm-card__link span { transition: .2s; }
.rm-card__link:hover span { transform: translateX(4px); }

/* Stats */
.rm-stats { margin-top: -45px; position: relative; z-index: 5; }
.rm-stats__inner { background: var(--rm-primary); color: rgba(255,255,255,.75); border-radius: var(--rm-radius); padding: 30px 36px; display: grid; grid-template-columns: repeat(4,1fr); box-shadow: var(--rm-shadow); }
.rm-stat { padding: 4px 28px; border-right: 1px solid rgba(255,255,255,.14); }
.rm-stat:last-child { border-right: 0; }
.rm-stat strong { display: block; color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; margin-bottom: 8px; }
.rm-stat span { font-size: .9rem; }

/* About */
.rm-about__visual { position: relative; min-height: 520px; }
.rm-about__panel { border-radius: var(--rm-radius-lg); overflow: hidden; background: linear-gradient(145deg, #dff4f0, #eef2ff); min-height: 500px; display: grid; place-items: center; padding: 40px; }
.rm-about__badge { position: absolute; right: -14px; bottom: 36px; max-width: 205px; background: var(--rm-primary); color: #fff; border-radius: 20px; padding: 23px; box-shadow: var(--rm-shadow); }
.rm-about__badge strong { display: block; font-size: 2.2rem; line-height: 1; }
.rm-about__content { padding-left: 35px; }
.rm-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 22px; margin: 28px 0 34px; }
.rm-feature-list__item { display: flex; gap: 11px; align-items: flex-start; color: var(--rm-heading); font-weight: 690; }

/* Process */
.rm-process { counter-reset: step; }
.rm-process__item { text-align: center; position: relative; padding-inline: 10px; }
.rm-process__item::before { counter-increment: step; content: "0" counter(step); width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; margin: 0 auto 24px; background: #fff; border: 1px solid var(--rm-border); box-shadow: var(--rm-shadow-sm); color: var(--rm-secondary); font-size: 1.35rem; font-weight: 850; }
.rm-process__item:not(:last-child)::after { content: ""; position: absolute; width: calc(100% - 95px); height: 1px; border-top: 2px dashed #bfcbe3; left: calc(50% + 48px); top: 38px; }

/* Doctor */
.rm-team-card { padding: 0; overflow: hidden; }
.rm-team-card__photo { aspect-ratio: 4 / 4.25; background: linear-gradient(145deg, #e2f6f2, #edf1ff); display: grid; place-items: end center; padding: 24px 24px 0; overflow: hidden; }
.rm-team-card__photo svg { width: 100%; max-height: 100%; }
.rm-team-card__body { padding: 24px 26px 27px; }
.rm-team-card__meta { color: var(--rm-accent-dark); font-size: .86rem; font-weight: 750; }

/* Testimonial */
.rm-quote { position: relative; }
.rm-quote::before { content: "“"; position: absolute; right: 24px; top: 8px; font: 800 5rem/1 Georgia, serif; color: rgba(54,89,217,.10); }
.rm-stars { color: #efad35; letter-spacing: .15em; margin-bottom: 16px; }
.rm-person { display: flex; gap: 13px; align-items: center; margin-top: 22px; }
.rm-avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--rm-secondary); color: #fff; font-weight: 800; }
.rm-person strong { display: block; color: var(--rm-heading); }
.rm-person span { font-size: .82rem; }

/* Appointment */
.rm-appointment { background: var(--rm-primary); color: rgba(255,255,255,.74); overflow: hidden; }
.rm-appointment::after { content: ""; position: absolute; width: 520px; height: 520px; border: 90px solid rgba(255,255,255,.04); border-radius: 50%; right: -230px; top: -180px; }
.rm-appointment h2, .rm-appointment h3 { color: #fff; }
.rm-appointment .rm-eyebrow { color: #7ee9d5; }
.rm-appointment__grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.rm-contact-list { display: grid; gap: 17px; margin-top: 28px; }
.rm-contact-list__item { display: flex; gap: 13px; align-items: center; }
.rm-contact-list__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.09); color: #fff; }
.rm-contact-list a { color: #fff; }
.rm-form { background: #fff; padding: 33px; border-radius: var(--rm-radius); box-shadow: var(--rm-shadow); color: var(--rm-text); }
.rm-form__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.rm-field { display: grid; gap: 7px; }
.rm-field--full { grid-column: 1 / -1; }
.rm-field label { color: var(--rm-heading); font-size: .86rem; font-weight: 750; }
.rm-field input, .rm-field select, .rm-field textarea {
  width: 100%; min-height: 50px; border: 1px solid var(--rm-border); border-radius: 11px; background: #f9fbfd; color: var(--rm-heading); padding: 11px 14px; outline: none; transition: .2s;
}
.rm-field textarea { min-height: 112px; resize: vertical; }
.rm-field input:focus, .rm-field select:focus, .rm-field textarea:focus { border-color: var(--rm-secondary); box-shadow: 0 0 0 3px rgba(54,89,217,.10); background: #fff; }
.rm-honeypot { position: absolute !important; left: -9999px !important; }
.rm-alert { padding: 13px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 700; }
.rm-alert--success { background: #e5f8f3; color: #087d69; }
.rm-alert--error { background: #ffeded; color: #a93838; }

/* Blog and inner pages */
.rm-page-header { padding: 80px 0; background: linear-gradient(130deg, var(--rm-soft-blue), var(--rm-soft)); text-align: center; }
.rm-page-header h1 { font-size: clamp(2.4rem,5vw,4rem); margin-bottom: 14px; }
.rm-breadcrumbs { font-size: .9rem; }
.rm-content-wrap { padding: 85px 0; }
.rm-content-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 50px; }
.rm-content-grid--full { grid-template-columns: 1fr; }
.rm-post-card { overflow: hidden; padding: 0; margin-bottom: 30px; }
.rm-post-card__image { display: block; aspect-ratio: 16/8.5; background: var(--rm-soft-blue); overflow: hidden; }
.rm-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.rm-post-card:hover .rm-post-card__image img { transform: scale(1.035); }
.rm-post-card__body { padding: 27px 30px 31px; }
.rm-post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .82rem; margin-bottom: 13px; }
.rm-post-card h2 { font-size: clamp(1.55rem,2.7vw,2.1rem); }
.rm-entry-content { color: var(--rm-text); }
.rm-entry-content > * { max-width: 100%; }
.rm-entry-content h2, .rm-entry-content h3, .rm-entry-content h4 { margin-top: 1.45em; }
.rm-entry-content blockquote { margin: 28px 0; padding: 24px 28px; border-left: 4px solid var(--rm-accent); background: var(--rm-soft); border-radius: 0 var(--rm-radius-sm) var(--rm-radius-sm) 0; color: var(--rm-heading); font-size: 1.08rem; }
.rm-entry-content table { width: 100%; border-collapse: collapse; }
.rm-entry-content th, .rm-entry-content td { padding: 12px; border: 1px solid var(--rm-border); text-align: left; }
.rm-featured-image { border-radius: var(--rm-radius); overflow: hidden; margin-bottom: 35px; }
.rm-sidebar .widget { padding: 26px; background: #fff; border: 1px solid var(--rm-border); border-radius: 18px; margin-bottom: 24px; }
.rm-sidebar .widget-title { font-size: 1.15rem; margin-bottom: 18px; }
.rm-sidebar ul { list-style: none; margin: 0; padding: 0; }
.rm-sidebar li { padding: 8px 0; border-bottom: 1px solid var(--rm-border); }
.rm-sidebar li:last-child { border-bottom: 0; }
.search-form { display: flex; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 46px; border: 1px solid var(--rm-border); border-radius: 9px 0 0 9px; padding: 0 12px; }
.search-submit { border: 0; background: var(--rm-secondary); color: #fff; border-radius: 0 9px 9px 0; padding: 0 16px; }
.navigation.pagination { margin-top: 35px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--rm-border); border-radius: 10px; color: var(--rm-heading); }
.page-numbers.current, .page-numbers:hover { background: var(--rm-secondary); border-color: var(--rm-secondary); color: #fff; }

/* Comments */
.comments-area { margin-top: 50px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { border: 1px solid var(--rm-border); border-radius: 16px; padding: 24px; margin: 18px 0; }
.comment-author img { border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.comment-form input:not([type=submit]), .comment-form textarea { width: 100%; border: 1px solid var(--rm-border); border-radius: 10px; padding: 12px; }
.form-submit .submit { border: 0; background: var(--rm-secondary); color: #fff; border-radius: 999px; padding: 14px 23px; font-weight: 750; }

/* Footer */
.rm-site-footer { background: #0b1930; color: rgba(255,255,255,.68); padding-top: 74px; }
.rm-footer__grid { display: grid; grid-template-columns: 1.45fr .8fr .8fr 1.1fr; gap: 45px; }
.rm-site-footer h3, .rm-site-footer h4 { color: #fff; }
.rm-site-footer a { color: rgba(255,255,255,.74); }
.rm-site-footer a:hover { color: #fff; }
.rm-footer-menu, .rm-footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rm-footer-brand { display: inline-flex; margin-bottom: 18px; color: #fff; }
.rm-footer-brand:hover { color: #fff; }
.rm-footer-social { display: flex; gap: 10px; margin-top: 22px; }
.rm-footer-social a { width: 39px; height: 39px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.rm-footer-social a:hover { background: var(--rm-accent); }
.rm-footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 55px; padding: 23px 0; }
.rm-footer-bottom__inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: .86rem; }

/* 404 */
.rm-not-found { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.rm-not-found__code { font-size: clamp(6rem,18vw,12rem); line-height: .8; color: var(--rm-secondary); opacity: .12; font-weight: 900; }

/* WordPress helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: .85rem; color: var(--rm-text); }
.sticky { border-color: var(--rm-accent); }
.bypostauthor { outline: 0; }

@media (max-width: 1050px) {
  .rm-header__cta { display: none; }
  .rm-nav > div > ul { gap: 18px; }
  .rm-hero__grid { gap: 28px; }
  .rm-hero-visual { min-height: 470px; }
  .rm-grid--4 { grid-template-columns: repeat(2,1fr); }
  .rm-footer__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  body.admin-bar .rm-site-header { top: 46px; }
  .rm-topbar { display: none; }
  .rm-menu-toggle { display: block; margin-left: auto; }
  .rm-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--rm-border); padding: 0 20px 18px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s; max-height: calc(100vh - 100px); overflow: auto; }
  .rm-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .rm-nav > div > ul { display: block; }
  .rm-nav a { padding: 13px 4px; border-bottom: 1px solid var(--rm-border); }
  .rm-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; width: 100%; border: 0; box-shadow: none; padding: 0 0 0 15px; }
  .rm-hero__grid, .rm-grid--2, .rm-appointment__grid, .rm-content-grid { grid-template-columns: 1fr; }
  .rm-hero__content { text-align: center; }
  .rm-hero__lead { margin-inline: auto; }
  .rm-hero__actions, .rm-trust { justify-content: center; }
  .rm-hero-visual { width: min(620px,100%); margin-inline: auto; }
  .rm-stats__inner { grid-template-columns: repeat(2,1fr); }
  .rm-stat:nth-child(2) { border-right: 0; }
  .rm-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 20px; margin-bottom: 20px; }
  .rm-about__content { padding: 25px 0 0; }
  .rm-process__item::after { display: none; }
  .rm-grid--3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .rm-container { width: min(calc(100% - 28px), var(--rm-container)); }
  .rm-section { padding: 76px 0; }
  .rm-header__inner { min-height: 72px; }
  .rm-brand__tag { display: none; }
  .rm-hero { padding: 58px 0 75px; }
  .rm-hero-visual { min-height: 390px; }
  .rm-float-card--hours { right: 0; top: 45px; }
  .rm-float-card--rating { left: 0; bottom: 20px; }
  .rm-float-card { padding: 11px 12px; }
  .rm-grid--3, .rm-grid--4, .rm-footer__grid { grid-template-columns: 1fr; }
  .rm-stats { margin-top: -32px; }
  .rm-stats__inner { padding: 25px 18px; }
  .rm-stat { padding-inline: 12px; }
  .rm-feature-list, .rm-form__grid { grid-template-columns: 1fr; }
  .rm-field--full { grid-column: auto; }
  .rm-form { padding: 23px 18px; }
  .rm-footer-bottom__inner { flex-direction: column; text-align: center; }
  .rm-about__badge { right: 0; }
}
