/* ============================================
   Company Registration — Page CSS
   cisregistration.co.uk/services/company-registration/
   
   Matches Tax2U design language:
   - Inter font family
   - Primary blue: #1B75BC
   - Cyan accent: #00AEEF
   - Dark navy: #0F172A
   - Success green: #22C55E
   - Light bg: #F8FAFD
   ============================================ */

/* --- Reset / Base --- */
*, *::before, *::after { box-sizing: border-box; }

.cr-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.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;
}

.cr-skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #1B75BC;
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    z-index: 9999;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}
.cr-skip-link:focus { top: 0; }

body { font-family: 'Inter', sans-serif; }

/* --- Section Base --- */
.cr-section {
    padding: 64px 0;
}
.cr-section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
.cr-section__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1B75BC;
    background: #DDF0FF;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.cr-section__title {
    font-size: 32px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 12px;
    line-height: 1.2;
}
.cr-section__subtitle {
    font-size: 17px;
    color: #64748B;
    margin: 0;
    line-height: 1.5;
}

/* --- Buttons --- */
.cr-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease;
    line-height: 1.4;
}
.cr-btn--primary {
    background: #00AEEF;
    color: #fff;
}
.cr-btn--primary:hover {
    background: #0096cc;
    color: #fff;
}
.cr-btn--outline {
    background: transparent;
    color: #00AEEF;
    border: 2px solid #00AEEF;
}
.cr-btn--outline:hover {
    background: #00AEEF;
    color: #fff;
}
.cr-btn--white {
    background: #fff;
    color: #00AEEF;
}
.cr-btn--white:hover {
    background: #f0f8ff;
}
.cr-btn--lg { font-size: 17px; padding: 16px 36px; border-radius: 100px; }
.cr-btn--block { width: 100%; justify-content: center; }
.cr-btn--sm { font-size: 13px; padding: 8px 16px; border-radius: 100px; }

/* --- Hero (matches Tax2U standard hero pattern) --- */
.cr-hero {
    background-color: #DDF0FF;
    padding: 0;
    position: relative;
    overflow: hidden;
}
.cr-hero__inner {
    padding: 30px 0 54px 0;
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
.cr-hero__content {
    flex: 0 0 58%;
    padding-right: 30px;
}
.cr-hero__form-side {
    flex: 0 0 42%;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

/* Hero left content */
.cr-hero__title {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.15px;
    text-align: left;
    color: #1B75BC;
    margin: 0 0 15px;
}
.cr-text-highlight { color: #00AEEF; }
.cr-hero__subtitle {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.42;
    letter-spacing: -0.13px;
    text-align: left;
    color: #040404;
    margin: 0 0 25px;
}
.cr-hero__subtitle strong { color: #1B75BC; }

/* Hero feature list (matches Tax2U utr-features) */
.cr-hero__features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.cr-hero__features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #040404;
}
.cr-hero__features li i {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #1B75BC;
    font-size: 18px;
}

/* Hero CTA button (matches Tax2U dynamowebs-home-banner-btn) */
.cr-hero__cta {
    width: 100%;
    max-width: 261px;
    padding-top: 5px;
}
.cr-hero__cta .cr-btn {
    width: 100%;
    max-height: 56px;
    align-items: center;
    gap: 10px;
    padding: 17px 20px;
    border-radius: 100px;
    background-color: #00AEEF;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    justify-content: center;
}
.cr-hero__cta .cr-btn:hover {
    background-color: #0096cc;
    color: #fff;
}

/* Hero right — search card (matches Tax2U utr-form-box) */
.cr-hero__search-card {
    min-height: auto;
    position: relative;
    z-index: 2;
    border-radius: 16px;
    padding: 22px;
    width: 100%;
    max-width: 423px;
    box-shadow: 0 0 24px 0 #abcfea;
    background-color: #f2f5fb;
    display: flex;
    flex-direction: column;
}
.cr-hero__search-card h2 {
    text-align: center;
    color: #040404;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.15px;
    margin: 0 0 20px;
}
.cr-hero__search-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.cr-hero__search-input-wrapper input {
    height: 56px;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #c8d9f1;
    background-color: #fff;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #040404;
    outline: none;
    margin-bottom: 12px;
    width: 100%;
}
.cr-hero__search-input-wrapper input:focus {
    border: 1px solid #37bbf0;
}
.cr-hero__search-input-wrapper input::placeholder { color: #7a757d; font-weight: 500; }
.cr-hero__search-btn {
    height: 56px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    border-radius: 100px;
    border: none;
    background-color: #00AEEF;
    margin-top: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: 'Inter', sans-serif;
}
.cr-hero__search-btn:hover { background-color: #0096cc; }
.cr-hero__search-btn:disabled { background-color: #64c9ee; }

.cr-hero__search-trust {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 13px;
    color: #64748B;
}
.cr-hero__search-trust i { color: #22C55E; margin-right: 3px; }

/* Trustpilot widget inside hero card */
.cr-hero__trustpilot {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #dde5f0;
    text-align: center;
}
.cr-hero__trustpilot-stars {
    color: #00B67A;
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.cr-hero__trustpilot-text {
    font-size: 13px;
    color: #64748B;
    margin: 0 0 10px;
}
.cr-hero__trustpilot-link img {
    height: 18px;
    width: auto;
}

/* Hero trust strip below */
.cr-hero__trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    padding: 20px 0;
    background: #fff;
    border-top: 1px solid #E2E8F0;
}
.cr-hero__trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
}
.cr-hero__trust-number {
    font-size: 28px;
    font-weight: 800;
    color: #1B75BC;
}
.cr-hero__trust-label {
    font-size: 13px;
    color: #64748B;
    margin-top: 2px;
}
.cr-hero__trust-divider {
    width: 1px;
    height: 36px;
    background: #E2E8F0;
}

/* Search result inside hero card */
.cr-search-result {
    margin-top: 12px;
    background: #fff;
    border: 1px solid #c8d9f1;
    border-radius: 8px;
    padding: 16px 18px;
    text-align: left;
}
.cr-search-result--available {
    border-color: #22C55E;
    background: #F0FDF4;
}
.cr-search-result--taken {
    border-color: #dc2626;
    background: #FEF2F2;
}
.cr-search-result--error {
    border-color: #f59e0b;
    background: #FFFBEB;
}
.cr-search-result__icon {
    display: inline-block;
    color: #22C55E;
    font-size: 20px;
    margin-right: 8px;
    vertical-align: middle;
}
/* Red icon for taken/error — use !important to override base green */
.cr-search-result--taken .cr-search-result__icon,
.cr-search-result__icon--error {
    color: #dc2626 !important;
}
.cr-search-result--error .cr-search-result__icon {
    color: #f59e0b !important;
}
.cr-search-result__text {
    display: inline;
    color: #0F172A;
    font-size: 15px;
    font-weight: 700;
    vertical-align: middle;
}
.cr-search-result__company {
    font-size: 14px;
    color: #334156;
    margin-top: 8px;
    font-weight: 500;
}
.cr-search-result__suggestions-title {
    font-size: 13px;
    color: #334156;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 6px;
}
.cr-search-result__suggestions-title + ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cr-search-result__suggestions-title + ul li {
    font-size: 13px;
    color: #1B75BC;
    padding: 4px 0;
    cursor: pointer;
    font-weight: 500;
}
.cr-search-result__suggestions-title + ul li:hover {
    text-decoration: underline;
}
.cr-search-result__actions {
    margin-top: 12px;
}
.cr-btn--sm {
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 100px;
}
.cr-search-result__note {
    font-size: 12px;
    color: #64748B;
    margin-top: 6px;
}

/* --- How It Works --- */
.cr-how-it-works { background: #F8FAFD; }
.cr-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.cr-step {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    position: relative;
    border: 1px solid #E2E8F0;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cr-step:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.cr-step__number {
    position: absolute;
    top: -16px; left: 50%;
    transform: translateX(-50%);
    width: 32px; height: 32px;
    background: #1B75BC;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}
.cr-step__icon {
    font-size: 32px;
    color: #1B75BC;
    margin-bottom: 16px;
    margin-top: 8px;
}
.cr-step__title {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 8px;
}
.cr-step__text {
    font-size: 14px;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}

/* --- What's Included --- */
.cr-included__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cr-included__item {
    text-align: center;
    padding: 32px 24px;
    border-radius: 12px;
    background: #F8FAFD;
    border: 1px solid #E2E8F0;
}
.cr-included__icon {
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: #DDF0FF;
    border-radius: 12px;
    font-size: 24px;
    color: #1B75BC;
}
.cr-included__item h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 8px;
}
.cr-included__item p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}

/* --- Pricing --- */
.cr-pricing { background: #F8FAFD; }
.cr-pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
}
.cr-pricing__card {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    text-align: center;
    border: 2px solid #E2E8F0;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.cr-pricing__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.cr-pricing__card--featured {
    border-color: #00AEEF;
    border-width: 2px;
    box-shadow: 0 4px 24px rgba(0,174,239,0.15);
}
.cr-pricing__card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #00AEEF;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    z-index: 1;
    white-space: nowrap;
}
.cr-pricing__card-header {
    padding: 32px 24px 16px;
    border-bottom: 1px solid #E2E8F0;
}
.cr-pricing__card-name {
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 12px;
}
.cr-pricing__card-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}
.cr-pricing__card-price-symbol { font-size: 22px; font-weight: 600; color: #0F172A; }
.cr-pricing__card-price-amount { font-size: 48px; font-weight: 800; color: #0F172A; }
.cr-pricing__card-price-decimal { font-size: 20px; font-weight: 600; color: #0F172A; }
.cr-pricing__card-tagline {
    font-size: 14px;
    color: #64748B;
    margin: 8px 0 0;
}
.cr-pricing__card-features {
    list-style: none;
    padding: 24px;
    margin: 0;
    text-align: left;
    flex: 1;
}
.cr-pricing__card-features li {
    font-size: 14px;
    color: #334156;
    padding: 8px 0;
    border-bottom: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cr-pricing__card-features li:last-child { border-bottom: none; }
.cr-pricing__card-features li i { color: #22C55E; font-size: 14px; }
.cr-pricing__card .cr-btn { margin: 0 24px 24px; width: auto; }

.cr-pricing__trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 32px;
    font-size: 14px;
    color: #64748B;
}
.cr-pricing__trust i { color: #00AEEF; margin-right: 4px; }

/* --- Add-ons --- */
.cr-addons__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.cr-addons__item {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 24px;
    transition: box-shadow 0.2s ease;
}
.cr-addons__item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.cr-addons__item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.cr-addons__item-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}
.cr-addons__price {
    font-size: 18px;
    font-weight: 700;
    color: #1B75BC;
    white-space: nowrap;
}
.cr-addons__item p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}

/* --- Why Us --- */
.cr-why-us { background: #F8FAFD; }
.cr-why-us__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.cr-why-us__item {
    text-align: center;
}
.cr-why-us__icon {
    width: 64px; height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 50%;
    font-size: 28px;
    color: #1B75BC;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.cr-why-us__item h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 8px;
}
.cr-why-us__item p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}

/* --- FAQ --- */
.cr-faq__list {
    max-width: 800px;
    margin: 0 auto;
}
.cr-faq__item {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}
.cr-faq__item summary {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #0F172A;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.15s ease;
}
.cr-faq__item summary::-webkit-details-marker { display: none; }
.cr-faq__item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    color: #64748B;
    transition: transform 0.2s ease;
}
.cr-faq__item[open] summary::after { transform: rotate(180deg); }
.cr-faq__item summary:hover { background: #F8FAFD; }
.cr-faq__answer {
    padding: 0 24px 20px;
}
.cr-faq__answer p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* --- CTA Section --- */
.cr-cta {
    background: linear-gradient(135deg, #1B75BC 0%, #0F172A 100%);
    padding: 64px 0;
    text-align: center;
}
.cr-cta__inner { max-width: 640px; margin: 0 auto; }
.cr-cta__title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}
.cr-cta__subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin: 0 0 32px;
}
.cr-cta__note {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin: 20px 0 0;
}
.cr-cta__note i { color: #00AEEF; margin: 0 2px 0 0; }

/* --- Pricing card selected state --- */
.cr-pricing__card--selected {
    border-color: #22C55E !important;
    box-shadow: 0 4px 24px rgba(34,197,94,0.2) !important;
}
.cr-btn--selected {
    background: #22C55E !important;
    color: #fff !important;
    border-color: #22C55E !important;
}

/* --- Breadcrumb --- */
.cr-breadcrumb {
    background: #F8FAFD;
    padding: 12px 0;
    border-bottom: 1px solid #E2E8F0;
}
.cr-breadcrumb ol {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.cr-breadcrumb li a {
    color: #1B75BC;
    text-decoration: none;
}
.cr-breadcrumb li a:hover { text-decoration: underline; }
.cr-breadcrumb li:not(:last-child)::after {
    content: '›';
    color: #99A6B2;
    margin-left: 8px;
}
.cr-breadcrumb li[aria-current="page"] {
    color: #64748B;
    font-weight: 500;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .cr-steps { grid-template-columns: repeat(2, 1fr); }
    .cr-included__grid { grid-template-columns: repeat(2, 1fr); }
    .cr-pricing__grid { grid-template-columns: 1fr; max-width: 480px; }
    .cr-addons__grid { grid-template-columns: repeat(2, 1fr); }
    .cr-why-us__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .cr-section { padding: 48px 0; }
    .cr-section__title { font-size: 26px; }
    .cr-hero__title { font-size: 30px; }
    .cr-hero__subtitle { font-size: 21px; }
    .cr-hero__inner { padding: 20px 20px 40px; }
    .cr-hero__content { flex: 0 0 100%; padding-right: 0; }
    .cr-hero__form-side { flex: 0 0 100%; margin-top: 20px; justify-content: center; }
    .cr-hero__search-card { position: unset; max-width: 100%; }
    .cr-hero__cta { margin: 0 auto; }
    .cr-hero__features li { padding-bottom: 10px; }
    .cr-cta__title { font-size: 26px; }
}

@media (max-width: 480px) {
    .cr-steps { grid-template-columns: 1fr; }
    .cr-included__grid { grid-template-columns: 1fr; }
    .cr-addons__grid { grid-template-columns: 1fr; }
    .cr-why-us__grid { grid-template-columns: 1fr; }
    .cr-hero__search-help {
        flex-direction: column;
        gap: 4px;
    }
}
