/*
Theme Name: AS-Key
Theme URI: https://as-key.de/
Author: AS-Key
Description: Custom WordPress theme for AS-Key Schluesseldienst.
Version: 1.0.0
Requires at least: 6.0
Text Domain: askey
*/

:root {
  --ink: #142033;
  --muted: #617086;
  --line: #dfe6ee;
  --soft: #f5f8fb;
  --panel: #ffffff;
  --brand: #0b63ce;
  --brand-dark: #073b85;
  --accent: #f4b000;
  --ok: #15956b;
  --shadow: 0 18px 50px rgba(20, 32, 51, 0.12);
  --radius: 8px;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8f4f2 url("assets/images/site-gradient.jpg") center top / cover fixed;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

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

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: #0f223d;
  color: #dce8f6;
  font-size: 14px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}

.topbar__badges,
.topbar__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 0 0 180px;
  letter-spacing: 0;
}

.brand__logo {
  width: 170px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: center;
}

.brand__sub {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav li {
  position: relative;
  display: flex;
  list-style: none;
}

.nav a {
  padding: 10px 9px;
  border-radius: 8px;
  color: #29384d;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav .current-menu-item > a,
.nav .current-menu-ancestor > a {
  background: var(--soft);
  color: var(--brand);
}

.menu-title-red {
  color: #d82121;
}

.nav .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 230px;
  gap: 4px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav .sub-menu .sub-menu {
  top: 0;
  left: calc(100% + 8px);
}

.nav .menu-item-has-children:hover > .sub-menu,
.nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav .sub-menu li {
  display: block;
}

.nav .sub-menu a {
  display: block;
  padding: 10px 12px;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.btn--primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(11, 99, 206, 0.22);
}

.btn--primary:hover {
  background: var(--brand-dark);
}

.btn--ghost {
  color: var(--brand-dark);
  background: #fff;
  border-color: #bcd2ec;
}

.btn--accent {
  color: #1d2635;
  background: var(--accent);
}

.btn--call {
  position: relative;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff7300 0%, #ff8b25 58%, #ff9e3f 100%);
  box-shadow: 0 14px 26px rgba(255, 115, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-weight: 800;
}

.btn--call::before {
  content: "📞";
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  color: #2b1330;
  font-size: 16px;
  line-height: 1;
}

.btn--call:hover {
  color: #fff;
  background: linear-gradient(135deg, #f26b00 0%, #ff841a 58%, #ff9b35 100%);
  transform: translateY(-1px);
}

.btn--whatsapp {
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #27d044;
  box-shadow: 0 14px 26px rgba(39, 208, 68, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn--whatsapp img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.btn--whatsapp:hover {
  background: #20be3c;
  transform: translateY(-1px);
}

.hero {
  overflow: hidden;
  padding: 58px 0 46px;
  background: transparent;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(40px, 6vw, 72px);
}

.hero h2 {
  max-width: 760px;
  font-size: clamp(32px, 4.8vw, 58px);
}

.hero-title__line {
  display: block;
}

.hero-title__accent {
  color: #d82121;
}

.hero-title__brand {
  color: var(--brand);
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: #42536b;
  font-size: 20px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  padding: 9px 12px;
  border: 1px solid #cbd8e6;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #29384d;
  font-weight: 800;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card--photo {
  aspect-ratio: 825 / 614;
  min-height: 0;
  border: 0;
  border-radius: 28px;
  background: #101827;
}

.hero-card__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(12, 20, 38, 0.02), rgba(12, 20, 38, 0.1));
  pointer-events: none;
}

.hero-badge,
.hero-info,
.hero-rating {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(14, 21, 39, 0.92);
  box-shadow: 0 18px 34px rgba(4, 10, 22, 0.32);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.hero-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
  white-space: nowrap;
}

.hero-badge--left {
  top: 32px;
  left: 30px;
}

.hero-badge--right {
  right: 28px;
}

.hero-badge--top {
  top: 50px;
}

.hero-badge--mid {
  top: 100px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #49d05f;
  box-shadow: 0 0 0 5px rgba(73, 208, 95, 0.12);
}

.hero-info {
  position: absolute;
  z-index: 2;
  right: 52px;
  bottom: 26px;
  left: 70px;
  width: auto;
  min-height: 0;
  padding: 11px 18px 10px 42px;
  border-radius: 18px;
}

.hero-info h3 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
}

.hero-info p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 400;
}

.hero-info .hero-rating {
  padding: 5px 11px;
  font-size: 9px;
}

.hero-rating {
  display: table;
  margin: 0 auto;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
}

.section {
  padding: 78px 0;
}

.section--soft {
  background: rgba(255, 255, 255, 0.34);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature {
  min-height: 176px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: #fff;
  background: #fd8016;
  box-shadow: 0 10px 20px rgba(253, 128, 22, 0.22);
  font-size: 21px;
  font-weight: 400;
}

.feature p,
.service-card p,
.text-block p,
.page-copy p,
.page-copy li {
  color: var(--muted);
}

.content-panel,
.callback {
  padding: 28px;
  border: 1px solid rgba(223, 230, 238, 0.72);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(20, 32, 51, 0.05);
}

.content-panel h2,
.content-panel h3 {
  margin-bottom: 14px;
}

.content-panel p:last-child {
  margin-bottom: 0;
}

.about-grid,
.cta-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: center;
}

.media-panel {
  overflow: hidden;
  min-height: 430px;
  border-radius: var(--radius);
  background: #edf3f7;
  box-shadow: var(--shadow);
}

.media-panel img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center 34%;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 900;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 32, 51, 0.06);
}

.service-card__image {
  overflow: hidden;
  min-height: 190px;
  background: var(--soft);
}

.service-card__image img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  transition: transform 360ms ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.1);
}

.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.service-card__meta {
  margin-bottom: 9px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.cta {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.26);
}

.cta p {
  color: var(--muted);
}

.callback-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 26px;
  align-items: stretch;
}

.callback-card {
  min-width: 0;
  overflow-wrap: break-word;
  border: 1px solid rgba(223, 230, 238, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 16px 48px rgba(20, 32, 51, 0.09);
}

.callback-card--form {
  padding: 36px 32px 34px;
  border-top: 4px solid #ff6b17;
}

.callback-card--info {
  padding: 36px 32px;
}

.callback-card h2,
.callback-card h3 {
  margin-bottom: 10px;
}

.callback-card > p {
  margin-top: 0;
  color: var(--muted);
}

.callback-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
  padding: 18px;
  border: 1px solid rgba(255, 141, 79, 0.2);
  border-radius: 8px;
  background: #fff7f3;
}

.callback-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 115, 47, 0.22);
  border-radius: 999px;
  background: #fff2eb;
  color: #c44d22;
  font-size: 13px;
  font-weight: 700;
}

.callback-card label {
  display: block;
  margin-bottom: 6px;
  color: #42536b;
  font-size: 13px;
  font-weight: 800;
}

.callback-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.callback-card input,
.callback-card textarea {
  width: 100%;
  margin-bottom: 18px;
  padding: 13px 14px;
  border: 1px solid #cbd8e6;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.callback-card textarea {
  min-height: 170px;
  resize: vertical;
}

.callback-submit {
  width: 100%;
  justify-content: center;
  min-height: 52px;
  border: 0;
}

.callback-toast {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 10050;
  width: min(520px, calc(100% - 24px));
  padding: 15px 18px;
  border: 1px solid rgba(22, 163, 74, 0.34);
  border-radius: 8px;
  color: #14532d;
  font-weight: 700;
  text-align: center;
  background: #dcfce7;
  box-shadow: 0 18px 36px rgba(15, 34, 61, 0.18);
  transform: translateX(-50%);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.callback-toast.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -10px);
}

.callback-phone {
  display: inline-block;
  margin: 8px 0 12px;
  color: #f05a24;
  font-size: 20px;
  font-weight: 900;
}

.callback-availability {
  color: var(--muted);
  font-size: 14px;
}

.callback-divider {
  height: 1px;
  margin: 24px 0;
  background: var(--line);
}

.callback-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.callback-contact-row p {
  margin: 0;
}

.callback-contact-row a {
  color: #e55320;
  font-weight: 700;
}

.callback-checks {
  display: grid;
  gap: 10px;
  margin: 12px 0 24px;
  padding: 0;
  list-style: none;
}

.callback-checks li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.callback-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #59ad43;
  font-weight: 900;
}

.callback-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(255, 141, 79, 0.18);
  border-radius: 8px;
  background: #fff7f3;
}

.callback-stats div {
  display: grid;
  min-height: 82px;
  place-items: center;
  padding: 14px;
  text-align: center;
}

.callback-stats div + div {
  border-left: 1px solid rgba(255, 141, 79, 0.18);
}

.callback-stats strong {
  color: #f05a24;
  font-size: 28px;
  line-height: 1;
}

.callback-stats span {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  color: #d7e4f5;
  background: #0f223d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 34px;
  padding: 48px 0;
}

.site-footer a {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 0 0 22px;
  font-size: 14px;
}

.footer-city-links a {
  color: #d7e4f5;
  text-decoration: none;
}

.footer-city-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.copyright {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aabbd2;
  font-size: 14px;
}

.creator-credit {
  padding: 0 0 24px;
  text-align: center;
}

.site-footer .creator-credit a {
  color: #ff7a1a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-footer .creator-credit a:hover {
  color: #ff9a3d;
  text-decoration: underline;
}

.page-hero {
  padding: 62px 0;
  color: var(--ink);
  background: transparent;
}

.page-hero .lead {
  color: var(--muted);
}

.page-copy {
  max-width: 920px;
  overflow-wrap: break-word;
}

.page-copy--service {
  max-width: none;
}

.section--service-page {
  padding: 0 0 54px;
}

.page-copy h2,
.page-copy h3 {
  margin-top: 32px;
}

.page-copy ul,
.page-copy ol {
  padding-left: 22px;
}

.faq-shell {
  display: grid;
  gap: 18px;
}

.faq-intro {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
}

.faq-item {
  padding: 24px;
  border: 1px solid rgba(223, 230, 238, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 35px rgba(20, 32, 51, 0.08);
}

.faq-item h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.faq-item p {
  margin: 0;
}

.service-detail {
  display: grid;
  gap: 34px;
}

.service-detail--emergency {
  gap: 44px;
}

.service-emergency-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  margin-bottom: 8px;
  background:
    linear-gradient(90deg, rgba(13, 43, 68, 0.98) 0%, rgba(20, 73, 105, 0.95) 46%, rgba(26, 72, 100, 0.88) 100%),
    url("assets/images/service-not-schluesseldienst.webp") center / cover;
  color: #fff;
}

.service-emergency-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.service-emergency-hero__inner {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 72px;
}

.service-emergency-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.76);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.service-emergency-hero__crumbs span {
  display: inline-flex;
  align-items: center;
}

.service-emergency-hero__crumb-separator {
  color: rgba(255, 255, 255, 0.52);
}

.service-emergency-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
}

.service-emergency-hero__lead {
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.96) !important;
  font-size: 20px;
  line-height: 1.7;
}

.service-emergency-hero__lead--extended {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.96) !important;
  font-size: 20px;
  line-height: 1.7;
}

.service-emergency-hero__lead--extended p {
  margin: 0 0 14px;
  color: inherit !important;
  font: inherit;
  line-height: inherit;
}

.service-emergency-hero__lead--extended p:last-child {
  margin-bottom: 0;
}

.service-emergency-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}

.service-emergency-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.service-emergency-hero__meta span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1fc56c;
  box-shadow: 0 0 12px rgba(31, 197, 108, 0.8);
}

.service-detail__inner {
  display: grid;
  gap: 28px;
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
}

.service-detail__featured {
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(20, 32, 51, 0.14);
}

.service-detail__featured img {
  width: 100%;
  height: clamp(280px, 31vw, 430px);
  min-height: 0;
  object-fit: cover;
  object-position: center 43%;
}

.page-id-29 .service-detail__featured img {
  object-position: left top;
}

.service-detail__featured p {
  margin: 0;
  line-height: 0;
}

.service-detail__featured br {
  display: none;
}

.service-detail__notice {
  padding: 26px 28px;
  border: 5px solid #c92525;
  border-radius: 8px;
  background: #fff;
  color: #b91f1f;
  box-shadow: 0 18px 48px rgba(185, 31, 31, 0.08);
}

.service-detail__notice h2 {
  margin: 0 0 14px;
  color: inherit;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.16;
}

.service-detail__notice p {
  margin: 0 0 14px;
  color: inherit;
  font-size: 16px;
  line-height: 1.72;
}

.service-detail__notice p:last-child {
  margin-bottom: 0;
}

.service-detail__notice ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 18px;
  padding-left: 22px;
  color: inherit;
}

.service-detail__notice li {
  color: inherit;
  line-height: 1.55;
}

.service-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 34px;
  padding: 34px;
  border: 1px solid rgba(223, 230, 238, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.service-detail__image {
  overflow: hidden;
  min-height: 380px;
  border-radius: 8px;
  background: var(--soft);
}

.service-detail__photo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  padding: 12px 18px;
  background: rgba(15, 34, 61, 0.94);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.service-detail__photo-bar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.service-detail__image > img,
.service-detail__image > p > img:not(.emoji) {
  width: 100%;
  height: 100%;
  min-height: 326px;
  object-fit: cover;
}

.service-detail__image > p {
  margin: 0;
}

.service-detail__photo-bar img.emoji {
  display: inline-block;
  width: 16px !important;
  height: 16px !important;
  min-height: 0 !important;
  object-fit: contain;
}

.service-detail__eyebrow,
.service-detail__kicker {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-detail__hero h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
}

.service-detail__lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 19px;
}

.service-detail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.service-detail__phone {
  color: var(--muted);
  font-size: 15px;
}

.service-detail__phone strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.service-detail__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.service-detail__meta span {
  min-height: 74px;
  padding: 13px;
  border: 1px solid rgba(223, 230, 238, 0.9);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.service-detail__meta strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 26px;
}

.service-detail__grid--balanced {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.service-detail__panel,
.service-detail__aside,
.service-detail__cta {
  min-width: 0;
  overflow-wrap: break-word;
  padding: 28px;
  border: 1px solid rgba(223, 230, 238, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 35px rgba(20, 32, 51, 0.08);
}

.service-detail__panel--main {
  min-height: 100%;
  background: #fff;
}

.service-detail__aside--pink {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-start;
  gap: 34px;
  border-color: rgba(210, 94, 133, 0.38);
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.82), transparent 34%),
    linear-gradient(145deg, #fff6f7 0%, #fde8ec 54%, #fbe1e8 100%);
}

.service-detail__panel h2,
.service-detail__panel h3,
.service-detail__aside h2,
.service-detail__cta h2 {
  margin-top: 0;
  margin-bottom: 14px;
}

.service-detail__grid--balanced h2 {
  font-size: 19px;
  line-height: 1.25;
}

.service-detail__grid--balanced p,
.service-detail__grid--balanced li {
  font-size: 15px;
  line-height: 1.7;
}

.service-detail__steps,
.service-detail__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail__steps {
  gap: 1px;
  counter-reset: step;
}

.service-detail__steps li {
  position: relative;
  padding-left: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  line-height: 1.35;
}

.service-detail__steps li::before {
  counter-increment: step;
  content: counter(step) ".";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--ink);
  font-size: inherit;
  font-weight: 400;
}

.service-detail__tech {
  margin-top: 24px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.service-detail__price-title {
  margin-top: 30px !important;
}

.service-detail__fineprint + h2 {
  margin-top: 34px;
}

.service-prices {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.service-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px dashed rgba(97, 112, 134, 0.35);
  border-radius: 0;
  background: transparent;
}

.service-price__label {
  color: var(--ink);
  font-weight: 300;
}

.service-price__value {
  color: #14833f;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.service-detail__fineprint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.service-detail__payments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.service-detail__payments span {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.service-detail__aside {
  position: sticky;
  top: 112px;
}

.service-detail__list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.45;
}

.service-detail__list li::before {
  content: "✓";
  position: absolute;
  top: 0.02em;
  left: 0;
  color: #8b2f55;
  font-weight: 900;
}

.service-detail__aside--pink .service-detail__list {
  gap: 9px;
  margin: 8px 0 18px;
}

.service-detail__aside--pink p {
  margin: 0 0 14px;
}

.service-detail__aside--pink p:last-child {
  margin-bottom: 0;
}

.service-detail__aside--pink h2 {
  margin-bottom: 8px;
}

.service-detail__aside a:not(.btn) {
  color: #d95524;
  font-weight: 900;
}

.service-detail__aside-note {
  padding-top: 22px;
  border-top: 1px solid rgba(210, 94, 133, 0.25);
}

.service-detail__aside-note h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.14;
}

.service-detail__aside-note .btn {
  margin-top: 12px;
}

.service-detail__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.service-detail__cta p {
  margin-bottom: 0;
}

.floating-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-call__whatsapp {
  display: none;
}

@media (max-width: 980px) {
  .hero__grid,
  .about-grid,
  .cta-grid,
  .callback-layout,
  .service-detail__hero,
  .service-detail__grid,
  .service-detail__cta {
    grid-template-columns: 1fr;
  }

  .service-detail__aside {
    position: static;
  }

  .service-emergency-hero__inner {
    width: auto;
    margin-right: 16px;
    margin-left: 16px;
  }

  .service-emergency-hero__lead,
  .service-emergency-hero .btn {
    max-width: 100%;
  }

  .service-emergency-hero .btn {
    white-space: normal;
  }

  .feature-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 86px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav li {
    display: block;
  }

  .nav .sub-menu {
    position: static;
    display: grid;
    min-width: 0;
    margin: 4px 0 4px 12px;
    padding: 6px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .header-actions .btn {
    display: none;
  }
}

@media (min-width: 761px) {
  .service-detail__grid--balanced {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr) !important;
  }
}

@media (max-width: 680px) {
  body {
    overflow-x: hidden;
    padding-bottom: 64px;
  }

  .topbar__inner,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .wrap {
    width: min(var(--wrap), calc(100% - 24px));
  }

  .topbar {
    font-size: 12px;
  }

  .topbar__badges,
  .topbar__contact {
    gap: 8px;
  }

  .site-header__inner {
    min-height: 74px;
  }

  .brand {
    align-items: flex-start;
    flex: 0 1 auto;
  }

  .brand__logo {
    width: 132px;
    max-height: 44px;
  }

  .brand__sub {
    font-size: 10px;
  }

  .nav {
    top: 74px;
    right: 12px;
    left: 12px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h2 {
    font-size: clamp(24px, 6.2vw, 29px);
    overflow-wrap: anywhere;
  }

  .hero-title__line {
    margin-bottom: 4px;
  }

  .hero__grid {
    gap: 28px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .btn {
    justify-content: center;
    width: 100%;
  }

  .pills {
    gap: 8px;
  }

  .pill {
    width: 100%;
    justify-content: center;
  }

  .callback-layout {
    gap: 18px;
  }

  .callback-card--form,
  .callback-card--info {
    padding: 22px 18px;
  }

  .callback-badges {
    margin: 18px 0 22px;
    padding: 12px;
  }

  .callback-badges span {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .callback-card input,
  .callback-card textarea {
    margin-bottom: 14px;
    padding: 12px;
  }

  .callback-card textarea {
    min-height: 138px;
  }

  .callback-stats {
    grid-template-columns: 1fr;
  }

  .callback-stats div + div {
    border-top: 1px solid rgba(255, 141, 79, 0.18);
    border-left: 0;
  }

  .floating-call {
    --floating-action-size: 48px;
    --floating-whatsapp-png-size: 52px;
    right: 12px;
    bottom: 12px;
    left: 12px;
    align-items: stretch;
    gap: 10px;
  }

  .floating-call .btn {
    justify-content: center;
    height: var(--floating-action-size);
    min-height: var(--floating-action-size);
    padding: 12px 16px;
    font-size: 14px;
  }

  .floating-call__whatsapp {
    display: inline-flex;
    flex: 0 0 var(--floating-action-size);
    width: var(--floating-action-size);
    min-width: var(--floating-action-size);
    height: var(--floating-action-size);
    min-height: var(--floating-action-size);
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .floating-call__whatsapp:hover {
    background: transparent;
  }

  .floating-call__whatsapp img {
    width: var(--floating-whatsapp-png-size);
    max-width: none;
    height: var(--floating-whatsapp-png-size);
    object-fit: contain;
  }

  .floating-call__phone {
    flex: 1 1 auto;
    width: auto;
  }

  .creator-credit {
    padding-bottom: 110px;
  }

  .service-emergency-hero {
    min-height: 0;
  }

  .service-emergency-hero__inner {
    width: auto;
    margin-right: 16px;
    margin-left: 16px;
    padding: 46px 0 48px;
  }

  .service-emergency-hero__crumbs {
    gap: 4px 6px;
    margin-bottom: 18px;
    font-size: 11px;
  }

  .service-emergency-hero h1 {
    font-size: clamp(26px, 7vw, 32px);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .service-emergency-hero__lead {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    font-size: 17px;
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .service-emergency-hero .btn {
    justify-content: center;
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .service-emergency-hero__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .service-detail__inner {
    width: min(var(--wrap), calc(100% - 24px));
    gap: 18px;
  }

  .service-detail__featured img {
    height: clamp(220px, 58vw, 300px);
    object-position: center center;
  }

  .service-detail__notice {
    padding: 18px 16px;
    border-width: 4px;
  }

  .service-detail__notice h2 {
    font-size: 22px;
  }

  .service-detail__notice p,
  .service-detail__notice li {
    font-size: 15px;
    line-height: 1.62;
  }

  .service-detail__hero,
  .service-detail__panel,
  .service-detail__aside,
  .service-detail__cta {
    padding: 20px 16px;
  }

  .service-detail__image,
  .service-detail__image img {
    min-height: 260px;
  }

  .service-detail__meta,
  .service-detail__payments {
    grid-template-columns: 1fr;
  }

  .service-price {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .service-price__value {
    font-size: 16px;
  }

  .feature-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  h1 {
    font-size: 39px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-card--photo {
    border-radius: 20px;
  }

  .hero-badge {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 9px;
    font-weight: 400;
  }

  .hero-badge--left {
    top: 12px;
    left: 12px;
  }

  .hero-badge--right {
    right: 18px;
  }

  .hero-badge--top {
    top: 30px;
  }

  .hero-badge--mid {
    top: 62px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .hero-info {
    right: 26px;
    bottom: 13px;
    left: 34px;
    width: auto;
    min-height: 101px;
    padding: 10px 11px 10px 16px;
    border-radius: 13px;
  }

  .hero-info h3 {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .hero-info p,
  .hero-rating {
    font-size: 9px;
  }

  .hero-info p {
    margin-bottom: 6px;
  }

  .hero-rating {
    display: block;
    padding: 5px 8px;
    white-space: normal;
  }
}
