/*
Theme Name: Cheshire Design and Construction - Logo Fixed
Theme URI: https://orraweb.co.uk/
Author: OrraWeb
Author URI: https://orraweb.co.uk/
Description: Logo fixed version with the uploaded Cheshire Design and Construction logo bundled into the theme.
Version: 3.0.0
License: GPL v2 or later
Text Domain: cheshire-design-construction
*/

:root {
  --black: #050505;
  --dark: #101010;
  --charcoal: #1a1a1a;
  --white: #ffffff;
  --offwhite: #f7f7f4;
  --soft: #efeee9;
  --muted: #6f6f69;
  --line: rgba(0,0,0,0.1);
  --yellow: #ffe100;
  --shadow: 0 24px 70px rgba(0,0,0,0.16);
  --shadow-soft: 0 14px 36px rgba(0,0,0,0.08);
  --transition: 0.28s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }
.container { width: min(1180px, 92%); margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-dark { background: var(--black); color: var(--white); box-shadow: 0 16px 38px rgba(0,0,0,0.22); }
.btn-dark:hover { background: #202020; transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--black); border: 1px solid rgba(0,0,0,0.12); }
.btn-white:hover { transform: translateY(-2px); border-color: var(--black); }
.btn-yellow { background: var(--yellow); color: var(--black); box-shadow: 0 16px 38px rgba(0,0,0,0.18); }
.btn-yellow:hover { transform: translateY(-2px); filter: brightness(0.96); }

.topbar { background: var(--black); color: rgba(255,255,255,0.78); font-size: 13px; font-weight: 750; }
.topbar-inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.topbar strong { color: var(--yellow); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 320px; }
.brand-logo {
  width: 94px;
  height: 78px;
  border-radius: 14px;
  background: #050505;
  display: grid;
  place-items: center;
  padding: 8px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-text { display: grid; line-height: 1.12; }
.brand-text strong { color: var(--black); font-size: 18px; letter-spacing: -0.5px; }
.brand-text span { color: var(--muted); font-size: 12px; font-weight: 850; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--black); font-size: 14px; font-weight: 900; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px; background: var(--yellow); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.phone-link { color: var(--black); font-size: 14px; font-weight: 950; }

.hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.94), rgba(0,0,0,0.74), rgba(0,0,0,0.22)),
    url("https://scontent.fbhx4-1.fna.fbcdn.net/v/t1.6435-9/116711695_108801897592312_5022988932319912957_n.jpg?_nc_cat=111&ccb=1-7&_nc_sid=833d8c&_nc_ohc=AyRcKgb9xMEQ7kNvwFampUx&_nc_oc=AdrDSjEruy7EB9Qq2BUj4I8t1tvWK8PFRI2A4ojL13Cq-4B5K6ztK906qNGgxS2yrrxooiIHfI1WtJYdcOeBYGDT&_nc_zt=23&_nc_ht=scontent.fbhx4-1.fna&_nc_gid=xc73AUoum9Bz0p2fdg0vWg&_nc_ss=782a8&oh=00_Af9h-1_5vOjXaCr0ecuEKFmMAsc-2DtB39ffOtQpJMN0RA&oe=6A4520C8");
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}
.hero::after { content: ""; position: absolute; right: -260px; bottom: -320px; width: 760px; height: 760px; border-radius: 50%; background: rgba(255,225,0,0.11); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; min-height: 790px; display: grid; grid-template-columns: 1fr 430px; gap: 54px; align-items: center; padding: 92px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; padding: 9px 14px; color: rgba(255,255,255,0.92); font-size: 13px; font-weight: 950; margin-bottom: 22px; }
.eyebrow span { width: 8px; height: 8px; background: var(--yellow); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255,225,0,0.18); }
.hero h1 { font-size: clamp(52px, 7.2vw, 104px); line-height: 0.92; letter-spacing: -4.7px; max-width: 900px; margin-bottom: 26px; }
.hero h1 em { font-family: Georgia, serif; color: rgba(255,255,255,0.68); font-style: italic; }
.hero p { color: rgba(255,255,255,0.84); font-size: 18px; max-width: 710px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 38px; }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; max-width: 780px; }
.hero-point { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); border-radius: 20px; padding: 18px; backdrop-filter: blur(8px); }
.hero-point strong { display: block; color: var(--white); font-size: 18px; line-height: 1.1; margin-bottom: 5px; }
.hero-point span { color: rgba(255,255,255,0.72); font-size: 13px; font-weight: 750; }

.hero-form-card, .contact-card {
  background: rgba(255,255,255,0.97);
  color: var(--black);
  border-radius: 34px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.28);
}
.form-label { display: inline-flex; align-items: center; background: var(--black); color: var(--white); border-radius: 999px; padding: 8px 13px; font-size: 12px; font-weight: 950; margin-bottom: 16px; }
.hero-form-card h2, .contact-card h3 { font-size: 34px; line-height: 1.05; letter-spacing: -1px; margin-bottom: 8px; color: var(--black); }
.hero-form-card p, .contact-card p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.lead-form { display: grid; gap: 11px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: 14px 15px; border-radius: 15px; border: 1px solid rgba(0,0,0,0.14); background: var(--offwhite); color: var(--black); font-size: 14px; outline: none; }
.lead-form textarea { min-height: 96px; resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--black); box-shadow: 0 0 0 4px rgba(255,225,0,0.23); }
.lead-form .btn { width: 100%; margin-top: 4px; }
.form-success { background: #e9ffe9; border: 1px solid #91d991; color: #145214; padding: 14px; border-radius: 15px; margin-bottom: 16px; font-weight: 800; }
.form-error { background: #fff0f0; border: 1px solid #d99191; color: #641919; padding: 14px; border-radius: 15px; margin-bottom: 16px; font-weight: 800; }

.section { padding: 96px 0; }
.section-head { max-width: 850px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-label { display: inline-block; color: var(--black); text-transform: uppercase; letter-spacing: 0.85px; font-size: 13px; font-weight: 950; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.02; letter-spacing: -2px; margin-bottom: 16px; color: var(--black); }
.section-head p { color: var(--muted); font-size: 17px; }

.ticker-section { background: var(--black); color: var(--white); overflow: hidden; padding: 23px 0; }
.ticker { display: flex; gap: 42px; width: max-content; animation: scrollTicker 30s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 12px; font-weight: 950; font-size: 18px; white-space: nowrap; }
.ticker span::before { content: "◆"; color: var(--yellow); font-size: 12px; }
@keyframes scrollTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.about-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 54px; align-items: center; }
.image-stack { position: relative; min-height: 570px; }
.image-main { position: absolute; inset: 0 80px 80px 0; border-radius: 34px; overflow: hidden; background: var(--black); box-shadow: var(--shadow); }
.image-small { position: absolute; right: 0; bottom: 0; width: 48%; height: 290px; border-radius: 28px; overflow: hidden; border: 8px solid var(--white); background: var(--black); box-shadow: var(--shadow); }
.image-main img, .image-small img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -2.2px; color: var(--black); margin-bottom: 18px; }
.about-copy p { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.trust-card { background: var(--offwhite); border: 1px solid rgba(0,0,0,0.08); border-radius: 22px; padding: 20px; }
.trust-card strong { display: block; color: var(--black); font-size: 18px; margin-bottom: 6px; }
.trust-card span { color: var(--muted); font-size: 14px; font-weight: 750; }

.services { background: var(--offwhite); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { background: var(--white); border: 1px solid rgba(0,0,0,0.08); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-soft); transition: var(--transition); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-img { height: 230px; background: var(--black); overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-content { padding: 24px; }
.service-content small { display: inline-block; color: var(--black); font-weight: 950; text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 8px; font-size: 12px; }
.service-content h3 { color: var(--black); font-size: 24px; line-height: 1.08; letter-spacing: -0.8px; margin-bottom: 10px; }
.service-content p { color: var(--muted); font-size: 15px; }

.full-services { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.full-services::before { content: ""; position: absolute; left: -160px; top: -160px; width: 390px; height: 390px; background: rgba(255,225,0,0.12); border-radius: 50%; }
.full-services .section-head h2 { color: var(--white); }
.full-services .section-head p { color: rgba(255,255,255,0.72); }
.full-services .section-label { color: var(--yellow); }
.service-list-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-pill { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 20px; padding: 20px; color: var(--white); font-weight: 900; }
.service-pill span { display: block; color: var(--yellow); font-size: 13px; font-weight: 950; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.6px; }

.work { background: var(--white); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.work-card { position: relative; border-radius: 34px; overflow: hidden; min-height: 430px; box-shadow: var(--shadow); background: var(--black); }
.work-card img { width: 100%; height: 430px; object-fit: cover; opacity: 0.9; transition: var(--transition); }
.work-card:hover img { transform: scale(1.04); opacity: 1; }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.72)); }
.work-label { position: absolute; z-index: 2; left: 24px; bottom: 24px; color: var(--white); }
.work-label small { display: inline-flex; background: var(--yellow); color: var(--black); border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 10px; }
.work-label h3 { color: var(--white); font-size: 32px; line-height: 1.05; letter-spacing: -1px; }

.gallery { background: var(--offwhite); }
.gallery-grid { display: grid; grid-template-columns: 1.15fr 0.85fr 1fr; grid-auto-rows: 250px; gap: 18px; }
.gallery-card { position: relative; overflow: hidden; border-radius: 30px; background: var(--black); box-shadow: var(--shadow-soft); }
.gallery-card.large { grid-row: span 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-card:hover img { transform: scale(1.04); }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.70)); }
.gallery-content { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; color: var(--white); }
.gallery-content small { display: block; color: var(--yellow); font-weight: 950; text-transform: uppercase; letter-spacing: 0.7px; font-size: 12px; margin-bottom: 7px; }
.gallery-content h3 { font-size: 27px; line-height: 1.08; letter-spacing: -0.8px; }

.areas-box { background: var(--offwhite); border: 1px solid rgba(0,0,0,0.08); border-radius: 38px; padding: 46px; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 36px; align-items: center; box-shadow: var(--shadow-soft); }
.areas-box h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.03; letter-spacing: -1.7px; color: var(--black); margin-bottom: 14px; }
.areas-box p { color: var(--muted); font-size: 17px; }
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.area-tags span { display: inline-flex; background: var(--white); border: 1px solid rgba(0,0,0,0.12); color: var(--black); border-radius: 999px; padding: 11px 15px; font-weight: 850; font-size: 14px; }

.reviews { background: var(--offwhite); }
.review-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 22px; align-items: stretch; }
.review-score { background: var(--black); color: var(--white); border-radius: 34px; padding: 34px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; min-height: 360px; }
.review-score h3 { font-size: 56px; line-height: 1; letter-spacing: -2px; margin-bottom: 12px; color: var(--yellow); }
.review-score p { color: rgba(255,255,255,0.72); font-size: 16px; }
.stars { color: var(--yellow); letter-spacing: 2px; font-size: 18px; margin-bottom: 14px; }
.review-card { background: var(--white); border-radius: 34px; padding: 34px; box-shadow: var(--shadow-soft); border: 1px solid rgba(0,0,0,0.08); }
.review-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.review-top strong { display: block; color: var(--black); font-size: 20px; line-height: 1.1; }
.review-top span { display: inline-block; color: var(--black); background: var(--yellow); font-size: 13px; font-weight: 950; margin-top: 6px; padding: 3px 8px; }
.badge { display: inline-flex; background: var(--black); color: var(--white); border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 950; white-space: nowrap; }
.review-card .stars { color: var(--black); }
.review-card p { color: var(--black); font-size: 17px; line-height: 1.75; }

.cta-band { background: var(--black); color: var(--white); padding: 46px 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-inner h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.05; letter-spacing: -1.7px; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,0.72); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-grid { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 44px; align-items: start; }
.contact-copy h2 { font-size: clamp(38px, 5vw, 66px); line-height: 1.03; letter-spacing: -2px; color: var(--black); margin-bottom: 18px; }
.contact-copy p { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.contact-info { display: grid; gap: 13px; }
.info-box { background: var(--offwhite); border: 1px solid rgba(0,0,0,0.08); border-radius: 20px; padding: 18px; }
.info-box strong { display: block; color: var(--black); margin-bottom: 4px; }
.info-box a, .info-box span { color: var(--muted); font-size: 15px; }
.contact-card { background: var(--black); color: var(--white); }
.contact-card h3 { color: var(--white); }
.contact-card p { color: rgba(255,255,255,0.72); }
.contact-card input, .contact-card select, .contact-card textarea { background: rgba(255,255,255,0.08); color: var(--white); border: 1px solid rgba(255,255,255,0.16); }
.contact-card input::placeholder, .contact-card textarea::placeholder { color: rgba(255,255,255,0.62); }
.contact-card select { color: rgba(255,255,255,0.78); }
.contact-card option { color: var(--black); }

.footer { background: var(--black); color: rgba(255,255,255,0.72); padding: 44px 0 90px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 0.9fr; gap: 32px; }
.footer h4 { color: var(--white); margin-bottom: 14px; font-size: 17px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a, .footer li, .footer p { color: rgba(255,255,255,0.72); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--white); font-weight: 950; font-size: 18px; }
.footer-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.mobile-sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 99999; display: none; gap: 8px; background: rgba(255,255,255,0.96); border: 1px solid rgba(0,0,0,0.10); border-radius: 22px; padding: 10px; box-shadow: 0 14px 34px rgba(0,0,0,0.18); }
.mobile-sticky a { flex: 1; text-align: center; padding: 13px 10px; border-radius: 16px; font-size: 14px; font-weight: 950; }
.mobile-sticky .call { background: var(--black); color: var(--white); }
.mobile-sticky .quote { background: var(--yellow); color: var(--black); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.hero-copy { animation: heroTextIn 0.8s ease forwards; }
.hero-form-card { animation: formIn 0.9s ease forwards; }
@keyframes heroTextIn { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes formIn { from { opacity: 0; transform: translateX(30px) scale(0.98); } to { opacity: 1; transform: translateX(0) scale(1); } }

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .hero-grid, .about-grid, .areas-box, .review-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid, .service-list-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body.admin-bar .site-header { top: 0; }
  .topbar { display: none; }
  .nav { min-height: 74px; }
  .brand { min-width: auto; }
  .brand-text strong { font-size: 15px; }
  .brand-text span, .nav-actions { display: none; }
  .brand-logo {
  width: 94px;
  height: 78px;
  border-radius: 14px;
  background: #050505;
  display: grid;
  place-items: center;
  padding: 8px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
}
  .hero-grid { min-height: auto; padding: 58px 0 70px; }
  .hero h1 { letter-spacing: -2.8px; }
  .hero p { font-size: 17px; }
  .hero-actions, .cta-actions { flex-direction: column; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-points, .service-grid, .service-list-grid, .trust-grid, .work-grid, .form-row, .footer-grid, .gallery-grid { grid-template-columns: 1fr; }
  .hero-form-card, .contact-card, .areas-box { padding: 26px; border-radius: 28px; }
  .section { padding: 70px 0; }
  .image-stack { min-height: 430px; }
  .image-main { inset: 0 0 100px 0; }
  .image-small { width: 72%; height: 220px; }
  .work-card, .work-card img { min-height: 330px; height: 330px; }
  .gallery-grid { grid-auto-rows: 250px; }
  .gallery-card.large { grid-row: span 1; }
  .mobile-sticky { display: flex; }
  .footer { padding-bottom: 95px; }
}
