/* ==========================================================================
     VARIABLES & FONTS
     ========================================================================== */
:root {
      /* Colors */
      --color-primary: hsl(89, 43%, 29%);
      --color-secondary: hsl(97, 60%, 96%);
      --color-accent: hsl(97, 37%, 57%);
      --color-text: hsl(97, 23%, 19%);
      --header-bg: hsl(97, 54%, 93%);
      --footer-bg: hsl(97, 44%, 89%);

      /* Sizes & spacing */
      --base-font-size: 1rem;
      /* 18px base comment kept in original */
      --radius-lg: 0.67rem;
      --radius-sm: 0.5rem;

      /* Misc */
      --shadow: 0 0.11rem 0.67rem hsla(89, 43%, 29%, 0.10);
      --brand-font: 'Rouna Bold', 'Arial Black', sans-serif;

      --special-border-radius: 11.111rem 2.444rem 8rem 11.111rem;
}

@font-face {
      font-family: 'Rouna Bold';
      font-style: normal;
      font-weight: normal;
      src: local('Rouna Bold'), url('../assets/Rouna-Bold.woff') format('woff');
}

/* ==========================================================================
     RESET / BASE
     ========================================================================== */
html {
      box-sizing: border-box;
      font-size: var(--base-font-size);
      scroll-behavior: smooth;
      width: 100vw;
      overflow-x: hidden;
}

*,
*::before,
*::after {
      box-sizing: inherit;
}

body,
.page {
      margin: 0;
      font-family: 'Segoe UI', 'Arial', sans-serif;
      color: var(--color-text);
      background: var(--color-secondary);
}

/* Utility container sizing */
.container {
      width: 100%;
      margin: 0 auto;
      padding: 0 1rem;
      box-sizing: border-box;
}

.container--small {
      max-width: 48rem;
}

.container--medium {
      max-width: 64rem;
}

.container--large {
      max-width: 80rem;
}

/* Accessibility helpers */
.visually-hidden {
      position: absolute !important;
      height: 1px;
      width: 1px;
      overflow: hidden;
      clip: rect(1px, 1px, 1px, 1px);
      white-space: nowrap;
      border: 0;
      padding: 0;
      margin: -1px;
}

a {
      color: inherit;
      text-decoration: none;
      background-color: transparent;
}

/* ==========================================================================
     PAGE + LAYOUT
     ========================================================================== */
.page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
}

/* page main wrapper */
.page__main,
.main {
      width: 100vw;
      background: #fff;
      border-radius: var(--radius-lg);
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: center;
      box-shadow: none;
      min-height: 60vh;
      position: relative;
}

/* common last-child spacing inside main */
main>*:last-child {
      margin-bottom: 2rem;
}

/* ==========================================================================
     HEADER
     ========================================================================== */
.page__header,
.header {
      width: 100%;
      background: linear-gradient(var(--header-bg), rgba(255, 255, 255, 0.0));
      /* box-shadow: var(--shadow); */
      padding: 1.25rem 1rem 4rem;
      border-bottom-left-radius: var(--radius-lg);
      border-bottom-right-radius: var(--radius-lg);
      text-align: center;
      width: 100vw;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;

      height: fit-content;
}

/* inner wrapper */
.header__inner {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
}

/* branding */
.header__branding {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-decoration: none;
}

.header__logo {
      width: 7rem;
      height: auto;
      display: block;
}

.header__logo--hero {
      width: 3rem;
      height: auto;
      margin-left: 0.5rem;
      display: inline-block;
}

/* title */
.header__title {
      font-family: var(--brand-font);
      color: var(--color-primary);
      margin: 0;
      letter-spacing: 0.06rem;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      visibility: visible;
}
h1 .hidden{
      width: 0;
      display: inline-block;
}
h1{
      font-size: 1rem;
      font-weight: normal;
      margin: 0;
      padding: 0;
      color: white
}



/* prominent hero variant overrides */
.header__title {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      color: #333;
}

/* small header paragraph & tagline */
.header p {
      font-size: 1.05rem;
      color: var(--color-accent);
      margin: 0;
}

.section__tagline {
      margin: 0.5rem 0 0;
      color: var(--color-secondary);
}

/* ==========================================================================
     NAVIGATION
     ========================================================================== */
.header__nav {
      display: flex;
      align-items: center;
      justify-content: end;
      padding: 0.5rem 0;
      margin: 0;
}

.header__nav--main {
      flex: 1;
      /* prevents nav from forcing header to stretch */
}

.header__nav__list {
      list-style: none;
      display: flex;
      gap: 1.25rem;
      margin: 0;
      padding: 0;
      align-items: center;
      justify-content: center;
}

.header__nav__item {
      margin: 0;
      text-decoration: none;
      font-weight: 700;
      padding: 0.5rem 0.75rem;
      border-radius: var(--special-border-radius);
      transition: background-color 0.25s, color 0.25s;
      display: inline-block;
      /* Default link styling */
      color: var(--color-accent);
      text-decoration: none;
      transition: color 0.2s;
}


/* Link / CTA */


/* CTA variants */
.header__nav__item--cta {
      background: var(--color-accent);
      color: #fff;
      box-shadow: var(--shadow);
}

.header__nav__item--cta:hover,
.header__nav__item--cta:focus {
      background: var(--color-accent) !important;
      filter: brightness(.90);
      color: #fff;
}

.header__nav__item:hover,
.header__nav__item:focus {
      background: rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
     HERO
     ========================================================================== */
.section__hero {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      background-image: url("../assets/images/pexels-eberhardgross-691668.jpg");
      background-color: rgba(43, 45, 40, 0.5);
      background-blend-mode: overlay;
      background-position: center 20%;
      background-repeat: no-repeat;
      background-size: cover;
      min-height: 75vh;
      width: 100%;
}

/* section title shared */
.main__section-title,
h2.main__section-title {
      font-family: var(--brand-font);
      color: var(--color-primary);
      margin: 0 0 0.5rem;
      font-size: 1.4rem;
}

/* default paragraph/misc spacing */
.main__section-text,
.main__address,
.main__address-text {
      margin: 0 0 1rem 0;
}

/* ==========================================================================
     SPECIALISATIONS / CARDS
     ========================================================================== */
/* Specialisations list */
.specialisations__list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      grid-template-rows: repeat(2, auto);
      gap: 1rem;
}

/* list item reset */
.specialisations__list>li {
      margin: 0;
      padding: 0;
}

/* Card */
.spec-card {
      display: flex;
      flex-direction: column;
      background: #fff;
      border-radius: var(--radius-sm);
      overflow: hidden;
      box-shadow: 0 0.06rem 0.33rem rgba(0, 0, 0, 0.04);
      transition: transform 0.18s ease, box-shadow 0.18s ease;
      min-height: 100%;
      width: 100%;
}

/* hover / focus elevation */
.spec-card:hover,
.spec-card:focus-within {
      transform: translateY(-4px);
      box-shadow: 0 0.16rem 0.6rem rgba(0, 0, 0, 0.08);
}

/* Media block (image) kept to a consistent aspect ratio */
.spec-card__media {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: #f3f3f3;
      flex-shrink: 0;
      filter: grayscale(100%);
      margin: 0;
}

/* image */
.spec-card__img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
}

/* subtle zoom on hover */
.spec-card:hover .spec-card__img,
.spec-card:focus-within .spec-card__img {
      transform: scale(1.06);
}

/* caption overlay */
.spec-card__media-caption {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 0.5rem 0.75rem;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 100%);
      color: #fff;
      font-size: 0.95rem;
      font-weight: 700;
      line-height: 1;
      text-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.35);
}

/* Body */
.spec-card__body {
      padding: 0.85rem 0.85rem 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      color: var(--color-text);
}

/* Title */
.spec-card__title {
      margin: 0;
      font-family: var(--brand-font);
      font-size: 1.05rem;
      color: var(--color-primary);
      line-height: 1.2;
}

/* Details / summary */
.spec-card__details {
      margin: 0;
      padding: 0;
      border: 0;
}

/* remove native marker */
.spec-card__summary::-webkit-details-marker {
      display: none;
}

/* summary acts like a button */
.spec-card__summary {
      background: transparent;
      border: 0;
      padding: 0.4rem 0;
      cursor: pointer;
      color: var(--color-accent);
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      width: 100%;
      text-decoration: none;
      font-size: 0.98rem;
      outline: none;
}

/* caret icon via pseudo element */
.spec-card__summary::after {
      content: "▾";
      display: inline-block;
      margin-left: 0.5rem;
      transform-origin: center;
      transition: transform 0.18s ease;
      color: var(--color-primary);
      font-size: 0.9rem;
}

/* rotate caret when open */
.spec-card__details[open] .spec-card__summary::after {
      transform: rotate(-180deg);
}

/* focus-visible ring for keyboard users */
.spec-card__summary:focus {
      box-shadow: 0 0 0 3px rgba(151, 211, 149, 0.18);
      border-radius: 0.25rem;
}

/* Content inside details - small reveal animation */
.spec-card__content {
      margin-top: 0.5rem;
      color: var(--color-text);
      font-size: 0.98rem;
      line-height: 1.5;
      transition: opacity 0.18s ease, transform 0.18s ease;
}

.spec-card__details:not([open]) .spec-card__content {
      opacity: 0;
      transform: translateY(-4px);
      height: 0;
      overflow: hidden;
}

.spec-card__details[open] .spec-card__content {
      opacity: 1;
      transform: translateY(0);
      height: auto;
      overflow: visible;
}

/* Small adjustments for small screens */
@media (max-width: 38.89rem) {
      .spec-card__body {
            padding: 0.75rem;
      }

      .spec-card__media {
            aspect-ratio: 4 / 3;
      }

      .spec-card__title {
            font-size: 1rem;
      }
}

/* ==========================================================================
     SECTIONS: DESCRIPTION / OPENING HOURS / ABOUT / SPECIALISATIONS / PRACTICAL
     ========================================================================== */

/* Shared section card style */
.section__description,
.section__openinghours,
.section__specialisations,
.section__practical {
      width: 100%;
      margin: 1.25rem auto;
      padding: 1.25rem;
      border-radius: var(--radius-sm);
      background: rgba(255, 255, 255, 0.9);
      box-shadow: 0 0.06rem 0.33rem rgba(0, 0, 0, 0.04);
      color: var(--color-text);
      line-height: 1.6;
}

/* Description */
.section__description {
      gap: 0.9rem;
      align-items: start;
      grid-template-columns: 1fr;
}

/* heading inside the description card */
.section__description h2 {
      margin: 0 0 0.35rem;
      font-family: var(--brand-font);
      color: var(--color-primary);
      font-size: 1.25rem;
      line-height: 1.1;
}

/* paragraphs: comfortable line-height and hyphenation for narrow columns */
.section__description p {
      margin: 0 0 0.9rem;
      font-size: 1rem;
      line-height: 1.6;
      color: var(--color-text);
      hyphens: auto;
      text-align: left;
}

/* lead paragraph spans full width and is slightly emphasized */
.section__description p:first-of-type {
      grid-column: 1 / -1;
      font-weight: 600;
      color: var(--color-primary);
      background: rgba(151, 211, 149, 0.04);
      padding: 0.6rem;
      border-radius: 0.5rem;
}

/* two-column layout on wider screens for improved reading rhythm */
@media (min-width: 48rem) {
      .section__description {
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
      }

      .section__description p {
            font-size: 1.02rem;
      }

      .section__description p:first-of-type {
            grid-column: 1 / -1;
      }
}

/* Opening hours - compact, emphasizes hours */
.section__openinghours {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-direction: column;
      gap: 1rem;
}

.section__openinghours .main__section-title {
      margin: 0;
      font-size: 1.1rem;
}

.section__openinghours p {
      margin: 0;
      font-weight: 700;
      color: var(--color-primary);
}

/* Opening hours table */
.opening-hours-table {
      width: 50%;
      border-collapse: collapse;
      font-family: inherit;
      margin-top: 0.5rem;
      border-radius: var(--radius-sm);
      overflow: hidden;
      box-shadow: 0 0.06rem 0.33rem rgba(0, 0, 0, 0.04);
      background: transparent;
}

.opening-hours-table tbody tr {
      /* background: rgba(255,255,255,0.7); */
      border-bottom: 1px solid rgba(0, 0, 0, 0.04);
      transition: background 0.15s ease, transform 0.12s ease;
}

/*
.opening-hours-table tbody tr:hover,
.opening-hours-table tbody tr:focus-within {
      background: rgba(255,255,255,0.95);
      transform: translateY(-1px);
}
*/
.opening-hours-table td {
      padding: 0.55rem 0.75rem;
      vertical-align: middle;
      font-size: 0.99rem;
      color: var(--color-text);
      white-space: nowrap;
}

.opening-hours-table .opening-day {
      width: 3.25rem;
      font-weight: 700;
      color: var(--color-primary);
      letter-spacing: 0.02rem;
}

.opening-hours-table .opening-day--wide {
      width: 4.5rem;
}

.opening-hours-table .hours {
      text-align: right;
      color: var(--color-accent);
      font-weight: 600;
}

/* Highlight "today" row */
.opening-hours-table .today,
.opening-hours-table tr.today {
      font-weight: 700;
      background: linear-gradient(90deg, rgba(151, 211, 149, 0.06), rgba(255, 255, 255, 0.9));
}

.opening-hours-table .today .opening-day,
.opening-hours-table tr.today .opening-day {
      color: var(--color-primary);
}

/* Optional status cell support */
.opening-hours-table .status {
      text-align: right;
      font-size: 0.95rem;
      padding-left: 0.75rem;
}

.opening-hours-table .is-open .status {
      color: #137333;
      font-weight: 600;
}

.opening-hours-table .is-closed .status {
      color: #6b7280;
}

.opening-hours-table .is-closed {
      opacity: 0.98;
}

/* About section */
.section__about {
      width: 100%;
      margin: 1.25rem auto;
      padding: 1.25rem;
      border-radius: var(--radius-sm);
      background: rgba(255, 255, 255, 0.92);
      box-shadow: 0 0.06rem 0.33rem rgba(0, 0, 0, 0.04);
      color: var(--color-text);
      line-height: 1.6;
}

/* Inner layout: image + content */
.about__inner {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
}

/* Portrait container */
.about__figure {
      flex: 0 0 12rem;
      width: 15rem;
      aspect-ratio: 1/1;
      margin: 0;
      overflow: hidden;
      border-radius: 50%;
      background: #f3f3f3;
      box-shadow: var(--shadow);
      display: block;
      flex-shrink: 0;
      float: right;
      margin: 0 1rem 0 0;
}

.about__img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      vertical-align: middle;
      transition: transform 0.35s ease;
}

/* Subtle lift on hover/focus */
.about__figure:focus-within .about__img,
.about__figure:hover .about__img {
      transform: scale(1.03);
}

/* Text content */
.about__content {
      flex: 1 1 auto;
      min-width: 0;
      /* allow text to truncate inside flex */
      color: var(--color-text);
}

.about__content p {
      margin: 0 0 0.85rem;
      font-size: 1rem;
      line-height: 1.6;
}

.about__content p:first-of-type {
      font-weight: 600;
      color: var(--color-primary);
}



/* Specialisations - responsive multi-column list (restate more specific placement) */
.section__specialisations .specialisations__list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1rem;
      margin: 0;
      padding: 0;
}

/* Practical FAQ (definition list) */
.practical__faq {
      display: grid;
      gap: 0.75rem;
}

.practical__question {
      margin: 0;
      font-weight: 700;
      color: var(--color-primary);
      font-size: 1rem;
}

.practical__answer {
      margin: 0;
      padding-left: 0.5rem;
      color: var(--color-text);
      font-size: 0.98rem;
}

.practical__answer ul {
      margin: 0.25rem 0 0 1.25rem;
}

.practical__note {
      margin-top: 0.5rem;
      font-size: 0.95rem;
      color: var(--color-accent);
}

/* ==========================================================================
     FOOTER
     ========================================================================== */
.page__footer,
.footer {
      width: 100%;
      background: var(--footer-bg);
      text-align: center;
      padding: 1rem;
      font-size: 1rem;
      color: var(--color-accent);
      border-top-left-radius: var(--radius-lg);
      border-top-right-radius: var(--radius-lg);
      margin-top: auto;

      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      margin-top: 4rem;
}

.footer__inner {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
}

.footer__copyright {
      margin: 0;
      color: var(--color-accent);
}

.footer__logo {
      width: 3rem;
      height: auto;
      display: block;
}

.footer__address {
      margin: 0;
      font-style: normal;
      color: var(--color-text);
}

/* ==========================================================================
     UTILITIES / VISUAL STATES
     ========================================================================== */
.st0 {
      fill: var(--color-primary);
      opacity: 1;
      transition: opacity 0.5s, transform 0.5s;
}

.hidden {
      opacity: 0;
}

.mobile-cta-button {
      position: fixed;
      bottom: 1rem;
      left: 65vw;
      z-index: 99999999999;
      display: none;
}

.hidden-desktop { 
      display: none;
}


/* ==========================================================================
     RESPONSIVE (CONSOLIDATED)
     Note: all original @media (max-width: 38.89rem) rules merged here
     ========================================================================== */
@media (max-width: 35rem) {

      .hidden-mobile {
            display: none !important;
      }

      .hidden-desktop { 
            display: block;
      }

      .main__section-title {
            text-align: center;
      }

      /* Header / nav / layout adjustments */
      .page__header,
      .header {
            padding: 1rem 0.5rem;
            flex-direction: column;
            align-items: center;
            text-align: center;
      }

      .header__inner {
            flex-direction: column;
            align-items: center;
            gap: 0.75rem;
            padding-bottom: 10rem;

      }

      .header__logo {
            width: 120px;
      }

      .header__nav--main {
            width: 100%;
            justify-content: start;

      }

      .header__nav__list {
            flex-wrap: wrap;
            gap: .75rem;
            justify-content: center;

      }

      .header__nav__link {
            flex: 1 1 auto;
      }

      .header__nav__link--cta {
            padding: 0.5rem 1rem;
            /* position: fixed;
            bottom: 1rem;
            right: 1rem; */
            z-index: 1;
      }

      /* Main padding */
      /* .page__main,
      .main { padding: 1rem; } */

      /* Footer stacking */
      .page__footer,
      .footer {
            flex-direction: column;
            gap: 0.5rem;
      }

      .footer__inner {
            flex-direction: column;
            align-items: center;
            text-align: center;
      }

      /* Spec card small-screen tweaks */
      .spec-card__body {
            padding: 0.75rem;
      }

      .spec-card__media {
            aspect-ratio: 4 / 3;
      }

      .spec-card__title {
            font-size: 1rem;
      }

      /* About stacking */
      .about__inner {
            flex-direction: column;
            align-items: center;
            text-align: justify;
      }

      .about__figure {
            float: unset;
            margin: 0 auto 0.75rem;
            width: 100%;
            aspect-ratio: 4/3;
            border-radius: var(--radius-sm) var(--radius-sm) 0 0;
      }


      .about__content p {
            font-size: 0.98rem;
      }

      .about__content p:first-of-type {
            font-weight: 700;
      }

      /* Opening hours table adjustments */
      .opening-hours-table td {
            padding: 0.5rem;
            font-size: 0.95rem;
      }

      .opening-hours-table .opening-day {
            width: 2.5rem;
            text-align: left;
      }

      .opening-hours-table .hours,
      .opening-hours-table .status {
            text-align: right;
      }

      /* Section layout for small screens */
      .section__openinghours {
            flex-direction: column;
            text-align: center;
      }

      .section__specialisations .specialisations__list {
            grid-template-columns: 1fr;
      }

      .section__description,
      .section__practical {
            padding: 1rem;
      }

      .mobile-cta-button {
            display: block;
      }
}


/* Background */


.background-circle-container {
      pointer-events: none;
      width: 100vw;
      overflow-x: hidden;
      overflow-y: visible;
      opacity: .4;
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      min-height: 100%;
      height: 100%;
}

.background-circle {
      position: absolute;
      background: url('../assets/svg/kine-lotte-o.svg');
      background-size: contain;
      background-repeat: no-repeat;
      animation: spin 500s linear infinite;
      overflow: visible;
}


.background-circle:nth-child(1) {
      animation-duration: 550s;
}

.background-circle:nth-child(2) {
      animation-duration: 650s;
}

.background-circle:nth-child(3) {
      animation-duration: 580s;
}
.background-circle:nth-child(4) {
      animation-duration: 640s;
}
.background-circle:nth-child(5) {
      animation-duration: 450s;
}

@media (prefers-reduced-motion) {
      .background-circle {
            animation: none;
      }
}

@keyframes spin {
      0% {
            transform: rotate(0deg);
            scale: 1;
      }

      25% {
            transform: rotate(360deg);
            scale: 1.1;
      }

      50% {
            transform: rotate(0deg);
            scale: 1;
      }

      75% {
            transform: rotate(-360deg);
            scale: 1.1;
      }

      100% {
            transform: rotate(0deg);
            scale: 1;
      }
}

.background-circle--large {
      /* width relative to viewport with sensible min/max, keep aspect ratio via a local var */
      --bg-large-w: clamp(360px, 35vw, 600px);
      width: var(--bg-large-w);
      height: calc(var(--bg-large-w) * 0.9333);
      /* preserves original ~42/45 ratio */
      top: 10%;
      left: -15%;
}

.background-circle--medium {
      --bg-medium-w: clamp(220px, 30vw, 640px);
      width: var(--bg-medium-w);
      height: calc(var(--bg-medium-w) * 1);
      /* square like original */
      top: 40%;
      right: -10%;
      left: auto;
}

.background-circle--small {
      --bg-small-w: clamp(180px, 18vw, 360px);
      width: var(--bg-small-w);
      height: calc(var(--bg-small-w) * 1);
      /* square like original */
      top: 65%;
      left: -15%;
}

/* if it's the 2nd child of the parent */
.background-circle--large:nth-of-type(2) {
      top: 75%;
      left: auto;
      right: -12%;
}

/* if it's the 2nd element of the same tag (e.g. div) */
.background-circle--medium:nth-of-type(2) {
      top: 20%;
      left: 70%;
      right: auto;
}

.background-circle--small:nth-of-type(2) {
      top: 90%;
      left: 45%;
}

/* ---------------------------
     CONTACT: layout & components
     --------------------------- */
.section__contact {
      width: 100%;
      margin: 1.25rem auto;
      padding: 1.25rem;
      border-radius: var(--radius-sm);
      background: rgba(255, 255, 255, 0.96);
      box-shadow: 0 0.06rem 0.33rem rgba(0, 0, 0, 0.04);
      color: var(--color-text);
      line-height: 1.6;
}

/* GRID: two-column by default, stacks on small screens */
.contact__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      align-items: start;
}

/* Details column */
.contact__details {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      justify-content: flex-start;
}

/* Address / contact info */
.contact__address {
      font-style: normal;
      color: var(--color-text);
      margin: 0;
}

.contact__address p {
      margin: 0 0 0.5rem;
}

.contact__address a {
      color: var(--color-accent);
      text-decoration: none;
      transition: color 0.18s;
}

.contact__address a:hover,
.contact__address a:focus {
      color: var(--color-primary);
}

/* Primary call-to-action */
.contact__cta-button {
      display: inline-block;
      background: var(--color-accent);
      color: #fff;
      padding: 0.55rem 0.9rem;
      border-radius: var(--special-border-radius);
      box-shadow: var(--shadow);
      font-weight: 700;
      text-decoration: none;
      transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s;
      align-self: start;
}

.contact__cta-button:hover,
.contact__cta-button:focus {
      transform: translateY(-3px);
      box-shadow: 0 0.22rem 0.66rem rgba(0, 0, 0, 0.12);
      opacity: 0.98;
}

/* Form (progressive enhancement) */
.contact__form {
      display: block;
      width: 100%;
}

.contact__form label {
      display: block;
      margin-bottom: 0.25rem;
      font-weight: 700;
      color: var(--color-primary);
      font-size: 0.95rem;
}

.contact__form input,
.contact__form textarea {
      width: 100%;
      padding: 0.5rem;
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-radius: 0.35rem;
      font: inherit;
      color: var(--color-text);
      background: #fff;
      box-sizing: border-box;
}

.contact__form textarea {
      min-height: 140px;
      resize: vertical;
}

/* Map region */
.contact__map {
      margin-top: 1rem;
      width: 100%;
}

.contact__map #map {
      width: 100%;
      height: 320px;
      border-radius: 0.5rem;
      box-shadow: 0 0.06rem 0.33rem rgba(0, 0, 0, 0.06);
      background: #eee;
      overflow: hidden;
}

/* small textual hints */
.contact__form-note,
.contact__contact-note {
      font-size: 0.95rem;
      color: var(--color-accent);
}

/* Accessibility: ensure focus outlines for keyboard users */
.contact__cta-button:focus,
.contact__form input:focus,
.contact__form textarea:focus {
      outline: none;
      box-shadow: 0 0 0 3px rgba(151, 211, 149, 0.18);
      border-radius: 0.35rem;
}

/* Responsive: stack columns on small screens */
@media (max-width: 48rem) {
      .contact__grid {
            grid-template-columns: 1fr;
      }

      .contact__cta-button {
            width: 100%;
            text-align: center;
            padding: 0.65rem;
      }

      .contact__map #map {
            height: 260px;
      }
}