/* Következő Lehajtó — brand: purple #4B3D6A, orange #F18A21, bg #F1EFE0 */

:root {
  --color-purple: #4b3d6a;
  --color-purple-dark: #3a2f52;
  --color-orange: #f18a21;
  --color-orange-hover: #e07812;
  --color-bg: #f1efe0;
  --color-bg-alt: #e8e5d6;
  --color-text: #2a2438;
  --color-muted: #5c5568;
  --color-white: #fff;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 4px 24px rgba(75, 61, 106, 0.08);
  --shadow-card: 0 8px 32px rgba(75, 61, 106, 0.1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --transition: 0.22s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-purple);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-orange-hover);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--color-purple);
  color: var(--color-white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
/* Szilárd háttér: a backdrop-filter a fixed nav-ot a fejléc alacsony dobozához kötné,
   így a mobil menünek nem lenne kitöltött háttere. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-purple);
  border-bottom: 1px solid color-mix(in srgb, var(--color-white) 12%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: var(--header-h);
  gap: 1rem;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--color-white) 14%, transparent);
  cursor: pointer;
  color: var(--color-white);
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--color-purple-dark);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--transition), visibility var(--transition);
  /* Ha valamilyen böngészőben mégis korlátozódna a doboz: */
  min-height: calc(100dvh - var(--header-h));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-white) 8%, transparent);
}

.site-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-list a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.nav-list a:hover {
  background: color-mix(in srgb, var(--color-white) 10%, transparent);
  color: var(--color-white);
}

.nav-cta {
  margin-top: auto;
  text-align: center;
  text-decoration: none;
}

.nav-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--color-white);
  background: color-mix(in srgb, var(--color-white) 12%, transparent);
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform 0.15s ease;
}

.nav-social-link:hover {
  background: var(--color-orange);
  color: var(--color-white);
}

.nav-social-link:active {
  transform: scale(0.96);
}

.nav-social-link:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.nav-social-icon {
  width: 22px;
  height: 22px;
  display: block;
}

/* Körvonalas ikonok (TikTok, Instagram) — kicsit erősebb vonal kis méretben */
.nav-social-icon--stroke {
  stroke-width: 2.15px;
}

@media (min-width: 900px) {
  .header-inner {
    justify-content: stretch;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    min-height: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
    flex-direction: row;
    align-items: center;
    flex: 1;
    width: 100%;
    min-width: 0;
    gap: 0.75rem 1rem;
    transform: none;
    visibility: visible;
  }

  .nav-list {
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.15rem;
    min-width: 0;
  }

  .nav-list a {
    padding: 0.5rem 0.85rem;
    font-size: 0.95rem;
  }

  .nav-social {
    flex-shrink: 0;
    justify-content: flex-end;
    gap: 0.35rem;
    padding-left: 0.25rem;
  }

  .nav-social-link {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .nav-cta {
    margin-top: 0;
    margin-left: 0;
    flex-shrink: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}

.btn-primary:hover {
  background: var(--color-orange-hover);
  border-color: var(--color-orange-hover);
  color: var(--color-white);
}

.btn-ghost {
  background: transparent;
  color: var(--color-purple);
  border-color: color-mix(in srgb, var(--color-purple) 35%, transparent);
}

.btn-ghost:hover {
  border-color: var(--color-orange);
  color: var(--color-orange-hover);
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 5.5rem);
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, color-mix(in srgb, var(--color-orange) 18%, transparent), transparent 55%),
    radial-gradient(ellipse 80% 60% at 0% 100%, color-mix(in srgb, var(--color-purple) 12%, transparent), transparent 50%),
    var(--color-bg);
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-orange);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-purple);
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.hero-logo {
  width: min(100%, 20rem);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

@media (min-width: 480px) {
  .hero-logo {
    width: min(100%, 24rem);
  }
}

@media (min-width: 768px) {
  .hero-logo {
    width: min(100%, 28rem);
  }
}

@media (min-width: 1100px) {
  .hero-logo {
    width: min(100%, 32rem);
  }
}

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-purple);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
}

/* Testimonials carousel */
.testimonials {
  max-width: 720px;
  margin-inline: auto;
}

.testimonials-viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.testimonials-track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 0 0.25rem;
}

.testimonial-card {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid color-mix(in srgb, var(--color-purple) 8%, transparent);
}

.testimonial-text {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-text);
}

.testimonial-card footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.testimonial-author {
  font-style: normal;
  font-weight: 600;
  color: var(--color-purple);
}

.stars {
  color: var(--color-orange);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--color-purple) 25%, transparent);
  background: var(--color-white);
  color: var(--color-purple);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.carousel-btn:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-purple) 28%, transparent);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.carousel-dot[aria-selected="true"] {
  background: var(--color-orange);
  transform: scale(1.15);
}

/* Services */
.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 560px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid color-mix(in srgb, var(--color-purple) 6%, transparent);
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--color-orange) 16%, transparent);
  color: var(--color-orange);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--color-purple);
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* Price table */
.price-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid color-mix(in srgb, var(--color-purple) 8%, transparent);
}

.price-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  background: var(--color-white);
  font-size: 0.95rem;
}

.price-table thead {
  background: var(--color-purple);
  color: var(--color-white);
}

.price-table th,
.price-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  vertical-align: top;
}

.price-table th:last-child,
.price-table td:last-child {
  white-space: nowrap;
  font-weight: 600;
  color: var(--color-orange);
}

.price-table tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--color-bg) 55%, var(--color-white));
}

.price-table tbody tr:hover td {
  background: color-mix(in srgb, var(--color-orange) 6%, var(--color-white));
}

@media (max-width: 559px) {
  .price-table thead {
    display: none;
  }

  .price-table tr {
    display: block;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--color-purple) 10%, transparent);
  }

  .price-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
  }

  .price-table td:active,
  .price-table td:focus {
    background: inherit;
    color: inherit;
  }

  .price-table td:first-child:active,
  .price-table td:first-child:focus {
    background: var(--color-purple);
    color: var(--color-white);
  }

  .price-table td::before {
    content: "Szolgáltatás";
    font-weight: 600;
    color: var(--color-purple);
    flex-shrink: 0;
  }

  .price-table td:last-child::before {
    content: "Ár";
  }

  .price-table td:first-child {
    background: var(--color-purple);
    color: var(--color-white);
    flex-direction: column;
    gap: 0.35rem;
  }

  .price-table td:first-child::before {
    content: "Szolgáltatás";
    color: color-mix(in srgb, var(--color-white) 75%, transparent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .price-table td:last-child {
    font-size: 1.05rem;
    background: var(--color-white);
  }

  .price-table tbody tr:hover td:first-child {
    background: var(--color-purple);
    color: var(--color-white);
  }
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }
}

.contact-intro h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-purple);
}

.contact-details {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: var(--color-muted);
}

.contact-details a {
  font-weight: 600;
}

.contact-form {
  position: relative;
  background: var(--color-white);
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid color-mix(in srgb, var(--color-purple) 10%, transparent);
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row.two {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 480px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-purple);
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid color-mix(in srgb, var(--color-purple) 28%, transparent);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-orange) 22%, transparent);
  background: var(--color-white);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row-consent {
  margin-bottom: 1.25rem;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.form-consent input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--color-orange);
  cursor: pointer;
  border-radius: 4px;
}

.form-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.contact-form .form-consent-label {
  display: block;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-muted);
  cursor: pointer;
}

.contact-form .form-consent-label a {
  font-weight: 600;
  color: var(--color-purple);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-form .form-consent-label a:hover {
  color: var(--color-orange-hover);
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-note.is-success {
  color: var(--color-purple);
  font-weight: 600;
}

.form-note.is-error {
  color: #9a1e2d;
  font-weight: 600;
}

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

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Map */
.section-map {
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 3px solid color-mix(in srgb, var(--color-purple) 15%, transparent);
  filter: saturate(0.88) contrast(1.02);
  line-height: 0;
}

.map-frame iframe {
  width: 100%;
  height: min(420px, 55vh);
  display: block;
}

.map-link-out {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.95rem;
}

.map-link-out a {
  font-weight: 600;
  color: var(--color-purple);
}

.map-link-out a:hover {
  color: var(--color-orange-hover);
}

/* Footer */
.site-footer {
  background: var(--color-purple-dark);
  color: color-mix(in srgb, var(--color-white) 78%, transparent);
  padding: 1.75rem 0;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  margin: 0 0 0.25rem;
  font-weight: 600;
  color: var(--color-white);
}

.footer-meta {
  margin: 0;
  font-size: 0.875rem;
}
