/* ==========================================================================
   COVERMANIACOS - SERVICIOS PRIVADOS CHECKOUT & LANDING PAGES
   Modern, responsive, high-converting editorial design for desktop & mobile
   ========================================================================== */

:root {
    --srv-bg: #070a12;
    --srv-card-bg: #0d1424;
    --srv-card-inner: #131c31;
    --srv-input-bg: #080c16;
    --srv-border: rgba(255, 255, 255, 0.08);
    --srv-border-hover: rgba(255, 255, 255, 0.16);
    --srv-border-gold: rgba(232, 201, 122, 0.35);
    --srv-accent: #e8c97a;
    --srv-accent-hover: #f5d78e;
    --srv-accent-dim: rgba(232, 201, 122, 0.12);
    --srv-text-main: #f8fafc;
    --srv-text-muted: #94a3b8;
    --srv-text-dim: #64748b;
    --srv-success: #10b981;
    --srv-radius-xl: 18px;
    --srv-radius-lg: 12px;
    --srv-radius-md: 8px;
    --srv-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    --srv-shadow-gold: 0 0 25px rgba(232, 201, 122, 0.15);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.services-body {
    background-color: var(--srv-bg);
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(232, 201, 122, 0.06), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(14, 165, 233, 0.03), transparent);
    color: var(--srv-text-main);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.service-header {
    width: 100%;
    background: rgba(7, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--srv-border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.service-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    letter-spacing: 0.06em;
    color: #fff;
    transition: opacity 0.2s ease;
}

.service-logo .accent {
    color: var(--srv-accent);
}

.service-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--srv-border);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--srv-text-muted);
}

.service-header-badge svg {
    width: 14px;
    height: 14px;
    fill: var(--srv-accent);
}

/* ==========================================================================
   MAIN CONTAINER & ADS WRAPPER
   ========================================================================== */
.service-main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

.ad-top-wrapper {
    width: 100%;
    max-width: 728px;
    margin: 0.5rem auto 2rem;
    text-align: center;
    overflow: hidden;
    border-radius: var(--srv-radius-md);
}

/* ==========================================================================
   HERO / TITLE SECTION
   ========================================================================== */
.service-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.service-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--srv-accent-dim);
    border: 1px solid var(--srv-border-gold);
    color: var(--srv-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.service-hero-title {
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.service-hero-title .accent {
    color: var(--srv-accent);
    background: linear-gradient(135deg, #fff 20%, var(--srv-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--srv-text-muted);
    max-width: 680px;
    margin: 0 auto;
    font-weight: 400;
}

/* ==========================================================================
   2-COLUMN BALANCED GRID LAYOUT
   ========================================================================== */
.service-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 2.25rem;
    align-items: start;
}

/* ==========================================================================
   LEFT CARD: SERVICE INCLUSIONS & SPECS
   ========================================================================== */
.service-card-info {
    background: var(--srv-card-bg);
    border: 1px solid var(--srv-border);
    border-radius: var(--srv-radius-xl);
    padding: 2.25rem;
    box-shadow: var(--srv-shadow);
    display: flex;
    flex-direction: column;
}

.service-intro-desc {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--srv-accent);
    padding-left: 1rem;
}

.service-features-heading {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--srv-accent);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-bottom: 2.25rem;
}

.service-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--srv-accent-dim);
    border: 1px solid var(--srv-border-gold);
    color: var(--srv-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-check-icon svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--srv-text-main);
    line-height: 1.5;
}

.feature-text strong {
    color: #fff;
    font-weight: 700;
}

/* Trust Badges Bar */
.service-trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--srv-border);
}

.trust-item {
    background: var(--srv-card-inner);
    border: 1px solid var(--srv-border);
    border-radius: var(--srv-radius-md);
    padding: 0.85rem 0.5rem;
    text-align: center;
}

.trust-item svg {
    width: 20px;
    height: 20px;
    fill: var(--srv-accent);
    margin-bottom: 4px;
}

.trust-item-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    display: block;
}

.trust-item-sub {
    font-size: 0.68rem;
    color: var(--srv-text-muted);
}

/* ==========================================================================
   RIGHT CARD: CHECKOUT & PAYMENT FORM
   ========================================================================== */
.service-card-checkout {
    background: linear-gradient(180deg, var(--srv-card-bg) 0%, #0a0f1d 100%);
    border: 1px solid var(--srv-border-gold);
    border-radius: var(--srv-radius-xl);
    padding: 2.25rem;
    box-shadow: var(--srv-shadow), var(--srv-shadow-gold);
    display: flex;
    flex-direction: column;
    position: relative;
}

.checkout-header {
    text-align: center;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--srv-border);
}

.checkout-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-title svg {
    width: 20px;
    height: 20px;
    fill: var(--srv-accent);
}

.checkout-subtitle {
    font-size: 0.85rem;
    color: var(--srv-text-muted);
}

/* Compact Specification Pill */
.project-spec-inline {
    background: rgba(232, 201, 122, 0.08);
    border: 1px solid var(--srv-border-gold);
    border-radius: var(--srv-radius-md);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
}

.spec-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--srv-accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    background: rgba(232, 201, 122, 0.15);
    padding: 2px 7px;
    border-radius: 4px;
}

.spec-desc {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.35;
}

/* Forms */
.service-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 2-Column Horizontal Row for Fields */
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

/* Perfect alignment via Subgrid when supported */
@supports (grid-template-rows: subgrid) {
    @media (min-width: 681px) {
        .form-row-2col {
            grid-template-rows: auto auto;
            row-gap: 0.45rem;
        }

        .form-row-2col .form-field {
            display: grid;
            grid-row: span 2;
            grid-template-rows: subgrid;
            row-gap: 0.45rem;
        }

        .form-row-2col .form-field .form-label {
            align-self: end;
        }
    }
}

@media (max-width: 680px) {
    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .form-row-2col .form-field {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }
}

.form-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--srv-text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-height: 20px;
    line-height: 1.25;
}

.form-label-ref {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    color: var(--srv-accent);
    white-space: nowrap;
}

.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.form-input-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    fill: var(--srv-text-dim);
    pointer-events: none;
    transition: fill 0.2s ease;
}

.srv-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    background: var(--srv-input-bg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--srv-radius-md);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.srv-input.with-icon {
    padding-left: 42px;
}

.srv-input.has-currency,
.form-input-wrapper:has(.currency-badge) .srv-input {
    padding-right: 58px;
}

/* Hide native number input spin buttons */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.srv-input:focus {
    border-color: var(--srv-accent);
    background: #0d1322;
    box-shadow: 0 0 0 3px rgba(232, 201, 122, 0.15);
}

.srv-input:focus + .form-input-icon,
.form-input-wrapper:focus-within .form-input-icon {
    fill: var(--srv-accent);
}

.srv-input::placeholder {
    color: #475569;
}

/* Currency input specific */
.currency-badge {
    position: absolute;
    right: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--srv-accent);
    background: var(--srv-accent-dim);
    padding: 2px 8px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
}

/* Textarea input */
.srv-textarea {
    width: 100%;
    min-height: 85px;
    padding: 12px 14px;
    background: var(--srv-input-bg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--srv-radius-md);
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1.5;
    resize: vertical;
    outline: none;
    transition: all 0.2s ease;
}

.srv-textarea:focus {
    border-color: var(--srv-accent);
    background: #0d1322;
    box-shadow: 0 0 0 3px rgba(232, 201, 122, 0.15);
}

.srv-textarea::placeholder {
    color: #475569;
}

.form-helper-text {
    font-size: 0.76rem;
    color: #94a3b8;
    line-height: 1.4;
    margin-top: 4px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.form-helper-text svg {
    width: 13px;
    height: 13px;
    fill: var(--srv-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--srv-radius-md);
    padding: 12px 14px;
    transition: border-color 0.2s ease;
}

.checkbox-container:hover,
.checkbox-container:focus-within {
    border-color: rgba(232, 201, 122, 0.35);
}

/* High Converting PayPal Button */
.btn-paypal-submit {
    margin-top: 0.75rem;
    width: 100%;
    height: 52px;
    background: linear-gradient(180deg, #ffc439 0%, #f6b112 100%);
    border: none;
    border-radius: var(--srv-radius-md);
    color: #001c3d;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 20px -5px rgba(246, 177, 18, 0.4);
    transition: all 0.2s ease;
}

.btn-paypal-submit:hover {
    background: linear-gradient(180deg, #ffd166 0%, #ffbe26 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 25px -5px rgba(246, 177, 18, 0.5);
}

.btn-paypal-submit:active {
    transform: translateY(0);
    box-shadow: 0 6px 15px -4px rgba(246, 177, 18, 0.4);
}

.btn-paypal-submit:disabled,
.btn-paypal-submit[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    background: #334155;
    color: #94a3b8;
    box-shadow: none;
    transform: none;
}

.paypal-svg-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.checkout-security-guarantee {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.security-note {
    font-size: 0.75rem;
    color: var(--srv-text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.security-note svg {
    width: 14px;
    height: 14px;
    fill: var(--srv-success);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.service-footer {
    width: 100%;
    padding: 2rem 1.5rem;
    background: rgba(7, 10, 18, 0.95);
    border-top: 1px solid var(--srv-border);
    text-align: center;
    font-size: 0.82rem;
    color: var(--srv-text-muted);
}

.service-footer a {
    color: var(--srv-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.service-footer a:hover {
    text-decoration: underline;
    color: var(--srv-accent-hover);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE PERFECTION)
   ========================================================================== */
@media (max-width: 900px) {
    .service-layout-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .service-card-checkout {
        order: 1; /* Keep checkout prominent on mobile */
    }

    .service-card-info {
        order: 2;
        padding: 1.75rem;
    }

    .service-card-checkout {
        padding: 1.75rem;
    }
}

@media (max-width: 600px) {
    .service-main {
        padding: 1rem 1rem 2.5rem;
    }

    .service-header-content {
        padding: 0.85rem 1rem;
    }

    .service-logo {
        font-size: 1.5rem;
    }

    .service-header-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }

    .service-hero {
        margin-bottom: 1.75rem;
    }

    .service-hero-title {
        font-size: 1.75rem;
    }

    .service-hero-subtitle {
        font-size: 0.92rem;
    }

    .service-trust-bar {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .trust-item {
        display: flex;
        align-items: center;
        gap: 10px;
        text-align: left;
        padding: 0.65rem 1rem;
    }

    .trust-item svg {
        margin-bottom: 0;
    }

    .ad-top-wrapper {
        margin-bottom: 1.25rem;
    }
}
