/* Headings changed from h1 (to keep one h1 per page) keep the exact look they had as h1. */
h2:where(.ow-was-h1),
h3:where(.ow-was-h1) {
    margin: 0;
    font-size: 2em;
    font-weight: 400;
    color: #2f2c2c;
    font-family: "Varela Round", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

:where(div.ow-was-h1) {
    margin: 0;
    font-size: 2em;
    font-weight: 400;
    color: #2f2c2c;
    font-family: "Varela Round", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

/* Copies of the theme's h1-specific rules from blocks.css / modules.css */
.info-box-content :is(h2, h3).ow-was-h1 { font-size: 20px; padding-top: 6%; }
.servises-item :is(h2, h3).ow-was-h1 { color: #ffffff; }
.servises-item:hover :is(h2, h3).ow-was-h1 { color: #1b2e3c; }
.services-block .inner-box :is(h2, h3).ow-was-h1 { position: relative; font-size: 18px; line-height: 1.7em; margin-bottom: 12px; padding: 0 30px; padding-top: 15px; font-weight: 500; }
.services-block .inner-box :is(h2, h3).ow-was-h1 a { position: relative; color: #1b2e3c; transition: all 300ms ease; }
.services-block .inner-box :is(h2, h3).ow-was-h1 a:hover { color: #b1104c; }
.services-block .inner-box:hover :is(h2, h3).ow-was-h1 a { color: #ffffff; font-weight: 600; }

/* FAQ sections on service pages */
.faq-item { max-width: 900px; margin-top: 30px; }
.faq-item .faq-question { font-size: 20px; font-weight: 600; color: #1b2e3c; margin: 0 0 10px; line-height: 1.4; }
.faq-item .faq-answer { font-size: 16px; line-height: 1.7; margin: 0; color: #4a4a4a; }

/* Homepage service cards whose titles are no longer links */
.services-block .inner-box h3.ow-was-h1 { color: #1b2e3c; }
.services-block .inner-box:hover h3.ow-was-h1 { color: #ffffff; }

/* ---- Service intros ---- */
.ow-intro .ow-list-title { font-size: 20px; font-weight: 600; color: #1b2e3c; margin: 10px 0 15px; }
.ow-intro .ow-checklist { margin-bottom: 30px; }
.ow-intro .ow-checklist li { font-size: 16px; color: #2f2c2c; margin-bottom: 10px; }
.ow-intro .ow-checklist li i { color: #3cb878; margin-right: 8px; }

/* ---- Buttons ---- */
.ow-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.ow-buttons-center { justify-content: center; }
.ow-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.ow-btn:hover, .ow-btn:focus { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); text-decoration: none; }
.ow-btn-primary, .ow-btn-primary:hover, .ow-btn-primary:focus { background: #3cb878; color: #fff; }
.ow-btn-whatsapp, .ow-btn-whatsapp:hover, .ow-btn-whatsapp:focus { background: #25d366; color: #fff; }
.ow-btn-outline, .ow-btn-outline:hover, .ow-btn-outline:focus { border-color: #fff; color: #fff; background: transparent; }
.ow-btn .fa { font-size: 18px; }

/* ---- Why choose us ---- */
.ow-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.ow-feature { background: #fff; border-radius: 12px; padding: 28px 24px; box-shadow: 0 4px 18px rgba(27, 46, 60, .07); transition: transform .2s ease, box-shadow .2s ease; }
.ow-feature:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(27, 46, 60, .12); }
.ow-feature .fa { font-size: 30px; color: #3cb878; margin-bottom: 14px; display: block; }
.ow-feature h3 { font-size: 19px; font-weight: 600; color: #1b2e3c; margin: 0 0 8px; line-height: 1.3; }
.ow-feature p { font-size: 15px; line-height: 1.6; color: #4a4a4a; margin: 0; }
@media (max-width: 991px) { .ow-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .ow-features-grid { grid-template-columns: 1fr; } }

/* ---- Quote call to action ---- */
.ow-cta { background: #1b2e3c; padding: 60px 15px; }
.ow-cta .ow-cta-title { color: #fff; font-size: 30px; font-weight: 600; margin: 0 0 12px; line-height: 1.3; }
.ow-cta .ow-cta-text { color: #d6dee4; font-size: 17px; margin: 0 auto 28px; max-width: 640px; }

/* ---- Mobile quick-contact bar ---- */
.ow-mobile-bar { display: none; }
@media (max-width: 767px) {
    .ow-mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: #1b2e3c; box-shadow: 0 -4px 14px rgba(0, 0, 0, .2); }
    .ow-mobile-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 0 10px; color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
    .ow-mobile-bar a .fa { font-size: 20px; }
    .ow-mobile-bar a:nth-child(2) { background: #25d366; }
    .ow-mobile-bar a:nth-child(3) { background: #3cb878; }
    body { padding-bottom: 62px; }
    /* the bar replaces the theme's floating WhatsApp / phone buttons on phones */
    .whatsapps.mob, .suppport_button { display: none !important; }
    .ow-cta .ow-cta-title { font-size: 24px; }
}

/* ---- How we work ---- */
.ow-steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.ow-steps li { position: relative; padding: 24px 22px 22px 76px; border: 1px solid #e3ebef; border-radius: 12px; background: #fff; }
.ow-steps .ow-step-num { position: absolute; left: 22px; top: 22px; width: 40px; height: 40px; border-radius: 50%; background: #3cb878; color: #fff; font-weight: 600; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.ow-steps h3 { font-size: 18px; font-weight: 600; color: #1b2e3c; margin: 0 0 6px; line-height: 1.3; }
.ow-steps p { font-size: 15px; line-height: 1.6; color: #4a4a4a; margin: 0; }
@media (max-width: 991px) { .ow-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .ow-steps { grid-template-columns: 1fr; } }

/* ---- Service page side panel (design, print and marketing pages) ---- */
.ow-panel { background: #fff; border-radius: 12px; padding: 28px 28px 18px; box-shadow: 0 4px 18px rgba(27, 46, 60, .07); }
.ow-panel .ow-list-title { font-size: 20px; font-weight: 600; color: #1b2e3c; margin: 0 0 15px; }
.ow-panel-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.ow-panel-list li { font-size: 16px; color: #2f2c2c; line-height: 1.5; }
.ow-panel-list li .fa { color: #3cb878; margin-right: 6px; }
.ow-panel-list a { color: #1b2e3c; text-decoration: underline; }
@media (max-width: 991px) { .ow-panel { margin-top: 30px; } }
@media (max-width: 575px) { .ow-panel-list { grid-template-columns: 1fr; } }

/* ---- Top-level service dropdowns (Web Services / Design & Print / Digital Marketing) ---- */
.primary-menu-menu > li.ow-dd > ul.dropdown { min-width: 280px; padding: 15px 0 20px; }
.primary-menu-menu > li.ow-dd > ul.dropdown li a { font-family: "Varela Round", Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 16px; font-weight: 600; color: #1b2e3c; padding: 10px 30px; text-transform: none; }
.primary-menu-menu > li.ow-dd > ul.dropdown li:hover > a { color: #28b688; }
/* five top-level items must stay on one line next to the logo on laptop/tablet widths */
@media (max-width: 1199px) {
    header.mob-hide .primary-menu-menu > li { padding-left: 7px; padding-right: 7px; }
    header.mob-hide .primary-menu-menu > li > a { font-size: 15px; }
}
@media (max-width: 991px) {
    header.mob-hide .primary-menu-menu > li { padding-left: 5px; padding-right: 5px; }
    header.mob-hide .primary-menu-menu > li > a { font-size: 13px; }
}
/* tablet portrait: menu always sits on its own row under the logo, so reserve room for the taller fixed header */
@media (min-width: 769px) and (max-width: 991px) {
    header.mob-hide #primary-menu { float: none; clear: both; }
    .header-spacer { height: 193px; }
}
