:root {
    --bg: #f2efe8;
    --ink: #1d1f2b;
    --brand: #cb4f2d;
    --brand-dark: #a43d21;
    --brand-soft: #f2b9a5;
    --accent: #185a78;
    --panel: #ffffff;
    --line: #e7ddd3;
    --muted: #5b6172;
    --danger: #9a2f2f;
}

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Manrope:wght@400;600;700;800&display=swap');

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at 10% 20%, #f9e6dc 0%, var(--bg) 38%),
                radial-gradient(circle at 85% 5%, #dceef7 0%, transparent 40%);
}

a {
    color: var(--brand);
    text-decoration: none;
}

.site-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px;
}

.public-body {
    position: relative;
    overflow-x: hidden;
}

.bg-orb {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(18px);
    opacity: 0.25;
}

.orb-a {
    top: -120px;
    right: -90px;
    background: #f48f6b;
}

.orb-b {
    bottom: -120px;
    left: -90px;
    background: #2d9cc5;
}

.modern-site {
    display: grid;
    gap: 34px;
}

.top-nav {
    position: sticky;
    top: 12px;
    z-index: 20;
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(20, 20, 30, 0.08);
}

.top-nav-main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.brand {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.2rem;
    color: var(--ink);
}

.brand-logo {
    display: block;
    height: 126px;
    width: auto;
    object-fit: contain;
}

.quick-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    border: 1px solid #eaded3;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    padding: 7px 12px;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.menu-toggle:hover {
    background: #fff5f1;
    border-color: #f2b39c;
}

.menu-toggle i {
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open i {
    transform: rotate(90deg) scale(1.06);
}

.quick-links a {
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid #eaded3;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.6);
}

.quick-links a:hover {
    border-color: #f2b39c;
    background: #fff5f1;
}

.hero-modern {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    background: linear-gradient(145deg, #fff8f2, #f6fbff);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 35px rgba(25, 28, 38, 0.08);
    overflow: hidden;
}

.hero-modern > * {
    position: relative;
    z-index: 2;
}

.hero-video-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.28;
    pointer-events: none;
}

.hero-video-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 250, 244, 0.75), rgba(245, 251, 255, 0.55));
}

.hero-video-layer video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-modern h1 {
    margin: 8px 0 10px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.08;
}

.lead {
    color: var(--muted);
    max-width: 52ch;
}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 11px 17px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 180ms ease, background 180ms ease;
}

.btn:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.btn-soft {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
}

.btn-soft:hover {
    background: #fff4ef;
}

.stats-row {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    min-width: 92px;
}

.stat strong {
    display: block;
    font-size: 1.15rem;
}

.stat span {
    color: var(--muted);
    font-size: 0.82rem;
}

.hero-collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 140px);
    gap: 10px;
}

.hero-shot {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.08);
}

.hero-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shot-1,
.shot-4 {
    transform: rotate(-1deg);
}

.shot-2,
.shot-3 {
    transform: rotate(1deg);
}

.section-block {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 14px 30px rgba(30, 34, 48, 0.06);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
    text-align: center;
}

.section-head h2 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.65rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.references-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.testimonial-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

.testimonial-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.testimonial-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, #0ea5e9, #2563eb);
    color: #fff;
    font-size: 1.35rem;
}

.testimonial-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    padding: 6px;
}

.testimonial-head h3 {
    margin: 0;
    font-size: 1.1rem;
}

.testimonial-category {
    margin: 2px 0 0;
    color: #2563eb;
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-stars {
    color: #f59e0b;
    letter-spacing: 2px;
    font-size: 1rem;
    white-space: nowrap;
}

.testimonial-card blockquote {
    margin: 16px 0;
    color: #475569;
    font-style: italic;
    line-height: 1.65;
    border-left: 4px solid #bfdbfe;
    padding-left: 12px;
}

.testimonial-foot {
    border-top: 1px solid #cbd5e1;
    padding-top: 12px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
}

.avatar-dot {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #e2e8f0;
}

.testimonial-foot strong {
    display: block;
    color: #1e293b;
}

.testimonial-foot p {
    margin: 2px 0 0;
    color: #64748b;
    font-size: 0.9rem;
}

.success-pill {
    background: #10b981;
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    border-radius: 999px;
    padding: 6px 10px;
    white-space: nowrap;
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 16px rgba(20, 20, 30, 0.05);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(20, 20, 30, 0.12);
}

.card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 10px;
}

.chip {
    display: inline-block;
    margin: 0 0 8px;
    background: #ffe8df;
    color: #96381c;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.package-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #d9e6f5;
    background: linear-gradient(145deg, #ffffff, #f6fbff);
}

.package-card.is-featured {
    border-color: #7dc5e6;
    box-shadow: 0 18px 34px rgba(15, 118, 151, 0.18);
}

.package-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% -10%, rgba(56, 189, 248, 0.16), transparent 40%);
    pointer-events: none;
}

.package-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #714c00;
    background: linear-gradient(135deg, #ffe8a3, #ffd777);
    border: 1px solid #e7be56;
}

.package-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #cfe0f3;
    background: #eef6ff;
    color: #1c4f7a;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 4px 9px;
}

.package-card .chip {
    margin: 0;
    background: linear-gradient(135deg, #0f7697, #2fa8cd);
    color: #fff;
    box-shadow: 0 10px 20px rgba(15, 118, 151, 0.26);
}

.package-card h3 {
    margin: 2px 0 8px;
    font-size: 1.22rem;
}

.package-desc {
    color: #445066;
    margin: 0;
    line-height: 1.55;
}

.package-features {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.package-features li {
    position: relative;
    padding-left: 24px;
    color: #243244;
    line-height: 1.4;
}

.package-features li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    color: #0f766e;
    font-size: 0.72rem;
    display: grid;
    place-items: center;
    background: #dcfce7;
}

.package-cta {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, #cc522e, #a83f22);
}

.package-card.is-featured .package-cta {
    background: linear-gradient(135deg, #118ab2, #0f6e90);
    box-shadow: 0 12px 24px rgba(17, 138, 178, 0.3);
}

.package-card.is-featured .package-cta:hover {
    background: linear-gradient(135deg, #0f799c, #0d5f7c);
}

.package-cta:hover {
    background: linear-gradient(135deg, #b84728, #8f3119);
}

.page-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 20px;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid #dbe6f1;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 250, 255, 0.9));
    box-shadow: 0 18px 34px rgba(20, 20, 30, 0.08);
}

.page-hero-panel {
    display: grid;
    gap: 16px;
    align-content: start;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid #d9e6f5;
    background: linear-gradient(145deg, #f8fbff, #ffffff);
}

.package-jump-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.package-jump-list a {
    border-radius: 999px;
    border: 1px solid #d6e3ef;
    background: #fff;
    color: #24415d;
    padding: 8px 12px;
    font-size: 0.84rem;
    font-weight: 700;
}

.package-jump-list a:hover {
    border-color: #a8cde3;
    background: #eef8ff;
}

.package-detail-grid {
    display: grid;
    gap: 18px;
}

.package-detail-card {
    padding: 24px;
    scroll-margin-top: 120px;
}

.package-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.package-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 7px 11px;
    background: #eef6ff;
    color: #204968;
    font-size: 0.83rem;
    font-weight: 700;
}

.package-detail-block {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #dfebf5;
}

.package-detail-block h4 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #1e293b;
}

.package-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.package-actions .btn {
    min-width: 180px;
    text-align: center;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #4b6075;
}

.breadcrumb a {
    color: #1f5f82;
    font-weight: 700;
}

.detail-media-card {
    border: 1px solid #d9e6f5;
    border-radius: 18px;
    background: #fff;
    padding: 12px;
}

.detail-media {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: contain;
    border-radius: 12px;
    background: #f3f8fc;
}

.detail-media-cover {
    object-fit: cover;
}

.detail-media-placeholder {
    height: 320px;
}

.detail-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.detail-meta-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 7px 11px;
    background: #eef6ff;
    color: #204968;
    font-size: 0.83rem;
    font-weight: 700;
}

.section-head.compact {
    margin-bottom: 14px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.related-grid .card {
    padding: 16px;
}

.related-grid h3 {
    margin: 10px 0 8px;
}

.related-grid p {
    margin-bottom: 12px;
}

.related-grid .btn {
    margin-top: auto;
}

.service-card {
    border-top: 4px solid #ef8e6f;
}

.service-card h3 {
    text-align: center;
}

.service-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 1.35rem;
    background: linear-gradient(140deg, #ffd8cb, #ffece5);
    border: 1px solid #f2c2b0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

.service-icon i {
    font-size: 1.2rem;
    color: #ab3f1f;
}

.service-card ul {
    margin: 10px 0 0;
    padding-left: 18px;
}

.service-card li {
    margin: 5px 0;
}

.reference-card {
    border-top: 4px solid #9bc0d4;
}

.reference-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #d8e6f0;
    background: linear-gradient(140deg, #edf6fb, #f8fbfe);
    margin-bottom: 10px;
}

.reference-badge {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(140deg, #d9ecf7, #f1f8fd);
    color: #1b5b79;
    font-weight: 800;
    margin-bottom: 10px;
}

.reference-badge-empty {
    width: 100%;
    height: 170px;
    grid-template-rows: auto auto;
    gap: 8px;
    border: 1px dashed #b8d3e4;
    color: #5d7e93;
    background: linear-gradient(140deg, #edf6fb, #f8fbfe);
}

.reference-badge-empty i {
    font-size: 1.7rem;
}

.reference-badge-empty span {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.reference-category {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e8f3fb;
    color: #1f5f82;
    font-size: 0.78rem;
    font-weight: 800;
}

.masonry-grid {
    columns: 3;
    column-gap: 14px;
}

.masonry-item {
    position: relative;
    break-inside: avoid;
    margin: 0 0 14px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform 260ms ease;
}

.masonry-item:hover {
    transform: translateY(-3px);
}

.masonry-item img {
    width: 100%;
    display: block;
}

.lightbox-trigger {
    display: block;
    position: relative;
}

.masonry-item span {
    position: absolute;
    left: 8px;
    bottom: 8px;
    background: rgba(24, 28, 40, 0.6);
    color: #fff;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.78rem;
}

.project-placeholder {
    display: grid;
    place-items: center;
    height: 210px;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(130deg, #1e6887, #8dc7de);
}

.project-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.project-status.is-building {
    background: #fff4de;
    color: #9a5a00;
}

.project-status.is-completed {
    background: #dcfce7;
    color: #166534;
}

.project-status.is-progress {
    background: #dbeafe;
    color: #1d4ed8;
}

.site-footer {
    border-radius: 22px;
    border: 1px solid #d9e3ee;
    background: linear-gradient(140deg, #1f2d3d, #18273a);
    color: #dbe8f8;
    padding: 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(155px, 1fr));
    gap: 22px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand p {
    color: #9fb4cd;
    margin: 10px 0 0;
    max-width: 38ch;
    line-height: 1.55;
}

.social-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-links a {
    color: #d7e6f7;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.82rem;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.social-badge {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.04);
}

.social-links i,
.footer-col i,
.newsletter-form i {
    margin-right: 6px;
}

.social-badge i {
    margin-right: 0;
}

.social-links a:hover {
    color: #fff;
    border-color: rgba(156, 211, 255, 0.9);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.32), rgba(14, 116, 144, 0.22));
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.22);
}

.social-badge[aria-label="LinkedIn"]:hover {
    border-color: rgba(112, 181, 249, 0.9);
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.5), rgba(10, 102, 194, 0.26));
    box-shadow: 0 10px 20px rgba(10, 102, 194, 0.28);
}

.social-badge[aria-label="X"]:hover {
    border-color: rgba(240, 240, 240, 0.8);
    background: linear-gradient(135deg, rgba(36, 36, 36, 0.56), rgba(8, 8, 8, 0.4));
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.social-badge[aria-label="Instagram"]:hover {
    border-color: rgba(255, 176, 122, 0.9);
    background: linear-gradient(135deg, rgba(245, 96, 64, 0.45), rgba(188, 42, 141, 0.35), rgba(64, 93, 230, 0.32));
    box-shadow: 0 10px 20px rgba(193, 53, 132, 0.32);
}

.social-badge[aria-label="Facebook"]:hover {
    border-color: rgba(140, 176, 255, 0.9);
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.5), rgba(24, 119, 242, 0.26));
    box-shadow: 0 10px 20px rgba(24, 119, 242, 0.28);
}

.footer-logo {
    height: 138px;
    width: auto;
    object-fit: contain;
}

.footer-brand .social-links {
    justify-content: center;
}

.footer-col {
    display: grid;
    gap: 9px;
    align-content: start;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col h4,
.newsletter-box h4 {
    margin: 0 0 6px;
    color: #fff;
}

.footer-col h4 i,
.newsletter-box h4 i {
    margin-right: 8px;
    font-size: 0.92em;
    color: #8fd0ff;
}

.footer-col a,
.footer-col span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b9cade;
    font-size: 0.92rem;
    line-height: 1.45;
}

.footer-col a:hover {
    color: #fff;
}

.newsletter-box {
    margin-top: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 16px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 14px;
    align-items: center;
}

.newsletter-box p {
    margin: 0;
    color: #a6bbd2;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.95);
}

.newsletter-message {
    margin-top: 12px;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 700;
}

.newsletter-message.ok {
    background: rgba(16, 185, 129, 0.18);
    color: #b9ffd9;
}

.newsletter-message.error {
    background: rgba(239, 68, 68, 0.18);
    color: #ffd4d4;
}

.footer-bottom {
    margin-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    color: #9fb4cd;
    font-size: 0.85rem;
}

.iyzico-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.iyzico-logo {
    height: 22px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.08);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(16, 20, 30, 0.85);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: min(1000px, 92vw);
    max-height: 74vh;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
    margin: 10px 0 0;
    color: #eaf2ff;
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background: #fff;
    color: #111;
    font-size: 1.35rem;
    cursor: pointer;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.trust-strip span {
    text-align: center;
    font-weight: 700;
    font-size: 0.86rem;
    color: #2b3550;
    background: linear-gradient(135deg, #fff, #f7fbff);
    border: 1px solid #e4ecf5;
    border-radius: 12px;
    padding: 10px 8px;
}

.reveal-up {
    opacity: 0;
    transform: translateY(16px);
    animation: revealUp 580ms ease forwards;
}

.modern-site > .reveal-up:nth-of-type(2) { animation-delay: 60ms; }
.modern-site > .reveal-up:nth-of-type(3) { animation-delay: 110ms; }
.modern-site > .reveal-up:nth-of-type(4) { animation-delay: 160ms; }
.modern-site > .reveal-up:nth-of-type(5) { animation-delay: 210ms; }
.modern-site > .reveal-up:nth-of-type(6) { animation-delay: 260ms; }
.modern-site > .reveal-up:nth-of-type(7) { animation-delay: 310ms; }

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.muted {
    color: var(--muted);
}

.admin-body {
    min-height: 100vh;
    background: #eef3ee;
}

.admin-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: #163728;
    color: #fff;
    padding: 24px 18px;
}

.admin-sidebar h1 {
    margin-top: 0;
    font-size: 1.2rem;
}

.admin-sidebar nav {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.admin-sidebar nav a {
    color: #ddf3e5;
    padding: 8px 10px;
    border-radius: 8px;
}

.admin-sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.admin-main {
    padding: 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
}

.form-grid {
    display: grid;
    gap: 12px;
    max-width: 700px;
}

.feature-list-editor {
    display: grid;
    gap: 10px;
}

.feature-list-rows {
    display: grid;
    gap: 8px;
}

.feature-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 8px;
    border: 1px solid #d7e2d7;
    border-radius: 10px;
    background: #f9fbf9;
}

.feature-row.is-dragging {
    opacity: 0.7;
    border-color: #91b69b;
    background: #eef7f0;
}

.feature-drag {
    min-width: 42px;
    cursor: grab;
    padding-left: 12px;
    padding-right: 12px;
}

.feature-drag:active {
    cursor: grabbing;
}

.feature-add,
.feature-remove {
    align-self: start;
}

.feature-remove:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

input,
textarea,
select {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #bfcdbf;
    border-radius: 8px;
    font: inherit;
    background: #fff;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border-bottom: 1px solid var(--line);
    text-align: left;
    padding: 10px;
    vertical-align: top;
}

.flash {
    padding: 10px 12px;
    border-radius: 8px;
    margin: 12px 0;
}

.flash.success {
    background: #dff4e4;
    color: #1b5a30;
}

.flash.error {
    background: #f9dddd;
    color: var(--danger);
}

.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.login-card {
    width: min(95vw, 420px);
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--line);
    padding: 24px;
}

@media (max-width: 860px) {
    .top-nav {
        top: 8px;
        justify-items: stretch;
    }

    .top-nav-main {
        justify-content: space-between;
    }

    .brand-logo {
        height: 96px;
    }

    .quick-links {
        display: none;
        width: 100%;
        padding-top: 4px;
        justify-content: center;
        gap: 8px;
    }

    .quick-links.is-open {
        display: flex;
    }

    .quick-links a {
        width: calc(50% - 6px);
        text-align: center;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero-modern {
        grid-template-columns: 1fr;
    }

    .page-hero {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-top,
    .newsletter-box {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col {
        border-left: none;
        padding-left: 0;
    }

    .footer-logo {
        height: 110px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .masonry-grid {
        columns: 2;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        padding-bottom: 8px;
    }
}

@media (max-width: 560px) {
    .site-wrap {
        padding: 16px;
    }

    .brand-logo {
        height: 78px;
    }

    .hero-collage {
        grid-template-rows: repeat(2, 115px);
    }

    .page-hero {
        padding: 20px;
    }

    .detail-media,
    .detail-media-placeholder {
        height: 230px;
    }

    .package-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .masonry-grid {
        columns: 1;
    }

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

    .trust-strip {
        grid-template-columns: 1fr;
    }

    .footer-top,
    .newsletter-box {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        height: 92px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer {
        padding: 18px;
    }

    .quick-links a {
        width: 100%;
    }

    .feature-row {
        grid-template-columns: 1fr;
    }

    .feature-drag,
    .feature-remove {
        width: 100%;
    }
}
