/* ==========================================================
   DOCTO Clinic — Website Stylesheet
   ========================================================== */
:root {
    --brand: #e20e16;
    --brand-dark: #b3060d;
    --brand-darker: #8c0009;
    --brand-light: #fff2f2;
    --brand-pale: #fdeaea;
    --ink: #1c1c1c;
    --muted: #6b7280;
    --teal: #12a3b0;
    --purple: #6f42c1;
    --magenta: #e6007e;
    --crimson: #c9184a;
    --orange: #f2994a;
    --yellow: #e8b923;
    --green: #219653;
    --blue: #2f80ed;
    --border-soft: #f0d9d9;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    line-height: 1.7;
    background: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--ink);
}

a { text-decoration: none; }

img { max-width: 100%; }

.text-brand { color: var(--brand) !important; }
.text-brand-accent { color: var(--brand); }
.bg-brand-light { background: var(--brand-light); }

/* ---------------- Top bar ---------------- */
.top-bar {
    background: var(--brand-darker);
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar-item i { color: #ffb3b3; margin-right: 6px; }

/* ---------------- Navbar ---------------- */
.main-navbar {
    background: #fff;
    padding: 14px 0;
    box-shadow: 0 2px 18px rgba(0,0,0,0.06);
    z-index: 1030;
}
.main-navbar .navbar-brand img { height: 46px; }
.main-navbar .nav-link {
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 14px !important;
    border-radius: 6px;
    transition: all .2s ease;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--brand);
}
.btn-brand {
    background: var(--brand);
    color: #fff !important;
    font-weight: 600;
    padding: 10px 24px !important;
    border-radius: 30px;
    box-shadow: 0 6px 16px rgba(226,14,22,0.3);
    transition: all .25s ease;
    border: none;
}
.btn-brand:hover {
    background: var(--brand-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(226,14,22,0.38);
}
.btn-outline-brand {
    border: 2px solid var(--brand);
    color: var(--brand);
    font-weight: 600;
    padding: 9px 24px;
    border-radius: 30px;
    background: transparent;
    transition: all .25s ease;
    display: inline-block;
}
.btn-outline-brand:hover {
    background: var(--brand);
    color: #fff;
}
.btn-light-brand {
    background: #fff;
    color: var(--brand) !important;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 30px;
    display: inline-block;
    transition: all .25s ease;
}
.btn-light-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

/* ---------------- Hero ---------------- */
.hero {
    position: relative;
    padding: 90px 0 100px;
    background: linear-gradient(180deg, #fff 0%, #fff6f6 100%);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../img/bg-hex.png') no-repeat top right;
    background-size: 60% auto;
    opacity: 0.55;
    pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-pale);
    color: var(--brand);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 2.9rem;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero h1 span { color: var(--brand); }
.hero p.lead {
    color: var(--muted);
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 560px;
}
.hero-logo-card {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(226,14,22,0.15);
    padding: 50px;
    position: relative;
}
.hero-logo-card img { width: 100%; }
.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.hero-stats .stat b {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    color: var(--brand);
}
.hero-stats .stat span {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ---------------- Section basics ---------------- */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-title-wrap { margin-bottom: 50px; }
.eyebrow {
    color: var(--brand);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 10px;
}
.section-title { font-size: 2.1rem; margin-bottom: 14px; }
.section-underline {
    width: 70px;
    height: 4px;
    background: var(--brand);
    border-radius: 4px;
    margin-bottom: 18px;
}
.section-desc { color: var(--muted); font-size: 1.05rem; max-width: 720px; }
.bg-soft { background: #fbfbfc; }
.bg-brand-section {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
}
.bg-brand-section .section-title, .bg-brand-section h2, .bg-brand-section h3 { color: #fff; }

/* ---------------- Feature strip (icon row) ---------------- */
.feature-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}
.feature-pill {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    width: 180px;
    transition: all .25s ease;
}
.feature-pill:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(226,14,22,0.12);
    border-color: transparent;
}
.feature-pill .icon-circle {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--brand-pale);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: var(--brand);
}
.feature-pill h6 { font-size: 0.95rem; margin-bottom: 0; }

/* ---------------- Icon Cards (generic, colored) ---------------- */
.icon-card {
    background: #fff;
    border-radius: 18px;
    padding: 34px 26px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(20,20,43,0.06);
    transition: all .25s ease;
    border-top: 4px solid transparent;
}
.icon-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(20,20,43,0.1); }
.icon-card .num {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    width: 34px; height: 34px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.icon-card .icon-wrap {
    width: 62px; height: 62px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 20px;
}
.icon-card h5 { font-size: 1.1rem; margin-bottom: 10px; }
.icon-card p { color: var(--muted); font-size: 0.93rem; margin-bottom: 0; }

/* color variants cycling */
.clr-1 { background: var(--yellow); }
.clr-2 { background: var(--orange); }
.clr-3 { background: var(--crimson); }
.clr-4 { background: var(--teal); }
.clr-5 { background: var(--brand); }
.clr-6 { background: var(--blue); }
.clr-7 { background: var(--green); }
.clr-8 { background: var(--purple); }
.border-clr-1 { border-top-color: var(--yellow); }
.border-clr-2 { border-top-color: var(--orange); }
.border-clr-3 { border-top-color: var(--crimson); }
.border-clr-4 { border-top-color: var(--teal); }
.border-clr-5 { border-top-color: var(--brand); }
.border-clr-6 { border-top-color: var(--blue); }
.border-clr-7 { border-top-color: var(--green); }
.border-clr-8 { border-top-color: var(--purple); }

/* ---------------- Workflow / timeline ---------------- */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 30px;
}
.workflow-step {
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 20px 14px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 24px rgba(226,14,22,0.25);
}
.workflow-step .step-index {
    position: absolute;
    top: -12px; left: -12px;
    background: #fff;
    color: var(--brand);
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
@media (min-width: 768px) {
    .workflow-row { display: flex; align-items: center; gap: 20px; }
    .workflow-arrow { color: var(--brand); font-size: 1.4rem; flex-shrink: 0; }
}
.workflow-arrow-mobile { text-align: center; color: var(--brand); font-size: 1.3rem; margin: 6px 0; }

/* ---------------- Why choose (columns with arrows) ---------------- */
.why-col .why-box {
    background: var(--brand);
    color: #fff;
    border-radius: 14px;
    padding: 24px 22px;
    text-align: center;
    margin-bottom: 8px;
    box-shadow: 0 10px 24px rgba(226,14,22,0.2);
}
.why-col .why-box h5 { color: #fff; font-size: 1.05rem; margin-bottom: 10px; }
.why-col .why-box p { color: rgba(255,255,255,0.9); font-size: 0.88rem; margin-bottom: 0; }
.why-arrow { text-align: center; color: var(--brand); font-size: 1.3rem; margin: 4px 0 12px; }

/* ---------------- Tech / Security circles ---------------- */
.tech-cluster { display: flex; align-items: center; gap: 0; flex-wrap: wrap; margin-bottom: 40px; }
.tech-circle {
    width: 150px; height: 150px;
    border-radius: 50%;
    border: 5px solid var(--brand);
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--ink);
    background: #fff;
    flex-shrink: 0;
    z-index: 2;
}
.tech-items {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
}
.tech-item {
    flex: 1 1 200px;
    padding: 22px 18px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.tech-item i { font-size: 1.6rem; }

/* ---------------- Comparison table ---------------- */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(20,20,43,0.08);
}
.compare-table thead th {
    padding: 18px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    text-align: left;
}
.compare-table thead th:first-child { background: #9a9a9a; color: #fff; }
.compare-table thead th:last-child { background: var(--brand); color: #fff; }
.compare-table tbody td {
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}
.compare-table tbody td:first-child { background: #f4f4f4; color: #555; }
.compare-table tbody td:last-child { background: var(--brand-pale); color: var(--ink); font-weight: 600; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td:last-child i { color: var(--brand); margin-right: 8px; }

/* ---------------- Pricing ---------------- */
.pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 10px 30px rgba(20,20,43,0.07);
    height: 100%;
    border: 2px solid transparent;
    transition: all .25s ease;
    position: relative;
}
.pricing-card.featured {
    border-color: var(--brand);
    box-shadow: 0 20px 50px rgba(226,14,22,0.18);
    transform: scale(1.03);
}
.pricing-card:hover { transform: translateY(-8px); }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-8px); }
.pricing-badge {
    position: absolute;
    top: -14px; right: 28px;
    background: var(--brand);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.pricing-card h3 { color: var(--brand); font-size: 1.5rem; margin-bottom: 6px; }
.pricing-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    margin: 14px 0 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e2e2e2;
}
.pricing-price small { display: block; font-size: 0.8rem; font-weight: 500; color: var(--muted); margin-top: 4px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 26px; }
.pricing-card ul li {
    padding: 8px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #444;
}
.pricing-card ul li i { color: var(--brand); margin-top: 4px; }

/* ---------------- Challenge tiles ---------------- */
.challenge-tile {
    background: #fff;
    border-radius: 16px;
    padding: 30px 22px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 24px rgba(20,20,43,0.06);
    position: relative;
}
.challenge-tile .hex-num {
    width: 46px; height: 46px;
    margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    color: #fff;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}
.challenge-tile i { font-size: 1.8rem; color: var(--brand); margin-bottom: 14px; display: block; }
.challenge-tile h6 { font-size: 0.98rem; margin-bottom: 0; }

/* ---------------- Screenshots ---------------- */
.screenshot-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(20,20,43,0.1);
    border: 1px solid #f1f1f1;
    height: 100%;
}
.screenshot-card .shot-frame {
    background: #f6f6f8;
    padding: 14px;
    border-bottom: 1px solid #eee;
}
.screenshot-card img {
    width: 100%;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.screenshot-card .shot-caption { padding: 20px 24px 24px; }
.screenshot-card .shot-caption h5 { margin-bottom: 6px; }
.screenshot-card .shot-caption p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0; }

/* ---------------- CTA band ---------------- */
.cta-band {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-darker) 100%);
    color: #fff;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute; inset: 0;
    background: url('../img/bg-hex.png') no-repeat center right;
    background-size: 50% auto;
    opacity: 0.12;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: 2.1rem; }
.cta-band p { font-size: 1.15rem; opacity: 0.95; }
.cta-highlight { color: #ffe14d; font-weight: 800; }

/* ---------------- Vision / Mission ---------------- */
.vm-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 14px 36px rgba(20,20,43,0.07);
    height: 100%;
    border-left: 5px solid var(--brand);
}
.vm-card .vm-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: var(--brand-pale);
    color: var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}
.vm-card h3 { margin-bottom: 16px; }
.vm-card p { color: #4b4b4b; }

/* ---------------- Contact ---------------- */
.contact-info-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 26px rgba(20,20,43,0.06);
    height: 100%;
    text-align: center;
}
.contact-info-card .icon-circle-lg {
    width: 66px; height: 66px;
    border-radius: 50%;
    background: var(--brand-pale);
    color: var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 18px;
}
.contact-map-wrap {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(20,20,43,0.1);
    line-height: 0;
}

/* ---------------- Footer ---------------- */
.site-footer {
    background: #17181c;
    color: #c9c9cf;
    padding: 70px 0 0;
}
.footer-logo-chip {
    background: #fff;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 14px;
}
.footer-logo { height: 40px; display: block; }
.footer-about { font-size: 0.92rem; color: #a3a3ab; margin-bottom: 12px; }
.footer-heading { color: #fff; font-family: 'Poppins', sans-serif; margin-bottom: 20px; font-size: 1.05rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; font-size: 0.92rem; color: #a3a3ab; }
.footer-links a { color: #a3a3ab; transition: color .2s; }
.footer-links a:hover { color: var(--brand); }
.footer-links i { color: var(--brand); margin-right: 8px; }
.footer-divider { border-color: #2c2d33; margin: 0; }
.copyright-text { font-size: 0.85rem; color: #83838b; padding: 22px 0; }

/* ---------------- Page header (inner pages) ---------------- */
.page-header {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-darker) 100%);
    color: #fff;
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-header::before {
    content: "";
    position: absolute; inset: 0;
    background: url('../img/bg-hex.png') no-repeat top right;
    background-size: 45% auto;
    opacity: 0.18;
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: #fff; font-size: 2.4rem; margin-bottom: 12px; }
.page-header p { opacity: 0.95; font-size: 1.05rem; margin-bottom: 0; }
.breadcrumb-nav { font-size: 0.9rem; opacity: 0.9; }
.breadcrumb-nav a { color: #fff; opacity: 0.85; }
.breadcrumb-nav a:hover { opacity: 1; }

/* ---------------- Utilities ---------------- */
.rounded-xl { border-radius: 20px; }
.shadow-soft { box-shadow: 0 14px 36px rgba(20,20,43,0.08); }

@media (max-width: 991px) {
    .hero { padding: 60px 0 70px; text-align: center; }
    .hero p.lead { margin-left: auto; margin-right: auto; }
    .hero-logo-card { margin-top: 40px; }
    .workflow-grid { grid-template-columns: 1fr; }
    .tech-cluster { justify-content: center; }
    .tech-circle { margin: 0 auto 16px; }
}
@media (max-width: 576px) {
    .hero h1 { font-size: 2.1rem; }
    .section { padding: 60px 0; }
}
