/*
Theme Name: TOMPC Egyedi
Theme URI: https://tompc.hu
Author: TOMPC
Description: Egyedi, reszponzív TOMPC vállalati WordPress téma.
Version: 1.2.2
Text Domain: tompc
*/
:root{--red:#a80f2d;--red-dark:#790b20;--ink:#171719;--muted:#62636a;--paper:#fff;--soft:#f7f5f5;--line:#e9e4e5;--max:1160px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}a{color:var(--red);text-decoration:none}a:hover{color:var(--red-dark)}.wrap{width:min(var(--max),calc(100% - 40px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;align-items:center;min-width:170px}.custom-logo{display:block;width:auto;max-width:320px;max-height:96px;object-fit:contain}.brand-text{font-weight:800;color:var(--ink);font-size:1.35rem;letter-spacing:.04em}.brand-text span{color:var(--red)}
.main-nav ul{display:flex;align-items:center;gap:26px;list-style:none;margin:0;padding:0}.main-nav a{color:#29282b;font-size:.94rem;font-weight:650}.main-nav a:hover{color:var(--red)}.nav-cta,.button{display:inline-flex;align-items:center;justify-content:center;border-radius:7px;background:var(--red);color:#fff!important;padding:12px 20px;font-weight:700;transition:.2s}.nav-cta:hover,.button:hover{background:var(--red-dark);transform:translateY(-1px)}
.hero{padding:88px 0 82px;background:radial-gradient(circle at 85% 20%,rgba(168,15,45,.09),transparent 32%),linear-gradient(135deg,#fff 0%,#fbf8f8 100%)}.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:60px}.eyebrow{display:inline-flex;gap:9px;align-items:center;color:var(--red);font-size:.82rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.eyebrow:before{content:"";width:26px;height:2px;background:var(--red)}h1,h2,h3{line-height:1.16;letter-spacing:-.035em}h1{font-size:clamp(2.55rem,5vw,4.65rem);margin:18px 0 22px;max-width:760px}h1 em{font-style:normal;color:var(--red)}.hero p{font-size:1.16rem;color:var(--muted);max-width:650px;margin:0 0 30px}.hero-art{position:relative;min-height:310px;border-radius:22px;background:linear-gradient(145deg,#fff,#f4e9ec);border:1px solid #f0dfe3;display:grid;place-items:center;overflow:hidden}.hero-art:before,.hero-art:after{content:"";position:absolute;border:1px solid rgba(168,15,45,.16);border-radius:50%;width:260px;height:260px}.hero-art:after{width:350px;height:350px}.hero-mark-image{position:relative;z-index:1;display:block;width:230px;height:auto;max-width:76%;object-fit:contain;filter:drop-shadow(0 18px 22px rgba(121,11,32,.18))}
.trust-strip{border-block:1px solid var(--line);padding:18px 0;color:var(--muted);font-size:.92rem}.trust-inner{display:flex;justify-content:center;gap:34px;flex-wrap:wrap}.trust-inner span:before{content:"✓";color:var(--red);font-weight:900;margin-right:9px}
.section{padding:82px 0}.section-soft{background:var(--soft)}.section-head{max-width:700px;margin:0 auto 42px;text-align:center}.section-head h2{font-size:clamp(2rem,3.5vw,3rem);margin:12px 0}.section-head p{color:var(--muted);margin:0}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.service-card{padding:27px 24px;background:white;border:1px solid var(--line);border-radius:13px;transition:.2s}.service-card:hover{transform:translateY(-4px);box-shadow:0 14px 35px rgba(30,10,15,.07);border-color:#e6c4cc}.service-icon{width:48px;height:48px;border-radius:12px;background:#f8e9ed;color:var(--red);display:grid;place-items:center;font-size:1.4rem;font-weight:800}.service-card h3{font-size:1.18rem;margin:20px 0 10px}.service-card p{color:var(--muted);font-size:.94rem;margin:0}
.audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.audience{padding:36px;border-radius:15px;background:white;border:1px solid var(--line)}.audience h3{font-size:1.55rem;margin:0 0 12px}.audience p{color:var(--muted);margin:0 0 18px}.audience a{font-weight:750}
.contact-band{padding:58px 0;background:var(--ink);color:#fff}.contact-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}.contact-band h2{font-size:clamp(1.8rem,3vw,2.6rem);margin:0 0 10px}.contact-band p{margin:0;color:#d3cdd0}.contact-band .button{background:#fff;color:var(--red)!important}.site-footer{padding:28px 0;background:#111113;color:#bcb8ba;font-size:.88rem}.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.footer-inner strong{color:white}
.page-content{padding:60px 0;min-height:45vh}.page-content h1{font-size:2.8rem}.entry-content{max-width:820px}.entry-content img{max-width:100%;height:auto}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr;gap:35px}.hero-art{min-height:230px}.cards{grid-template-columns:repeat(2,1fr)}.main-nav ul{gap:14px}.custom-logo{max-width:220px;max-height:72px}}
@media(max-width:640px){.header-inner{min-height:76px;flex-wrap:wrap;padding:10px 0}.brand{min-width:0}.custom-logo{max-width:190px;max-height:68px}.main-nav{width:100%;overflow:auto}.main-nav ul{justify-content:flex-start;gap:20px;padding:4px 0 8px;white-space:nowrap}.nav-cta{display:none}.hero{padding:60px 0}.hero p{font-size:1.04rem}.section{padding:60px 0}.cards,.audience-grid{grid-template-columns:1fr}.contact-inner{align-items:flex-start;flex-direction:column}.wrap{width:min(var(--max),calc(100% - 32px))}}


/* Szolgáltatások oldal – négy kiemelt szolgáltatási kártya */
.page-id-0 .service-overview { display:none; }
.page-template-default .service-overview { display:grid; }
.service-overview {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
    width:100%;
    margin:0 0 52px;
}
.service-overview-card {
    display:flex;
    flex-direction:column;
    min-height:190px;
    padding:22px 20px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
    color:var(--ink);
    box-shadow:0 5px 18px rgba(30,10,15,.035);
    transition:box-shadow .2s ease,border-color .2s ease;
}
.service-overview-card:hover {
    color:var(--ink);
    border-color:#d9aab5;
    box-shadow:0 8px 22px rgba(30,10,15,.07);
}
.service-overview-card--featured {
    color:#fff;
    background:linear-gradient(145deg,var(--red),var(--red-dark));
    border-color:var(--red);
    box-shadow:0 10px 25px rgba(168,15,45,.17);
}
.service-overview-card--featured:hover { color:#fff; border-color:var(--red-dark); }
.service-overview-icon {
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    margin-bottom:18px;
    border-radius:12px;
    background:#f8e9ed;
    color:var(--red);
    font-size:1.35rem;
    font-weight:800;
}
.service-overview-card--featured .service-overview-icon {
    background:rgba(255,255,255,.16);
    color:#fff;
}
.service-overview-card strong {
    display:block;
    margin-bottom:8px;
    font-size:1.02rem;
    line-height:1.3;
}
.service-overview-card span:last-child {
    color:var(--muted);
    font-size:.88rem;
    line-height:1.5;
}
.service-overview-card--featured span:last-child { color:rgba(255,255,255,.88); }
.service-detail-content { max-width:900px; }
.service-detail-content > h2 { scroll-margin-top:120px; }
.service-page .entry-content { max-width:none; }
.service-page .service-detail-content { max-width:900px; }
@media(max-width:1000px) {
    .service-overview { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:560px) {
    .service-overview { grid-template-columns:1fr; gap:12px; margin-bottom:38px; }
    .service-overview-card { min-height:0; padding:19px; }
    .service-overview-icon { margin-bottom:12px; }
}

/* Szolgáltatások: bevezető felül, alatta négy teljes részletező oszlop */
.service-page .service-intro { max-width:900px; margin:0 0 38px; }
.service-page .service-columns {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    align-items:stretch;
}
.service-page .service-column {
    min-width:0;
    padding:0 18px 22px;
    border:1px solid var(--line);
    border-radius:15px;
    background:#fff;
    box-shadow:0 5px 20px rgba(30,10,15,.035);
}
.service-page .service-column--featured {
    border-color:#d9aab5;
    background:linear-gradient(180deg,#fff8fa 0%,#fff 230px);
    box-shadow:0 9px 26px rgba(168,15,45,.08);
}
.service-page .service-column-card {
    position:relative;
    min-height:174px;
    box-sizing:border-box;
    margin:0 -18px 20px;
    padding:27px 18px 20px;
    border-radius:14px 14px 0 0;
    border-bottom:1px solid var(--line);
    background:#faf8f8;
}
.service-page .service-column-card::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:6px;
    border-radius:14px 14px 0 0;
    background:#c85a70;
}
.service-page .service-column:nth-child(3) .service-column-card::before { background:#d98a9a; }
.service-page .service-column:nth-child(4) .service-column-card::before { background:#a80f2d; }
.service-page .service-column--featured .service-column-card {
    color:var(--ink);
    background:#fff8fa;
    border-bottom-color:var(--line);
}
.service-page .service-column--featured .service-column-card::before { background:var(--red-dark); }
.service-page .service-column-card h2 {
    margin:0 0 9px;
    font-size:1.18rem;
    line-height:1.25;
    letter-spacing:-.02em;
}
.service-page .service-column-card p {
    margin:0;
    color:var(--muted);
    font-size:.9rem;
    line-height:1.5;
}
.service-page .service-column--featured .service-column-card p { color:var(--muted); }
.service-page .service-column-content { max-width:none; font-size:.91rem; overflow-wrap:anywhere; }
.service-page .service-column-content h2 { margin:0 0 14px; font-size:1.08rem; }
.service-page .service-column-content h3 { margin:22px 0 10px; font-size:1rem; }
.service-page .service-column-content p { margin:0 0 13px; }
.service-page .service-column-content ul { padding-left:19px; margin:0 0 17px; }
.service-page .service-column-content li { margin:0 0 7px; }
@media(max-width:1050px) {
    .service-page .service-columns { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:620px) {
    .service-page .service-columns { grid-template-columns:1fr; gap:15px; }
    .service-page .service-column { padding:0 18px 20px; }
}
