/*
Theme Name: MR Appliance Pro Child
Theme URI: https://meetdigitalmarketing.com/
Description: Child theme of MR Appliance Pro. Adds the redesigned homepage (hero, icon service cards, how it works, why choose us, numbers band, areas, brands, closing call-to-action) without changing the parent theme.
Author: Meet Digital Marketing
Template: mr-appliance-pro
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: mr-appliance-pro
*/

/* ============================================================================
   v5 REDESIGN: white, card-based homepage (header, hero, sections, footer)
   Appended last so it refines the earlier rules. Colours still follow the
   Customizer brand colour via --primary-color.
   ============================================================================ */
:root { --navy: #08234f; --soft: #f2f6fc; --line: #dde6f2; --muted: #4a5b72; --wa: #0f7a36; }

/* Header */
.site-header { box-shadow: 0 1px 0 var(--line); }
.header-top { background: var(--navy); padding: .55rem 0; font-size: .82rem; }
.header-top-in { display: flex; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; flex-wrap: wrap; }
.header-tagline { display: inline-flex; align-items: center; gap: .5rem; color: #e3eaf5; }
.header-contact-info { gap: .5rem 1.25rem; margin-left: auto; }
.navbar { padding: .85rem 0; }
.primary-menu-wrapper a { font-size: .92rem; }

/* Buttons */
.v5-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: 0 1.75rem; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; transition: var(--transition); cursor: pointer; text-decoration: none; }
.v5-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.v5-btn--blue { background: var(--primary-color); color: #fff; }
.v5-btn--blue:hover { background: #0052a3; color: #fff; }
.v5-btn--ghost { background: #fff; color: var(--primary-color); border-color: var(--primary-color); }
.v5-btn--ghost:hover { background: var(--primary-color); color: #fff; }
.v5-btn--white { background: #fff; color: var(--primary-color); }
.v5-btn--white:hover { background: #eaf2fe; color: var(--primary-color); }
.v5-btn--wa { background: var(--wa); color: #fff; }
.v5-btn--wa:hover { background: #0c6329; color: #fff; }
.v5-btn--sm { min-height: 42px; padding: 0 1.25rem; font-size: .88rem; }
.v5-btn .mr-icon { font-size: 1.1em; }
.v5-btns { display: flex; gap: .9rem; flex-wrap: wrap; }

/* Hero */
.v5-hero { background: linear-gradient(100deg, #eaf2fe 0, #f6faff 55%, #e6f0fd 100%); padding: 3.5rem 0 3rem; }
.v5-hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.v5-badge { display: inline-block; background: #dceafd; color: #0b4fb8; font-weight: 800; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; border-radius: 6px; padding: .4rem .8rem; margin-bottom: 1.1rem; }
.v5-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; color: var(--navy); margin: 0 0 1.1rem; }
.v5-hero h1 em { font-style: normal; color: var(--primary-color); }
.v5-hero-sub { font-size: 1.15rem; color: #33445e; max-width: 30rem; margin: 0 0 1.75rem; }
.v5-feats { display: flex; gap: .75rem 1.75rem; flex-wrap: wrap; margin: 1.9rem 0 0; padding: 0; list-style: none; font-weight: 700; font-size: .85rem; }
.v5-feats li { display: flex; align-items: center; gap: .6rem; color: var(--navy); }
.v5-feats .mr-icon { font-size: 1.7rem; color: var(--primary-color); flex: none; }
.v5-hero-media { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.v5-hero-img { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: 0 24px 60px rgba(8,35,79,.22); }
.v5-hero-card { background: #fff; border-radius: 16px; padding: 1.1rem 1.25rem; box-shadow: 0 16px 40px rgba(8,35,79,.18); display: flex; gap: .9rem; align-items: flex-start; max-width: 300px; }
.v5-hero-media--img .v5-hero-card { position: absolute; left: -2.5rem; bottom: 1.75rem; }
.v5-hero-card-icon { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #dceafd; color: var(--primary-color); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.v5-hero-card strong { display: block; color: var(--navy); font-size: 1rem; line-height: 1.3; }
.v5-hero-card small { display: block; color: var(--muted); font-size: .8rem; margin: .15rem 0 .6rem; }
.v5-hero-card strong + .v5-btn { margin-top: .6rem; }

/* Section scaffolding */
.v5-sec { padding: 4rem 0; background: #fff; }
.v5-alt { background: var(--soft); }
.v5-head { margin-bottom: 2rem; }
.v5-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--primary-color); margin: 0 0 .5rem; }
.v5-head h2, .v5-why-body h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.02em; color: var(--navy); margin: 0 0 .5rem; }
.v5-lead { color: var(--muted); font-size: 1.02rem; max-width: 40rem; margin: 0; }

/* Services */
.v5-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.1rem; }
.v5-sc { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; color: var(--text-dark); transition: var(--transition); }
.v5-sc:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #b9cfee; }
.v5-sc-media { height: 120px; background: linear-gradient(160deg, #f2f7fe, #e3eefc); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.v5-sc-media img { width: 100%; height: 100%; object-fit: cover; }
.v5-sc-icon { font-size: 2.9rem; color: var(--primary-color); display: flex; }
.v5-sc-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .9rem 1rem; }
.v5-sc-title { font-weight: 700; font-size: .92rem; line-height: 1.3; }
.v5-sc-arrow { color: var(--primary-color); font-weight: 800; }

/* How it works */
.v5-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2rem; }
.v5-step-top { display: flex; align-items: center; gap: .9rem; margin-bottom: .9rem; color: var(--primary-color); font-size: 1.7rem; }
.v5-num { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-color); color: #fff; font-weight: 800; font-size: .95rem; display: flex; align-items: center; justify-content: center; }
.v5-step h3 { margin: 0 0 .25rem; font-size: 1.05rem; color: var(--navy); }
.v5-step p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Why choose us */
.v5-why { display: grid; gap: 3rem; align-items: center; }
.v5-why--img { grid-template-columns: .9fr 1.1fr; }
.v5-why-img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: 0 16px 40px rgba(8,35,79,.16); }
.v5-why-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.75rem; }
.v5-why-list li { display: flex; gap: .85rem; }
.v5-why-icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #dceafd; color: var(--primary-color); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.v5-why-list strong { display: block; color: var(--navy); font-size: .95rem; }
.v5-why-list small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.45; }

/* Numbers band */
.v5-stats { background: linear-gradient(100deg, #08358a, var(--primary-color)); color: #fff; padding: 2.25rem 0; }
.v5-stats-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.5rem; align-items: center; }
.v5-stats-head .v5-eyebrow { color: #cfe0fb; }
.v5-stats-head h2 { color: #fff; margin: 0; font-size: 1.5rem; line-height: 1.2; }
.v5-stat { display: flex; gap: .9rem; align-items: center; border-left: 1px solid rgba(255,255,255,.3); padding-left: 1.5rem; }
.v5-stat .mr-icon { font-size: 2.3rem; flex: none; }
.v5-stat b { display: block; font-size: 2rem; line-height: 1; }
.v5-stat span span, .v5-stat div span { font-size: .85rem; color: #dce8fb; }

/* Areas and brands */
.v5-areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .8rem; }
.v5-areas li { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; font-weight: 600; font-size: .9rem; }
.v5-areas .mr-icon { color: var(--primary-color); flex: none; }
.v5-brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; font-weight: 800; font-size: 1.2rem; color: #1b2b45; letter-spacing: .02em; }

/* Reviews, FAQ: align the existing components with the new look */
.testimonials-home { background: #fff; }
.faq-section { background: var(--soft); }
.testimonial-item { border: 1px solid var(--line); box-shadow: none; border-radius: 14px; }

/* Closing band */
.v5-cta { background: var(--primary-color); color: #fff; padding: 1.9rem 0; }
.v5-cta-in { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem 2rem; flex-wrap: wrap; }
.v5-cta-text { margin: 0; font-size: 1.3rem; font-weight: 700; line-height: 1.35; max-width: 40rem; }

/* Footer */
.site-footer { background: var(--navy); }
.footer-top { border-bottom-color: rgba(255,255,255,.12); }
.footer-brand .custom-logo-link, .site-footer .custom-logo-link { display: inline-block; background: #fff; padding: .4rem .7rem; border-radius: 10px; }

@media (max-width: 900px) {
	.v5-hero-in, .v5-why--img { grid-template-columns: 1fr; }
	.v5-hero-media { justify-self: start; max-width: 440px; }
	.v5-hero-media--img .v5-hero-card { position: static; margin-top: -2rem; margin-left: 1rem; }
	.v5-why-list { grid-template-columns: 1fr; }
	.v5-stat { border-left: 0; padding-left: 0; }
	.v5-sec { padding: 3rem 0; }
	.header-contact-info { margin-left: 0; }
}
@media (max-width: 782px) { .header-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .v5-btn, .v5-sc { transition: none; } .v5-btn:hover, .v5-sc:hover { transform: none; } }


/* v5 part 2: remaining sections aligned with the new look */
.section-header { text-align: left; margin-bottom: 2rem; }
.section-header h2 { color: var(--navy); }
.section-header p { color: var(--muted); }
.faq-section { background: var(--soft); padding: 4rem 0; }
.faq-accordion { max-width: none; margin: 0; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.faq-question:hover { background: #f2f7fe; }
.faq-question[aria-expanded="true"] { background: #eaf2fe; color: var(--navy); }
.testimonials-home { background: #fff; padding: 4rem 0; }
.testimonials-carousel { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.testimonial-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: none; padding: 1.5rem; }
.testimonial-text { font-style: normal; font-size: .95rem; color: #33445e; line-height: 1.6; }
.stars { color: #b45309; letter-spacing: 2px; }
.blog-section { background: #fff; }
.callback-section { background: var(--soft); padding: 4rem 0; }
.callback-content h2 { color: var(--navy); }
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }


/* v5 part 3: services page and photo cards */
.v5-sprite { display: block; width: 100%; aspect-ratio: 3 / 2; background: #f2f7fe url(assets/img/services-sprite.jpg) no-repeat; background-size: 300% 300%; }
.v5-sprite--washer { background-position: 0 0; } .v5-sprite--fridge { background-position: 50% 0; } .v5-sprite--ac { background-position: 100% 0; }
.v5-sprite--dish { background-position: 0 50%; } .v5-sprite--dryer { background-position: 50% 50%; } .v5-sprite--micro { background-position: 100% 50%; }
.v5-sprite--oven { background-position: 0 100%; } .v5-sprite--tv { background-position: 50% 100%; } .v5-sprite--ice { background-position: 100% 100%; }
.v5-sc-media { height: auto; aspect-ratio: 3 / 2; }
.v5-ph { background: linear-gradient(100deg, #eaf2fe 0, #f6faff 55%, #e6f0fd 100%); padding: 3rem 0 2.75rem; }
.v5-ph h1 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.08; letter-spacing: -.03em; color: var(--navy); margin: 0 0 .9rem; }
.v5-ph h1 em { font-style: normal; color: var(--primary-color); }
.v5-ph-intro { font-size: 1.1rem; color: #33445e; max-width: 40rem; margin: 0 0 1.5rem; }
.v5-ph .breadcrumb, .v5-ph .breadcrumb a { color: var(--muted); }
.v5-ph .breadcrumb a { color: var(--primary-color); font-weight: 600; }
.v5-ph .breadcrumb .breadcrumb_last, .v5-ph .breadcrumb [aria-current="page"] { color: var(--navy); }
.v5-sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.v5-sd { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); }
.v5-sd:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.v5-sd-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; background: linear-gradient(160deg, #f2f7fe, #e3eefc); overflow: hidden; }
.v5-sd-media img { width: 100%; height: 100%; object-fit: cover; }
.v5-sd-body { padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.v5-sd-cat { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-color); }
.v5-sd-body h2 { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.v5-sd-body h2 a { color: var(--navy); }
.v5-sd-body p { margin: 0; color: var(--muted); font-size: .9rem; flex: 1; }
.v5-sd-go { margin-top: .6rem; padding-top: .9rem; border-top: 1px solid #e6ecf5; font-weight: 700; font-size: .9rem; color: var(--primary-color); }
.v5-help { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2.25rem 2.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.v5-help h2 { margin: 0 0 .35rem; font-size: 1.6rem; color: var(--navy); }
.v5-help p { margin: 0; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .v5-sd { transition: none; } .v5-sd:hover { transform: none; } }
