/* Official Aura Digital Tech logo: compact header display */
.cms-logo-image {
    display: block;
    width: 160px;
    max-width: 160px;
    max-height: 46px;
    height: auto;
    object-fit: contain;
}
.cms-featured-image,
.cms-card-image {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    display: block;
}
.blog-card .cms-card-image,
.portfolio-card .cms-card-image {
    aspect-ratio: 16/10;
    min-height: 0;
}
.cms-not-found {
    min-height: 62vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    padding-block: 100px;
}
.cms-not-found h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
    margin: 0;
}
.cms-not-found p {
    font-size: 1.08rem;
    max-width: 620px;
}
.nav a.active {
    color: var(--cms-primary);
}
.content-block-video {
    width: 100%;
    aspect-ratio: 16/9;
    border: 0;
    border-radius: 22px;
}
.content-block-image {
    width: 100%;
    height: auto;
    border-radius: 22px;
}
.cms-custom-section {
    padding: 70px 0;
}
.cms-custom-section > .shell {
    display: grid;
    gap: 20px;
}

/* Readable public typography */
body {
    font-size: 16px;
}
.nav a {
    font-size: 16px;
    font-weight: 650;
}
.footer a {
    font-size: 15px;
}
.footer p,
.footer-bottom {
    font-size: 16px;
    line-height: 1.7;
}
p,
.section-heading > p,
.hero-copy > p,
.trust-head > p,
.growth-stack-grid p,
.reasons-grid p,
.service-card p,
.included-grid p,
.detail-process-grid p,
.related-grid p,
.mvv-grid p,
.blog-card p,
.portfolio-card p,
.article-body p,
.article-body li,
.related-blog-grid p,
.featured-post p,
.newsletter p,
.cta-band p,
.contact-grid p {
    font-size: 17px;
    line-height: 1.72;
}
main p {
    font-size: 17px !important;
    line-height: 1.72 !important;
}
main li,
.home-review-card blockquote {
    font-size: 16.5px !important;
    line-height: 1.7 !important;
}
.article-header > p,
.article-lead {
    font-size: 18px !important;
    line-height: 1.75 !important;
}
.metric-card small,
.trust-proof-grid span,
.stat span,
.case-stats .stat span,
.counter-card small {
    font-size: 14px !important;
    line-height: 1.5;
}
.metric-card em {
    font-size: 13px !important;
    line-height: 1.45;
}
.metric-card strong,
.trust-proof-grid strong,
.stat strong,
.counter-card strong {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

/* Editable FAQ accordions */
.faq-section {
    padding-top: 84px;
    padding-bottom: 84px;
}
.faq-list {
    max-width: 900px;
    margin: 38px auto 0;
    display: grid;
    gap: 14px;
}
.faq-list details {
    background: #fff;
    border: 1px solid #e7e3f5;
    border-radius: 18px;
    padding: 0 22px;
    box-shadow: 0 12px 34px rgba(38, 24, 92, 0.06);
}
.faq-list summary {
    cursor: pointer;
    list-style: none;
    font-size: 17px;
    font-weight: 750;
    color: #17142a;
    padding: 22px 38px 22px 0;
    position: relative;
}
.faq-list summary::-webkit-details-marker {
    display: none;
}
.faq-list summary:after {
    content: "+";
    position: absolute;
    right: 2px;
    top: 18px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f2efff;
    color: var(--cms-primary);
    font-size: 21px;
}
.faq-list details[open] summary:after {
    content: "−";
}
.faq-list details p {
    font-size: 16.5px;
    line-height: 1.75;
    color: #55506b;
    padding: 0 38px 22px 0;
    margin: 0;
}
@media (max-width: 760px) {
    .cms-logo-image {
        width: 145px;
        max-width: 145px;
        max-height: 42px;
    }
    .nav a {
        font-size: 16px;
    }
    p,
    .section-heading > p,
    .hero-copy > p,
    .service-card p,
    .article-body p,
    .article-body li {
        font-size: 16px;
    }
    .faq-section {
        padding-top: 62px;
        padding-bottom: 62px;
    }
    .faq-list summary {
        font-size: 16px;
    }
}

/* Portfolio website previews */
.portfolio-card .cms-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #eee9ff, #f8f6ff);
    object-fit: cover;
    object-position: top center;
}
.portfolio-client {
    display: block;
    color: #7a748d;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    margin-top: 8px;
}
.portfolio-client b {
    color: var(--navy);
}

/* The source stylesheet ends with desktop contact rules, so these final rules
   intentionally live here (cms.css loads last) to keep phones one-column. */
.contact-layout,
.contact-layout > * {
    max-width: 100%;
}
.contact-form {
    box-sizing: border-box;
}
@media (max-width: 920px) {
    .contact-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 30px !important;
    }
    .contact-layout > * {
        min-width: 0;
        width: 100%;
    }
    .contact-form {
        width: 100%;
        max-width: none;
    }
    .contact-cards {
        grid-template-columns: 1fr 1fr !important;
    }
}
@media (max-width: 620px) {
    .shell {
        width: min(100% - 28px, 1400px);
    }
    .site-header {
        height: 74px;
        margin-top: 12px;
        padding: 0 16px;
        top: 8px;
    }
    .contact-layout {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
    }
    .contact-intro h1 {
        font-size: clamp(39px, 13vw, 54px) !important;
        line-height: 1.08 !important;
    }
    .contact-intro > p {
        max-width: none;
    }
    .contact-form {
        padding: 24px 18px !important;
        border-radius: 18px;
    }
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        min-width: 0;
        width: 100%;
    }
    .contact-cards {
        grid-template-columns: 1fr !important;
    }
    .contact-cards article {
        padding: 17px;
    }
    .floating-contacts {
        right: 12px;
        bottom: 12px;
    }
    .floating-contact,
    .floating-contacts .floating-contact {
        width: 48px !important;
        height: 48px !important;
    }
    .floating-contact svg {
        width: 24px;
        height: 24px;
    }
    .portfolio-client {
        font-size: 13px;
    }
}

/* Responsive media, service requirements and editable Services mega menu */
img {
    max-width: 100%;
    height: auto;
}
.secondary-email {
    overflow-wrap: anywhere;
}
.nav-dropdown {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}
.nav-dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}
.nav-chevron {
    font-size: 17px;
    transition: transform 0.2s ease;
}
.services-dropdown {
    position: absolute;
    z-index: 50;
    left: 50%;
    top: calc(100% - 4px);
    width: min(920px, calc(100vw - 48px));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e7e3f5;
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(23, 20, 42, 0.17);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}
.nav-dropdown:hover .services-dropdown,
.nav-dropdown:focus-within .services-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
    transform: rotate(180deg);
}
.services-dropdown-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
}
.services-dropdown-group strong {
    color: var(--navy);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px 10px;
}
.services-dropdown-group a {
    display: block !important;
    height: auto !important;
    padding: 8px 10px !important;
    border-radius: 10px;
    color: #565067 !important;
    font-size: 13.5px !important;
    font-weight: 650 !important;
    line-height: 1.25;
    white-space: normal;
}
.services-dropdown-group a:hover,
.services-dropdown-group a.active {
    background: #f2efff;
    color: var(--cms-primary) !important;
}
.service-requirements {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}
.service-requirements-media {
    min-width: 0;
}
.service-requirements-media img {
    display: block;
    width: 100%;
    height: clamp(250px, 27vw, 370px);
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 22px 54px rgba(29, 20, 68, 0.12);
}
.service-requirements-copy > p {
    max-width: 760px;
}
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}
.requirements-grid article {
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e7e3f5;
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(38, 24, 92, 0.05);
}
.requirements-grid small {
    display: block;
    margin-bottom: 8px;
    color: var(--cms-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}
.requirements-grid h3 {
    margin: 0 0 14px;
    font-size: 20px;
}
.requirements-grid ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.requirements-grid li {
    position: relative;
    padding-left: 22px;
    font-size: 15px !important;
    line-height: 1.55 !important;
    color: #5a5469;
}
.requirements-grid li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--cms-primary);
    font-weight: 900;
}
.cms-team-photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center top;
    border-radius: inherit;
    background: none !important;
}
.portfolio-card .cms-card-image {
    height: 220px !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: cover;
    object-position: top center;
}
.blog-card .cms-card-image {
    max-height: 240px;
}
.contact-form,
.contact-form label,
.contact-form input,
.contact-form select,
.contact-form textarea {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 920px) {
    .nav {
        max-height: calc(100vh - 112px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .nav-dropdown {
        height: auto;
        display: block;
        width: 100%;
    }
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
    .services-dropdown {
        position: static;
        width: auto;
        display: none;
        grid-template-columns: 1fr;
        gap: 2px;
        margin: 2px 8px 10px;
        padding: 8px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        border-radius: 16px;
        box-shadow: none;
        background: #f8f6ff;
    }
    .nav-dropdown:hover .services-dropdown,
    .nav-dropdown:focus-within .services-dropdown {
        transform: none;
    }
    .nav-dropdown.dropdown-open .services-dropdown {
        display: grid;
    }
    .nav-dropdown.dropdown-open .nav-chevron {
        transform: rotate(180deg);
    }
    .services-dropdown-group {
        padding: 4px;
    }
    .services-dropdown-group strong {
        padding: 8px 10px 5px;
    }
    .services-dropdown-group a {
        padding: 9px 10px !important;
    }
    .service-requirements {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .service-requirements-media {
        width: min(620px, 100%);
        margin-inline: auto;
    }
    .service-requirements-media img {
        height: clamp(230px, 55vw, 340px);
    }
    .requirements-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 620px) {
    .service-requirements {
        gap: 24px;
    }
    .service-requirements-media {
        width: 100%;
    }
    .service-requirements-media img {
        height: 220px;
        border-radius: 18px;
    }
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .requirements-grid article {
        padding: 20px 18px;
    }
    .requirements-grid h3 {
        font-size: 19px;
    }
    .requirements-grid li {
        font-size: 15.5px !important;
    }
    .portfolio-card .cms-card-image {
        height: 185px !important;
    }
    .blog-card .cms-card-image {
        max-height: 205px;
    }
    .nav {
        padding-bottom: 18px;
    }
    .services-dropdown-group a {
        font-size: 14px !important;
    }
}

/* v2.4: centered responsive founder hero and consistent compact cards */
.home-hero .hero-visual {
    isolation: isolate;
}
.home-hero .hero-orb,
.home-hero .hero-visual > img {
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}
.home-hero .hero-orb {
    width: clamp(430px, 39vw, 520px);
    height: clamp(430px, 39vw, 520px);
}
.home-hero .hero-visual > img {
    width: auto !important;
    height: clamp(520px, 44vw, 590px) !important;
    max-width: min(100%, 520px) !important;
    object-position: center bottom !important;
}
.home-hero .leads {
    left: 0 !important;
}
.home-hero .traffic {
    right: 0 !important;
}
.home-hero .roi {
    right: 0 !important;
}
.home-hero .rating {
    left: 0 !important;
}

.services-grid,
.values-grid,
.growth-stack-grid,
.reasons-grid,
.seo-overview-grid,
.seo-module-grid,
.requirements-grid,
.included-grid,
.detail-process-grid,
.related-grid,
.mvv-grid,
.delivery,
.portfolio-grid,
.blog-grid,
.reviews-grid,
.contact-cards,
.team-grid {
    align-items: stretch;
}

.services-grid {
    grid-auto-rows: 1fr;
}
.services-grid .service-card {
    min-height: 0 !important;
    height: 100%;
    padding: 22px !important;
    gap: 14px;
}
.service-card > div {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-card h3 {
    margin: 5px 0 9px !important;
    font-size: 17px !important;
    line-height: 1.3;
}
.service-card p {
    margin-bottom: 14px !important;
    font-size: 16px !important;
    line-height: 1.58 !important;
}
.service-card .text-link {
    margin-top: auto;
}

.values-grid .value-card,
.values-grid article,
.growth-stack-grid article,
.reasons-grid article,
.seo-overview-grid > a,
.seo-module-grid article,
.requirements-grid article,
.included-grid article,
.detail-process-grid article,
.related-grid > a,
.mvv-grid article,
.delivery article,
.portfolio-card,
.blog-card,
.reviews-grid > article,
.contact-cards article,
.team-card {
    height: 100%;
    box-sizing: border-box;
}

.values-grid .value-card,
.values-grid article,
.growth-stack-grid article,
.reasons-grid article,
.seo-module-grid article,
.mvv-grid article,
.reviews-grid > article {
    min-height: 0 !important;
    padding: 24px !important;
}
.seo-overview-grid > a,
.requirements-grid article,
.included-grid article,
.detail-process-grid article,
.related-grid > a,
.delivery article {
    min-height: 0 !important;
    padding: 22px !important;
}
.portfolio-card,
.blog-card {
    display: flex;
    flex-direction: column;
}
.portfolio-card .card-body,
.blog-card .card-body {
    height: 100%;
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
}
.portfolio-card .project-link,
.blog-card .text-link {
    margin-top: auto;
}
.reviews-grid > article {
    display: flex;
    flex-direction: column;
}
.reviews-grid blockquote {
    min-height: 0 !important;
    flex: 1;
}

.team-grid {
    grid-auto-rows: 1fr;
}
.team-card {
    display: flex;
    flex-direction: column;
    padding: 14px !important;
}
.team-card .team-photo,
.team-card .cms-team-photo {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1/1 !important;
    flex: 0 0 auto;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 12px;
}
.team-card h3 {
    margin: 12px 3px 4px;
}
.team-card p {
    margin: 8px 3px 0 !important;
    line-height: 1.55 !important;
}

@media (max-width: 1180px) {
    .home-hero .hero-visual > img {
        height: clamp(500px, 46vw, 550px) !important;
    }
    .home-hero .metric-card {
        max-width: 165px;
    }
}

@media (max-width: 1120px) {
    .home-hero {
        grid-template-columns: 1fr;
        padding-top: 35px;
    }
    .home-hero .hero-copy {
        max-width: 820px;
    }
    .home-hero .hero-visual {
        min-height: 545px;
    }
    .home-hero .hero-orb {
        width: 430px;
        height: 430px;
        top: 72px;
    }
    .home-hero .hero-visual > img {
        height: 520px !important;
        max-width: min(100%, 470px) !important;
    }
    .home-hero .leads {
        left: 3% !important;
    }
    .home-hero .traffic {
        right: 3% !important;
    }
    .home-hero .roi {
        right: 3% !important;
    }
    .home-hero .rating {
        left: 3% !important;
    }
}

@media (max-width: 920px) {
    .home-hero .hero-visual {
        min-height: 545px;
    }
    .home-hero .hero-orb {
        width: 430px;
        height: 430px;
        top: 72px;
    }
    .home-hero .hero-visual > img {
        height: 520px !important;
        max-width: min(100%, 470px) !important;
    }
    .home-hero .leads {
        left: 3% !important;
    }
    .home-hero .traffic {
        right: 3% !important;
    }
    .home-hero .roi {
        right: 3% !important;
    }
    .home-hero .rating {
        left: 3% !important;
    }
    .services-grid {
        grid-auto-rows: 1fr;
    }
}

@media (max-width: 620px) {
    .home-hero .hero-visual {
        min-height: 470px;
    }
    .home-hero .hero-orb {
        width: min(330px, 90vw);
        height: min(330px, 90vw);
        top: 78px;
    }
    .home-hero .hero-visual > img {
        height: 445px !important;
        max-width: 94% !important;
    }
    .home-hero .metric-card {
        min-width: 108px;
        max-width: 126px;
        padding: 11px !important;
        gap: 4px;
    }
    .home-hero .metric-card small {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
    .home-hero .metric-card strong {
        font-size: 20px !important;
    }
    .home-hero .leads {
        top: 175px;
        left: 0 !important;
    }
    .home-hero .traffic {
        top: 64px;
        right: 0 !important;
    }
    .home-hero .roi {
        top: 276px;
        right: 0 !important;
    }
    .home-hero .rating {
        bottom: 4px;
        left: 0 !important;
    }
    .services-grid {
        grid-auto-rows: auto;
    }
    .services-grid .service-card {
        height: auto;
        padding: 20px 18px !important;
    }
    .service-card p {
        font-size: 16px !important;
        line-height: 1.55 !important;
    }
    .values-grid .value-card,
    .values-grid article,
    .growth-stack-grid article,
    .reasons-grid article,
    .seo-module-grid article,
    .mvv-grid article,
    .reviews-grid > article {
        padding: 21px 18px !important;
    }
    .seo-overview-grid > a,
    .requirements-grid article,
    .included-grid article,
    .detail-process-grid article,
    .related-grid > a,
    .delivery article {
        padding: 20px 18px !important;
    }
    .team-grid {
        grid-auto-rows: auto;
    }
    .team-card {
        height: auto;
    }
    .portfolio-card .card-body,
    .blog-card .card-body {
        padding: 18px;
    }
}
