/* Empire Roofcare & Building Ltd — corporate template style (Elementor-style layout) */

:root {
  --navy: #2D323D;
  --navy-2: #3A4050;
  --navy-3: #454C5E;
  --accent: #C93DA1;
  --accent-dark: #A32E80;
  --light: #F5F5F8;
  --light-2: #ECEBF0;
  --border: #E3E1E8;
  --text: #262A33;
  --text-soft: #5E6270;
  --white: #FFFFFF;
  --gold: #F0A93B;
  --radius: 8px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero h1 { color: var(--white); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--text-soft); }

.tagline {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 10px;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #C9D6E5; font-size: 0.85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #C9D6E5; }
.topbar a:hover { color: var(--white); }
.topbar .tb-left { display: flex; gap: 22px; }
.topbar .tb-left span { display: flex; align-items: center; gap: 6px; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); z-index: 100; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 8px 24px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 36px; width: auto; display: block; }

nav.main-nav { display: flex; gap: 26px; }
nav.main-nav a { font-weight: 600; font-size: 0.95rem; color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; }
nav.main-nav a:hover, nav.main-nav a[aria-current="page"] { color: var(--accent); border-color: var(--accent); }

.nav-toggle { display: none; background: none; border: none; color: var(--navy); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--light); padding: 12px 0; font-size: 0.85rem; }
.breadcrumb .wrap { display: flex; gap: 8px; color: var(--text-soft); }
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .current { color: var(--accent); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(45,50,61,0.90), rgba(45,50,61,0.86)), var(--hero-img, none);
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  color: var(--white);
  padding: 76px 0 64px;
}

/* Before/after gallery */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: var(--radius); overflow: hidden; }
.ba-item { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.ba-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-item .tag { position: absolute; top: 10px; left: 10px; background: var(--navy); color: var(--white); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 10px; border-radius: 999px; }
.ba-item.after .tag { background: var(--accent); }
.hero-inner { max-width: 640px; }
.hero p.sub { color: #D7E0EA; font-size: 1.1rem; }
.hero-checklist { list-style: none; margin: 22px 0 30px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-checklist li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.hero-checklist li::before {
  content: "✓"; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: var(--white); font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Photo strip ---------- */
.photo-strip { background: var(--light); padding: 40px 0; }
.photo-strip .wrap { text-align: center; }
.photo-strip h2 { max-width: 780px; margin: 0 auto 30px; }
.strip-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.strip-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 12px; text-align: center; }
.strip-item .ic { width: 46px; height: 46px; margin: 0 auto 12px; background: var(--light-2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.strip-item span { font-weight: 700; font-size: 0.9rem; color: var(--navy); }

/* ---------- Intro / about ---------- */
.about-section { padding: 64px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-photo { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--light-2), var(--light)); border-radius: var(--radius); overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Reviews ---------- */
.reviews-section { background: var(--navy); padding: 64px 0; color: var(--white); }
.reviews-section h2 { color: var(--white); text-align: center; }
.reviews-section .tagline { text-align: center; }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 30px; }
.review-card { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-family: "Poppins", sans-serif; font-size: 1rem; }
.review-who { flex: 1; min-width: 0; }
.review-who .rname { margin: 0; font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.review-who .rmeta { margin: 0; font-size: 0.78rem; color: var(--text-soft); }
.review-google-g { flex-shrink: 0; }
.review-card .stars { color: var(--gold); letter-spacing: 2px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; font-size: 0.95rem; }
.review-card .verified-check { display: inline-flex; }
.review-card p.quote { color: var(--text); font-style: normal; font-size: 0.94rem; margin: 0; }

/* ---------- Services grid ---------- */
.services-section { padding: 64px 0; background: var(--white); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s ease, transform .15s ease; }
.svc-card:hover { box-shadow: 0 12px 26px rgba(16,42,76,0.12); transform: translateY(-3px); }
.svc-photo { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--light-2), var(--light)); border-bottom: 1px solid var(--border); overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.svc-card:hover .svc-photo img { transform: scale(1.04); }
.svc-body { padding: 20px; }
.svc-body h3 { margin-bottom: 8px; }
.svc-body .more { color: var(--accent); font-weight: 700; font-size: 0.88rem; }

/* ---------- Spotlight ---------- */
.spotlight { background: var(--light); padding: 64px 0; }
.spotlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ---------- Why choose us ---------- */
.why-section { padding: 64px 0; background: var(--navy); color: var(--white); }
.why-section h2 { color: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; margin: 30px 0 34px; }
.why-item { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.why-item .tick { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.85rem; }

/* ---------- Emergency banner ---------- */
.emergency-banner { background: var(--accent); color: var(--white); padding: 40px 0; text-align: center; }
.emergency-banner h2 { color: var(--white); margin-bottom: 10px; }
.emergency-banner .btn-navy { background: var(--navy); }
.emergency-banner .btn-navy:hover { background: #0C2038; }

/* ---------- Areas ---------- */
.areas-section { padding: 56px 0; background: var(--white); }
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.area-tags span { background: var(--light); border: 1px solid var(--border); padding: 8px 16px; border-radius: 999px; font-size: 0.88rem; color: var(--navy); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-section { padding: 64px 0; background: var(--light); }
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); background: var(--white); margin-bottom: 10px; border-radius: var(--radius); border: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 700; color: var(--navy); cursor: pointer; font-size: 1rem; }
.faq-q .icon { width: 20px; height: 20px; position: relative; flex-shrink: 0; }
.faq-q .icon::before, .faq-q .icon::after { content: ""; position: absolute; background: var(--accent); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-q .icon::before { width: 14px; height: 2px; }
.faq-q .icon::after { width: 2px; height: 14px; transition: transform .2s ease; }
.faq-item[open] .faq-q .icon::after { transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.faq-a { padding: 0 20px 20px; margin: 0; color: var(--text-soft); }
details.faq-item summary { list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--white); padding: 56px 0; text-align: center; }
.cta-band h2 { color: var(--white); }

/* ---------- Contact section ---------- */
.contact-section { padding: 64px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-card { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.85rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px;
  font-family: "Inter", sans-serif; font-size: 0.95rem; background: var(--white); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.field textarea { min-height: 100px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--text-soft); margin-top: 12px; }

.info-block { display: flex; gap: 14px; margin-bottom: 22px; }
.info-block .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--light-2); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-block h4 { margin: 0 0 4px; font-family: "Inter", sans-serif; font-weight: 700; font-size: 1rem; color: var(--navy); }
.info-block p { margin: 0; }

.map-embed { aspect-ratio: 16/9; background: var(--light-2); border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { display: block; }

.emergency-callout { background: var(--light); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.emergency-callout h4 { margin: 0 0 4px; color: var(--navy); font-family: "Inter", sans-serif; font-weight: 700; }
.emergency-callout p { margin: 0; }

/* ---------- Trust badges ---------- */
.trust-strip { padding: 40px 0; background: var(--light); }
.trust-strip .wrap { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.trust-badge { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-soft); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.trust-badge .circle { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--navy); }

/* ---------- Map embed section ---------- */
.map-section { line-height: 0; }
.map-section iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer.site-footer { background: #20242C; color: #B7BAC4; padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 34px; }
.footer-grid h5 { color: var(--white); font-family: "Poppins", sans-serif; font-size: 0.95rem; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-grid a { font-size: 0.9rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: var(--navy); border-top: 1px solid rgba(255,255,255,0.1); }
.mobile-cta-bar .row { display: grid; grid-template-columns: 1fr 1fr; }
.mobile-cta-bar a { text-align: center; padding: 15px 10px; font-weight: 700; font-size: 0.9rem; color: var(--white); }
.mobile-cta-bar a.call { background: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .spotlight-grid, .contact-grid, .why-grid { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  nav.main-nav, .topbar { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open nav.main-nav {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 20px 24px 26px; gap: 14px;
    border-bottom: 1px solid var(--border);
  }
  .strip-grid, .services-grid, .review-grid, .footer-grid { grid-template-columns: 1fr; }
  section, .about-section, .services-section, .spotlight, .why-section, .faq-section, .contact-section { padding: 44px 0; }
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 54px; }
}
