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

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #fff;
    scroll-behavior: smooth;
}

.container {
    width: 1620px;
    max-width: 100%;
    margin: auto;
}

@media (max-width: 1630px) {
    .container {
        width: 1300px;
        max-width: 100%;
        margin: auto;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* ── Header (shared site pattern, same as hyva-template.php) ── */
.main-header {
    background: transparent;
    display: flex;
    justify-content: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    position: absolute;
    align-items: center;
    padding: 15px;
    z-index: 2;
}

.logo img {
    height: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1px;
}

.contact-btn {
    background: #353845;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
}

.arrow-btn {
    background: #26E1E7;
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
}

.contact-btn:hover {
    background: #353845;
}

.arrow-btn:hover {
    background: #06b6d4;
}

/* ── Hero ── */
.mag-hero {
    position: relative;
    padding: 130px 0 90px;
    background-image: url('../images/magento-ads/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mag-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,14,31,0.92) 0%, rgba(11,14,31,0.55) 60%, rgba(11,14,31,0.25) 100%);
}

.mag-hero .container {
    position: relative;
    z-index: 1;
    padding: 0 40px;
}

.mag-hero-badge {
    display: inline-block;
    border: 1px solid #fff;
    border-radius: 47px;
    padding: 8px 24px;
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 40px;
}

.mag-hero h1 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 60px;
    line-height: 70px;
    max-width: 975px;
    margin-bottom: 30px;
}

.mag-hero-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.mag-stars {
    display: flex;
    gap: 4px;
}

.mag-stars img {
    width: 25px;
    height: 25px;
}

.mag-rating-text {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 20px;
}

.mag-rating-divider {
    width: 1px;
    height: 23px;
    background: rgba(255, 255, 255, 0.4);
}

.mag-rated-by {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 18px;
}

.mag-hero-desc {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    max-width: 899px;
    margin-bottom: 35px;
}

.mag-hero-trust {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 45px;
}

.mag-hero-trust li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 18px;
}

.mag-hero-trust li img {
    width: 20px;
    height: 20px;
}

.mag-hero-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.mag-badge-card {
    background: #fff;
    color: #4d3c34;
    border-radius: 9px;
    height: 73px;
    display: flex;
    align-items: center;
    gap: 19px;
    padding: 0 20px;
}

.mag-badge-hyva {
    width: 192px;
    justify-content: center;
}

.mag-badge-hyva-mark {
    height: 30px;
}

.mag-badge-magento-mark {
    height: 33px;
}

.mag-badge-card p {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 12.4px;
    line-height: 15px;
    color: #000;
}

.mag-badge-hyva p {
    color: #4d3c34;
}

.mag-badge-divider {
    width: 1px;
    height: 47px;
    background: #d9d9d9;
}

/* ── Section 3a: Client trust strip ── */
.mag-clients {
    background: #fff;
    color: #0b0e1f;
    padding: 60px 0 40px;
    overflow: hidden;
}

.mag-clients-head {
    text-align: center;
    padding: 0 40px;
}

.mag-clients-eyebrow {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.mag-clients-eyebrow strong {
    color: #0b0e1f;
}

.mag-clients-eyebrow {
    color: #F26322;
}

.mag-clients-heading {
    font-weight: 600;
    font-size: 28px;
    color: #0b0e1f;
    margin-bottom: 40px;
}

.mag-logo-slider {
    width: 100%;
    overflow: hidden;
}

.mag-logo-track {
    display: flex;
    gap: 24px;
    width: max-content;
    padding: 0 40px;
}

.mag-logo-slide {
    flex-shrink: 0;
    width: 300px;
    height: 150px;
}

.mag-logo-slide img {
    width: 100%;
    height: 100%;
    display: block;
}

/* ── Section 3b: Agency stats + badges (dark) ── */
.mag-agency {
    position: relative;
    background-image: url('../images/magento-ads/agency-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0d0906;
    color: #fff;
    padding: 80px 0;
    overflow: hidden;
}

.mag-agency .container {
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.mag-agency h2 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 42px;
    line-height: 52px;
    max-width: 1100px;
    margin-bottom: 20px;
}

.mag-agency h2 span {
    color: #F26322;
}

.mag-agency-desc {
    font-size: 18px;
    line-height: 27px;
    max-width: 900px;
    color: #d8d3cf;
    margin-bottom: 40px;
}

.mag-agency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.4fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.mag-stat-card {
    grid-row: 1;
    border: 1px solid #DADCF1;
    border-radius: 20px;
    padding: 28px 24px;
    background: transparent;
}

.mag-stat-card:nth-of-type(1) { grid-column: 1; }
.mag-stat-card:nth-of-type(2) { grid-column: 2; }
.mag-stat-card:nth-of-type(3) { grid-column: 3; }

.mag-stat-card h3 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.mag-stat-card p {
    font-size: 15px;
    color: #d8d3cf;
}

.mag-agency-photo {
    grid-column: 4;
    grid-row: 1 / 3;
    overflow: hidden;
}

.mag-agency-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mag-agency-badges {
    grid-column: 1 / 4;
    grid-row: 2;
    display: flex;
    align-items: stretch;
    gap: 16px;
}

.mag-agency-badge-magento,
.mag-agency-badge-hyva {
    flex: 1;
    padding: 0 24px;
    border: 1.5px solid rgba(242,99,34,0.74);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mag-agency-badge-magento img {
    height: 90px;
    width: auto;
}

.mag-agency-badge-hyva img {
    height: 50px;
    width: auto;
}

/* ── Section 3c: Migrate / Build panel + lead form ── */
.mag-migrate {
    background: #fff;
    color: #0b0e1f;
    padding: 70px 0;
}

.mag-migrate-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    border: 2px solid rgba(255,108,4,0.72);
    border-radius: 55px;
    padding: 60px;
    background: rgba(235,235,235,0.68);
    align-items: center;
}

.mag-migrate-left h2 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 38px;
    line-height: 48px;
    color: #0b0e1f;
    margin-bottom: 24px;
}

.mag-migrate-left h2 span:not(.mag-underline) {
    color: #F26322;
}

.mag-migrate-left h2 .mag-underline {
    background-image: url('../images/magento-ads/underline-stroke.png');
    background-repeat: no-repeat;
    background-position: left bottom 2px;
    background-size: 100% 10px;
}

.mag-migrate-left p {
    font-size: 16px;
    line-height: 26px;
    color: #4a4a4a;
    margin-bottom: 28px;
}

.mag-btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #D95503, #D97E3D);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    padding: 15px 32px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.mag-btn-primary:hover {
    background: #d94f13;
}

.mag-migrate-rating {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mag-migrate-rating .mag-stars img {
    width: 18px;
    height: 18px;
}

.mag-migrate-rating .mag-rating-text,
.mag-migrate-rating .mag-rated-by {
    font-size: 15px;
    font-weight: 600;
    color: #0b0e1f;
}

.mag-migrate-form {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.mag-migrate-form .mag-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #0b0e1f;
    margin-bottom: 6px;
}

.mag-migrate-form .mag-req {
    color: #e0432b;
}

.mag-migrate-form input,
.mag-migrate-form textarea {
    width: 100%;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    padding: 12px 14px;
    font-family: 'Poppins';
    font-size: 14px;
    margin-bottom: 20px;
    color: #0b0e1f;
}

.mag-migrate-form textarea {
    height: 120px;
    resize: vertical;
}

.mag-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mag-form-note {
    font-size: 12px;
    color: #8a8a8a;
    margin: 12px 0 20px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #D95503, #D97E3D);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .5px;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #d94f13;
}

.form-loader {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: mag-spin .6s linear infinite;
}

.submit-btn.loading .form-loader {
    display: inline-block;
}

.submit-btn.loading {
    opacity: .7;
    pointer-events: none;
}

.form-response {
    margin-top: 12px;
    font-size: 14px;
    font-family: 'Poppins';
}

@keyframes mag-spin {
    100% { transform: rotate(360deg); }
}

/* ── Section 4: Explore our Magento Development Services ── */
.mag-services {
    background: #DD6630;
    color: #fff;
    padding: 90px 0;
}

.mag-services .container {
    padding: 0 40px;
}

.mag-services-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
}

.mag-services-eyebrow {
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 25px;
    margin-bottom: 14px;
}

.mag-services-head h2 {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 60px;
    line-height: 67px;
    max-width: 1020px;
}

.mag-services-desc {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    max-width: 504px;
    flex-shrink: 0;
}

.mag-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mag-service-card {
    border: 1px solid rgba(255,255,255,0.41);
    border-radius: 20px;
    padding: 30px;
    min-height: 348px;
}

.mag-service-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    display: block;
}

.mag-service-card h3 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 20px;
}

.mag-service-card p {
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
}

/* ── Section 5: Free Magento Audit CTA banner ── */
.mag-audit-cta {
    background: #fff;
    color: #0b0e1f;
    padding: 90px 0 60px;
}

.mag-audit-cta .container {
    padding: 0 40px;
}

.mag-audit-cta-box {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 70px 50px;
    background: url('../images/magento-ads/audit-box-border.png') no-repeat center;
    background-size: 100% 100%;
}

.mag-audit-cta-box h2 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    color: #0b0e1f;
    margin-bottom: 20px;
}

.mag-underline {
    background-image: url('../images/magento-ads/underline-stroke.png');
    background-repeat: no-repeat;
    background-position: left bottom 2px;
    background-size: 100% 10px;
}

.mag-audit-cta-box p {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 17px;
    line-height: 26px;
    color: #7c7c7c;
    max-width: 620px;
    margin: 0 auto 30px;
}

.mag-audit-form {
    display: flex;
    align-items: center;
    max-width: 620px;
    height: 66px;
    margin: 0 auto;
    background: #f2f2f2;
    border-radius: 50px;
    overflow: hidden;
}

.mag-audit-form input[type="email"] {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 24px;
    font-family: 'Poppins';
    font-size: 15px;
    line-height: 66px;
    color: #0b0e1f;
    outline: none;
}

.mag-audit-form .submit-btn {
    background: linear-gradient(135deg, #F26322, #9D4016);
    white-space: nowrap;
    border-radius: 0;
    height: 100%;
    padding: 0 40px;
    display: inline-flex;
    align-items: center;
}

/* ── Section 6: Case studies ── */
.mag-casestudies {
    background: #fff;
    color: #0b0e1f;
    padding: 70px 0 90px;
}

.mag-casestudies .container {
    padding: 0 40px;
}

.mag-casestudies-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 40px;
}

.mag-casestudies-eyebrow {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 3px;
    color: #0b0e1f;
    margin-bottom: 10px;
}

.mag-casestudies-head h2 {
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 38px;
    line-height: 46px;
    color: #0b0e1f;
    max-width: 620px;
}

.mag-casestudies-head h2 span {
    color: #F26322;
}

.mag-btn-pill {
    display: inline-block;
    flex-shrink: 0;
    background: linear-gradient(135deg, #E95F21, #963D15);
    color: #fff;
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    padding: 16px 30px;
    border-radius: 30px;
}

.mag-casestudies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.mag-case-card {
    border-radius: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mag-case-card:hover {
    transform: translateY(-5px);
}

.mag-case-thumb {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.mag-case-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.mag-case-card:hover .mag-case-thumb img {
    transform: scale(1.04);
}

.mag-case-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    top: 100%;
    background: rgba(242, 99, 34, 0.35);
    transition: top 0.4s ease;
    z-index: 1;
}

.mag-case-card:hover .mag-case-thumb::before {
    top: 0;
}

.mag-case-card h3 {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: #0b0e1f;
    margin-bottom: 14px;
    min-height: 78px;
}

.mag-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #F26322;
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.mag-read-more i {
    font-size: 16px;
    rotate: -30deg;
    transition: transform 0.2s;
}

/* ── Section 7: Get Free Magento Store Audit illustration ── */
.mag-audit-illustration {
    background-image: url('../images/magento-ads/audit-illustration-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #0b0e1f;
    padding: 90px 0;
}

.mag-audit-illustration-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 0 40px;
}

.mag-audit-illustration-text h2 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    margin-bottom: 20px;
}

.mag-audit-illustration-text h2 span {
    color: #F26322;
}

.mag-audit-illustration-text p {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #2b2b2b;
    max-width: 480px;
    margin-bottom: 30px;
}

.mag-audit-illustration-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Section 8: Enterprise Magento Businesses We Served ── */
.mag-enterprise {
    background: #fff;
    color: #0b0e1f;
    padding: 80px 0 60px;
    overflow: hidden;
}

.mag-enterprise-head {
    text-align: center;
    padding: 0 40px;
    margin-bottom: 50px;
}

.mag-enterprise-head h2 {
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 36px;
    margin-bottom: 16px;
}

.mag-enterprise-head h2 span {
    color: #F26322;
}

.mag-enterprise-head p {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #3a3a3a;
    max-width: 780px;
    margin: 0 auto;
}

/* ── Section 9: Our Magento development process ── */
.mag-process {
    position: relative;
    background-image: url('../images/magento-ads/process-section-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #07090a;
    color: #fff;
    padding: 80px 0;
    overflow: hidden;
}

.mag-process-head {
    padding: 0 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.mag-process-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: start;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.mag-process-head h2 {
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 14px;
}

.mag-process-head h2 span {
    color: #F26322;
}

.mag-process-sub {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 15px;
    color: #d8d3cf;
    margin-bottom: 0;
}

.mag-process-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mag-process-step {
    background: #fff;
    border-radius: 28px;
    color: #0b0e1f;
    overflow: hidden;
}

.mag-process-step-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    cursor: pointer;
}

.mag-step-num {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 13px;
    color: #0b0e1f;
}

.mag-step-num-badge {
    background: #F26322;
    color: #fff;
    padding: 6px 12px;
}
.mag-step-num-white {
     padding: 6px 12px;
}

.mag-step-label {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 17px;
    flex: 1;
}

.mag-step-icon {
    position: relative;
    width: 15px;
    flex-shrink: 0;
    color: #F26322;
    font-size: 15px;
}

.mag-step-icon .icon-close {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.mag-process-step.open .mag-step-icon .icon-plus {
    display: none;
}

.mag-process-step.open .mag-step-icon .icon-close {
    display: inline-block;
}

.mag-process-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mag-process-answer-inner {
    padding: 0 24px 20px 74px;
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 14px;
    line-height: 23px;
    color: #6b6b6b;
}

.mag-process-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* ── Section 10: What Actually Changed After We Shipped ── */
.mag-caseresult {
    background: #fff;
    color: #0b0e1f;
    padding: 80px 0 90px;
}

.mag-caseresult .container {
    padding: 0 40px;
}

.mag-caseresult-head {
    text-align: center;
    margin-bottom: 50px;
}

.mag-caseresult-head h2 {
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 38px;
    margin-bottom: 14px;
}

.mag-caseresult-head h2 span {
    color: #F26322;
}

.mag-caseresult-head p {
    font-family: 'Poppins';
    font-size: 16px;
    color: #3a3a3a;
}

.mag-caseresult-box {
    position: relative;
    max-width: 1519px;
    margin: 0 auto;
    background: radial-gradient(circle at 90% 10%, #7a2c0f 0%, transparent 55%), #0a0705;
    border-radius: 30px;
    overflow: hidden;
}

.mag-caseresult-swiper {
    position: relative;
}

.mag-caseresult-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.mag-caseresult-arrow {
    width: 46px;
    height: 46px;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, background 0.25s ease;
}

.mag-caseresult-arrow::after {
    content: none;
}

.mag-caseresult-swiper:hover .mag-caseresult-arrow {
    opacity: 1;
    pointer-events: auto;
}

.mag-caseresult-arrow:hover {
    background: #F26322;
    border-color: #F26322;
}

.mag-caseresult-arrow-prev {
    left: 12px;
}

.mag-caseresult-arrow-next {
    right: 12px;
}

/* ── Section 11: Global Award Winning Partner ── */
.mag-awards {
    background: #fff;
    color: #0b0e1f;
    padding: 70px 0;
}

.mag-awards-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 0 40px;
}

.mag-awards-text h2 {
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 38px;
    line-height: 48px;
    margin-bottom: 20px;
}

.mag-awards-text h2 span {
    color: #F26322;
}

.mag-awards-text p {
    font-family: 'Poppins';
    font-size: 16px;
    line-height: 26px;
    color: #3a3a3a;
    max-width: 480px;
}

.mag-awards-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Generic form field base (used across all .mag-form instances) ── */
.mag-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #0b0e1f;
    margin-bottom: 6px;
}

.mag-req {
    color: #e0432b;
}

.mag-form input,
.mag-form textarea {
    width: 100%;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    padding: 12px 14px;
    font-family: 'Poppins';
    font-size: 14px;
    color: #0b0e1f;
    outline: none;
    transition: border-color 0.2s;
}

.mag-form input:focus,
.mag-form textarea:focus {
    border-color: #F26322;
}

.mag-form textarea {
    height: 100px;
    resize: vertical;
}

/* ── Section 12: Get Complimentary Magento Consultation & Support ── */
.mag-consult {
    position: relative;
    background-image: url('../images/magento-ads/consult-section-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #07090a;
    color: #fff;
    padding: 80px 0;
    overflow: hidden;
}

.mag-consult-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.mag-consult-left h2 {
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 38px;
    line-height: 48px;
    margin-bottom: 34px;
    max-width: 520px;
}

.mag-consult-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}

.mag-consult-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F26322;
    color: #fff;
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mag-consult-step h4 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 4px;
}

.mag-consult-step p {
    font-family: 'Poppins';
    font-size: 14px;
    color: #d8d3cf;
    line-height: 22px;
}

.mag-consult-form-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 36px;
}

.mag-label-light {
    color: #fff;
}

.mag-consult-form-box input,
.mag-consult-form-box textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    border-radius: 0;
    color: #fff;
    padding: 8px 0;
    margin-bottom: 22px;
    outline: none;
    transition: border-color 0.2s;
}

.mag-consult-form-box input:focus,
.mag-consult-form-box textarea:focus {
    border-bottom-color: #F26322;
}

.mag-consult-form-box input::placeholder,
.mag-consult-form-box textarea::placeholder {
    color: rgba(255,255,255,0.45);
}

.mag-consult-form-box textarea {
    height: 60px;
}

.mag-btn-dark {
    background: #0b0e1f;
    width: 100%;
    justify-content: center;
    border-radius: 6px;
}

.mag-form-note-light {
    color: rgba(255,255,255,0.5);
    text-align: center;
}

/* ── Section 13: Hire a Magento (Adobe Commerce) developer ── */
.mag-hiredev {
    background: #fff;
    color: #0b0e1f;
    padding: 80px 0 0;
}

.mag-hiredev-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 50px;
    padding: 0 40px;
    margin-bottom: 60px;
}

.mag-hiredev-text h2 {
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 38px;
    line-height: 48px;
    margin-bottom: 20px;
}

.mag-hiredev-text h2 span {
    color: #F26322;
}

.mag-hiredev-text p {
    font-family: 'Poppins';
    font-size: 15px;
    line-height: 25px;
    color: #3a3a3a;
    max-width: 560px;
    margin-bottom: 16px;
}

.mag-hiredev-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.mag-hiredev-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    padding: 0 40px 60px;
}

.mag-hiredev-stat h3 {
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 28px;
    color: #F26322;
    margin-bottom: 12px;
}

.mag-hiredev-stat p {
    font-family: 'Poppins';
    font-size: 15px;
    line-height: 24px;
    color: #0b0e1f;
    max-width: 320px;
    margin: 0 auto;
}

.mag-hiredev-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: linear-gradient(90deg, #E95F21, #963D15);
    border-radius: 16px;
    padding: 30px 40px;
    margin: 0 40px 80px;
}

.mag-hiredev-cta h4 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    margin-bottom: 6px;
}

.mag-hiredev-cta p {
    font-family: 'Poppins';
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

.mag-btn-white {
    flex-shrink: 0;
    background: #fff;
    color: #b7461a;
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 30px;
}

/* ── Section 14: Work with #1 Best Magento Agency in USA ── */
.mag-whychoose {
    background: #fff;
    color: #0b0e1f;
    padding: 70px 0;
}

.mag-whychoose .container {
    padding: 0 40px;
}

.mag-whychoose h2 {
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 34px;
    margin-bottom: 10px;
}

.mag-whychoose h2 span {
    color: #F26322;
}

.mag-whychoose-sub {
    font-family: 'Poppins';
    font-size: 15px;
    color: #3a3a3a;
    margin-bottom: 24px;
}

.mag-whychoose-grid {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.mag-whychoose-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.mag-whychoose-card {
    background: #fff;
    border: 1px solid rgba(242,99,34,0.35);
    border-radius: 4px;
    overflow: hidden;
}

.mag-whychoose-head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 84px;
    padding: 16px 24px;
    color: #0b0e1f;
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 17px;
}

.mag-whychoose-head span {
    flex: 1;
}

.mag-whychoose-head i {
    font-size: 14px;
    color: #0b0e1f;
    flex-shrink: 0;
}

.mag-whychoose-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mag-whychoose-card:hover .mag-whychoose-answer {
    max-height: 220px;
}

.mag-whychoose-answer-inner {
    padding: 18px 24px 22px;
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #6b6b6b;
}

/* ── Section 15: Partner Stories video testimonial ── */
.mag-partner {
    background-image: url('../images/magento-ads/partner-section-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #07090a;
    color: #fff;
    padding: 0;
}

.mag-partner-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 70px 40px;
}

.mag-partner-eyebrow {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 3px;
    color: #d8d3cf;
    margin-bottom: 16px;
}

.mag-partner-left h2 {
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 32px;
    line-height: 42px;
    margin-bottom: 20px;
}

.mag-partner-left h2 span {
    color: #F26322;
}

.mag-partner-desc {
    font-family: 'Poppins';
    font-size: 15px;
    line-height: 25px;
    color: #d8d3cf;
    margin-bottom: 26px;
    max-width: 480px;
}

.mag-partner-video {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.mag-partner-video iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* ── Section 16: Frequently asked questions ── */
.mag-faq {
    background: #fff;
    color: #0b0e1f;
    padding: 80px 0;
}

.mag-faq .container {
    padding: 0 40px;
}

.mag-faq h2 {
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 36px;
    margin-bottom: 40px;
}

.mag-faq-grid {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.mag-faq-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.mag-faq-item {
    border: 1px solid #ececec;
    border-radius: 12px;
    overflow: hidden;
}

.mag-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 16px;
    color: #0b0e1f;
}

.mag-faq-icon {
    flex-shrink: 0;
    color: #F26322;
    font-size: 14px;
    position: relative;
    width: 16px;
    height: 16px;
}

.mag-faq-icon .icon-close {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.mag-faq-item.open .mag-faq-icon .icon-plus {
    display: none;
}

.mag-faq-item.open .mag-faq-icon .icon-close {
    display: inline-block;
}

.mag-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mag-faq-answer-inner {
    padding: 0 24px 20px;
    font-family: 'Poppins';
    font-size: 14px;
    line-height: 24px;
    color: #4a4a4a;
}

/* ── Section 17: What Clients Say Once The Store's Actually Live ── */
.mag-testimonials {
    background: #fff;
    color: #0b0e1f;
    padding: 80px 0 90px;
    overflow: hidden;
}

.mag-testimonials .container {
    padding: 0 40px;
}

.mag-testimonials h2 {
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 34px;
    text-align: center;
    margin-bottom: 50px;
}

.mag-testimonials h2 span {
    color: #F26322;
}

.mag-testimonials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mag-testimonial-card {
    background-image: url('../images/magento-ads/testimonial-card-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 30px;
    color: #fff;
}

.mag-testimonial-card i {
    color: #7CFF7A;
    font-size: 20px;
    margin-bottom: 16px;
    display: block;
}

.mag-testimonial-card p {
    font-family: 'Poppins';
    font-size: 14px;
    line-height: 23px;
    margin-bottom: 24px;
    min-height: 175px;
}

.mag-testimonial-name {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .mag-hero h1 {
        font-size: 40px;
        line-height: 48px;
    }

    .header-container {
        padding: 12px 20px;
    }

    .mag-agency-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mag-stat-card:nth-of-type(1),
    .mag-stat-card:nth-of-type(2),
    .mag-stat-card:nth-of-type(3) {
        grid-column: auto;
        grid-row: auto;
    }

    .mag-agency-photo {
        grid-column: auto;
        grid-row: auto;
    }

    .mag-agency-badges {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .mag-migrate-box {
        grid-template-columns: 1fr;
        padding: 40px;
        align-items: stretch;
    }

    .mag-services-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .mag-services-head h2 {
        font-size: 42px;
        line-height: 50px;
    }

    .mag-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .mag-testimonials-row {
        grid-template-columns: 1fr;
    }
}

/* ── Section 18: Our Magento Development Blogs ── */
.mag-blog-section {
    background: #fff;
    color: #0b0e1f;
    padding: 70px 0 90px;
}

.mag-blog-section .container {
    padding: 0 40px;
}

.mag-blog-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.mag-blog-eyebrow {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 4px;
    color: #0b0e1f;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.mag-blog-head h2 {
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 34px;
}

.mag-blog-head h2 span {
    color: #F26322;
}

.mag-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.mag-blog-card {
    border-radius: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mag-blog-card:hover {
    transform: translateY(-5px);
}

.mag-blog-thumb {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.mag-blog-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.mag-blog-card:hover .mag-blog-thumb img {
    transform: scale(1.04);
}

.mag-blog-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    top: 100%;
    background: rgba(242, 99, 34, 0.35);
    transition: top 0.4s ease;
    z-index: 1;
}

.mag-blog-card:hover .mag-blog-thumb::before {
    top: 0;
}

.mag-blog-card h3 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 17px;
    line-height: 24px;
    min-height: 96px;
}

.mag-blog-card h3 a {
    color: #0b0e1f;
    text-decoration: underline;
}

/* ── Footer (shared site pattern, same as hyva-template.php) ── */
.mag-footer {
    background: #000B18;
    color: #fff;
    background-image: url(/wp-content/uploads/2024/11/Frame-2147224168.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer-main {
    margin: 0 auto;
    padding: 58px 40px 52px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: fit-content;
    margin-bottom: 20px;
}

.brand-logo img {
    max-width: 181px;
    height: 50px;
}

.address {
    display: block;
    margin: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #ffffff;
    font-family: 'Poppins';
}

.address-item {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px;
}

.address-item img.flag {
    width: 24px;
    height: auto;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 9px;
    margin-top: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: #3EB5E8;
    border-radius: 3.7px;
    border: 1.5px solid #252840;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    color: #ffffff;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    font-family: 'Poppins';
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col ul li a {
    font-size: 15px;
    color: #ffffff;
    font-weight: 400;
    font-family: 'Poppins';
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #3EB5E8;
}

.footer-bottom {
    border-top: 1px solid #9F9F9F36;
    text-align: center;
    padding: 18px 40px;
}

.footer-bottom p {
    font-size: 15px;
    color: #ffffff;
    font-family: 'Poppins';
}

@media (max-width: 760px) {
    .mag-hero {
        padding: 110px 0 60px;
    }

    .mag-hero .container {
        padding: 0 20px;
    }

    .mag-hero h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .mag-hero-desc {
        font-size: 15px;
    }

    .mag-hero-trust li {
        font-size: 15px;
    }

    .mag-badge-card {
        width: 100%;
    }

    .mag-clients-heading {
        font-size: 22px;
    }

    .mag-agency .container {
        padding: 0 20px;
    }

    .mag-agency h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .mag-agency-grid {
        grid-template-columns: 1fr;
    }

    .mag-stat-card:nth-of-type(1),
    .mag-stat-card:nth-of-type(2),
    .mag-stat-card:nth-of-type(3) {
        grid-column: auto;
        grid-row: auto;
    }

    .mag-agency-photo {
        grid-column: auto;
        grid-row: auto;
    }

    .mag-agency-badges {
        grid-column: auto;
        grid-row: auto;
        flex-direction: column;
    }

    .mag-agency-badge-magento img {
        height: 60px;
    }

    .mag-agency-badge-hyva img {
        height: 34px;
    }

    .mag-migrate-box {
        padding: 18px;
        border-radius: 16px;
        align-items: stretch;
    }

    .mag-migrate-left h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .mag-btn-primary {
        display: block;
        width: 100%;
        text-align: center;
    }

    .mag-migrate-rating {
        row-gap: 8px;
    }

    .mag-migrate-form {
        padding: 24px;
    }

    .mag-form-row {
        grid-template-columns: 1fr;
    }

    .mag-services {
        padding: 50px 0;
    }

    .mag-services-head h2 {
        font-size: 30px;
        line-height: 38px;
    }

    .mag-services-grid {
        grid-template-columns: 1fr;
    }

    .mag-audit-cta {
        padding: 60px 0 40px;
    }

    .mag-audit-cta-box {
        padding: 24px 20px 30px;
    }

    .mag-audit-cta-box h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .mag-audit-form {
        flex-direction: column;
        height: auto;
        border-radius: 20px;
        gap: 8px;
        padding: 8px;
    }

    .mag-audit-form input[type="email"] {
        height: 44px;
        line-height: 44px;
    }

    .mag-audit-form .submit-btn {
        width: 100%;
        height: 48px;
        justify-content: center;
        border-radius: 24px;
    }

    .mag-casestudies {
        padding: 50px 0 60px;
    }

    .mag-casestudies-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .mag-casestudies-head h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .mag-casestudies-grid {
        grid-template-columns: 1fr;
    }

    .mag-case-card h3 {
        min-height: auto;
    }

    .mag-audit-illustration {
        padding: 50px 0;
    }

    .mag-audit-illustration-inner {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .mag-audit-illustration-text h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .mag-audit-illustration-img {
        order: -1;
    }

    .mag-enterprise {
        padding: 50px 0 40px;
    }

    .mag-enterprise-head h2 {
        font-size: 26px;
    }

    .mag-process {
        padding: 50px 0;
    }

    .mag-process-head {
        padding: 0 20px;
        margin-bottom: 24px;
    }

    .mag-process-inner {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .mag-process-photo {
        order: -1;
    }

    .mag-process-head h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .mag-step-label {
        font-size: 15px;
    }

    .mag-caseresult {
        padding: 50px 0 60px;
    }

    .mag-caseresult-head h2 {
        font-size: 26px;
    }

    .mag-caseresult-box {
        border-radius: 16px;
    }

    .mag-caseresult-arrow {
        display: none;
    }

    .mag-awards-inner {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .mag-awards-text h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .mag-consult {
        padding: 50px 0;
    }

    .mag-consult-inner {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .mag-consult-left h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .mag-consult-form-box {
        padding: 24px;
    }

    .mag-hiredev-inner {
        grid-template-columns: 1fr;
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .mag-hiredev-text h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .mag-hiredev-stats {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px 40px;
    }

    .mag-hiredev-cta {
        flex-direction: column;
        text-align: center;
        margin: 0 20px 50px;
        padding: 24px;
    }

    .mag-whychoose h2 {
        font-size: 26px;
    }

    .mag-whychoose-grid {
        flex-direction: column;
    }

    .mag-partner-inner {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .mag-partner-left h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .mag-faq {
        padding: 50px 0;
    }

    .mag-faq h2 {
        font-size: 26px;
    }

    .mag-faq-grid {
        flex-direction: column;
    }

    .mag-testimonials h2 {
        font-size: 24px;
    }

    .mag-blog-section {
        padding: 50px 0 60px;
    }

    .mag-blog-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .mag-blog-head h2 {
        font-size: 26px;
    }

    .mag-blog-grid {
        grid-template-columns: 1fr;
    }

    .mag-blog-card h3 {
        min-height: auto;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        padding: 44px 24px 40px;
    }
}
