/*
Theme Name: Axinia
Description: Eigenständiges WordPress-Theme für Axinia Maderotherapie.
Version: 1.0.10
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: axinia
*/
:root {
  --paper: #f8f2e9;
  --cream: #efe3d5;
  --ink: #271b16;
  --muted: #685247;
  --rust: #793f2c;
  --dark: #30221d;
  --line: #d8c6b5;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; margin: 0 0 .45em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.8rem, 6.6vw, 7rem); }
h2 { font-size: clamp(2.35rem, 5vw, 4.65rem); }
h3 { font-size: clamp(1.35rem, 2.8vw, 2rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(100% - 3rem, 78rem); margin-inline: auto; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 20; padding: .7rem 1rem; background: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.ax-header { border-bottom: 1px solid var(--line); }
.ax-header-inner { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { width: 5rem; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 3.25rem; padding: .68rem 1.3rem; border: 1px solid var(--rust); border-radius: 2px; background: var(--rust); color: #fffaf3; font: 600 .9rem/1.3 var(--sans); text-decoration: none; cursor: pointer; }
.button:hover { background: #603023; border-color: #603023; color: white; }
.button-outline { background: transparent; color: var(--rust); }
.eyebrow { color: var(--rust); text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: .72rem; margin-bottom: 1.45rem; }
.hero { display: grid; grid-template-columns: 1.03fr 1fr; min-height: clamp(34rem, 48vw, 47rem); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(2rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem) clamp(2.5rem, 6vw, 6rem) 0; }
.hero h1 em, h2 em { color: var(--rust); font-weight: normal; }
.hero-copy > p:not(.eyebrow) { color: var(--muted); max-width: 37ch; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.4rem; margin-top: 1rem; }
.hero-media { margin: 0; position: relative; min-width: 0; background: var(--cream); }
.hero-media img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 61%; }
.facts { background: var(--cream); border-block: 1px solid var(--line); }
.facts dl { display: grid; grid-template-columns: repeat(3, 1fr); margin-block: 0; text-align: center; }
.facts dl div { padding: clamp(1rem, 2.5vw, 2rem) .6rem; }
.facts dl div + div { border-left: 1px solid var(--line); }
.facts dt { font: 1.25rem/1.2 var(--serif); }
.facts dd { margin: .35rem 0 0; color: var(--muted); font-size: .82rem; }
.section { padding-block: clamp(3.2rem, 8vw, 7.5rem); }
.split { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(2rem, 9vw, 9rem); align-items: center; }
.split .photo { width: 100%; aspect-ratio: 6/5; object-fit: cover; object-position: center 56%; }
.prose { max-width: 64ch; }
.prose p { color: var(--muted); }
.tint { background: var(--cream); }
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.steps li { border-top: 1px solid #af9280; padding-top: 1.25rem; }
.steps li p { color: var(--muted); max-width: 36ch; }
.faq { max-width: 55rem; }
details { border-bottom: 1px solid var(--line); padding-block: 1rem; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { font-weight: 650; cursor: pointer; }
details p { margin: .65rem 0 0; padding-left: 1.15rem; color: var(--muted); }
.cta, .ax-footer { background: var(--dark); color: var(--paper); }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 1rem 3rem; align-items: center; justify-content: space-between; }
.cta h2 { margin: 0; }
.cta .button { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta .button:hover { background: var(--cream); }
.ax-footer { border-top: 1px solid #6c5549; }
.footer-inner { min-height: 7rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.5rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; }
.footer-inner small, .footer-inner nav { font-size: .85rem; }
.page-title { max-width: 18ch; }
.form-box { border: 1px solid var(--line); padding: clamp(1rem, 4vw, 2.5rem); background: #fff9f1; max-width: 46rem; margin-top: 2.2rem; }
.form-box label { display: block; font-weight: 600; }
.form-box input:not([type=submit]), .form-box textarea { margin-top: .35rem; padding: .65rem .75rem; width: 100%; min-height: 2.9rem; border: 1px solid #967b6a; border-radius: 2px; background: white; color: var(--ink); font: inherit; }
.form-box textarea { display: block; min-height: 8rem; }
.form-box form > p { margin-bottom: 1rem; }
.entries article { margin-block: 1.7rem; }
.site-content { min-height: 52vh; }
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 2rem); }
  .ax-header-inner { min-height: 4.5rem; gap: .65rem; padding-block: .45rem; }
  .brand img { width: 120px; }
  .hero, .split, .steps { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-copy { padding: 2.75rem 0 2rem; }
  .hero-media { aspect-ratio: 1 / .9; }
  .hero-media img { object-position: center 66%; }
  .facts dt { font-size: 1.02rem; }
  .facts dd { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.form-box select { margin-top: .35rem; padding: .65rem .75rem; width: 100%; min-height: 2.9rem; border: 1px solid #967b6a; border-radius: 2px; background: white; color: var(--ink); font: inherit; }
.form-box select:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.button:hover { filter: brightness(.92); cursor: pointer; }

.button.whatsapp-button {
  background: #146b43;
  border-color: #146b43;
  color: #fff;
  text-align: left;
}
.whatsapp-button svg { flex: 0 0 auto; }

.hero { align-items: center; padding-block: clamp(1.5rem, 4vw, 4.5rem); }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 5.5rem); }
.hero-media { aspect-ratio: 1.2; border-radius: 48% 48% 1rem 1rem / 63% 63% 1rem 1rem; overflow: hidden; width: 100%; }
.overview, .contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.5rem, 6vw, 6rem); align-items: start; }
.ax-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.ax-cards article { background: #fffaf4; border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2rem); border-radius: .8rem; }
.ax-cards article p { color: var(--muted); }
.ax-cards article a { color: var(--rust); font-weight: 650; }
.offers article:nth-child(2) { border-color: var(--rust); }
.treatment-steps { background: var(--dark); color: var(--paper); }
.treatment-steps .steps { counter-reset: treatment; }
.treatment-steps li { counter-increment: treatment; }
.treatment-steps li::before { content: counter(treatment); display: block; color: #e8ba8c; font: 2rem/1.2 var(--serif); margin-bottom: .65rem; }
.treatment-steps .steps li p { color: #f0dfcf; }
.contact-layout .form-box { margin-top: 0; width: 100%; }
.contact-layout address { font-style: normal; }
.booking-phone { margin-top: .75rem; }
.footer-brand, .footer-social { display: flex; flex-wrap: wrap; gap: .45rem .8rem; }
.footer-brand { flex-direction: column; gap: .1rem; }
.footer-brand span { font-size: .85rem; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; color: var(--paper); }
.footer-social { gap: .15rem; }
.footer-social a:hover { color: #e8ba8c; }
.footer-credit { display: flex; flex-wrap: wrap; gap: .35rem; }
.footer-inner a:hover { text-decoration: underline; }
.ax-header-action { display: flex; flex-shrink: 0; }
@media (max-width: 720px) {
  .hero { padding-top: 0; }
  .overview, .contact-layout, .ax-cards { grid-template-columns: 1fr; }
  .ax-header-action .button { padding: .4rem .65rem; min-height: 2.5rem; gap: .4rem; font-size: .75rem; }
  .ax-header-action svg { width: 16px; height: 16px; }
}

.home .ax-header { position: absolute; inset: 0 0 auto; z-index: 4; background: var(--paper); }
.admin-bar.home .ax-header { top: 32px; }
.hero-slider { position: relative; isolation: isolate; display: grid; min-height: 100vh; min-height: 100svh; background: var(--dark); color: #fffaf3; }
.hero-slider-images, .hero-slide, .hero-slider::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide { object-fit: cover; object-position: center; opacity: 0; transition: opacity .65s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slider::after { content: ''; pointer-events: none; background: linear-gradient(90deg, rgba(28, 17, 12, .88), rgba(28, 17, 12, .72) 40%, rgba(28, 17, 12, .22) 76%, rgba(28, 17, 12, .12)); }
.hero-slider-inner { position: relative; z-index: 1; display: grid; align-content: center; padding-block: 9rem 6rem; }
.hero-slider-copy { max-width: 46rem; }
.hero-slider h1 { font-size: clamp(2.6rem, 6vw, 6.35rem); }
.hero-slider h1 em, .hero-slider .eyebrow { color: #ffddbb; }
.hero-slider-copy > p:not(.eyebrow) { max-width: 43ch; font-size: clamp(1rem, 1.5vw, 1.16rem); }
.hero-slider .button-outline { background: rgba(36, 24, 19, .65); border-color: #fffaf3; color: #fffaf3; }
.hero-slider-controls { position: absolute; inset: auto 0 1.3rem; display: flex; align-items: center; justify-content: center; gap: .3rem; }
.hero-slider-controls[hidden] { display: none; }
.hero-slider-controls button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; color: white; background: #281c17; border: 1px solid #fff9; border-radius: 50%; cursor: pointer; font: inherit; }
.hero-dot span { width: .55rem; height: .55rem; border: 1px solid currentColor; border-radius: 50%; }
.hero-dot[aria-current] span { background: currentColor; }
@media (max-width: 782px) {
  .admin-bar.home .ax-header { top: 46px; }
}
@media (max-width: 720px) {
  .hero-slide { object-position: 57% center; }
  .hero-slider::after { background: linear-gradient(90deg, rgba(28, 17, 12, .86), rgba(28, 17, 12, .60)); }
  .hero-slider-inner { padding-block: 8rem 5.2rem; }
  .hero-slider-controls { bottom: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

@media (min-width: 1031px) {
  .ax-header-inner { min-height: 6rem; }
  .brand img { width: 7rem; }
}

/* Rounded action buttons, including plugin-generated controls. */
.button, .wp-element-button, .wp-block-button__link,
.woocommerce #respond input#submit, .woocommerce a.button,
.woocommerce button.button, .woocommerce input.button,
input[type="submit"], input[type="button"], input[type="reset"],
button:not(.hero-dot):not(.hero-playback) { border-radius: 999px; }

.ax-nav, .ax-nav-links { display: flex; align-items: center; }
.ax-nav { gap: clamp(1rem, 3vw, 2.75rem); }
.ax-nav-links {
  gap: .25rem;
  padding: .3rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: #f1e7db;
}
.ax-nav-links a {
  padding: .62rem clamp(.62rem, 1.15vw, 1.15rem);
  border-radius: 2rem;
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.ax-nav-links a:hover, .ax-nav-links [aria-current] {
  background: #e6d4c3;
  color: #623522;
}
.ax-menu-toggle {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--rust);
  background: #f1e7db;
  cursor: pointer;
}
.ax-nav[hidden], .ax-menu-toggle[hidden], .ax-menu-toggle .menu-close,
.ax-menu-toggle[aria-expanded="true"] .menu-bars { display: none; }
.ax-menu-toggle[aria-expanded="true"] .menu-close { display: block; }

@media (max-width: 1030px) {
  .ax-header { background: var(--paper); }
  .ax-header-inner { position: relative; flex-wrap: wrap; }
  .ax-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .9rem;
  }
  .ax-header[data-menu-ready] .ax-nav {
    position: absolute;
    z-index: 5;
    inset: calc(100% + .35rem) 0 auto;
    max-height: calc(100svh - 6.5rem);
    overflow: auto;
    padding: .9rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    box-shadow: 0 12px 30px #271b1626;
  }
  .home .ax-header:not([data-menu-ready]) { position: relative; }
  .ax-nav-links { flex-direction: column; align-items: stretch; border: 0; border-radius: .75rem; }
  .ax-nav-links a { min-height: 2.75rem; border-radius: .6rem; }
  .ax-header-action .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ax-nav-links a { transition: none; }
}
