/*
Theme Name: Om Tubewell Testing
Theme URI: https://datasostech.com/
Author: DataSOS Technologies
Author URI: https://datasostech.com/
Description: Block theme for Om Tubewell Testing, borewell cleaning with air compressor in Ahmedabad. All text, images and videos can be edited from Pages and Appearance > Editor.
Version: 1.0.1
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: om-tubewell
*/

:root {
	--om-r: 10px;
}

h1, h2, h3 { text-wrap: balance; }
:where(.wp-site-blocks) :focus-visible { outline: 3px solid var(--wp--preset--color--yellow); outline-offset: 3px; }

/* Small label above headings */
.om-eyebrow {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 0.8rem !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--water);
	margin-bottom: 0 !important;
}
.om-lead { color: var(--wp--preset--color--muted); max-width: 62ch; font-size: 1.08rem; }

/* Top bar + header */
.om-topbar { font-size: 0.95rem; }
.om-topbar strong { color: var(--wp--preset--color--yellow); }
.om-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--wp--preset--color--line); }
.admin-bar .om-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .om-header { top: 0; position: relative; } }
.om-header .wp-block-site-title { font-family: var(--wp--preset--font-family--display); font-weight: 800; line-height: 1.1; margin: 0; }
.om-header .wp-block-site-title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.om-header .wp-block-site-tagline { font-size: 0.8rem; color: var(--wp--preset--color--muted); margin: 0; }
.om-header .wp-block-navigation a:hover { color: var(--wp--preset--color--water); }
@media (max-width: 600px) {
	.om-header .om-header-call { display: none; }
	.om-header .wp-block-site-tagline { display: none; }
}

/* Hero */
.om-hero h1 mark, .om-hero h1 .om-hl { background: none; color: var(--wp--preset--color--water); }
.om-phone-line strong { font-family: var(--wp--preset--font-family--display); font-size: 1.15rem; letter-spacing: 0.02em; color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; border: 2px solid currentColor; color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--surface); }

/* Bore depth gauge */
.om-gauge { border-radius: 16px; }
.om-gauge-title { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 0.82rem !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--yellow); }
.om-gauge .wp-block-columns { flex-wrap: nowrap !important; gap: 1.25rem; }
.om-gauge .om-scale-col { flex: 0 0 auto !important; }
.om-scale { display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; text-align: right; font-family: var(--wp--preset--font-family--display); font-size: 0.82rem; font-variant-numeric: tabular-nums; opacity: 0.85; }
.om-scale p { margin: 0 !important; }
.om-bore { position: relative; display: flex !important; flex-direction: column; justify-content: space-between; height: 100%; min-height: 300px; padding-left: 20px; border-left: 2px dashed rgba(233, 241, 243, 0.35); }
.om-bore::before { content: ""; position: absolute; left: -9px; top: 14%; bottom: 0; width: 16px; border-radius: 8px; background: var(--wp--preset--color--yellow); opacity: 0.9; }
.om-bore p { margin: 0 !important; font-size: 0.95rem; line-height: 1.35; }
.om-bore strong { display: block; font-family: var(--wp--preset--font-family--display); font-size: 1.05rem; }
.om-gauge-foot { border-top: 1px solid rgba(233, 241, 243, 0.18); padding-top: 12px; font-size: 0.9rem; opacity: 0.85; }

/* Number strip */
.om-stat { margin: 0 !important; }
.om-stat strong { display: block; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; color: var(--wp--preset--color--water); font-variant-numeric: tabular-nums; }
.om-stat { color: var(--wp--preset--color--muted); }

/* Cards */
.om-card { border: 1px solid var(--wp--preset--color--line); border-top: 4px solid var(--wp--preset--color--water); border-radius: var(--om-r); }
.om-card p { color: var(--wp--preset--color--muted); }

/* Check list */
ul.om-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ul.om-checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; background: var(--wp--preset--color--surface); border-radius: var(--om-r); padding: 14px 16px; }
ul.om-checks li::before { content: ""; width: 22px; height: 22px; margin-top: 4px; border-radius: 50%; background: var(--wp--preset--color--yellow); box-shadow: inset 0 0 0 6px var(--wp--preset--color--yellow), inset 0 0 0 9px #1A1A12; }

/* Steps */
ol.om-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; counter-reset: s; }
ol.om-steps li { counter-increment: s; border-top: 4px solid var(--wp--preset--color--water); padding-top: 16px; color: var(--wp--preset--color--muted); }
ol.om-steps li::before { content: "Step " counter(s); display: block; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--water); margin-bottom: 6px; }
ol.om-steps li strong { display: block; font-family: var(--wp--preset--font-family--display); font-size: 1.2rem; color: var(--wp--preset--color--ink); margin-bottom: 4px; }

/* Dark band */
.om-dark .om-eyebrow, .om-dark h3 { color: var(--wp--preset--color--yellow); }
.om-dark h2 { color: var(--wp--preset--color--on-deep); }
.om-dark p { color: var(--wp--preset--color--on-deep); }
.om-dark .om-lead, .om-dark .om-why-item p { opacity: 0.85; }

/* Area pills */
ul.om-areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
ul.om-areas li { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 999px; padding: 6px 16px; font-weight: 500; }

/* Gallery */
.om-gallery figure img { border-radius: var(--om-r); }

/* FAQ */
.wp-block-details summary { cursor: pointer; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.06rem; padding-block: 14px; }
.wp-block-details > p { color: var(--wp--preset--color--muted); padding-bottom: 12px; margin-top: 0; }

/* Call band */
.om-cta h2 { color: #1A1A12; max-width: 22ch; }
.om-cta .om-big { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: 0.02em; margin: 0; color: #1A1A12; }
.om-cta .wp-block-button__link { background: #1A1A12; color: #FFF6D6; }
.om-cta .wp-block-button__link:hover { background: #000; color: #FFF6D6; }

/* Page title banner */
.om-page-banner h1 { font-size: var(--wp--preset--font-size--xx-large); }

/* Contact */
.om-contact-box { border-radius: 16px; }
.om-contact-box .om-big { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: 0; letter-spacing: 0.02em; color: var(--wp--preset--color--yellow); }
.om-map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--om-r); display: block; }

/* Enquiry form */
.om-form { display: grid; gap: 14px; }
.om-form label { display: grid; gap: 4px; font-weight: 500; }
.om-form input, .om-form textarea, .om-form select { font: inherit; padding: 12px 14px; border: 1px solid var(--wp--preset--color--line); border-radius: 8px; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); width: 100%; }
.om-form textarea { min-height: 120px; }
.om-form button { justify-self: start; cursor: pointer; border: 0; background: var(--wp--preset--color--yellow); color: #1A1A12; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.02rem; padding: 14px 26px; border-radius: 999px; }
.om-form button:hover { background: #FFC824; }
.om-form .om-hp { position: absolute; left: -9999px; }
.om-notice { padding: 14px 16px; border-radius: 8px; font-weight: 500; }
.om-notice.ok { background: #E2F4E6; color: #1C5B2A; }
.om-notice.err { background: #FBE6E3; color: #7A2318; }

/* Footer */
.om-footer a { color: var(--wp--preset--color--on-deep); }
.om-footer p { opacity: 0.85; }

/* Mobile call bar */
.om-callbar { display: none !important; }
@media (max-width: 720px) {
	.om-callbar { display: block !important; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; margin: 0 !important; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) !important; }
	.om-callbar .wp-block-button, .om-callbar .wp-block-button__link { width: 100%; text-align: center; }
	.om-footer { padding-bottom: 96px !important; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Fixes: no gaps between header, page and footer; tidy footer links; form fields fit their column */
.wp-site-blocks > * { margin-block-start: 0 !important; }
.om-footer ul { list-style: none; padding-left: 0; }
.om-form input, .om-form textarea, .om-form select { box-sizing: border-box; max-width: 100%; }
