/* ==========================================================================
   Hammetal Tema — main.css
   Modern endüstriyel tasarım. Kömür siyahı + sıcak çelik turuncu.
   ========================================================================== */

/* -------------------- Tokens -------------------- */
:root {
    --hm-coal:       #0a0a0a;
    --hm-coal-2:     #111315;
    --hm-anthr:      #1a1d22;
    --hm-steel:      #2a2f36;
    --hm-steel-2:    #3a4049;
    --hm-line:       #2f3440;
    --hm-line-soft:  rgba(255,255,255,.08);
    --hm-flame:      #f97316;
    --hm-flame-2:    #ea580c;
    --hm-ember:      #c2410c;
    --hm-white:      #ffffff;
    --hm-fog:        #d1d5db;
    --hm-fog-2:      #9ca3af;
    --hm-fog-3:      #6b7280;
    --hm-success:    #10b981;
    --hm-error:      #ef4444;

    --hm-radius:    14px;
    --hm-radius-sm: 8px;
    --hm-radius-lg: 22px;

    --hm-shadow-sm:  0 1px 2px rgba(0,0,0,.4);
    --hm-shadow:     0 12px 32px rgba(0,0,0,.45);
    --hm-shadow-lg:  0 24px 60px rgba(0,0,0,.5);
    --hm-glow-flame: 0 0 0 4px rgba(249,115,22,.18);

    --hm-font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --hm-font-display: 'Archivo Black', 'Inter', sans-serif;

    --hm-container: 1240px;
    --hm-gutter:    24px;

    --hm-header-h:  78px;

    --hm-ease: cubic-bezier(.22,.61,.36,1);
}

/* -------------------- Reset / Base -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--hm-font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--hm-fog);
    background: var(--hm-coal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--hm-flame); text-decoration: none; transition: color .2s var(--hm-ease); }
a:hover { color: var(--hm-flame-2); }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

h1, h2, h3, h4 {
    font-family: var(--hm-font-display);
    color: var(--hm-white);
    line-height: 1.1;
    margin: 0 0 .5em;
    letter-spacing: -.01em;
    font-weight: 400;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-family: var(--hm-font-sans); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

p { margin: 0 0 1em; }
::selection { background: var(--hm-flame); color: var(--hm-white); }

/* -------------------- Container / Section -------------------- */
.hm-container {
    width: 100%;
    max-width: var(--hm-container);
    margin: 0 auto;
    padding-left: var(--hm-gutter);
    padding-right: var(--hm-gutter);
}

.hm-sec { position: relative; }
.hm-sec-padded { padding-block: clamp(56px, 8vw, 110px); }
.hm-sec-tone-dark    { background: var(--hm-coal); }
.hm-sec-tone-darker  { background: var(--hm-coal-2); }
.hm-sec-tone-anthr   { background: var(--hm-anthr); }
.hm-sec-tone-light   { background: #f7f7f8; color: #1a1d22; }
.hm-sec-tone-light h1, .hm-sec-tone-light h2, .hm-sec-tone-light h3 { color: #0a0a0a; }
.hm-sec-tone-flame   {
    background: linear-gradient(135deg, var(--hm-flame) 0%, var(--hm-ember) 100%);
    color: var(--hm-white);
}
.hm-sec-tone-flame h1, .hm-sec-tone-flame h2, .hm-sec-tone-flame h3 { color: var(--hm-white); }

/* Section başlığı */
.hm-sec-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.hm-sec-head.is-left { margin-left: 0; text-align: left; }
.hm-sec-eyebrow {
    display: inline-block;
    font-size: .78rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--hm-flame);
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 2px solid currentColor;
    width: 36px;
}
.hm-sec-title { margin-bottom: 14px; }
.hm-sec-lead {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    color: var(--hm-fog-2);
    max-width: 640px;
    margin: 0 auto;
}
.hm-sec-head.is-left .hm-sec-lead { margin-left: 0; }

/* -------------------- Buttons -------------------- */
.hm-btn {
    --bg: var(--hm-flame);
    --fg: var(--hm-white);
    --bd: var(--hm-flame);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: var(--hm-radius-sm);
    background: var(--bg);
    color: var(--fg);
    border: 2px solid var(--bd);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .01em;
    transition: all .25s var(--hm-ease);
    cursor: pointer;
    line-height: 1;
    text-align: center;
}
.hm-btn:hover {
    background: var(--hm-flame-2);
    border-color: var(--hm-flame-2);
    color: var(--hm-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249,115,22,.3);
}
.hm-btn .dashicons { font-size: 18px; width: 18px; height: 18px; }
.hm-btn-flame { /* default zaten flame */ }
.hm-btn-ghost {
    --bg: transparent;
    --fg: var(--hm-white);
    --bd: rgba(255,255,255,.25);
}
.hm-btn-ghost:hover {
    --bg: rgba(255,255,255,.08);
    --bd: var(--hm-white);
    transform: translateY(-2px);
    box-shadow: none;
}
.hm-btn-wa {
    --bg: #25d366;
    --fg: #fff;
    --bd: #25d366;
}
.hm-btn-wa:hover { --bg: #1ebe5d; --bd: #1ebe5d; box-shadow: 0 8px 24px rgba(37,211,102,.3); }
.hm-btn-block { width: 100%; }
.hm-btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* CTA grubu */
.hm-cta-group { display: flex; flex-wrap: wrap; gap: 12px; }
.hm-cta-hero { gap: 14px; margin-top: 32px; }

/* -------------------- Header -------------------- */
.hm-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,10,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hm-line-soft);
    transition: background .3s var(--hm-ease);
}
.hm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--hm-header-h);
    gap: 24px;
}
.hm-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.hm-brand-logo img { max-height: 48px; width: auto; }
.hm-brand-text {
    font-family: var(--hm-font-display);
    font-size: 1.6rem;
    color: var(--hm-white);
    letter-spacing: .02em;
}
.hm-brand-text .hm-flame { color: var(--hm-flame); }

.hm-nav { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: center; }
.hm-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0; padding: 0;
}
.hm-menu-item { position: relative; }
.hm-menu-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    color: var(--hm-fog);
    font-weight: 500;
    font-size: .95rem;
    border-radius: var(--hm-radius-sm);
    transition: all .2s var(--hm-ease);
}
.hm-menu-link:hover { color: var(--hm-white); background: var(--hm-line-soft); }
.hm-menu-item.is-current > .hm-menu-link { color: var(--hm-white); }
.hm-menu-item.is-current > .hm-menu-link::after {
    content: '';
    position: absolute;
    left: 16px; right: 16px; bottom: 4px;
    height: 2px;
    background: var(--hm-flame);
}
.hm-menu-caret { font-size: .7em; opacity: .7; }

.hm-submenu {
    position: absolute;
    top: 100%; left: 0;
    min-width: 220px;
    background: var(--hm-anthr);
    border: 1px solid var(--hm-line);
    border-radius: var(--hm-radius-sm);
    list-style: none;
    margin: 0; padding: 6px;
    box-shadow: var(--hm-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .2s var(--hm-ease);
}
.hm-menu-item.has-kids:hover > .hm-submenu,
.hm-menu-item.has-kids:focus-within > .hm-submenu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.hm-submenu .hm-menu-link { width: 100%; padding: 10px 14px; }

.hm-header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.hm-header-tel {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: var(--hm-white);
    font-weight: 700;
    border: 2px solid var(--hm-flame);
    border-radius: var(--hm-radius-sm);
    transition: all .2s var(--hm-ease);
}
.hm-header-tel:hover { background: var(--hm-flame); color: var(--hm-white); }
.hm-header-tel .dashicons { color: var(--hm-flame); transition: color .2s; }
.hm-header-tel:hover .dashicons { color: var(--hm-white); }

/* Mobil menü tetikleyici */
.hm-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--hm-line);
    color: var(--hm-white);
    padding: 10px 12px;
    border-radius: var(--hm-radius-sm);
    align-items: center;
    gap: 6px;
}
.hm-mobile-toggle .bars { display: flex; flex-direction: column; gap: 4px; }
.hm-mobile-toggle .bars span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform .25s var(--hm-ease), opacity .2s;
}
body.hm-menu-open .hm-mobile-toggle .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.hm-menu-open .hm-mobile-toggle .bars span:nth-child(2) { opacity: 0; }
body.hm-menu-open .hm-mobile-toggle .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
    .hm-mobile-toggle { display: flex; }
    .hm-nav {
        position: fixed;
        inset: var(--hm-header-h) 0 0 0;
        background: var(--hm-coal);
        flex-direction: column;
        justify-content: flex-start;
        padding: 24px;
        gap: 0;
        transform: translateX(100%);
        transition: transform .3s var(--hm-ease);
        overflow-y: auto;
    }
    body.hm-menu-open .hm-nav { transform: translateX(0); }
    .hm-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }
    .hm-menu-item { width: 100%; border-bottom: 1px solid var(--hm-line-soft); }
    .hm-menu-link { padding: 16px 8px; font-size: 1.05rem; }
    .hm-menu-item.is-current > .hm-menu-link::after { display: none; }
    .hm-submenu {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0 0 0 16px;
    }
    .hm-header-cta .hm-header-tel { display: none; }
}

/* -------------------- Hero -------------------- */
.hm-hero {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at top right, rgba(249,115,22,.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(249,115,22,.08) 0%, transparent 60%),
        linear-gradient(180deg, var(--hm-coal) 0%, var(--hm-coal-2) 100%);
}
.hm-hero::before {
    /* Endüstriyel grid pattern */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--hm-line-soft) 1px, transparent 1px),
        linear-gradient(90deg, var(--hm-line-soft) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    opacity: .5;
    pointer-events: none;
}
.hm-hero::after {
    /* Sıcak çelik aksanı — sağ üst */
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(249,115,22,.4) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}
.hm-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
    padding-block: clamp(60px, 10vw, 100px);
    width: 100%;
}
.hm-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(249,115,22,.12);
    border: 1px solid rgba(249,115,22,.3);
    border-radius: 100px;
    color: var(--hm-flame);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.hm-hero-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--hm-flame);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(249,115,22,.25);
    animation: hm-pulse 2s infinite;
}
@keyframes hm-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(249,115,22,.25); }
    50% { box-shadow: 0 0 0 8px rgba(249,115,22,.05); }
}
.hm-hero-title {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: .98;
    margin-bottom: 24px;
    letter-spacing: -.025em;
}
.hm-hero-title .hm-flame {
    color: var(--hm-flame);
    background: linear-gradient(135deg, #fbbf24 0%, var(--hm-flame) 50%, var(--hm-ember) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hm-hero-lead {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--hm-fog);
    max-width: 540px;
    margin-bottom: 8px;
}
.hm-hero-meta {
    display: flex;
    gap: 28px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--hm-line-soft);
    flex-wrap: wrap;
}
.hm-hero-meta-item { display: flex; flex-direction: column; }
.hm-hero-meta-num {
    font-family: var(--hm-font-display);
    font-size: 2rem;
    color: var(--hm-flame);
    line-height: 1;
}
.hm-hero-meta-lbl {
    font-size: .85rem;
    color: var(--hm-fog-2);
    margin-top: 6px;
}

/* Hero görsel kartı (sağ taraftaki) */
.hm-hero-visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--hm-radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--hm-anthr), var(--hm-steel));
    border: 1px solid var(--hm-line);
    box-shadow: var(--hm-shadow-lg);
}
.hm-hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 8px, transparent 8px 16px),
        radial-gradient(circle at 70% 30%, rgba(249,115,22,.35) 0%, transparent 60%);
    z-index: 2;
    mix-blend-mode: multiply;
    pointer-events: none;
}
.hm-hero-visual-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: contrast(1.05) saturate(.95) brightness(.85);
}
.hm-hero-visual::after {
    /* Üst karartma — başlık okunabilirliği için */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,.1) 0%, transparent 30%, rgba(10,10,10,.45) 70%, rgba(10,10,10,.85) 100%);
    z-index: 3;
    pointer-events: none;
}
.hm-hero-visual-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hm-flame);
    opacity: .15;
    z-index: 1;
}
.hm-hero-visual-icon .dashicons { font-size: clamp(120px, 22vw, 220px); width: auto; height: auto; }
.hm-hero-visual-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px;
    z-index: 4;
}
.hm-hero-visual-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--hm-flame);
    color: var(--hm-white);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 14px;
}
.hm-hero-visual-title {
    color: var(--hm-white);
    font-size: 1.4rem;
    line-height: 1.2;
    margin: 0;
}
.hm-hero-visual-sub {
    color: var(--hm-fog-2);
    font-size: .92rem;
    margin-top: 8px;
}

@media (max-width: 1023px) {
    .hm-hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hm-hero-visual { max-width: 480px; aspect-ratio: 16/10; }
    .hm-hero { min-height: 0; }
}

/* -------------------- Cards / Grid -------------------- */
.hm-grid {
    display: grid;
    gap: 24px;
}
.hm-grid-3 { grid-template-columns: repeat(3, 1fr); }
.hm-grid-4 { grid-template-columns: repeat(4, 1fr); }
.hm-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1023px) {
    .hm-grid-3, .hm-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .hm-grid-3, .hm-grid-4, .hm-grid-2 { grid-template-columns: 1fr; }
}

.hm-card {
    display: block;
    background: var(--hm-anthr);
    border: 1px solid var(--hm-line);
    border-radius: var(--hm-radius);
    overflow: hidden;
    color: inherit;
    transition: all .3s var(--hm-ease);
    position: relative;
}
.hm-card:hover {
    transform: translateY(-6px);
    border-color: var(--hm-flame);
    box-shadow: 0 20px 40px rgba(0,0,0,.5), 0 0 0 1px var(--hm-flame);
    color: inherit;
}

.hm-card-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--hm-steel);
}
.hm-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--hm-ease), filter .6s var(--hm-ease);
    filter: contrast(1.04) saturate(.92) brightness(.92);
}
.hm-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 50%, rgba(10,10,10,.45) 100%),
        linear-gradient(135deg, rgba(249,115,22,.08) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity .4s var(--hm-ease);
    z-index: 1;
}
.hm-card:hover .hm-card-img img {
    transform: scale(1.06);
    filter: contrast(1.08) saturate(1.05) brightness(1);
}
.hm-card:hover .hm-card-img::after { opacity: .55; }
.hm-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--hm-anthr), var(--hm-steel));
}
.hm-card-img-placeholder .dashicons {
    font-size: 64px;
    width: 64px; height: 64px;
    color: var(--hm-flame);
    opacity: .4;
}
.hm-card-body { padding: 24px; }
.hm-card-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(249,115,22,.12);
    color: var(--hm-flame);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 12px;
}
.hm-card-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--hm-white);
}
.hm-card:hover .hm-card-title { color: var(--hm-flame); }
.hm-card-excerpt {
    color: var(--hm-fog-2);
    font-size: .94rem;
    line-height: 1.5;
    margin-bottom: 16px;
}
.hm-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hm-flame);
    font-size: .9rem;
    font-weight: 600;
    transition: gap .25s var(--hm-ease);
}
.hm-card:hover .hm-card-cta { gap: 12px; }

/* Proje kartı (görsel ağırlıklı) */
.hm-card-proje { background: transparent; border: 0; }
.hm-card-proje .hm-card-img { aspect-ratio: 1/1; border-radius: var(--hm-radius); }
.hm-card-proje .hm-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.hm-card-proje .hm-card-title { font-size: 1.1rem; margin: 0; }
.hm-card-proje:hover { transform: translateY(-4px); box-shadow: var(--hm-shadow); }

/* -------------------- Stats -------------------- */
.hm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 700px) { .hm-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.hm-stat { text-align: center; padding: 16px; }
.hm-stat-value {
    font-family: var(--hm-font-display);
    font-size: clamp(2rem, 5vw, 3.4rem);
    color: var(--hm-flame);
    line-height: 1;
    letter-spacing: -.02em;
}
.hm-stat-suffix { color: var(--hm-flame); margin-left: 2px; }
.hm-stat-label {
    color: var(--hm-fog-2);
    font-size: .92rem;
    margin-top: 12px;
    letter-spacing: .04em;
}

/* -------------------- Form -------------------- */
.hm-quote-form {
    background: var(--hm-anthr);
    border: 1px solid var(--hm-line);
    border-radius: var(--hm-radius);
    padding: clamp(24px, 4vw, 40px);
}
.hm-quote-form.is-compact { padding: 20px; }
.hm-form-intro {
    color: var(--hm-fog-2);
    margin-bottom: 24px;
}
.hm-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.hm-field { display: flex; flex-direction: column; }
.hm-field-full { grid-column: 1 / -1; }
.hm-field-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--hm-fog);
    margin-bottom: 8px;
    letter-spacing: .02em;
}
.hm-field-label em { color: var(--hm-flame); font-style: normal; }
.hm-field input,
.hm-field select,
.hm-field textarea {
    width: 100%;
    background: var(--hm-coal);
    border: 1px solid var(--hm-line);
    color: var(--hm-white);
    padding: 12px 14px;
    border-radius: var(--hm-radius-sm);
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s;
}
.hm-field input:focus,
.hm-field select:focus,
.hm-field textarea:focus {
    outline: none;
    border-color: var(--hm-flame);
    box-shadow: var(--hm-glow-flame);
}
.hm-field textarea { resize: vertical; min-height: 100px; }
.hm-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f97316' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.hm-honey { position: absolute; left: -9999px; top: -9999px; visibility: hidden; }
.hm-form-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}
.hm-form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--hm-radius-sm);
    font-size: .92rem;
    display: none;
}
.hm-form-status.is-success { display: block; background: rgba(16,185,129,.1); color: var(--hm-success); border: 1px solid rgba(16,185,129,.3); }
.hm-form-status.is-error { display: block; background: rgba(239,68,68,.1); color: var(--hm-error); border: 1px solid rgba(239,68,68,.3); }
.hm-form-status a { color: inherit; text-decoration: underline; font-weight: 600; }
@media (max-width: 600px) {
    .hm-form-grid, .hm-form-foot { grid-template-columns: 1fr; }
}

/* -------------------- Sticky WhatsApp -------------------- */
.hm-wa-fab {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 90;
    width: 60px; height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.5);
    transition: transform .25s var(--hm-ease), box-shadow .3s;
    animation: hm-wa-pulse 2.5s infinite;
}
@keyframes hm-wa-pulse {
    0% { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.5); }
    70% { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,0); }
}
.hm-wa-fab:hover { transform: scale(1.08); color: #fff; }
.hm-wa-fab svg { width: 28px; height: 28px; }
.hm-wa-fab-label {
    position: absolute;
    right: 70px; top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: var(--hm-coal);
    color: var(--hm-white);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all .25s var(--hm-ease);
    border: 1px solid var(--hm-line);
}
.hm-wa-fab-label::after {
    content: '';
    position: absolute;
    right: -6px; top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--hm-coal);
}
.hm-wa-fab:hover .hm-wa-fab-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 600px) {
    .hm-wa-fab { width: 56px; height: 56px; right: 16px; bottom: 16px; }
    .hm-wa-fab-label { display: none; }
}

/* -------------------- Page Hero (alt sayfalar) -------------------- */
.hm-page-hero {
    position: relative;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--hm-coal) 0%, var(--hm-anthr) 100%);
    border-bottom: 1px solid var(--hm-line);
    overflow: hidden;
}
.hm-page-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60%; height: 100%;
    background: radial-gradient(ellipse at right, rgba(249,115,22,.12) 0%, transparent 60%);
    pointer-events: none;
}
.hm-page-hero-inner { position: relative; }
.hm-page-hero-title { margin-bottom: 12px; }
.hm-page-hero-lead { color: var(--hm-fog-2); max-width: 680px; font-size: 1.05rem; }
.hm-breadcrumb { margin-bottom: 24px; font-size: .88rem; color: var(--hm-fog-3); }
.hm-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.hm-breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--hm-line); }
.hm-breadcrumb a { color: var(--hm-fog-2); }
.hm-breadcrumb a:hover { color: var(--hm-flame); }
.hm-breadcrumb [aria-current] { color: var(--hm-flame); }

/* -------------------- Service single -------------------- */
.hm-svc-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .hm-svc-layout { grid-template-columns: 1fr; } }
.hm-svc-content { color: var(--hm-fog); font-size: 1.05rem; line-height: 1.75; }
.hm-svc-content h2, .hm-svc-content h3 { margin-top: 1.6em; }
.hm-svc-content ul, .hm-svc-content ol { padding-left: 1.4em; }
.hm-svc-content li { margin-bottom: 8px; }
.hm-svc-content blockquote {
    border-left: 3px solid var(--hm-flame);
    padding: 8px 24px;
    margin: 24px 0;
    color: var(--hm-fog);
    font-style: italic;
    background: var(--hm-anthr);
    border-radius: 0 var(--hm-radius-sm) var(--hm-radius-sm) 0;
}
.hm-svc-aside {
    position: sticky;
    top: calc(var(--hm-header-h) + 20px);
    background: var(--hm-anthr);
    border: 1px solid var(--hm-line);
    border-radius: var(--hm-radius);
    padding: 28px;
}
.hm-svc-aside h3 { font-size: 1.1rem; margin-bottom: 16px; }
.hm-svc-aside .hm-cta-group { flex-direction: column; }
.hm-svc-aside .hm-btn { width: 100%; }

/* -------------------- Footer -------------------- */
.hm-footer {
    background: #050506;
    border-top: 1px solid var(--hm-line);
    padding: 60px 0 24px;
    color: var(--hm-fog-2);
    font-size: .92rem;
}
.hm-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 800px) {
    .hm-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .hm-footer-col-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) { .hm-footer-grid { grid-template-columns: 1fr; } }
.hm-footer-brand {
    font-family: var(--hm-font-display);
    font-size: 1.7rem;
    color: var(--hm-white);
    margin-bottom: 12px;
}
.hm-footer-brand .hm-flame { color: var(--hm-flame); }
.hm-footer-tag {
    color: var(--hm-fog-2);
    margin-bottom: 16px;
    max-width: 320px;
    line-height: 1.6;
}
.hm-footer h4 {
    font-size: .85rem;
    color: var(--hm-white);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 18px;
    font-family: var(--hm-font-sans);
    font-weight: 700;
}
.hm-footer ul { list-style: none; padding: 0; margin: 0; }
.hm-footer li { margin-bottom: 10px; }
.hm-footer a { color: var(--hm-fog-2); transition: color .2s, padding .2s; }
.hm-footer a:hover { color: var(--hm-flame); padding-left: 4px; }
.hm-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}
.hm-footer-contact-item .dashicons {
    color: var(--hm-flame);
    flex-shrink: 0;
    margin-top: 2px;
}
.hm-footer-bottom {
    border-top: 1px solid var(--hm-line);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    color: var(--hm-fog-3);
}
.hm-footer-bottom a { color: var(--hm-fog-2); }
.hm-footer-bottom a:hover { color: var(--hm-flame); }

/* -------------------- Misc -------------------- */
.hm-screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* WP Galeri */
.wp-block-gallery { margin: 32px 0; }

/* -------------------- Referanslar -------------------- */
.hm-refs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}
@media (max-width: 900px) { .hm-refs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hm-refs-grid { grid-template-columns: 1fr; } }

.hm-ref-item {
    background: #f5f5f5;
    border: 1px solid var(--hm-line);
    border-radius: var(--hm-radius);
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    transition: all .3s var(--hm-ease);
    overflow: hidden;
}
.hm-ref-item:hover {
    background: #ffffff;
    border-color: var(--hm-flame);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.hm-ref-item img {
    max-height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform .3s var(--hm-ease);
}
.hm-ref-item:hover img {
    transform: scale(1.06);
}

/* Admin bar offset (logged in) */
@media (min-width: 783px) {
    body.admin-bar .hm-header { top: 32px; }
}
