:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-muted: #e9eef6;
    --text: #142033;
    --text-muted: #5d6b82;
    --primary: #0f4c81;
    --primary-dark: #0a355a;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --success: #0f766e;
    --error: #b42318;
    --border: #d7e0ec;
    --shadow: 0 18px 40px rgba(15, 76, 129, 0.12);
    --radius: 18px;
    --container: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

p {
    margin: 0 0 1rem;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 1rem;
    z-index: 1000;
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 999px;
}

.skip-link:focus {
    left: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(215, 224, 236, 0.9);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #1d6eb0);
    color: #fff;
    font-weight: 800;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-copy strong,
.brand-copy small {
    display: block;
}

.brand-copy small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.site-nav ul {
    display: flex;
    gap: 1.25rem;
}

.site-nav a {
    color: var(--text-muted);
    font-weight: 600;
}

.site-nav a.is-active,
.site-nav a:hover {
    color: var(--primary);
}

.header-actions,
.hero-actions,
.service-actions,
.contact-actions,
.section-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    padding: 0.65rem;
}

.nav-toggle-bar {
    display: block;
    height: 2px;
    margin: 0.28rem 0;
    background: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: #fff;
    color: var(--primary);
    border-color: var(--border);
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
}

.btn-block {
    width: 100%;
}

.hero {
    padding: 4.5rem 0 3rem;
}

.hero-grid,
.about-grid,
.contact-grid,
.inquiry-layout,
.service-detail-grid {
    display: grid;
    gap: 2rem;
}

.hero-grid {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    max-width: 12ch;
}

.hero-text,
.page-hero p,
.section-heading p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 1.75rem;
}

.hero-panel-label {
    font-weight: 700;
    color: var(--primary);
}

.hero-panel-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-top: 0.85rem;
}

.hero-panel-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent);
}

.section {
    padding: 4rem 0;
}

.section-muted {
    background: rgba(233, 238, 246, 0.55);
}

.section-heading {
    max-width: 42rem;
    margin-bottom: 2rem;
}

.card-grid,
.feature-grid,
.gallery-grid {
    display: grid;
    gap: 1.25rem;
}

.service-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery-grid-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card img,
.gallery-item img,
.service-detail-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: calc(var(--radius) - 4px);
}

.service-card img {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.card-body {
    padding: 1.25rem;
}

.feature-card,
.about-highlights,
.contact-card,
.map-card,
.inquiry-form {
    padding: 1.5rem;
}

.text-link {
    color: var(--primary);
    font-weight: 700;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}

.gallery-item figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 1rem;
    background: linear-gradient(180deg, transparent, rgba(20, 32, 51, 0.88));
    color: #fff;
}

.gallery-item span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.85;
}

.page-hero {
    padding: 3.5rem 0 1.5rem;
}

.service-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.service-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.65rem;
}

.service-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.price-tag {
    display: inline-block;
    margin: 1rem 0;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.12);
    color: var(--accent-dark);
    font-weight: 700;
}

.about-grid,
.contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
}

.about-highlights ul li,
.footer-links li,
.footer-contact li {
    margin-bottom: 0.55rem;
}

.map-embed {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--border);
}

.map-embed iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
}

.inquiry-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-field span {
    font-weight: 600;
}

.form-field-wide {
    grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font: inherit;
    background: #fff;
}

.form-alert {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-weight: 600;
}

.form-alert-success {
    background: rgba(15, 118, 110, 0.12);
    color: var(--success);
}

.form-alert-error {
    background: rgba(180, 35, 24, 0.12);
    color: var(--error);
}

.site-footer {
    margin-top: 2rem;
    padding: 3rem 0 1.5rem;
    background: #0d1b2d;
    color: #dbe7f5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 2rem;
}

.site-footer h2 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(219, 231, 245, 0.75);
}

.floating-actions {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 60;
}

.floating-action {
    min-width: 92px;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 12px 24px rgba(20, 32, 51, 0.18);
}

.floating-action-call {
    background: var(--primary);
}

.floating-action-whatsapp {
    background: #25d366;
}

.radium-designer {
    padding: 1.5rem;
}

.radium-designer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.5rem;
    align-items: start;
}

.radium-designer-controls {
    display: grid;
    gap: 1rem;
}

.radium-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.radium-fieldset legend {
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.radium-option-grid,
.radium-color-grid,
.radium-field-row {
    display: grid;
    gap: 0.75rem;
}

.radium-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.radium-color-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.radium-field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.radium-option,
.radium-color-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.radium-option input,
.radium-color-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radium-option span,
.radium-color-option {
    display: block;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.radium-option span {
    padding: 0.85rem 0.95rem;
    font-weight: 600;
    text-align: center;
}

.radium-color-option {
    padding: 0.75rem;
    text-align: center;
}

.radium-option input:checked + span,
.radium-color-option input:checked {
    border-color: var(--primary);
}

.radium-option input:checked + span {
    box-shadow: 0 0 0 2px rgba(15, 76, 129, 0.12);
}

.radium-color-option:has(input:checked) {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(15, 76, 129, 0.12);
}

.radium-color-swatch {
    display: block;
    width: 100%;
    height: 42px;
    border-radius: 10px;
    background: var(--swatch-color);
    box-shadow: inset 0 0 0 1px rgba(20, 32, 51, 0.08);
}

.radium-color-label {
    display: block;
    margin-top: 0.55rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.radium-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.radium-field span {
    font-weight: 600;
}

.radium-field input,
.radium-field select {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font: inherit;
    background: #fff;
}

.radium-summary {
    padding: 1rem 1.1rem;
    background: rgba(233, 238, 246, 0.55);
}

.radium-summary-label {
    margin-bottom: 0.35rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.radium-summary-size,
.radium-summary-color {
    margin: 0;
    font-weight: 700;
}

.radium-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.radium-whatsapp-note {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    font-weight: 700;
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
}

.cart-page-alert {
    padding-top: 1rem;
}

.cart-layout {
    display: grid;
    gap: 1.5rem;
}

.cart-items,
.cart-summary,
.cart-empty {
    display: grid;
    gap: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    padding: 1.25rem;
}

.cart-item-design {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr) auto;
    align-items: start;
}

.cart-item-preview {
    overflow: hidden;
    border-radius: calc(var(--radius) - 4px);
    border: 1px solid var(--border);
    background: #0f1724;
}

.cart-design-image {
    display: block;
    width: 100%;
    height: auto;
}

.cart-design-preview .radium-preview-stage {
    min-height: 220px;
}

.cart-design-preview .radium-preview-label {
    padding: 0.85rem 0.85rem 0;
}

.cart-item-type {
    margin: 0 0 0.35rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cart-item-details {
    margin: 0;
    white-space: pre-wrap;
    font: inherit;
    color: var(--text-muted);
}

.cart-summary,
.cart-empty {
    padding: 1.5rem;
}

.cart-summary-note {
    color: var(--text-muted);
}

.cart-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cart-item-remove {
    align-self: start;
}

.checkout-layout {
    display: grid;
    gap: 1.5rem;
}

.checkout-form,
.checkout-summary {
    padding: 1.5rem;
}

.checkout-summary-note {
    color: var(--text-muted);
}

@media (min-width: 961px) {
    .cart-layout,
    .checkout-layout {
        grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
        align-items: start;
    }
}

@media (max-width: 960px) {
    .cart-item-design {
        grid-template-columns: 1fr;
    }
}

.radium-preview-panel {
    display: grid;
    gap: 0.75rem;
}

.radium-preview-label {
    margin: 0;
    font-weight: 700;
}

.radium-preview-stage {
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 1.5rem;
    border-radius: calc(var(--radius) - 4px);
    background:
        radial-gradient(circle at top, rgba(30, 200, 255, 0.12), transparent 42%),
        linear-gradient(180deg, #101826 0%, #1a2433 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.radium-tape {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.radium-tape-content {
    width: 100%;
    color: var(--tape-color);
    text-shadow:
        0 0 8px var(--tape-glow),
        0 0 18px var(--tape-glow),
        0 0 28px rgba(255, 255, 255, 0.18);
}

.radium-tape-content[data-font-style="modern"] .radium-tape-title {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.radium-tape-content[data-font-style="classic"] .radium-tape-title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.radium-tape-content[data-font-style="script"] .radium-tape-title {
    font-family: "Segoe Script", "Brush Script MT", cursive;
    font-weight: 600;
}

.radium-tape-title,
.radium-tape-subtitle {
    margin: 0;
    line-height: 1.15;
    word-break: break-word;
}

.radium-tape-subtitle {
    margin-top: 0.35rem;
    opacity: 0.92;
}

.radium-preview-note {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

@media (max-width: 960px) {
    .hero-grid,
    .service-preview-grid,
    .gallery-grid-compact,
    .service-detail-grid,
    .about-grid,
    .contact-grid,
    .inquiry-layout,
    .footer-grid,
    .radium-designer-grid,
    .radium-field-row {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: inline-block;
    }

    .site-nav,
    .header-actions {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.5rem);
        display: none;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 1rem;
    }

    .site-nav.is-open,
    .header-actions.is-open {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0.75rem;
    }

    .header-actions {
        top: calc(100% + 5.5rem);
    }

    .site-header {
        position: relative;
    }
}

@media (max-width: 640px) {
    .form-grid,
    .radium-option-grid,
    .radium-color-grid {
        grid-template-columns: 1fr;
    }

    .hero,
    .section,
    .page-hero {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}
