/*
Theme Name: Doap Kadence Child
Description: Kadence child theme for DevOps & Platforms.
Author: DevOps & Platforms
Template: kadence
Version: 1.0.0
Text Domain: doap-kadence-child
*/

:root {
    --doap-ink: #0b1220;
    --doap-panel: #111c30;
    --doap-muted: #526078;
    --doap-line: #dbe3ee;
    --doap-surface: #f5f8fc;
    --doap-accent: #0ea5e9;
    --doap-accent-dark: #0369a1;
    --doap-success: #15803d;
}

body {
    color: var(--doap-ink);
}

#colophon {
    display: none;
}

.site-header {
    border-bottom: 1px solid var(--doap-line);
}

.site-branding a,
.site-title a {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.content-area {
    margin-top: 0;
}

.page .entry-header,
.page .entry-hero {
    display: none;
}

.entry-content-wrap {
    padding-top: 0;
}

.doap-hero {
    margin: 0 calc(50% - 50vw);
    padding: clamp(4rem, 8vw, 7rem) max(1.5rem, calc((100vw - 1180px) / 2));
    color: #fff;
    background:
        radial-gradient(circle at 80% 15%, rgba(14, 165, 233, .28), transparent 35%),
        linear-gradient(135deg, #08111f, #14243d);
}

.doap-eyebrow {
    margin-bottom: .75rem;
    color: #7dd3fc;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.doap-hero h1 {
    max-width: 820px;
    margin-bottom: 1.25rem;
    color: #fff;
    font-size: clamp(2.55rem, 6vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.doap-hero > p:not(.doap-eyebrow) {
    max-width: 760px;
    color: #d9e6f4;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.doap-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}

.doap-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .8rem 1.2rem;
    border: 2px solid var(--doap-accent);
    border-radius: .5rem;
    background: var(--doap-accent);
    color: #fff !important;
    font-weight: 750;
    text-decoration: none !important;
    transition: transform .15s ease, background .15s ease;
}

.doap-button:hover,
.doap-button:focus {
    background: var(--doap-accent-dark);
    transform: translateY(-1px);
}

.doap-button--secondary {
    border-color: #9cc7df;
    background: transparent;
}

.doap-button--secondary:hover,
.doap-button--secondary:focus {
    background: rgba(255, 255, 255, .1);
}

.doap-section {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.doap-section--surface {
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-right: max(1.5rem, calc((100vw - 1180px) / 2));
    padding-left: max(1.5rem, calc((100vw - 1180px) / 2));
    background: var(--doap-surface);
}

.doap-section h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: -0.03em;
}

.doap-lead {
    max-width: 760px;
    color: var(--doap-muted);
    font-size: 1.15rem;
}

.doap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.doap-card {
    padding: 1.6rem;
    border: 1px solid var(--doap-line);
    border-radius: .8rem;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
}

.doap-card h3 {
    margin-bottom: .6rem;
}

.doap-card p:last-child {
    margin-bottom: 0;
}

.doap-contact-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: .8rem;
    background: var(--doap-panel);
    color: #e5effa;
}

.doap-contact-strip h2,
.doap-contact-strip p {
    color: inherit;
}

.doap-form-shell {
    max-width: 820px;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 1px solid var(--doap-line);
    border-radius: .8rem;
    background: #fff;
    box-shadow: 0 20px 65px rgba(15, 23, 42, .08);
}

.doap-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.doap-field--full {
    grid-column: 1 / -1;
}

.doap-form label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 700;
}

.doap-form input[type="text"],
.doap-form input[type="email"],
.doap-form input[type="tel"],
.doap-form textarea {
    width: 100%;
    border: 1px solid #aab6c7;
    border-radius: .4rem;
    background: #fff;
}

.doap-form input:focus,
.doap-form textarea:focus {
    border-color: var(--doap-accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .18);
}

.doap-consent {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .75rem;
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid var(--doap-line);
    border-radius: .5rem;
    background: var(--doap-surface);
}

.doap-consent input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .2rem;
}

.doap-consent label {
    margin: 0;
    font-size: .93rem;
    font-weight: 500;
    line-height: 1.55;
}

.doap-consent-note {
    margin-top: .45rem;
    color: var(--doap-muted);
    font-size: .86rem;
}

.doap-form button {
    margin-top: 1.25rem;
}

.doap-notice {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border-left: 4px solid var(--doap-success);
    background: #ecfdf3;
}

.doap-notice--error {
    border-left-color: #b91c1c;
    background: #fff1f2;
}

.doap-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.doap-legal-footer {
    padding: 2rem 1.5rem;
    border-top: 1px solid #24334a;
    background: var(--doap-ink);
    color: #cbd5e1;
}

.doap-legal-footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem 2rem;
    max-width: 1180px;
    margin: 0 auto;
}

.doap-legal-footer a {
    color: #bae6fd;
}

.doap-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1rem;
}

.doap-policy h2 {
    margin-top: 2rem;
}

.doap-policy h3 {
    margin-top: 1.4rem;
}

@media (max-width: 760px) {
    .doap-grid,
    .doap-form-grid {
        grid-template-columns: 1fr;
    }

    .doap-field--full {
        grid-column: auto;
    }

    .doap-hero {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}
