/* ═══════════════════════════════════════════
   ABA Cement – style.css
   Palette: #1589BB (primary) · #1E8A78 (teal) · #B8DFF5 (light)
   ═══════════════════════════════════════════ */

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

:root {
    --primary:     #1589BB;
    --primary-dk:  #1072a0;
    --secondary:   #1E8A78;
    --light-blue:  #B8DFF5;
    --dark:        #0D2D3E;
    --gray-light:  #F0F7FB;
    --white:       #FFFFFF;
    --text:        #1A2E3B;
    --muted:       #5A7080;
    --shadow:      0 4px 24px rgba(21,137,187,.12);
    --shadow-lg:   0 10px 44px rgba(21,137,187,.18);
    --radius:      16px;
    --ease:        0.3s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    background: var(--white);
}

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

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 2;
}

/* ═══════════════════ BUTTONS ═══════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
    border: 2px solid transparent;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,.15);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.65);
}
.btn-outline:hover {
    background: rgba(255,255,255,.15);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dk);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.btn-primary:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

/* ═══════════════════ TYPOGRAPHY ═══════════════════ */
.section-label {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-label.light { color: var(--light-blue); }

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 40px;
    color: var(--text);
}
h2.light { color: var(--white); }

/* ═══════════════════ HEADER ═══════════════════ */
#header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 999;
    transition: background var(--ease), box-shadow var(--ease);
}
#header.scrolled {
    background: rgba(255,255,255,.97);
    box-shadow: 0 2px 20px rgba(0,0,0,.09);
    backdrop-filter: blur(8px);
}
#header { overflow: visible; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    position: relative;
}

/* Non-scrolled: keep logo IN flex flow as a same-width placeholder;
   the circle floats absolutely so it doesn't stretch the header height */
#header:not(.scrolled) .logo {
    position: relative;
    width: 68px;   /* matches scrolled logo width – nav stays stable */
    flex-shrink: 0;
    align-self: center;
}
#header:not(.scrolled) .logo-circle {
    position: absolute;
    top: -4px;
    left: 0;
    z-index: 10;
}

.logo-circle {
    width: 200px;
    height: 200px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-shadow: 0 6px 28px rgba(0,0,0,.25);
    transition: width var(--ease), height var(--ease), border-radius var(--ease),
                box-shadow var(--ease), background var(--ease), padding var(--ease);
}
#header.scrolled .logo-circle {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    width: auto;
    height: auto;
}
#header.scrolled .logo-circle img {
    height: 46px;
}
.logo-circle img {
    height: 155px;
    width: auto;
    object-fit: contain;
    transition: height var(--ease);
}

.nav-links {
    display: flex;
    gap: 34px;
    align-items: center;
}
.nav-links a {
    font-size: .94rem;
    font-weight: 500;
    color: rgba(255,255,255,.9);
    position: relative;
    transition: color var(--ease);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--ease);
    border-radius: 2px;
}
.nav-links a:hover::after { transform: scaleX(1); }

#header.scrolled .nav-links a { color: var(--text); }
#header.scrolled .nav-links a::after { background: var(--primary); }

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-dropdown {
    position: relative;
}
.lang-current {
    background: rgba(255,255,255,.18);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.5);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background var(--ease);
    font-family: 'Inter', sans-serif;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}
.lang-current:hover { background: rgba(255,255,255,.3); }
#header.scrolled .lang-current {
    background: var(--gray-light);
    border-color: var(--light-blue);
}
#header.scrolled .lang-current:hover { background: var(--light-blue); }
.lang-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid #dde8ef;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    list-style: none;
    padding: 6px;
    min-width: 90px;
    z-index: 1100;
}
.lang-dropdown.open .lang-menu { display: block; }
.lang-menu li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
    transition: background var(--ease);
    white-space: nowrap;
}
.lang-menu li:hover { background: var(--gray-light); }
.lang-menu li.active { background: var(--light-blue); color: var(--primary); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--ease);
}
#header.scrolled .hamburger span { background: var(--text); }

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--white);
    padding: 8px 28px 20px;
    border-top: 1px solid #e8eff4;
    box-shadow: 0 10px 24px rgba(0,0,0,.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    padding: 13px 0;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid #f0f5f8;
    font-size: .97rem;
}
.mobile-menu a:last-child { border-bottom: none; }

/* ═══════════════════ SHARED WAVE / BLOB ═══════════════════ */
.wave-bottom {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    line-height: 0;
    z-index: 3;
}
.wave-bottom svg,
.wave-top-footer svg { width: 100%; display: block; }

.blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* ═══════════════════ HERO ═══════════════════ */
#hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    padding: 130px 0 110px;
    position: relative;
    overflow: hidden;
}

/* Hero blobs — inspired by the circular/organic shapes in the brand flyer */
.blob-1 {
    width: 580px; height: 580px;
    top: -200px; right: -180px;
    background: rgba(255,255,255,.07);
}
.blob-2 {
    width: 360px; height: 360px;
    bottom: 40px; left: -130px;
    background: transparent;
    border: 48px solid rgba(255,255,255,.09);
}
.blob-3 {
    width: 200px; height: 200px;
    top: 28%; left: 6%;
    background: rgba(30,138,120,.4);
}
.blob-ring-1 {
    width: 240px; height: 240px;
    top: 12%; right: 22%;
    background: transparent;
    border: 6px solid rgba(255,255,255,.13);
}
.blob-ring-2 {
    width: 80px; height: 80px;
    top: 58%; left: 42%;
    background: rgba(255,255,255,.12);
}
.blob-dot-1 {
    width: 140px; height: 140px;
    bottom: 15%; right: 8%;
    background: rgba(30,138,120,.3);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-text { color: var(--white); }

.hero-eyebrow {
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .85;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 22px;
}

.hero-sub {
    font-size: 1.08rem;
    line-height: 1.75;
    opacity: .88;
    margin-bottom: 36px;
    max-width: 460px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-img-blob {
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 3px solid rgba(255,255,255,.12);
}
.hero-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    filter: drop-shadow(0 20px 48px rgba(0,0,0,.25));
}

/* ═══════════════════ ABOUT ═══════════════════ */
#rolunk {
    padding: 96px 0 220px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.blob-about-bg {
    position: absolute;
    width: 500px; height: 500px;
    top: -160px; right: -160px;
    border-radius: 50%;
    background: var(--gray-light);
    z-index: 0;
}
.mountain-deco {
    position: absolute;
    width: 520px;
    right: -40px;
    bottom: 60px;
    color: var(--primary);
    opacity: .05;
    pointer-events: none;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 64px;
    align-items: start;
}
.about-text .section-label { margin-bottom: 10px; }
.about-text h2 { margin-bottom: 28px; }

.about-text p {
    font-size: 1.03rem;
    line-height: 1.78;
    color: var(--muted);
    margin-bottom: 18px;
}
.about-text p:last-child { margin-bottom: 0; }

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.stat-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    width: 120px; height: 120px;
    border-radius: 50%;
    border: 20px solid rgba(255,255,255,.1);
    top: -30px; right: -30px;
}
.stat-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
}
.stat-label {
    display: block;
    font-size: .88rem;
    opacity: .82;
    margin-top: 5px;
}

/* ═══════════════════ PRODUCTS ═══════════════════ */
#termekek {
    padding: 96px 0 120px;
    background: var(--gray-light);
    position: relative;
    overflow: hidden;
}
.blob-prod-bg {
    position: absolute;
    width: 340px; height: 340px;
    bottom: 80px; left: -90px;
    border-radius: 50%;
    background: rgba(21,137,187,.07);
    z-index: 0;
}

.product-category {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin: 56px 0 28px;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(21,137,187,.1) 0%, rgba(30,138,120,.07) 100%);
    border-radius: 14px;
    border-left: 5px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 14px;
}
.product-category::before {
    content: '';
    width: 10px; height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    flex-shrink: 0;
}
.product-category:first-of-type { margin-top: 8px; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.beton-grid { grid-template-columns: repeat(2, 1fr); }

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 26px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--light-blue);
    transition: transform var(--ease), box-shadow var(--ease);
    position: relative;
}
.product-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
}
.product-card.featured {
    border-left: none;
    border-top: 4px solid var(--primary);
}

.product-badge {
    position: absolute;
    top: -13px; left: 20px;
    background: var(--primary);
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.product-icon {
    font-size: 1.9rem;
    margin-bottom: 14px;
    line-height: 1;
}
.product-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.product-sub {
    font-size: .82rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.product-card > p {
    font-size: .9rem;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 16px;
}
.product-sizes {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.product-sizes li {
    font-size: .87rem;
    color: var(--muted);
    padding-left: 18px;
    position: relative;
}
.product-sizes li::before {
    content: '';
    position: absolute;
    left: 0; top: 7px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--primary);
    opacity: .6;
}
.product-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.product-types span {
    background: var(--gray-light);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1.5px solid var(--light-blue);
}

/* ═══════════════════ WHY US ═══════════════════ */
#miert-mi {
    padding: 100px 0 220px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}
.blob-why-1 {
    width: 500px; height: 500px;
    top: -220px; left: -200px;
    background: rgba(255,255,255,.06);
}
.blob-why-2 {
    width: 320px; height: 320px;
    bottom: -120px; right: -80px;
    background: transparent;
    border: 56px solid rgba(255,255,255,.08);
}
.blob-why-ring {
    width: 180px; height: 180px;
    top: 20%; right: 10%;
    background: transparent;
    border: 4px solid rgba(255,255,255,.12);
}

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

.why-card {
    background: rgba(255,255,255,.13);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: var(--radius);
    padding: 34px 22px;
    text-align: center;
    transition: transform var(--ease), background var(--ease);
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: '';
    position: absolute;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    bottom: -30px; right: -20px;
}
.why-card:hover {
    transform: translateY(-7px);
    background: rgba(255,255,255,.2);
}

.why-icon-wrap {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.why-card h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.why-card p {
    color: rgba(255,255,255,.8);
    font-size: .88rem;
    line-height: 1.65;
}

/* ═══════════════════ CONTACT ═══════════════════ */
#kapcsolat {
    padding: 96px 0 90px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.blob-contact-bg {
    position: absolute;
    width: 420px; height: 420px;
    top: -100px; right: -120px;
    border-radius: 50%;
    background: var(--gray-light);
    z-index: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: start;
}

.contact-info h3,
.contact-form-wrap h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text);
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}
.contact-ico {
    flex-shrink: 0;
    width: 40px; height: 40px;
    background: var(--gray-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-top: 2px;
}
.contact-item > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.contact-label {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.contact-item a,
.contact-item > div > span:last-child {
    font-size: .95rem;
    color: var(--text);
    font-weight: 500;
}
.contact-item a:hover { color: var(--primary); }

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.form-group label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .03em;
}
.form-group input,
.form-group textarea {
    border: 2px solid #dde8ef;
    border-radius: 10px;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    color: var(--text);
    outline: none;
    transition: border-color var(--ease), box-shadow var(--ease);
    background: var(--white);
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21,137,187,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0bec7; }

.form-status {
    font-size: .9rem;
    font-weight: 500;
    min-height: 22px;
    padding: 2px 0;
}
.form-status.success { color: var(--secondary); }
.form-status.error   { color: #e74c3c; }

/* ═══════════════════ FOOTER ═══════════════════ */
footer { background: var(--dark); }

.wave-top-footer {
    line-height: 0;
    background: var(--white);
}

.footer-body { background: var(--dark); }

.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 1fr 1.2fr;
    gap: 40px;
    padding: 56px 0 40px;
    align-items: start;
}
.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 14px;
}
.footer-brand p {
    font-size: .86rem;
    line-height: 1.65;
    color: rgba(255,255,255,.55);
    max-width: 240px;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 4px;
}
.footer-nav a {
    font-size: .9rem;
    color: rgba(255,255,255,.65);
    transition: color var(--ease);
}
.footer-nav a:hover { color: var(--light-blue); }

.footer-cert {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 4px;
}
.footer-cert p {
    font-size: .82rem;
    color: rgba(255,255,255,.5);
    line-height: 1.5;
}
.footer-cert a {
    font-size: .82rem;
    color: rgba(255,255,255,.5);
    transition: color var(--ease);
}
.footer-cert a:hover { color: var(--light-blue); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    text-align: center;
    font-size: .8rem;
    color: rgba(255,255,255,.35);
}
.footer-bottom a { transition: color var(--ease); }
.footer-bottom a:hover { color: var(--light-blue); }

/* ═══════════════════ BG HELPERS ═══════════════════ */
.bg-light    { background: var(--gray-light); }
.bg-gradient { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); }

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 1024px) {
    .why-grid      { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .beton-grid    { grid-template-columns: 1fr; }
    .footer-inner  { grid-template-columns: 1fr 1fr; }
    .footer-cert, .footer-contact { grid-column: span 1; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }

    #header {
        background: rgba(255,255,255,.97);
        box-shadow: 0 2px 20px rgba(0,0,0,.09);
        backdrop-filter: blur(8px);
    }
    #header .hamburger span { background: var(--text); }
    #header .lang-current {
        background: transparent;
        color: var(--text);
        border-color: rgba(0,0,0,.2);
    }
    /* Always show small logo on mobile — no big circle */
    #header:not(.scrolled) .logo { width: auto; position: static; }
    #header:not(.scrolled) .logo-circle {
        position: static;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        width: auto;
        height: auto;
    }
    #header:not(.scrolled) .logo-circle img { height: 46px; }

    #hero { padding: 110px 0 90px; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-image { display: none; }
    .hero-btns { justify-content: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-stats { flex-direction: row; gap: 14px; }
    .stat-card { flex: 1; min-width: 110px; padding: 20px 14px; }
    .stat-num { font-size: 1.7rem; }

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

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

    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
    .footer-cert { flex-direction: column; gap: 6px; }

    h2 { font-size: 1.7rem; margin-bottom: 28px; }
}

@media (max-width: 480px) {
    .hero-btns { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; }
    .about-stats { flex-direction: column; }
}

/* ═══════════════════ CEMENT SLIDER ═══════════════════ */
.cement-slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 7;
    margin-bottom: 48px;
    box-shadow: var(--shadow-lg);
    background: var(--dark);
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.slide {
    flex: 0 0 100%;
    position: relative;
    overflow: hidden;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slide-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 18px 24px;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    color: var(--white);
    font-size: .92rem;
    font-weight: 500;
}

/* Info slide (placeholder / text slide) */
.slide.slide-info {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide-info-inner {
    text-align: center;
    color: var(--white);
    padding: 32px 48px;
    max-width: 560px;
}
.slide-info-icon { font-size: 3rem; margin-bottom: 16px; }
.slide-info-inner h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.slide-info-inner p {
    font-size: .97rem;
    line-height: 1.7;
    opacity: .88;
}

.slider-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
    transition: background var(--ease), transform var(--ease);
}
.slider-btn:hover { background: var(--white); transform: translateY(-50%) scale(1.08); }
.slider-prev { left: 14px; }
.slider-next { right: 14px; }

.slider-dots {
    position: absolute;
    bottom: 14px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.s-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    border: none;
    cursor: pointer;
    transition: background var(--ease), transform var(--ease);
    padding: 0;
}
.s-dot.active {
    background: var(--white);
    transform: scale(1.25);
}

/* ═══════════════════ PRODUCT DETAILS (accordion) ═══════════════════ */
.product-details {
    margin-top: 20px;
    border-top: 1px solid #e8eff5;
    padding-top: 14px;
}
.product-details summary {
    font-size: .88rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}
.product-details summary::-webkit-details-marker { display: none; }
.product-details summary::before {
    content: '▶';
    font-size: .65rem;
    transition: transform var(--ease);
}
.product-details[open] summary::before { transform: rotate(90deg); }

.product-details-body {
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.product-details-body p {
    font-size: .88rem;
    line-height: 1.7;
    color: var(--muted);
}
.product-details-body h5 {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 6px;
}
.details-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.details-list li {
    font-size: .85rem;
    color: var(--muted);
    padding-left: 14px;
    position: relative;
}
.details-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ═══════════════════ DOCUMENT LINKS ═══════════════════ */
.product-docs {
    margin-top: 20px;
    border-top: 1px solid #e8eff5;
    padding-top: 16px;
}
.product-docs h5 {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}
.doc-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--gray-light);
    border: 1.5px solid var(--light-blue);
    color: var(--primary);
    font-size: .87rem;
    font-weight: 600;
    transition: all var(--ease);
    margin-bottom: 8px;
    width: 100%;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}
.doc-link:last-child { margin-bottom: 0; }
.doc-link:hover {
    background: var(--light-blue);
    border-color: var(--primary);
    transform: translateX(4px);
}
.doc-link svg { flex-shrink: 0; }

/* ═══════════════════ BETON IMAGE GRID ═══════════════════ */
.beton-intro {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 28px;
    max-width: 800px;
}

.beton-img-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}
.beton-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1.5px solid #e8eff5;
    transition: transform var(--ease), box-shadow var(--ease);
}
.beton-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.beton-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    background: #f8f8f8;
    padding: 12px;
    display: block;
}
.beton-item span {
    display: block;
    padding: 10px 14px;
    font-size: .88rem;
    font-weight: 700;
    color: var(--text);
    border-top: 1px solid #f0f0f0;
}
.beton-item span em {
    font-style: normal;
    font-weight: 400;
    color: var(--muted);
    font-size: .82rem;
    margin-left: 6px;
}

.piller-card {
    grid-column: 1 / -1;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border-left: 4px solid var(--secondary);
}
.piller-card .product-icon { font-size: 2rem; flex-shrink: 0; margin-top: 4px; }
.piller-card h4 { margin-bottom: 8px; }

/* ═══════════════════ PRODUCT ACTIONS ═══════════════════ */
.product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    border-top: 1px solid #e8eff5;
    padding-top: 16px;
}
.btn-details {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 8px;
    background: var(--gray-light);
    border: 1.5px solid var(--light-blue);
    color: var(--primary);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--ease);
    font-family: 'Inter', sans-serif;
}
.btn-details:hover {
    background: var(--light-blue);
    border-color: var(--primary);
}
.btn-outline-teal {
    background: rgba(30,138,120,.07);
    border-color: rgba(30,138,120,.3);
    color: var(--secondary);
}
.btn-outline-teal:hover {
    background: rgba(30,138,120,.15);
    border-color: var(--secondary);
}

/* ═══════════════════ CEMENT INFO STRIP ═══════════════════ */
.cement-info-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 48px;
    box-shadow: var(--shadow-lg);
}
.cement-info-photo {
    position: relative;
    overflow: hidden;
}
.cement-info-photo img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}
.cement-info-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 14px 18px;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    color: var(--white);
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.4;
}
.cement-info-card {
    background: linear-gradient(160deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--white);
    border-left: 1px solid rgba(255,255,255,.15);
}
.cement-info-icon {
    font-size: 2rem;
    line-height: 1;
}
.cement-info-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}
.cement-info-card p {
    font-size: .87rem;
    line-height: 1.65;
    color: rgba(255,255,255,.82);
}

/* ═══════════════════ MODAL ═══════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13,45,62,.65);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.modal-box {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 780px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 80px rgba(0,0,0,.3);
    transform: translateY(20px) scale(.97);
    transition: transform .25s ease;
    overflow: hidden;
}
.modal-overlay.open .modal-box {
    transform: translateY(0) scale(1);
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    border-bottom: 1px solid #e8eff5;
    flex-shrink: 0;
}
.modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}
.modal-close {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--gray-light);
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--ease);
    flex-shrink: 0;
}
.modal-close:hover {
    background: #fee2e2;
    color: #dc2626;
}
.modal-body {
    overflow-y: auto;
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: .95rem;
    line-height: 1.7;
    color: var(--text);
}
.modal-body p { color: var(--muted); }
.modal-body h5 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 4px;
}
.modal-body .details-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.modal-body .details-list li {
    font-size: .9rem;
    color: var(--muted);
    padding-left: 14px;
    position: relative;
}
.modal-body .details-list li::before {
    content: '–';
    position: absolute; left: 0;
    color: var(--primary);
}
.modal-iframe {
    width: 100%;
    height: 60vh;
    border: none;
    border-radius: 10px;
    background: var(--gray-light);
}
.modal-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.modal-dl {
    align-self: flex-start;
    margin-top: 8px;
    font-size: .9rem;
    padding: 10px 22px;
}
.modal-intro {
    background: var(--gray-light);
    padding: 14px 18px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    font-size: .9rem;
    color: var(--muted);
}

/* Cement types table */
.modal-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.cement-types-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}
.cement-types-table th {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}
.cement-types-table td {
    padding: 9px 14px;
    border-bottom: 1px solid #edf2f7;
    color: var(--muted);
}
.cement-types-table tr:last-child td { border-bottom: none; }
.cement-types-table tr:nth-child(even) td { background: #f8fbfd; }
.cement-types-table .aba-highlight td {
    background: rgba(21,137,187,.08) !important;
    color: var(--text);
}
.cement-types-table .aba-highlight td em {
    font-size: .8rem;
    color: var(--primary);
}

/* Advice grid in modal */
.modal-advice { margin-top: 8px; }
.modal-advice h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}
.advice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.advice-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--gray-light);
    border-radius: 10px;
    padding: 14px;
}
.advice-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1.2; }
.advice-item h5 {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.advice-item p {
    font-size: .83rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

/* ═══════════════════ FOOTER CERT UPDATES ═══════════════════ */
.footer-logo-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px; height: 70px;
    background: var(--white);
    border-radius: 50%;
    margin-bottom: 14px;
    padding: 8px;
}
.footer-logo-circle .footer-logo {
    height: 50px;
    margin-bottom: 0;
}
.footer-cert-head {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    margin-bottom: 10px;
}
.footer-cert-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.fcert-badge {
    background: rgba(21,137,187,.35);
    border: 1px solid rgba(21,137,187,.5);
    color: var(--light-blue);
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: .06em;
}
.footer-cert-line {
    font-size: .82rem;
    color: rgba(255,255,255,.5);
    line-height: 1.5;
    margin-bottom: 2px;
}
.footer-cert-line strong { color: rgba(255,255,255,.75); }
.footer-cert-link {
    display: block;
    transition: color var(--ease);
}
.footer-cert-link:hover { color: var(--light-blue) !important; }
.fcert-badge {
    text-decoration: none;
    transition: background var(--ease), color var(--ease);
}
a.fcert-badge:hover {
    background: rgba(21,137,187,.55);
    color: var(--white);
}

/* Footer contact column */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .84rem;
    color: rgba(255,255,255,.6);
    transition: color var(--ease);
    line-height: 1.45;
    text-decoration: none;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; opacity: .7; }
a.footer-contact-item:hover { color: var(--light-blue); }
.footer-contact-addr { cursor: default; }

/* ═══════════════════ PÁLYÁZATAINK ═══════════════════ */
.palyazat-section {
    padding: 96px 0 100px;
    background: var(--white);
    position: relative;
}
.palyazat-intro {
    font-size: 1rem;
    color: var(--muted);
    max-width: 680px;
    margin-bottom: 48px;
    line-height: 1.7;
}
.palyazat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.palyazat-card {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 28px 28px 24px;
    border: 1.5px solid #dde8ef;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow var(--ease), transform var(--ease);
}
.palyazat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.palyazat-card-plusz {
    border-color: rgba(30,138,120,.35);
    background: rgba(30,138,120,.04);
}
.ginop-badge {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}
.ginop-plusz-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
    padding: 8px 20px;
    border-radius: 8px;
    width: fit-content;
    text-transform: uppercase;
}
.palyazat-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    font-family: monospace;
    letter-spacing: .02em;
}
.palyazat-title {
    font-size: .95rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.4;
}
.palyazat-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--white);
    border-radius: 10px;
    padding: 14px 16px;
    border: 1px solid #e5eef5;
}
.palyazat-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: .84rem;
    flex-wrap: wrap;
}
.palyazat-row span {
    color: var(--muted);
    flex-shrink: 0;
}
.palyazat-row strong {
    color: var(--text);
    text-align: right;
}
.palyazat-desc {
    font-size: .88rem;
    line-height: 1.65;
    color: var(--muted);
}
.palyazat-eu-note {
    margin-top: 36px;
    font-size: .85rem;
    color: var(--muted);
    text-align: center;
    padding: 16px 24px;
    background: var(--gray-light);
    border-radius: 10px;
    border: 1px solid #dde8ef;
}
.palyazat-eu-note a { color: var(--primary); font-weight: 600; }
.palyazat-eu-note a:hover { text-decoration: underline; }

/* Széchenyi 2020 floating image */
.szechenyi-float {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 900;
    display: block;
    width: 300px;
}
.szechenyi-float img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive additions */
@media (max-width: 768px) {
    .szechenyi-float { width: 150px; }
    .beton-img-grid { grid-template-columns: repeat(2, 1fr); }
    .piller-card { flex-direction: column; }
    .cement-info-strip { grid-template-columns: 1fr; }
    .cement-info-photo img { min-height: 220px; }
    .palyazat-grid { grid-template-columns: 1fr; }
    .advice-grid { grid-template-columns: 1fr; }
    .modal-box { max-height: 92vh; border-radius: 16px; }
    .modal-header { padding: 16px 20px; }
    .modal-body { padding: 18px 20px; }
}
@media (max-width: 480px) {
    .beton-img-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-actions { flex-direction: column; }
    .btn-details { width: 100%; justify-content: center; }
}
