/*
Theme Name: Dio-Graz Theme
Theme URI: https://andibar.at
Author: Andibar
Author URI: https://andibar.at
Description: Custom WordPress Theme fuer den Tauchclub Dio-Graz
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: tauchclub
*/

/*===========FONTS==========*/

@font-face {
  font-family: "Roboto Condensed";
  src: url("assets/js/fonts/RobotoCondensed-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("assets/js/fonts/RobotoCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NOIRetBLANC";
  src: url("assets/js/fonts/noir_light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NOIRetBLANC";
  src: url("assets/js/fonts/noir_light__Italic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "NOIRetBLANC";
  src: url("assets/js/fonts/noir_light.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NOIRetBLANC";
  src: url("assets/js/fonts/noir_light.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NOIRetBLANC";
  src: url("assets/js/fonts/noir_light__Italic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/*===========VAR==========*/

:root {
  --radius-pill: 22px;
  --primary: #803614;
  --secondary: #be6544;
  --nav-line: rgba(255, 255, 255, 0.75);
  --font-body: "Roboto Condensed", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "NOIRetBLANC", Georgia, serif;
  --font-size-h2: clamp(2rem, 9vw, 3rem);
}

/*===========BASE==========*/

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: #1a1a1a;
}


p{
  line-height:1.6;
  font-size:17px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.6em;
  font-family: var(--font-head);
  font-weight: 300;
}

h1 {
  font-size: 5.1vw;
  font-style: italic;
  line-height: 1.05;
  font-weight: 300;
  color:var(--secondary);
}

h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-style: normal;
  line-height: 1.4;
  color: var(--secondary);
}

h3 {
  font-size: clamp(1rem, 2.3vw, 1.6rem);
  line-height: 1.4;
  color: var(--primary);
  font-style: italic;
}

h4 {
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  line-height: 1.2;
}

h5 {
  font-size: 1.1rem;
  line-height: 1.2;
}

h6 {
  font-size: 1.02rem;
  line-height: 1.2;
}

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

.page-main {
  width: min(100% - 2rem, 800px);
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.page-title {
  margin-bottom: 1rem;
}

html.nav-open,
html.nav-open body {
  overflow: auto;
}

/*===========UTILITIES==========*/

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: normal;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 0;
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 2px solid currentColor;
}

/*===========HEADER / NAV==========*/

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header a {
  color: inherit;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 40px;
  color: #fff;
  background: var(--primary);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 244px;
  flex: 0 0 auto;
  overflow: hidden;
}

.brand-img {
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
}

.brand-name {
  font-family: "Allura", "Brush Script MT", cursive;
  font-size: clamp(1.6rem, 2.3vw, 2.4rem);
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  position: relative;
  font-family: var(--font-body);
  font-synthesis: none;
}

.site-nav li:not(:last-child) a:hover{
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 2px;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 1001;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
}

.js .nav-toggle {
  display: inline-flex;
}

.nav-toggle:focus-visible,
.nav-list a:focus-visible,
.cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

.nav-toggle-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.nav-toggle-icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon-close {
  display: block;
}

.nav-panel {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.25rem;
}

@media (max-width: 1000px) {
  .js .nav-panel {
    display: none;
  }

  .js .nav-panel:not([hidden]) {
    display: flex;
  }
}

.nav-panel[hidden] {
  display: none !important;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.nav-list > li {
  display: flex;
  align-items: center;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.15rem;
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}

.nav-list > li + li::before {
  content: "|";
  display: inline-block;
  margin: 0 1.1rem;
  color: var(--nav-line);
  line-height: 1;
  transform: translateY(0.02em);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.cta:hover {
  background: rgba(255, 255, 255, 0.12);
}

/*===========HERO==========*/

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
}

.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  align-items: center;
  margin: 0 auto;
  min-height: clamp(620px, 72vh, 860px);
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.hero-image-left,
.hero-image-right {
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-image-left {
  justify-content: flex-start;
}

.hero-image-right {
  justify-content: flex-end;
}

.hero-side-image {
  border-radius: 48px;
  width: 100%;
  max-width: 350px;
  height: auto;
  aspect-ratio: 35 / 57;
  object-fit: cover;
  object-position: center center;
}

.hero-content {
  margin: 0 40px;
  padding: 1rem 0;
  color: var(--secondary);
  text-align: left;
}

.hero-title {
  margin: 0;
  color: var(--secondary);
  line-height: 1.2;
}

.hero-title-prefix {
  display: inline-block;
  font-size: 0.72em;
    font-size: 1em;
    display: flex;
    flex-direction: column;
}


.hero-subtitle {
  margin: 0.45em 0 0;
  color: var(--secondary);
  text-align: center;
}

.hero-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 0.65rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--primary);
  font-size: 20px;
  font-weight:500;
}

.hero-list li {
  display: inline-flex;
  align-items: center;
}

.hero-list li + li::before {
  content: "|";
  margin: 0 0.85rem;
  color: var(--primary);
  line-height: 1;
}

.impressum{
  font-size:45px;
}


/*===== WP FORMS====== */

div.wpforms-container-full input[type="text"], div.wpforms-container-full input[type="email"], div.wpforms-container-full .wpforms-form textarea.wpforms-field-medium{
border-color:var(--primary)!important;
}

label{
  color: var(--secondary)!important;
  font-weight:normal!important;
}

div.wpforms-container-full button[type="submit"]:not(:hover):not(:active){
  background-color: transparent!important;
  border:1px solid var(--secondary)!important;
  color:var(--secondary)!important;
}

div.wpforms-container-full button[type="submit"]:hover{
  background-color: var(--secondary)!important;
  color:var(--primary)!important;
}

div.wpforms-container-full .wpforms-form .wpforms-submit-container {
  margin-top: var(--wpforms-button-size-margin-top);
  text-align: right!important;
}

/*===========SERVICES==========*/


.eyebrow{
  margin-bottom: 0.8rem !important;
  font-family:  var(  --font-body);
  font-size: 17px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary);
}

.services {
  display: flex;
  justify-content: center;
  align-items: center;
  padding:25px 50px;
  padding-bottom:70px;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.3rem;
}

.services-card {
  padding: 1.6rem;
  border: 1px solid rgba(190, 101, 68, 0.45);
  border-radius: 26px;
  background: transparent;
}

/*===========IMAGE STRIP==========*/

.image-strip {
  position: relative;
  padding: 1rem ;
}

.image-strip-inner {
  margin: 20px auto;
  padding: 0 0.4rem;
}

.image-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.image-strip-item {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 20px;
}

.image-strip-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.image-strip-item-mobile-only {
  display: none;
}

.image-strip-shape {
  direction: ltr;
  left: 0;
  line-height: 0;
  overflow: hidden;
  position: absolute;
  width: 100%;
  bottom: 0px;
  transform: rotate(180deg);
  z-index: -2;
}

.image-strip-shape svg {
  width: calc(100% + 1.3px);
  height: 90px;
  display: block;
}

.image-strip-shape-fill {
  fill: #8036141A;
}

/*===========ABOUT ME==========*/

.about-me {
  position: relative;
  overflow: hidden;
  padding-top:100px;
  padding-bottom:100px;
}

.about-me::before,
.about-me::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.about-me::before {
  top: -151px;
  right: 0;
  width: 52%;
  height: min(26vw, 380px);
  background-image: url("assets/img/bg-upperright.svg");
}

.about-me::after {
  left: 0px;
  bottom: 0px;
  width: min(30vw, 460px);
  height: min(30vw, 460px);
  background-image: url("assets/img/bg-bottomright.svg");
  opacity: 0.86;
}

.about-me-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 6rem;
}

.about-me-inner-no-image {
  grid-template-columns: 1fr;
}

.about-me-image-wrap {
  margin: 0;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  justify-content: end;
  align-items: end;
}

.about-me-image {
  width: 300px;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

.about-me-content {
  min-width: 0;
}


.about-me-heading {
  margin: 0;
  color: var(--primary);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.2;
  font-weight: 300;
  font-style: normal;
}

.about-me-list {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: block;
}

.about-me-list li {
  margin-bottom: 1em;
  font-size: 1.1em;
  line-height: 1.50;
}

.about-me-line {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: start;
  column-gap: 0.45rem;
  min-width: 0;
}

.about-me-head {
  white-space: nowrap;
}

.about-me-year {
  color: var(--secondary);
  font-weight: 500;
}

.about-me-text {
  display: block;
  color: #2f2f2f;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.about-me-sep {
  color: #2f2f2f;
}

/*===========REVIEWS==========*/

.reviews {
  padding-top:100px;
  padding-bottom:100px;
  background: #faf8f7;
}

.reviews-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.reviews-eyebrow{
  padding-left:10px;
}

.reviews-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.4rem;
  align-items: center;
}

.reviews-track {
  min-height: 0;
}

.reviews-slide {
  display: none;
  text-align: center;
}

.reviews-slide.is-active {
  display: block;
}

.reviews-quote {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.7;
  font-style: italic;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

.reviews-meta {
  margin: 2rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(1.2rem, 1.6vw, 2rem);
  line-height: 1.4;
}

.reviews-meta-line {
  width: 76px;
  border-top: 1.5px solid rgba(190, 101, 68, 0.95);
  margin-right: 0.7rem;
}

.reviews-meta-name {
  color: var(--secondary);
  font-weight: 500;
}

.reviews-meta-sep {
  color: #252525;
}

.reviews-arrow {
  width: 56px;
  height: 56px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reviews-arrow-icon {
  display: inline-flex;
  width: 62px;
  height: 62px;
  line-height: 1;
}

.reviews-arrow-icon svg {
  width: 100%;
  height: 100%;
}

.reviews-arrow-next .reviews-arrow-icon {
  transform: rotate(180deg);
}

.reviews-arrow:hover {
  color: var(--primary);
}

.reviews-arrow:focus-visible {
  outline: 3px solid rgba(190, 101, 68, 0.62);
  outline-offset: 3px;
}

/*===========PATIENT INFO==========*/

.patient-info {
  max-width: 1200;
  position: relative;
  overflow: hidden;
  padding: 100px 50px;
}

.patient-info-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.patient-info-eyebrow {
  margin-bottom: 0.8rem !important;
}

.patient-info-heading {
 margin: 0;
  color: var(--primary);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.2;
  font-weight: 300;
  font-style:normal;
}

.patient-info-list {
  margin-top: 0.6rem;
}

.patient-info-item {
  border-bottom: 1px solid rgba(190, 101, 68, 0.95);
}

.patient-info-summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.35rem 0;
  cursor: pointer;
  font-size: 17px;
  font-weight:500;
  line-height: 1.4;
}

.patient-info-summary::-webkit-details-marker {
  display: none;
}

.patient-info-chevron {
  display: inline-flex;
  width: 17px;
  height: 17px;
  color: #3b3b3b;
  flex: 0 0 17px;
  transform: rotate(-90deg);
  transition: transform 180ms ease;
}

.patient-info-chevron svg {
  width: 100%;
  height: 100%;
}

.patient-info-item[open] .patient-info-chevron {
  transform: rotate(-180deg);
}

.patient-info-panel {
  padding: 0 0 1.25rem 2rem;
  font-size: 17px;
  line-height: 1.55;
}

.patient-info-panel p {
  margin: 0.2rem 0 0.8rem;
}

.patient-info-shape {
  direction: ltr;
  left: 0;
  line-height: 0;
  overflow: hidden;
  position: absolute;
  width: 185%;
  bottom: 108px;
  transform: rotate(180deg);
  transform-origin: bottom center;
  z-index: 3;
  pointer-events: none;
 opacity: 0.15;
}

.patient-info-shape svg {
  width: 100%;
  height: 140px;
  display: block;
}

.patient-info-shape-fill {
  fill: #803614;
  transform: rotateY(0deg);
  transform-origin: center;
}


/*===========FOOTER==========*/

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 3rem 40px;
  color: var(--primary);
}

.footer-inner h2{
  color: var(--primary);
}
.footer-inner a:hover, .footer-bottom-wrapper a:hover{
  text-decoration-thickness: 3px;
}

.footer-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-stack strong {
  font-weight: bold;
}

.footer-stack p {
  margin: 0;
}

.footer-line {
  margin: 0.5rem 0;
}

.footer-btn {
  margin-top: 1.3em !important;
}

.online-term {
  margin-bottom: 1.3em !important;
}

.footer-eyebrow {
  margin-bottom: 0.8rem !important;
  font-size: 17px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary);
}

.footer-bottom-wrapper {
  background: var(--primary);
  color: #fff;
}

.footer-bottom-wrapper a {
  color: inherit;
}

.footer-bottom-upper {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 40px;
}

.footer-bottom-col {
  min-width: 0;
}

.footer-bottom-col-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 175px;
  height: 120px;
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-logo-name {
  font-family: "Allura", "Brush Script MT", cursive;
  font-size: 2rem;
  line-height: 1;
  text-align: center;
}

.footer-bottom-col-contact,
.footer-bottom-col-address {
  text-align: center;
}

.footer-bottom-text {
  margin: 0.45rem 0;
}

.footer-lower-address {
  margin-top: 1.3em !important;
}

.footer-bottom-lower {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 40px 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  text-align: center;
}

.footer-bottom-lower a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-bottom-lower a:hover {
  text-decoration-thickness: 3px;
}

.footer-bottom-lower a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

/*===========RESPONSIVE==========*/

@media (max-width: 1125px) {
  .hero-title {
    font-size: 5.1vw;
    font-weight: 300;
  }

  .hero-subtitle {
    font-size: 3.6vw;
    line-height: 1.4;
  }

  .hero-list {
    text-align: left;
  }
}

@media (max-width: 1000px) {
  .brand-logo {
    width: 180px;
  }

  .header-inner {
    padding: 0 10px;
  }

  .js .nav-panel {
    position: fixed;
    left: 0;
    top: var(--header-h, 93px);
    width: 100%;
    max-height: calc(100dvh - var(--header-h, 93px));
    background: #faf8f7;
    color: #2b2b2b;
    overflow-y: auto;
    z-index: 999;
    border-bottom: 1px solid var(--primary);
  }

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

  .js .nav-list {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
  }

  .js .nav-list > li {
    width: 100%;
    border-bottom: 1px solid rgba(124, 58, 27, 0.55);
  }

  .js .nav-list > li:last-child {
    border-bottom: 0;
  }

  .js .nav-list a {
    width: 100%;
    padding: 1.3rem 1.5rem;
    font-size: 1em;
    color: inherit;
    line-height: 1.2;
  }

  .js .nav-list > li + li::before {
    content: "";
    margin: 0;
  }

  .js .cta {
    width: 100%;
    margin-top: 0.75rem;
  }

  .js .nav-panel .cta {
    display: block;
    width: 100%;
    margin: 0;
    padding: 1.6rem 1.5rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: clamp(1.35rem, 4.6vw, 1.8rem);
    text-align: left;
  }

  .footer-bottom-upper {
    grid-template-columns: 1fr;
    text-align: center;
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer-bottom-col-address {
    text-align: center;
  }

  .footer-bottom-lower {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero-side-image {
    max-width: 240px;
    width: 100%;
    height: auto;
  }

  .hero-content ul {
    justify-content: flex-start;
  }

  .hero-list li {
    align-items: flex-start;
  }

  .about-me-inner {
  gap: 2rem;
}

}

@media (max-width: 768px) {

  h3{
font-size: 25px;

  }

  .hero-bg {
    position: static;
    inset: auto;
    z-index: 0;
  }

  .hero-bg img {
    height: auto;
  }

  .hero-inner {
    min-height: 0;
    max-width: 780px;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 1.6rem 2.4rem;
  }

  .hero-image-left,
  .hero-image-right {
    display: none;
  }

  .hero-content {
    margin: 0;
    padding: 0;
    text-align: left;
    margin-top: -50px;
  }

  .hero-title {
    font-size: 14vw;
  }

  .hero-title-prefix {
    font-size: 1em;
    display: flex;
    flex-direction: column;
  }

.hero2{
  font-size: 10vw;
  font-style: normal;
  text-align: center;
}

  .hero-subtitle {
    margin-top: 0.5em;
    font-size: 7vw;
    font-style:italic;
    margin-bottom:0.8em;
  }

  .hero-list {
    display: grid;
    justify-content: stretch;
    gap: 0.6rem;
    margin-top: 1.2rem;
    font-size: 18px;
    padding-left: 0;
    margin-left: 0;
    justify-items: start;
  }
 .hero-content ul {
    justify-content: center;
    font-weight: 300;
    font-size: 20px;
  }

  .hero-list li {
    display: flex;
    align-items: flex-start;
  }

  .hero-list li::before {
    content: "";
    display: inline-block;
    width: 42px;
    height: 2px;
    margin: 0.6em 0.6rem 0 0;
    background-image: url("assets/img/line.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex: 0 0 42px;
  }

  .hero-list li + li::before {
    content: "";
    display: inline-block;
    width: 42px;
    height: 2px;
    margin: 0.6em 0.6rem 0 0;
    background-image: url("assets/img/line.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex: 0 0 42px;
  }

  .hero-side-image {
    width: 100%;
    max-width: 289px;
  }

  .services {
    padding: 1.6rem 1rem 2.2rem;
    margin-top: 0px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .services-card {
    padding: 1.15rem 0.9rem;
    border-radius: 22px;
  }

  .image-strip {
    padding: 0.5rem;
  }

  .image-strip-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .image-strip-item {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  .image-strip-item-mobile-only {
    display: block;
  }

  .image-strip-item-desktop-only {
    display: none;
  }

  .image-strip-shape svg {
    height: 58px;
  }

  .about-me {
    padding: 50px 15px;
  }


  .about-me-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-me-image-wrap {
    border-radius: 18px;
  }

  .about-me-image {
  height: 60vh;
  width:100%;
}

  .about-me-heading {
    font-size: var(--font-size-h2);
  }

  .about-me-list li {
    margin-bottom: 1.3rem;
    font-size: 1.1em;
    line-height: 1.3;
  }

  .about-me-line {
    grid-template-columns: max-content minmax(0, 1fr);
  }

  .about-me-list li::before {
    flex-basis: 42px;
    margin-top: 0.68em;
  }

  .reviews {
    padding: 50px 15px;
  }

  .reviews-eyebrow {
    margin-bottom: 1.4rem !important;
    padding-left:20px;
  }

  .reviews-carousel {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 0.2rem;
    align-items: center;
  }

  .reviews-track {
    min-height: 0;
  }

  .reviews-arrow {
    justify-self: center;
    width: 30px;
    height: 30px;
    padding: 0;
  }

  .reviews-arrow-prev {
    margin: 0;
  }

  .reviews-arrow-next {
    margin: 0;
  }

.reviews-quote {
  font-size: 18px;
  line-height: 1.5;
}
  .reviews-meta {
    margin-top: 1.25rem;
    font-size: clamp(1.05rem, 4.9vw, 1.6rem);
  }

  .reviews-meta-line {
    width: 52px;
    margin-right: 0.45rem;
  }

  .reviews-arrow-icon {
    width: 30px;
    height: 30px;
  }

  .patient-info {
    padding: 50px 15px;
  }

  .patient-info-inner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .patient-info-heading {
    font-size: var(--font-size-h2);
  }

  .patient-info-summary {
    gap: 0.7rem;
    padding: 1rem 0;
  }

  .patient-info-chevron {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  .patient-info-panel {
    padding: 0 0 1rem 1.6rem;
  }

  .patient-info-shape svg {
    width: 100%;
    height: 96px;
  }

  .footer-headline {
  font-size: var(--font-size-h2);
  }

  .footer-inner{
    grid-template-columns: 1fr;
    padding: 3rem 20px;
  }


}

@media (min-width: 1001px) {
  .nav-toggle {
    display: none !important;
  }

  .nav-list > li:last-child a {
    margin-left: 0.25rem;
    padding: 0.7rem 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 3px;
    line-height: 1;
  }

  .nav-list > li:last-child a:hover {
    background: var(--secondary);
  }
}
