/*
Theme Name: MR HVAC
Theme URI: https://mrhvac.gr
Description: Child theme of Twenty Twenty-Five for MR HVAC (κλιματισμός). Navy / orange brand, Greek-ready fonts (Manrope + Fira Sans, served from the parent theme).
Author: MR HVAC
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: mr-hvac
WPVibe: yes
Update URI: false
License: GNU General Public License v2 or later
*/

:root {
	--mrh-navy: #001943;
	--mrh-orange: #FD5100;
	--mrh-blue: #004DA7;
	--mrh-sky: #B6DCFC;
	--mrh-ice: #EAF4FE;
	--mrh-ink: #1A2433;
	--mrh-line: #D6E2F0;
	--mrh-radius: 18px;
	--mrh-shadow: 0 10px 30px -12px rgba(0, 25, 67, .22);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(.wp-site-blocks) > main { margin-block-start: 0; }
.wp-site-blocks { padding-top: 0; }
::selection { background: var(--mrh-sky); color: var(--mrh-navy); }
a:focus-visible, button:focus-visible, .wp-element-button:focus-visible { outline: 3px solid var(--mrh-blue); outline-offset: 3px; }

/* ---------- Header ---------- */
header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
body.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.wp-block-template-part { top: 0; position: relative; } }
.mrh-header { border-bottom: 1px solid var(--mrh-line); box-shadow: 0 6px 18px -14px rgba(0,25,67,.35); }
.mrh-header .wp-block-site-logo img { height: auto; }
.mrh-header .wp-block-navigation a:where(:not(.wp-element-button)) { color: var(--mrh-navy); text-decoration: none; }
.mrh-header .wp-block-navigation .wp-block-navigation-item__content { padding: .35rem 0; border-bottom: 2px solid transparent; }
.mrh-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.mrh-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content { border-bottom-color: var(--mrh-blue); color: var(--mrh-blue); }
.mrh-header .wp-block-navigation__submenu-container { border: 1px solid var(--mrh-line) !important; border-radius: 12px; padding: .5rem !important; box-shadow: var(--mrh-shadow); min-width: 240px !important; }
.mrh-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .5rem .75rem !important; border-radius: 8px; border-bottom: 0; }
.mrh-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--mrh-ice); }
.mrh-header-cta .wp-block-button__link { padding: .7rem 1.15rem; font-size: .95rem; white-space: nowrap; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: #fff !important; font-size: 1.2rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; background: transparent !important; padding: .25rem 0 .25rem 1rem !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1.05rem; color: var(--mrh-sky) !important; }
@media (max-width: 600px) { .mrh-header-cta { display: none; } .mrh-header .wp-block-site-logo img { width: 60px !important; } }

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link { transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(253, 81, 0, .7); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--mrh-navy); border-color: var(--mrh-navy); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--mrh-navy); color: #fff; box-shadow: none; }
.mrh-on-dark .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.75); }
.mrh-on-dark .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--mrh-navy); }

/* ---------- Sections ---------- */
.mrh-eyebrow { font-family: var(--wp--preset--font-family--manrope); font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mrh-blue); margin-bottom: .4rem; }
.mrh-on-dark .mrh-eyebrow { color: var(--mrh-sky); }
.mrh-lead { font-size: clamp(1.08rem, 1.2vw + .8rem, 1.3rem); line-height: 1.55; }
.mrh-on-dark, .mrh-on-dark p, .mrh-on-dark li { color: #E6EEF9; }
.mrh-on-dark :where(h1,h2,h3,h4) { color: #fff; }
.mrh-on-dark a:where(:not(.wp-element-button)) { color: var(--mrh-sky); }

/* Hero */
.mrh-hero { position: relative; overflow: hidden; isolation: isolate; }
.mrh-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
	background-image: radial-gradient(rgba(182,220,252,.22) 1px, transparent 1.4px); background-size: 22px 22px;
	mask-image: linear-gradient(110deg, transparent 35%, #000 75%); -webkit-mask-image: linear-gradient(110deg, transparent 35%, #000 75%); }
.mrh-hero::after { content: ""; position: absolute; z-index: -1; right: -10%; bottom: -45%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; border-radius: 50%;
	background: radial-gradient(circle, rgba(0,77,167,.55) 0%, rgba(0,77,167,0) 65%); }
.mrh-hero h1 { font-size: clamp(2.3rem, 4.6vw + .6rem, 4rem); line-height: 1.05; letter-spacing: -0.025em; margin-top: .2rem; }
.mrh-hero h1 .mrh-accent, .mrh-accent { color: var(--mrh-sky); }
.mrh-hero-art { position: relative; }
.mrh-hero-art figure { margin: 0; position: relative; }
.mrh-hero-art figure::before { content: ""; position: absolute; inset: 6% 6% 10% 6%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #EAF4FE 0%, #B6DCFC 60%, rgba(182,220,252,.0) 72%); z-index: 0; }
.mrh-hero-art img { position: relative; z-index: 1; filter: drop-shadow(0 24px 30px rgba(0,0,0,.35)); animation: mrh-float 6s ease-in-out infinite; }
@keyframes mrh-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.mrh-hero-note { font-size: .95rem; color: var(--mrh-sky) !important; }
@media (prefers-reduced-motion: reduce) { .mrh-hero-art img { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 781px) { .mrh-hero-art { max-width: 300px; margin: 0 auto; order: -1; } .mrh-hero .wp-block-columns { gap: 0 !important; } }

/* Trust strip */
.mrh-trust { border-bottom: 1px solid var(--mrh-line); }
.mrh-trust .wp-block-column { display: flex; gap: .8rem; align-items: flex-start; }
.mrh-check { position: relative; padding-left: 2.4rem; margin: 0; font-weight: 600; color: var(--mrh-navy); line-height: 1.35; }
.mrh-check::before { content: ""; position: absolute; left: 0; top: -.1rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--mrh-blue)
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 60% no-repeat; }
.mrh-check small { display: block; font-weight: 400; color: #4A5568; font-size: .9rem; margin-top: .15rem; }

/* Cards */
.mrh-cards { gap: 1.25rem !important; }
.mrh-card { background: #fff; border: 1px solid var(--mrh-line); border-radius: var(--mrh-radius); padding: 1.75rem 1.5rem 1.5rem !important; box-shadow: 0 1px 0 rgba(0,25,67,.04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; position: relative; height: 100%; display: flex; flex-direction: column; }
.mrh-card:hover { transform: translateY(-4px); box-shadow: var(--mrh-shadow); border-color: var(--mrh-sky); }
.mrh-card h3 { font-size: 1.3rem; margin: .9rem 0 .4rem; }
.mrh-card p { margin: 0 0 .9rem; color: #2A3445; }
.mrh-card .mrh-more { margin-top: auto; font-weight: 700; font-family: var(--wp--preset--font-family--manrope); }
.mrh-card .mrh-more a { text-decoration: none; color: var(--mrh-blue); }
.mrh-card .mrh-more a::after { content: " →"; }
.mrh-card .mrh-more a:hover { color: var(--mrh-navy); text-decoration: underline; }
.mrh-ico { width: 54px; height: 54px; border-radius: 14px; background-color: var(--mrh-ice); position: relative; margin: 0 !important; }
.mrh-ico::after { content: ""; position: absolute; inset: 12px; background: var(--mrh-blue); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.mrh-ico-install { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='9' rx='2'/%3E%3Cpath d='M6 9h12M7 17c0 1.5 1 2.5 2.5 2.5M12 16v4M17 17c0 1.5-1 2.5-2.5 2.5'/%3E%3C/svg%3E"); }
.mrh-ico-service { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M4.9 6l14.2 12M19.1 6L4.9 18'/%3E%3Cpath d='M9.5 3.5L12 5l2.5-1.5M9.5 20.5L12 19l2.5 1.5'/%3E%3C/svg%3E"); }
.mrh-ico-repair { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.6 2.6-2.4-.6-.6-2.4z'/%3E%3C/svg%3E"); }
.mrh-ico-business { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V7l6-3v17M9 21h12V10l-6-2M13 12h4M13 16h4M5.5 10h1M5.5 14h1'/%3E%3C/svg%3E"); }
.mrh-ico-pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.mrh-ico-doc { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6v18h12V7z'/%3E%3Cpath d='M14 3v4h4M9 12h6M9 16h6'/%3E%3C/svg%3E"); }

/* Steps */
.mrh-steps { counter-reset: mrh-step; gap: 1.25rem !important; }
.mrh-step { counter-increment: mrh-step; position: relative; padding: 2.1rem 1.5rem 1.5rem !important; border-radius: var(--mrh-radius); background: rgba(255,255,255,.06); border: 1px solid rgba(182,220,252,.25); }
.mrh-step::before { content: counter(mrh-step); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--mrh-sky); color: var(--mrh-navy); font: 800 1.35rem/1 var(--wp--preset--font-family--manrope); margin-bottom: 1rem; }
.mrh-step h3 { font-size: 1.25rem; margin: 0 0 .4rem; }
.mrh-step p { margin: 0; }
.mrh-steps-light .mrh-step { background: #fff; border-color: var(--mrh-line); }
.mrh-steps-light .mrh-step::before { background: var(--mrh-blue); color: #fff; }

/* Coverage */
.mrh-coverage { border-radius: 24px; position: relative; overflow: hidden; }
.mrh-coverage::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(0,77,167,.08); }
.mrh-areas-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.mrh-areas-list li { background: #fff; border: 1px solid var(--mrh-sky); color: var(--mrh-navy); border-radius: 999px; padding: .35rem .9rem; font-weight: 600; }

/* Posts / query */
.mrh-posts .wp-block-post { background: #fff; border: 1px solid var(--mrh-line); border-radius: var(--mrh-radius); padding: 1.5rem; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.mrh-posts .wp-block-post:hover { transform: translateY(-3px); box-shadow: var(--mrh-shadow); }
.mrh-posts .wp-block-post-title { font-size: 1.15rem; line-height: 1.3; margin: 0 0 .6rem; }
.mrh-posts .wp-block-post-title a { text-decoration: none; color: var(--mrh-navy); }
.mrh-posts .wp-block-post-title a:hover { color: var(--mrh-blue); text-decoration: underline; }
.mrh-posts .wp-block-post-excerpt { color: #2A3445; font-size: .97rem; margin: 0; flex: 1; display: flex; flex-direction: column; }
.mrh-posts .wp-block-post-excerpt__excerpt { margin-bottom: .8rem; }
.mrh-posts .wp-block-post-excerpt__more-text { margin-top: auto; margin-bottom: 0; }
.mrh-posts .wp-block-post-excerpt__more-link { font-weight: 700; font-family: var(--wp--preset--font-family--manrope); text-decoration: none; }
.mrh-posts .wp-block-post-date { font-size: .85rem; color: #4A5568; }
.mrh-posts .wp-block-post-template { gap: 1.25rem; }

/* FAQ */
.mrh-faq .wp-block-details { background: #fff; border: 1px solid var(--mrh-line); border-radius: 14px; padding: 0; margin: 0 0 .75rem; }
.mrh-faq .wp-block-details summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; font: 700 1.05rem/1.4 var(--wp--preset--font-family--manrope); color: var(--mrh-navy); position: relative; }
.mrh-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.mrh-faq .wp-block-details summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--mrh-ice); color: var(--mrh-blue); display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; }
.mrh-faq .wp-block-details[open] summary::after { content: "–"; }
.mrh-faq .wp-block-details > :not(summary) { padding: 0 1.25rem; margin-top: 0; }
.mrh-faq .wp-block-details > :last-child { padding-bottom: 1.1rem; }

/* Quote / form */
.mrh-form-card { background: #fff; border-radius: 22px; padding: clamp(1.25rem, 3vw, 2.25rem) !important; box-shadow: 0 24px 60px -24px rgba(0,25,67,.45); border-top: 6px solid var(--mrh-blue); }
.mrh-form-card .wpforms-container { margin: 0 !important; }
.mrh-form-card .wpforms-field-label { color: var(--mrh-navy) !important; font-weight: 700 !important; font-family: var(--wp--preset--font-family--manrope); }
.mrh-form-card input[type=text], .mrh-form-card input[type=email], .mrh-form-card input[type=tel], .mrh-form-card select, .mrh-form-card textarea { border: 1.5px solid #B8C6D9 !important; border-radius: 10px !important; font-family: inherit !important; font-size: 1rem !important; color: var(--mrh-ink) !important; }
.mrh-form-card input:focus, .mrh-form-card select:focus, .mrh-form-card textarea:focus { border-color: var(--mrh-blue) !important; box-shadow: 0 0 0 3px rgba(0,77,167,.18) !important; outline: none !important; }
.mrh-form-card .wpforms-field-description { color: #4A5568 !important; }
.mrh-form-card button[type=submit].wpforms-submit { background: var(--mrh-orange) !important; color: var(--mrh-navy) !important; border: 0 !important; border-radius: 12px !important; font: 800 1.05rem/1 var(--wp--preset--font-family--manrope) !important; padding: 1rem 1.8rem !important; height: auto !important; width: 100%; }
.mrh-form-card button[type=submit].wpforms-submit:hover { background: #FF7A3D !important; }
.mrh-list-check { list-style: none; padding: 0; }
.mrh-list-check li { position: relative; padding-left: 1.9rem; margin-bottom: .55rem; }
.mrh-list-check li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--mrh-sky)
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001943' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 62% no-repeat; }
.mrh-contact-list { list-style: none; padding: 0; margin: 0; }
.mrh-contact-list li { margin-bottom: .4rem; }
.mrh-contact-list span { display: inline-block; min-width: 6.5rem; font-weight: 700; }
.mrh-contact-block .wp-block-buttons:empty { display: none; }

/* Page hero (inner pages) */
.mrh-page-hero { position: relative; overflow: hidden; }
.mrh-page-hero::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(0,77,167,.07); pointer-events: none; }
.mrh-page-hero .wp-block-post-title { font-size: clamp(2rem, 3.4vw + .6rem, 3.1rem); line-height: 1.1; }
.mrh-content > * + h2 { margin-top: 2.6rem; }
.mrh-content h2 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2.05rem); }
.mrh-content h3 { font-size: 1.3rem; }
.mrh-callout { background: var(--mrh-ice); border-left: 5px solid var(--mrh-blue); border-radius: 0 14px 14px 0; padding: 1.25rem 1.4rem !important; }

/* CTA band */
.mrh-cta-band { border-radius: 24px; position: relative; overflow: hidden; }
.mrh-cta-band::after { content: ""; position: absolute; right: -40px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(0,77,167,.7), rgba(0,77,167,0) 70%); pointer-events: none; }

/* ---------- Footer ---------- */
.mrh-footer a:where(:not(.wp-element-button)) { color: #E6EEF9; text-decoration: none; }
.mrh-footer a:where(:not(.wp-element-button)):hover { color: #fff; text-decoration: underline; }
.mrh-footer h2 { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mrh-sky) !important; margin-bottom: 1rem; }
.mrh-footer .wp-block-navigation { font-family: var(--wp--preset--font-family--fira-sans); font-weight: 400; font-size: 1rem; }
.mrh-footer .wp-block-navigation .wp-block-navigation-item__content { padding: .2rem 0; }
.mrh-footer-logo { background: #fff; border-radius: 22px; padding: 10px; display: inline-block; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.mrh-footer-bottom { border-top: 1px solid rgba(182,220,252,.2); font-size: .9rem; }
.mrh-footer-bottom p { color: #B9C7DB; }

/* ---------- Sticky mobile CTA ---------- */
.mrh-sticky-cta { display: none; }
@media (max-width: 781px) {
	.mrh-sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; margin: 0 !important; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(0,25,67,.97); box-shadow: 0 -8px 24px -8px rgba(0,0,0,.35); gap: .5rem; }
	.mrh-sticky-cta .wp-block-buttons { width: 100%; flex-wrap: nowrap; gap: .5rem; }
	.mrh-sticky-cta .wp-block-button { flex: 1 1 0; }
	.mrh-sticky-cta .wp-block-button__link { width: 100%; padding: .85rem .5rem; text-align: center; }
	body { padding-bottom: 76px; }
}

/* WPForms honeypot etc. stays as plugin styles. */

.mrh-posts .wp-block-post-template > li { display: flex; flex-direction: column; }
.mrh-posts .wp-block-read-more { margin-top: auto; font-weight: 700; font-family: var(--wp--preset--font-family--manrope); text-decoration: none; color: var(--mrh-blue); padding-top: .6rem; }
.mrh-posts .wp-block-read-more:hover { color: var(--mrh-navy); text-decoration: underline; }

/* Front page: stack full-width bands without gaps */
.home .wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }
.mrh-hero { background-color: var(--mrh-navy); }
.mrh-hero .wp-block-buttons { gap: .75rem; }
.wp-block-group.mrh-sticky-cta { display: none !important; }
@media (max-width: 781px) { .wp-block-group.mrh-sticky-cta { display: flex !important; } }
.mrh-form-card .wpforms-container label, .mrh-form-card .wpforms-container .wpforms-field-label-inline { hyphens: manual !important; -webkit-hyphens: manual !important; }
.mrh-hero-art figure::before { inset: 4%; }
@media (max-width: 600px) { .wp-block-buttons.mrh-header-cta { display: none !important; } }
@media (max-width: 781px) {
	.mrh-hero-art { max-width: 230px !important; margin-inline: auto !important; }
	.mrh-hero-art img { width: 100% !important; height: auto !important; }
	.mrh-hero { padding-top: 28px !important; }
}

/* Hero mascot badge */
.mrh-hero-art figure { border-radius: 50%; overflow: hidden; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 38%, #FFFFFF 0%, #EAF4FE 45%, #B6DCFC 100%); box-shadow: 0 0 0 10px rgba(182,220,252,.14), 0 0 0 22px rgba(182,220,252,.07), 0 30px 60px -20px rgba(0,0,0,.6); max-width: 440px; margin-inline: auto !important; }
.mrh-hero-art figure::before { display: none; }
.mrh-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; filter: none; animation: none; transform: translateY(6%); }
