/* ============================================
   Jázmin Dent — Fő stíluslap
   Design: Elegáns Klasszikus + 3D mélységhatás
   ============================================ */

/* --- Google Fonts betöltés --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');

/* --- CSS változók --- */
:root {
    --bg: #EDD5A6; /* base, used as fallback */
    --bg-alt: #FAF6F0;
    --accent: #ED8600;
    --accent-hover: #D47800;
    --dark: #4F2C00;
    --dark-hover: #3A2000;
    --text: #42505D;
    --text-light: #6B7986;
    --muted: #A0896E;
    --gold: #F9D5A6;
    --gold-mid: #F3BE79;
    --border: #E8DFD3;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Libre Baskerville', Georgia, serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;

    --shadow: 0 8px 32px rgba(79,44,0,0.12), 0 2px 8px rgba(79,44,0,0.06);
    --shadow-deep: 0 16px 48px rgba(79,44,0,0.16), 0 4px 12px rgba(79,44,0,0.08);
    --shadow-hover: 0 20px 56px rgba(79,44,0,0.20), 0 6px 16px rgba(79,44,0,0.10);
    --shadow-btn: 0 6px 20px rgba(237,134,0,0.3);
    --shadow-btn-dark: 0 6px 20px rgba(79,44,0,0.2);
    --shadow-inset: inset 0 2px 8px rgba(79,44,0,0.05);

    --radius: 12px;
    --radius-lg: 16px;
    --transition: 0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, #FFFBF5 0%, #F5E4C4 40%, #EDD5A6 100%); background-attachment: fixed; min-height: 100vh;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Tipográfia --- */
.font-display { font-family: var(--font-display); }
.font-accent { font-family: var(--font-accent); }
.text-accent { color: var(--accent); }
.text-dark { color: var(--dark); }
.text-muted { color: var(--muted); }
.italic { font-style: italic; }

/* --- Top Info Sáv --- */
.top-bar {
    background: var(--dark);
    display: flex;
    justify-content: center;
}
.top-bar a, .top-bar span {
    padding: 12px 32px;
    color: var(--gold);
    font-family: var(--font-accent);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: color var(--transition);
}
.top-bar a:hover { color: #fff; }
.top-bar a + a { border-left: 1px solid rgba(255,255,255,0.1); }
.top-bar .top-bar-info {
    padding: 12px 32px;
    color: var(--muted);
    font-family: var(--font-accent);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-left: 1px solid rgba(255,255,255,0.1);
}

/* --- Header --- */
.site-header {
    padding: 0;
    background: var(--bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.site-logo {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--dark);
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.site-logo-icon {
    height: 44px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
.site-logo .accent { color: var(--accent); font-style: italic; }
.main-nav { display: flex; gap: 24px; align-items: center; }
.main-nav a {
    font-family: var(--font-accent);
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* Hamburger (mobil) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
    padding: 4px;
}

/* --- Hero szekció --- */
.hero {
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}
.hero-label {
    font-family: var(--font-accent);
    font-size: 20px;
    color: var(--dark);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: 44px;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 16px;
    font-weight: 400;
}
.hero-title .accent { color: var(--accent); font-style: italic; }
.hero-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image {
    height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
}

/* --- Gombok --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 28px;
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-dark {
    background: var(--dark);
    color: var(--gold);
    box-shadow: var(--shadow-btn-dark);
}
.btn-dark:hover { background: var(--dark-hover); transform: translateY(-1px); }
.btn-outline {
    background: none;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

/* --- Szolgáltatások --- */
.services-grid {
    padding: 0 48px 48px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto;
}
.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: default;
    overflow: hidden; /* float containment */
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.service-card .icon {
    font-size: 22px;
    flex-shrink: 0;
    min-width: 56px;
    color: var(--accent);
    float: left;
    margin: 0 14px 4px 0;
}
.service-card h3 {
    font-family: var(--font-display);
    color: var(--dark);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 4px;
}
.service-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

/* --- Cikk-ajánló kártya --- */
.article-promo-section {
    padding: 0 48px 32px;
    max-width: 1280px;
    margin: 0 auto;
}
.article-promo {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition), box-shadow var(--transition);
}
.article-promo:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.article-promo-img {
    width: 260px;
    min-width: 260px;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
}
.article-promo-body {
    flex: 1;
    min-width: 0;
}
.article-promo-label {
    font-family: var(--font-accent);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.article-promo-title {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--dark);
    font-weight: 400;
    margin-bottom: 10px;
}
.article-promo-excerpt {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}
.article-promo-link {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
    transition: color var(--transition);
}
.article-promo:hover .article-promo-link {
    color: var(--accent-hover);
}

/* --- Árlista + Csapat szekció --- */
.pricing-team-section {
    padding: 0 48px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
}
.card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-deep);
}
.card-label {
    font-family: var(--font-accent);
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.card-title {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--dark);
    font-weight: 400;
    margin-bottom: 4px;
}
.card-divider {
    width: 50px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    margin-bottom: 16px;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 12px;
    margin-bottom: 0;
    position: relative;
}
.price-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, var(--gold-mid), transparent 66%);
}
.price-row:last-child::after { display: none; }
.price-row .name { color: var(--dark); font-size: 15px; font-family: var(--font-body); }
.price-row .price {
    color: var(--accent);
    font-family: var(--font-accent);
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 16px;
}

/* --- Rendelő galéria (Ken Burns) --- */
.card-rendelo { overflow: hidden; }
.rendelo-gallery {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 16px;
}
.rendelo-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    will-change: transform, opacity;
}
.rendelo-slide:nth-child(1) { animation: kb1 35s infinite; }
.rendelo-slide:nth-child(2) { animation: kb2 35s infinite; }
.rendelo-slide:nth-child(3) { animation: kb3 35s infinite; }
.rendelo-slide:nth-child(4) { animation: kb4 35s infinite; }
.rendelo-slide:nth-child(5) { animation: kb5 35s infinite; }
.rendelo-slide:nth-child(6) { animation: kb6 35s infinite; }
.rendelo-slide:nth-child(7) { animation: kb7 35s infinite; }
@keyframes kb1 {
    0%    { opacity:1; transform:scale(1) translate(0,0); }
    11.5% { opacity:1; transform:scale(1.12) translate(-2%,-1%); }
    14.3% { opacity:0; } 100% { opacity:0; }
}
@keyframes kb2 {
    0%,11.5%  { opacity:0; }
    14.3% { opacity:1; transform:scale(1.08) translate(1%,0); }
    25.8% { opacity:1; transform:scale(1) translate(-1%,1%); }
    28.6% { opacity:0; } 100% { opacity:0; }
}
@keyframes kb3 {
    0%,25.8%  { opacity:0; }
    28.6% { opacity:1; transform:scale(1) translate(0,0); }
    40.1% { opacity:1; transform:scale(1.1) translate(2%,-2%); }
    42.9% { opacity:0; } 100% { opacity:0; }
}
@keyframes kb4 {
    0%,40.1%  { opacity:0; }
    42.9% { opacity:1; transform:scale(1.1) translate(-1%,1%); }
    54.4% { opacity:1; transform:scale(1) translate(1%,0); }
    57.1% { opacity:0; } 100% { opacity:0; }
}
@keyframes kb5 {
    0%,54.4%  { opacity:0; }
    57.1% { opacity:1; transform:scale(1) translate(0,0); }
    68.6% { opacity:1; transform:scale(1.12) translate(-2%,-1%); }
    71.4% { opacity:0; } 100% { opacity:0; }
}
@keyframes kb6 {
    0%,68.6%  { opacity:0; }
    71.4% { opacity:1; transform:scale(1.08) translate(1%,1%); }
    83%   { opacity:1; transform:scale(1) translate(-1%,0); }
    85.7% { opacity:0; } 100% { opacity:0; }
}
@keyframes kb7 {
    0%,83%    { opacity:0; }
    85.7% { opacity:1; transform:scale(1) translate(0,0); }
    97.2% { opacity:1; transform:scale(1.1) translate(2%,-1%); }
    100%  { opacity:0; }
}
.rendelo-text p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 8px;
}
.rendelo-text p:last-child { margin-bottom: 0; }

/* --- Csapat kártya --- */
.team-inner {
    background: linear-gradient(135deg, var(--bg-alt), var(--gold));
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}
.team-inner h3 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--dark);
    font-weight: 400;
    margin-bottom: 4px;
}
.team-inner .role {
    font-family: var(--font-accent);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6B4F2C;
    margin-bottom: 10px;
}
.team-inner p { font-size: 13px; color: var(--dark); line-height: 1.7; }
.team-secondary {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 16px 24px;
    box-shadow: var(--shadow-inset);
}

/* --- Kapcsolat CTA --- */
.site-footer-unified {
    margin: 0 48px 32px;
    background: var(--dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.site-footer-unified .footer-top {
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.site-footer-unified .footer-brand {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 2px;
}
.site-footer-unified .footer-phone {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--gold);
    transition: color var(--transition);
}
.site-footer-unified .footer-phone:hover { color: #fff; }
.site-footer-unified .footer-bottom {
    padding: 10px 40px;
    border-top: 1px solid rgba(249,213,166,0.1);
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(200,184,154,0.6);
}
.site-footer-unified .footer-bottom a {
    color: rgba(200,184,154,0.6);
    transition: color var(--transition);
}
.site-footer-unified .footer-bottom a:hover { color: var(--gold); }



/* --- Szabadságos modal --- */
.holiday-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(79,44,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.holiday-overlay.active { display: flex; }
.holiday-modal {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 480px;
    width: 90%;
    box-shadow: var(--shadow-deep);
    text-align: center;
    position: relative;
}
.holiday-modal .close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--muted);
    cursor: pointer;
}
.holiday-modal h2 {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--dark);
    font-weight: 400;
    margin-bottom: 12px;
}
.holiday-modal p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
}

/* --- Cookie sáv --- */
.cookie-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 16px 48px;
    z-index: 9998;
    box-shadow: 0 -4px 24px rgba(79,44,0,0.3);
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.cookie-bar.active { display: flex; }
.cookie-bar p {
    color: var(--gold);
    font-size: 13px;
    flex: 1;
}
.cookie-bar .btn-cookie {
    background: var(--accent);
    color: #fff;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-accent);
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}

/* --- Mobil sticky alsó sáv --- */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--dark);
    box-shadow: 0 -4px 24px rgba(79,44,0,0.4);
}
.mobile-bottom-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
    color: var(--gold);
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}
.mobile-bottom-bar a + a { border-left: 1px solid rgba(255,255,255,0.1); }

/* --- Mobil menü overlay --- */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(79,44,0,0.97);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
    font-family: var(--font-accent);
    font-size: 22px;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 12px 0;
    font-weight: 600;
}
.mobile-menu .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 32px;
    cursor: pointer;
}
.mobile-menu .menu-contact {
    margin-top: 24px;
    text-align: center;
}
.mobile-menu .menu-contact a {
    color: var(--accent);
    font-size: 20px;
}
.mobile-menu .menu-contact p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 12px;
}





/* --- "velünk" betű animáció --- */
@keyframes letterPop {
    0% { opacity: 0; transform: translateY(20px) scale(0.5); color: var(--dark); }
    40% { opacity: 1; transform: translateY(-8px) scale(1.3); color: #ED8600; text-shadow: 0 0 20px rgba(237,134,0,0.6); }
    60% { transform: translateY(3px) scale(0.95); }
    80% { transform: translateY(-2px) scale(1.05); text-shadow: 0 0 8px rgba(237,134,0,0.3); }
    100% { opacity: 1; transform: translateY(0) scale(1); color: var(--accent); text-shadow: none; }
}
.velunk-anim .vl {
    display: inline-block;
    opacity: 0;
    animation: letterPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.velunk-anim .vl:nth-child(1) { animation-delay: 0.6s; }
.velunk-anim .vl:nth-child(2) { animation-delay: 0.74s; }
.velunk-anim .vl:nth-child(3) { animation-delay: 0.88s; }
.velunk-anim .vl:nth-child(4) { animation-delay: 1.02s; }
.velunk-anim .vl:nth-child(5) { animation-delay: 1.16s; }
.velunk-anim .vl:nth-child(6) { animation-delay: 1.3s; }

/* --- Szolgáltatás kártya SVG animációk --- */
.svc-link { text-decoration: none; color: inherit; display: block; }
.svc-link .icon svg { transition: transform 0.4s ease; }
.svc-link .icon svg * { transition: all 0.4s ease; }

/* 1. Szűrővizsgálat — nagyító pásztáz */
@keyframes searchScan {
    0% { transform: translate(0, 0); }
    25% { transform: translate(4px, -2px); }
    50% { transform: translate(-3px, 3px); }
    75% { transform: translate(3px, 1px); }
    100% { transform: translate(0, 0); }
}
.svc-link:hover .svc-szuro svg {
    animation: searchScan 1.2s ease-in-out infinite;
    transform: scale(1.15);
}
.svc-link:hover .svc-szuro .lens { stroke-width: 2.5; stroke: #4F2C00; }

/* 2. Fogpótlás — csillag ragyog + fog fénylik */
@keyframes sparkleGrow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.8); opacity: 0.6; }
}
@keyframes sparkleRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(180deg); }
}
.svc-link:hover .svc-potlas svg { transform: scale(1.1); }
.svc-link:hover .svc-potlas .sparkle { animation: sparkleGrow 0.8s ease infinite; }
.svc-link:hover .svc-potlas .sparkle-ray1 { animation: sparkleRotate 1.5s linear infinite; transform-origin: 27.5px 4.5px; }
.svc-link:hover .svc-potlas .sparkle-ray2 { animation: sparkleRotate 1.5s linear infinite reverse; transform-origin: 27px 5px; }
.svc-link:hover .svc-potlas .tooth { fill: #FFF8F0; }

/* 3. Fogfehérítés — sugarak kifelé pörögnek */
@keyframes rayBurst {
    0% { opacity: 0.4; stroke-width: 1.5; }
    50% { opacity: 1; stroke-width: 2.5; }
    100% { opacity: 0.4; stroke-width: 1.5; }
}
.svc-link:hover .svc-feherites svg { transform: scale(1.1); }
.svc-link:hover .svc-feherites .white-tooth { fill: #fff; stroke: #ED8600; stroke-width: 2.5; }
.svc-link:hover .svc-feherites .r1 { animation: rayBurst 0.6s ease infinite 0s; }
.svc-link:hover .svc-feherites .r2 { animation: rayBurst 0.6s ease infinite 0.1s; }
.svc-link:hover .svc-feherites .r3 { animation: rayBurst 0.6s ease infinite 0.2s; }
.svc-link:hover .svc-feherites .r4 { animation: rayBurst 0.6s ease infinite 0.3s; }
.svc-link:hover .svc-feherites .r5 { animation: rayBurst 0.6s ease infinite 0.4s; }
.svc-link:hover .svc-feherites .r6 { animation: rayBurst 0.6s ease infinite 0.5s; }

/* 4. Fogkőeltávolítás — eszköz eltűnik + mosoly megjelenik */
@keyframes toolFade {
    0% { opacity: 1; }
    100% { opacity: 0; transform: translate(5px, -5px); }
}
@keyframes smileAppear {
    0% { stroke-width: 0; opacity: 0; }
    100% { stroke-width: 1.5; opacity: 1; }
}
.svc-link:hover .svc-fogko svg { transform: scale(1.1); }
.svc-link:hover .svc-fogko .tool-line { animation: toolFade 0.5s ease forwards; }
.svc-link:hover .svc-fogko .tool-tip { animation: toolFade 0.5s ease forwards; }
.svc-link:hover .svc-fogko .smile { animation: smileAppear 0.5s ease 0.3s forwards; }
.svc-link:hover .svc-fogko .clean-tooth { fill: #FFF8F0; }

/* 5. Gyökérkezelés — kitöltődő vonalak + pipa */
@keyframes fillDown {
    0% { stroke-dasharray: 0 20; }
    100% { stroke-dasharray: 20 0; }
}
@keyframes checkPop {
    0% { r: 0; opacity: 0; }
    60% { r: 5; opacity: 0.8; }
    100% { r: 4; opacity: 0.6; }
}
.svc-link:hover .svc-gyoker svg { transform: scale(1.1); }
.svc-link:hover .svc-gyoker .fill1 { animation: fillDown 0.4s ease forwards; stroke: #ED8600; }
.svc-link:hover .svc-gyoker .fill2 { animation: fillDown 0.4s ease 0.2s forwards; stroke: #ED8600; }
.svc-link:hover .svc-gyoker .checkmark { animation: checkPop 0.4s ease 0.5s forwards; }

/* 6. Szájhigiéne — fogkefe dörzsöl + buborékok */
@keyframes brushScrub {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}
@keyframes bubbleFloat {
    0% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-3px); }
    100% { opacity: 0.5; transform: translateY(0); }
}
.svc-link:hover .svc-higiene svg {
    animation: brushScrub 0.3s ease-in-out infinite;
    transform: scale(1.1);
}
.svc-link:hover .svc-higiene .bubble1 { animation: bubbleFloat 0.8s ease infinite; opacity: 1; }
.svc-link:hover .svc-higiene .bubble2 { animation: bubbleFloat 0.8s ease 0.4s infinite; opacity: 1; }

/* --- Anchor scroll offset (header kompenzáció) --- */
[id].szolg-card, .szolg-card[id] {
    scroll-margin-top: 120px;
}
/* ============================================
   RESZPONZÍV — Tablet (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr 1fr; padding: 36px 32px; }
    .hero-image { height: 260px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); padding: 0 32px 32px; gap: 14px; }
    .pricing-team-section { grid-template-columns: 1fr; padding: 0 32px 32px; }
    .site-footer-unified { margin: 0 32px 24px; }
    .header-inner { padding: 16px 32px; }
    .site-footer { padding: 12px 32px; }
    .article-promo-section { padding: 0 32px 24px; }
}


/* ============================================
   RESZPONZÍV — Mobil (max 768px)
   ============================================ */
@media (max-width: 768px) {
    body { padding-bottom: 64px; }

    .main-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-bottom-bar { display: flex; }

    .top-bar a { flex: 1; padding: 8px 10px; font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .top-bar .top-bar-info { display: none; }

    .header-inner { padding: 14px 20px; justify-content: space-between; }
    .site-logo { font-size: 22px; }
    .site-logo-icon { height: 36px; }

    .hero { padding: 32px 20px; text-align: center; grid-template-columns: 1fr; }
    .hero-label { text-align: center; }
    .hero-title { font-size: 32px; text-align: center; }
    .hero-text { font-size: 13px; text-align: center; }
    .hero-image { display: none; }

    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 20px 32px;
        gap: 12px;
    }
    .service-card {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 16px 20px;
        border-top: none;
        border-left: 3px solid var(--accent);
    }
    .service-card .icon { margin: 0; float: none; flex-shrink: 0; }
    .service-card:hover { transform: none; }

    .pricing-team-section {
        padding: 0 20px 32px;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .card { padding: 20px 16px; }
    .card-title { font-size: 24px; }
    .price-row { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 0; }
    .price-row .name { font-size: 15px; }
    .price-row .price { font-size: 18px; margin-left: 0; align-self: flex-end; }
    .price-row::after { left: 0; }

    .site-footer-unified { margin: 0 12px 80px; }
    .site-footer-unified .footer-top { padding: 14px 20px; flex-direction: column; gap: 12px; text-align: center; }
    .site-footer-unified .footer-bottom { padding: 8px 16px; flex-direction: column; gap: 4px; text-align: center; }
    .szolg-card { flex-direction: column !important; text-align: center; }
    .news-tips-section { display: none; }
    .site-footer-unified .footer-phone { font-size: 20px; }

    section[style*="padding:48px"] { padding: 20px 12px !important; }
    section[style*="padding: 48px"] { padding: 20px 12px !important; }
        .cookie-bar {
        flex-direction: column;
        padding: 16px 20px;
        bottom: 64px;
        text-align: center;
    }

    .holiday-modal { padding: 28px 24px; }

    .article-promo-section { padding: 0 20px 24px; }
    .article-promo { flex-direction: column; gap: 16px; padding: 20px; }
    .article-promo-img { width: 100%; min-width: 0; height: 180px; }
    .article-promo-title { font-size: 18px; }
    .rendelo-gallery { height: 180px; }
}


/* ============================================
   RESZPONZÍV — Kis mobil (max 400px)
   ============================================ */
@media (max-width: 400px) {
    .hero-title { font-size: 28px; }
    .btn { padding: 12px 20px; font-size: 10px; }
    .service-card h3 { font-size: 14px; }
}


/* --- Kapcsolat oldal grid --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* --- Cikk tartalom stílusok --- */
article p { margin-bottom: 16px; }
article h3 { font-family: var(--font-display); color: var(--dark); font-weight: 400; font-size: 22px; margin: 28px 0 12px; }
article ul, article ol { margin: 0 0 16px 24px; }
article li { margin-bottom: 6px; line-height: 1.7; }
article strong { color: var(--dark); }

/* --- Általános oldal tartalom konténer --- */
.page-section { padding: 48px; max-width: 900px; margin: 0 auto; }
@media (max-width: 768px) {
    .page-section { padding: 32px 20px; }
    article { padding: 32px 20px !important; }
    article h1 { font-size: 26px !important; }
}
