/*
Theme Name: CleanCut Near Me
Theme URI: https://cleancutnearme.com/
Description: Performance-focused Hello Elementor child theme for CleanCut Near Me.
Author: CleanCut Near Me
Template: hello-elementor
Version: 1.5.0
Text Domain: cleancut
*/

:root {
  --cc-blue: #0755d9;
  --cc-blue-dark: #071f5f;
  --cc-blue-soft: #eef4ff;
  --cc-green: #4eae18;
  --cc-green-dark: #37850a;
  --cc-amber: #ffb300;
  --cc-text: #243455;
  --cc-muted: #667085;
  --cc-line: #dfe6f1;
  --cc-white: #fff;
  --cc-radius-sm: 10px;
  --cc-radius: 16px;
  --cc-radius-lg: 22px;
  --cc-shadow: 0 8px 28px rgba(17, 41, 91, .09);
  --cc-shadow-hover: 0 16px 36px rgba(17, 41, 91, .15);
  --cc-container: 1240px;
  --cc-section: clamp(56px, 7vw, 92px);
}

html { scroll-behavior: smooth; }
body { color: var(--cc-text); overflow-x: hidden; }
a, button, input, select, textarea { transition: .2s ease; }
:focus-visible { outline: 3px solid #ffbf47 !important; outline-offset: 3px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.cc-section { padding-block: var(--cc-section); }
body .elementor-element.cc-wrap { --width: min(calc(100% - 40px), var(--cc-container)); width: min(calc(100% - 40px), var(--cc-container)) !important; max-width: var(--cc-container) !important; margin-inline: auto !important; }
.cc-eyebrow { color: var(--cc-green); font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
body .cc-title, body .cc-title h1, body .cc-title h2 { color: var(--cc-blue-dark) !important; letter-spacing: -.035em; line-height: 1.08; }
body .cc-section-title, body .cc-section-title h2 { color: var(--cc-blue-dark) !important; text-align: center; margin-bottom: 30px; }
.cc-section-title:after { content: ''; display: block; width: 38px; height: 3px; border-radius: 3px; background: var(--cc-green); margin: 10px auto 0; }

.cc-btn .elementor-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 9px; font-weight: 750; }
body .cc-btn-primary .elementor-button { background: var(--cc-blue) !important; color: #fff !important; box-shadow: 0 8px 18px rgba(7,85,217,.20); }
.cc-btn-primary .elementor-button:hover { background: #0346bc; transform: translateY(-2px); }
body .cc-btn-outline .elementor-button { background: #fff !important; color: var(--cc-blue) !important; border: 2px solid var(--cc-blue); }
.cc-btn-outline .elementor-button:hover { background: var(--cc-blue-soft); }

.cc-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(223,230,241,.7); backdrop-filter: blur(14px); }
.cc-header.is-scrolled { box-shadow: 0 8px 24px rgba(17,41,91,.10); }
body .cc-brand, body .cc-brand .elementor-heading-title { color: var(--cc-blue-dark) !important; font-size: 28px; font-weight: 850; letter-spacing: -.035em; white-space: nowrap; }
.cc-brand small { display: block; color: var(--cc-green); font-size: 11px; letter-spacing: .16em; line-height: 1; }
.cc-nav .elementor-nav-menu--main a { color: var(--cc-blue-dark); font-weight: 700; padding: 30px 17px; }
.cc-nav .elementor-nav-menu--main a:hover, .cc-nav .elementor-item-active { color: var(--cc-blue); }
.cc-nav .elementor-item-active:after { opacity: 1 !important; background: var(--cc-blue); height: 3px; }

.cc-hero { min-height: 520px; background: linear-gradient(90deg,#fff 0%,#fff 42%,#f7fbff 42%,#f7fbff 100%); }
.cc-hero-copy { padding: clamp(54px,7vw,92px) 0; position: relative; z-index: 2; }
body .cc-hero h1 { color: var(--cc-blue-dark) !important; font-size: clamp(44px,4.7vw,68px); max-width: 640px; margin: 10px 0 16px; }
.cc-hero-copy p { max-width: 590px; font-size: 18px; line-height: 1.7; }
.cc-hero-media { min-height: 520px; overflow: hidden; }
.cc-hero-media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: 62% center; }
.cc-button-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.cc-trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 20px; color: #526078; font-size: 13px; }
.cc-trust-row span:before { content: '✓'; display: inline-grid; place-items: center; width: 17px; height: 17px; border: 1.5px solid var(--cc-green); border-radius: 50%; margin-right: 7px; color: var(--cc-green); font-weight: 900; }

.cc-benefits { position: relative; z-index: 4; margin-top: -28px; background: #fff; border: 1px solid #edf1f7; border-radius: var(--cc-radius); box-shadow: var(--cc-shadow); padding: 26px 30px; }
.cc-benefit { padding: 4px 24px; border-right: 1px solid var(--cc-line); }
.cc-benefit:last-child { border-right: 0; }
.cc-benefit h3 { color: var(--cc-blue-dark) !important; font-size: 17px !important; line-height: 1.2; }
.cc-benefit p { color: var(--cc-muted); font-size: 13px; line-height: 1.45; }
.cc-benefit .elementor-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--cc-blue); color: #fff; }
.cc-benefit:nth-child(even) .elementor-icon { background: var(--cc-green); }

body .elementor-element.cc-services-grid { --width: 100%; display: grid !important; grid-template-columns: repeat(6, minmax(0,1fr)) !important; gap: 18px; width: 100% !important; max-width: 100% !important; min-width: 0 !important; align-self: stretch !important; }
body .elementor-element.cc-card { display: flex; flex-direction: column; height: 100%; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-sm); box-shadow: 0 4px 16px rgba(17,41,91,.05); }
.cc-card:hover { transform: translateY(-5px); box-shadow: var(--cc-shadow-hover); }
.cc-card img { width: 100%; height: 180px; object-fit: cover; }
body .elementor-element.cc-service-image { display: block !important; width: 100%; min-height: 180px; flex: 0 0 180px; background-image: var(--cc-service-sheet); background-repeat: no-repeat; background-size: 300% 200%; }
.cc-service-1 { background-position: 0 0; }
.cc-service-2 { background-position: 50% 0; }
.cc-service-3 { background-position: 100% 0; }
.cc-service-4 { background-position: 0 100%; }
.cc-service-5 { background-position: 50% 100%; }
.cc-service-6 { background-position: 100% 100%; }
.cc-card-body { padding: 24px; }
body .cc-card h3 { color: var(--cc-blue-dark) !important; font-size: 20px; margin-bottom: 9px; }
.cc-card p { color: var(--cc-muted); line-height: 1.65; }
.cc-card a { color: var(--cc-blue); font-weight: 750; text-decoration: none; }

.cc-about-image img { min-height: 420px; object-fit: cover; border-radius: var(--cc-radius); }
.cc-checks .elementor-icon-list-icon { width: 21px; height: 21px; display: grid; place-items: center; border: 1.5px solid var(--cc-green); border-radius: 50%; color: var(--cc-green); }
.cc-process { border: 1px solid var(--cc-line); border-radius: var(--cc-radius); box-shadow: 0 5px 20px rgba(17,41,91,.05); padding: 28px; }
.cc-step { position: relative; padding: 12px 26px; }
.cc-step-number { width: 38px; height: 38px; display: grid; place-items: center; background: var(--cc-blue); color: #fff; border-radius: 50%; font-weight: 800; }
.cc-step-icon { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--cc-blue-soft); color: var(--cc-blue); font-size: 32px; }

.cc-testimonial { height: 100%; padding: 27px; background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-sm); box-shadow: 0 4px 15px rgba(17,41,91,.05); }
.cc-testimonial .cc-quote { color: var(--cc-green); font-size: 32px; line-height: 1; font-weight: 900; }
.cc-placeholder { border: 1px dashed #e5a000; background: #fffaf0; }
.cc-placeholder-note { color: #7a5500; font-size: 12px; font-weight: 700; }

.cc-cta { overflow: hidden; background: linear-gradient(115deg,#0755d9 0%,#071f5f 100%); color: #fff; border-radius: var(--cc-radius-lg); box-shadow: 0 12px 30px rgba(7,31,95,.22); padding: clamp(34px,5vw,58px); }
.cc-cta h2 { color: #fff; font-size: clamp(30px,3.5vw,48px); }
.cc-cta .cc-btn-outline .elementor-button { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }

.cc-footer { background: #06194d; color: #cbd5ef; padding: 64px 0 24px; }
.cc-footer h3, .cc-footer h4 { color: #fff; }
.cc-footer a { color: #dce6ff; }
.cc-footer a:hover { color: #fff; }
.cc-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 22px; }

.cc-form .elementor-field { min-height: 48px; border: 1px solid #cfd8e8; border-radius: 8px; }
.cc-form .elementor-field:focus { border-color: var(--cc-blue); box-shadow: 0 0 0 3px rgba(7,85,217,.12); }
.cc-form .elementor-button { min-height: 50px; border-radius: 8px; background: var(--cc-blue); font-weight: 750; }

@media (max-width: 1199px) {
  body .elementor-element.cc-services-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}
@media (max-width: 1024px) {
  body .elementor-element.cc-services-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .cc-benefit { border-right: 0; border-bottom: 1px solid var(--cc-line); }
  .cc-hero { background: #fff; }
}
@media (max-width: 767px) {
  :root { --cc-section: 54px; }
  body .elementor-element.cc-wrap { --width: calc(100% - 28px); width: calc(100% - 28px) !important; max-width: calc(100% - 28px) !important; }
  body .elementor-element.cc-hero { display: flex !important; flex-direction: column !important; width: 100% !important; }
  body .elementor-element.cc-hero-copy, body .elementor-element.cc-hero-media { width: 100vw !important; max-width: 100vw !important; flex-basis: 100% !important; }
  body .elementor-element.cc-hero-copy { box-sizing: border-box !important; overflow: hidden; padding: 46px 20px 30px; }
  body .cc-hero-copy .elementor-element, body .cc-hero-copy p, body .cc-hero-copy .cc-button-row { box-sizing: border-box; width: calc(100vw - 40px) !important; max-width: calc(100vw - 40px) !important; }
  body .cc-hero h1 { max-width: 100%; font-size: clamp(38px,11vw,48px) !important; overflow-wrap: anywhere; }
  .cc-hero-copy p { font-size: 16px; }
  .cc-hero-media, .cc-hero-media img { min-height: 360px; }
  .cc-button-row { flex-direction: column; gap: 12px; }
  .cc-button-row .elementor-widget-button, .cc-button-row .elementor-button { width: 100%; }
  .cc-benefits { margin-top: 18px; padding: 14px 20px; }
  body .elementor-element.cc-services-grid { --width: 100%; grid-template-columns: minmax(0,1fr) !important; width: 100% !important; max-width: 100% !important; }
  body .elementor-element.cc-card { width: 100% !important; max-width: 100% !important; }
  .cc-card img, .cc-service-image { height: 210px; }
  .cc-about-image img { min-height: 300px; }
  .cc-process { padding: 18px; }
  .cc-cta { border-radius: 16px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
