/* ===================================================
   Roof Repairs Roofing Launceston — stylesheet
=================================================== */
:root{
  --charcoal:#1b2029;
  --charcoal-light:#262d3a;
  --red:#c1272d;
  --red-dark:#921d22;
  --orange:#f2994a;
  --gold:#f5b301;
  --grey-bg:#f4f5f7;
  --grey-line:#e3e5ea;
  --text:#333844;
  --text-light:#6b7280;
  --white:#ffffff;
  --radius:10px;
  --shadow:0 10px 30px rgba(27,32,41,.08);
  --shadow-lg:0 20px 45px rgba(27,32,41,.16);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}

html{scroll-behavior:smooth;}

body{
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.6;
  overflow-x:hidden;
}

img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
button{font:inherit;cursor:pointer;}

h1,h2,h3,h4{
  font-family:'Poppins',system-ui,sans-serif;
  line-height:1.25;
  color:var(--charcoal);
  font-weight:700;
}

.container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

.eyebrow{
  display:inline-block;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.75rem;
  font-weight:700;
  color:var(--red);
  margin-bottom:12px;
}

.section{padding:80px 0;}
.section-grey{background:var(--grey-bg);}
.section-header{max-width:640px;margin:0 auto 48px;text-align:center;}
.section-header h2{font-size:2.1rem;margin-bottom:14px;}
.section-header p{color:var(--text-light);font-size:1.05rem;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 28px;
  border-radius:50px;
  font-weight:600;
  font-size:.95rem;
  border:2px solid transparent;
  transition:all .2s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--red);color:var(--white);}
.btn-primary:hover{background:var(--red-dark);transform:translateY(-2px);box-shadow:var(--shadow);}
.btn-outline{border-color:var(--white);color:var(--white);}
.btn-outline:hover{background:var(--white);color:var(--charcoal);}
.btn-dark{background:var(--charcoal);color:var(--white);}
.btn-dark:hover{background:#000;transform:translateY(-2px);}
.btn-block{width:100%;justify-content:center;}

/* ---------- Top bar ---------- */
.topbar{
  background:var(--charcoal);
  color:#cfd3dc;
  font-size:.85rem;
}
.topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:8px;
  padding-bottom:8px;
  flex-wrap:wrap;
  gap:8px;
}
.topbar-item{display:flex;align-items:center;gap:8px;}
.topbar-item i{color:var(--orange);}
.topbar a:hover{color:var(--orange);}
.topbar-badges{display:flex;gap:16px;flex-wrap:wrap;}

/* ---------- Header / nav ---------- */
header.site-header{
  background:var(--white);
  position:sticky;
  top:0;
  z-index:100;
  box-shadow:0 2px 12px rgba(0,0,0,.06);
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
}
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-family:'Poppins',sans-serif;
  font-weight:700;
  font-size:1.25rem;
  color:var(--charcoal);
}
.logo-mark{
  width:46px;height:46px;
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  color:var(--white);
  font-size:1.3rem;
  flex-shrink:0;
}
.logo span{display:block;font-size:.7rem;font-weight:500;color:var(--text-light);letter-spacing:.05em;text-transform:uppercase;}

nav.main-nav ul{
  display:flex;
  gap:8px;
  align-items:center;
}
nav.main-nav a{
  padding:10px 16px;
  border-radius:8px;
  font-weight:600;
  font-size:.95rem;
  color:var(--text);
  transition:all .2s;
}
nav.main-nav a:hover,
nav.main-nav a.active{
  color:var(--red);
  background:rgba(193,39,45,.08);
}

.header-actions{display:flex;align-items:center;gap:14px;}
.header-call{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  color:var(--charcoal);
}
.header-call i{
  width:38px;height:38px;
  background:var(--red);
  color:var(--white);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.header-call small{display:block;font-weight:500;color:var(--text-light);font-size:.72rem;}

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  padding:8px;
}
.nav-toggle span{width:26px;height:3px;background:var(--charcoal);border-radius:3px;}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background:linear-gradient(120deg,rgba(27,32,41,.92),rgba(27,32,41,.78)),
    repeating-linear-gradient(135deg,#3a4256 0 40px,#333b4d 40px 80px);
  color:var(--white);
  padding:110px 0 100px;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute;
  right:-120px;top:-120px;
  width:420px;height:420px;
  background:radial-gradient(circle,rgba(242,153,74,.25),transparent 70%);
}
.hero-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;position:relative;z-index:2;}
.hero h1{color:var(--white);font-size:3rem;margin-bottom:20px;}
.hero h1 em{color:var(--orange);font-style:normal;}
.hero p{font-size:1.1rem;color:#d3d6de;max-width:520px;margin-bottom:32px;}
.hero-cta{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:36px;}
.hero-points{display:flex;gap:28px;flex-wrap:wrap;}
.hero-points li{display:flex;align-items:center;gap:8px;font-weight:600;font-size:.92rem;}
.hero-points i{color:var(--orange);}

.hero-card{
  background:var(--white);
  color:var(--text);
  border-radius:16px;
  padding:28px;
  box-shadow:var(--shadow-lg);
}
.hero-card h3{margin-bottom:6px;}
.hero-card p{color:var(--text-light);font-size:.9rem;margin-bottom:18px;}
.hero-stars{color:var(--gold);margin-bottom:10px;font-size:1.1rem;}
.hero-mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px;}
.hero-mini-stats div{
  background:var(--grey-bg);
  border-radius:10px;
  padding:14px;
  text-align:center;
}
.hero-mini-stats strong{display:block;font-size:1.4rem;color:var(--red);font-family:'Poppins',sans-serif;}
.hero-mini-stats span{font-size:.78rem;color:var(--text-light);}

/* small page header (non-home hero) */
.page-header{
  background:linear-gradient(120deg,rgba(27,32,41,.93),rgba(27,32,41,.85)),
    repeating-linear-gradient(135deg,#3a4256 0 40px,#333b4d 40px 80px);
  color:var(--white);
  padding:70px 0;
  text-align:center;
}
.page-header h1{color:var(--white);font-size:2.4rem;margin-bottom:10px;}
.breadcrumb{color:#c7cad3;font-size:.9rem;}
.breadcrumb a:hover{color:var(--orange);}

/* ---------- Trust strip ---------- */
.trust-strip{
  background:var(--charcoal);
  color:var(--white);
  padding:26px 0;
}
.trust-strip ul{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:20px;
}
.trust-strip li{display:flex;align-items:center;gap:10px;font-weight:600;font-size:.92rem;}
.trust-strip i{color:var(--orange);font-size:1.2rem;}

/* ---------- Cards: services ---------- */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:28px;}

.service-card{
  background:var(--white);
  border:1px solid var(--grey-line);
  border-radius:var(--radius);
  padding:32px 26px;
  transition:all .25s ease;
}
.service-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-lg);
  border-color:transparent;
}
.service-icon{
  width:58px;height:58px;
  border-radius:14px;
  background:rgba(193,39,45,.1);
  color:var(--red);
  display:flex;align-items:center;justify-content:center;
  font-size:1.5rem;
  margin-bottom:18px;
}
.service-card h3{font-size:1.15rem;margin-bottom:10px;}
.service-card p{color:var(--text-light);font-size:.94rem;margin-bottom:14px;}
.service-card a.learn{font-weight:700;color:var(--red);font-size:.88rem;}
.service-card a.learn i{margin-left:4px;transition:transform .2s;}
.service-card a.learn:hover i{transform:translateX(4px);}

.service-card.detailed{display:flex;gap:22px;padding:30px;align-items:flex-start;}
.service-card.detailed .service-icon{flex-shrink:0;}
.service-card.detailed ul{margin-top:10px;}
.service-card.detailed ul li{
  font-size:.88rem;color:var(--text-light);
  padding-left:20px;position:relative;margin-bottom:6px;
}
.service-card.detailed ul li::before{
  content:"\f00c";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  color:var(--red);
  position:absolute;left:0;top:1px;
  font-size:.75rem;
}

/* ---------- About / why us ---------- */
.about-split{display:grid;grid-template-columns:.95fr 1.05fr;gap:56px;align-items:center;}
.about-media{
  background:linear-gradient(135deg,var(--charcoal),var(--charcoal-light));
  border-radius:16px;
  min-height:380px;
  position:relative;
  overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
.about-media .roof-icon{font-size:6rem;color:rgba(255,255,255,.15);}
.about-badge{
  position:absolute;
  bottom:-1px;right:-1px;
  background:var(--red);
  color:var(--white);
  padding:20px 26px;
  border-radius:16px 0 0 0;
  text-align:center;
}
.about-badge strong{display:block;font-size:2rem;font-family:'Poppins',sans-serif;}
.about-badge span{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;}

.value-list{display:grid;gap:18px;margin-top:26px;}
.value-item{display:flex;gap:16px;}
.value-item .num{
  width:40px;height:40px;flex-shrink:0;
  border-radius:50%;
  background:var(--red);
  color:var(--white);
  display:flex;align-items:center;justify-content:center;
  font-weight:700;font-family:'Poppins',sans-serif;
}
.value-item h4{margin-bottom:4px;font-size:1.02rem;}
.value-item p{color:var(--text-light);font-size:.92rem;}

/* team */
.team-card{text-align:center;}
.team-photo{
  width:120px;height:120px;
  border-radius:50%;
  margin:0 auto 16px;
  background:linear-gradient(135deg,var(--charcoal),var(--charcoal-light));
  display:flex;align-items:center;justify-content:center;
  color:var(--white);font-size:2.2rem;
}
.team-card h4{margin-bottom:2px;}
.team-card span{color:var(--red);font-size:.85rem;font-weight:600;}

/* ---------- Steps / process ---------- */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;counter-reset:step;}
.step{position:relative;padding-top:8px;}
.step::before{
  counter-increment:step;
  content:"0" counter(step);
  font-family:'Poppins',sans-serif;
  font-size:2.6rem;
  font-weight:700;
  color:var(--grey-line);
  display:block;
  margin-bottom:6px;
}
.step h4{margin-bottom:8px;font-size:1.05rem;}
.step p{color:var(--text-light);font-size:.9rem;}

/* ---------- Reviews ---------- */
.reviews-summary{
  display:flex;
  align-items:center;
  gap:28px;
  justify-content:center;
  margin-bottom:44px;
  flex-wrap:wrap;
  text-align:left;
}
.reviews-summary .score{
  font-family:'Poppins',sans-serif;
  font-size:3.2rem;
  font-weight:700;
  color:var(--charcoal);
}
.reviews-summary .stars{color:var(--gold);font-size:1.2rem;margin-bottom:4px;}
.reviews-summary .count{color:var(--text-light);font-size:.9rem;}
.reviews-summary .platform{display:flex;align-items:center;gap:10px;font-weight:600;}
.reviews-summary .platform i{color:#4285F4;font-size:1.5rem;}

.review-card{
  background:var(--white);
  border:1px solid var(--grey-line);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow);
  height:100%;
  display:flex;
  flex-direction:column;
}
.review-stars{color:var(--gold);margin-bottom:14px;font-size:.95rem;}
.review-card p.quote{color:var(--text);font-size:.95rem;margin-bottom:20px;flex-grow:1;}
.review-author{display:flex;align-items:center;gap:12px;}
.review-avatar{
  width:44px;height:44px;border-radius:50%;
  background:var(--charcoal);
  color:var(--white);
  display:flex;align-items:center;justify-content:center;
  font-weight:700;font-family:'Poppins',sans-serif;
  flex-shrink:0;
}
.review-author strong{display:block;font-size:.92rem;}
.review-author span{font-size:.78rem;color:var(--text-light);}
.review-note{
  text-align:center;
  color:var(--text-light);
  font-size:.82rem;
  margin-top:36px;
}

/* ---------- CTA banner ---------- */
.cta-banner{
  background:linear-gradient(120deg,var(--red),var(--red-dark));
  color:var(--white);
  padding:56px 0;
  text-align:center;
}
.cta-banner h2{color:var(--white);font-size:1.9rem;margin-bottom:10px;}
.cta-banner p{color:#f5d9da;margin-bottom:28px;}
.cta-banner .hero-cta{justify-content:center;}

/* ---------- Gallery ---------- */
.filter-bar{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:40px;
}
.filter-btn{
  padding:9px 20px;
  border-radius:50px;
  border:1px solid var(--grey-line);
  background:var(--white);
  font-weight:600;
  font-size:.85rem;
  color:var(--text);
  transition:all .2s;
}
.filter-btn:hover,.filter-btn.active{
  background:var(--red);
  color:var(--white);
  border-color:var(--red);
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.gallery-item{
  border-radius:var(--radius);
  overflow:hidden;
  position:relative;
  background:linear-gradient(135deg,var(--charcoal-light),var(--charcoal));
  aspect-ratio:4/3;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.gallery-item i{font-size:2.6rem;color:rgba(255,255,255,.25);}
.gallery-item img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}
.gallery-item:hover img{transform:scale(1.06);}
.gallery-item.has-photo{grid-column:span 2;}
.gallery-overlay{
  position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(0,0,0,.78),rgba(0,0,0,0) 55%);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:18px;
  opacity:0;
  transition:opacity .25s;
}
.gallery-item:hover .gallery-overlay{opacity:1;}
.gallery-overlay h4{color:var(--white);font-size:1rem;margin-bottom:2px;}
.gallery-overlay span{color:#d3d6de;font-size:.78rem;}
.gallery-tag{
  position:absolute;top:14px;left:14px;
  background:var(--red);
  color:var(--white);
  font-size:.7rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  padding:5px 12px;
  border-radius:50px;
}

/* ---------- Contact ---------- */
.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:48px;}
.contact-info-card{
  background:var(--charcoal);
  color:var(--white);
  border-radius:16px;
  padding:36px 30px;
}
.contact-info-card h3{color:var(--white);margin-bottom:22px;}
.contact-line{display:flex;gap:16px;margin-bottom:24px;align-items:flex-start;}
.contact-line i{
  width:40px;height:40px;flex-shrink:0;
  background:rgba(255,255,255,.08);
  border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  color:var(--orange);
}
.contact-line strong{display:block;margin-bottom:2px;font-size:.95rem;}
.contact-line span, .contact-line a{color:#c7cad3;font-size:.9rem;}
.contact-line a:hover{color:var(--orange);}
.social-row{display:flex;gap:10px;margin-top:10px;}
.social-row a{
  width:38px;height:38px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.social-row a:hover{background:var(--red);border-color:var(--red);}

.form-card{
  background:var(--white);
  border:1px solid var(--grey-line);
  border-radius:16px;
  padding:36px;
  box-shadow:var(--shadow);
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;}
.form-group{margin-bottom:18px;}
.form-group label{display:block;font-weight:600;font-size:.88rem;margin-bottom:7px;}
.form-group input,
.form-group select,
.form-group textarea{
  width:100%;
  padding:13px 14px;
  border:1px solid var(--grey-line);
  border-radius:8px;
  font:inherit;
  color:var(--text);
  background:var(--grey-bg);
  transition:border .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline:none;
  border-color:var(--red);
  background:var(--white);
}
.form-note{font-size:.8rem;color:var(--text-light);margin-top:14px;text-align:center;}
.form-success{
  display:none;
  background:#e9f9ee;
  color:#1c7c3f;
  border:1px solid #b7ecc7;
  padding:14px 16px;
  border-radius:8px;
  font-size:.9rem;
  margin-bottom:18px;
  align-items:center;
  gap:10px;
}
.form-success.show{display:flex;}

.map-wrap{
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--grey-line);
  margin-top:48px;
  box-shadow:var(--shadow);
}
.map-wrap iframe{width:100%;height:420px;border:0;display:block;}

/* emergency banner */
.emergency-banner{
  background:var(--gold);
  color:var(--charcoal);
  text-align:center;
  padding:14px 0;
  font-weight:700;
  font-size:.92rem;
}
.emergency-banner i{margin-right:8px;}

/* FAQ */
.faq-item{
  border-bottom:1px solid var(--grey-line);
  padding:20px 0;
}
.faq-item h4{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:1rem;}
.faq-item h4 i{color:var(--red);transition:transform .2s;}
.faq-item p{color:var(--text-light);font-size:.92rem;margin-top:12px;display:none;max-width:90%;}
.faq-item.open p{display:block;}
.faq-item.open h4 i{transform:rotate(45deg);}

/* ---------- Footer ---------- */
footer.site-footer{
  background:var(--charcoal);
  color:#c7cad3;
  padding-top:64px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1.2fr;
  gap:36px;
  padding-bottom:44px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-grid h4{color:var(--white);margin-bottom:18px;font-size:1rem;}
.footer-grid p{font-size:.9rem;color:#a7abb6;margin-bottom:16px;}
.footer-grid ul li{margin-bottom:11px;font-size:.9rem;}
.footer-grid ul a:hover{color:var(--orange);}
.footer-grid .contact-line i{background:rgba(255,255,255,.06);width:34px;height:34px;font-size:.85rem;}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 0;
  font-size:.82rem;
  color:#8a8f9c;
  flex-wrap:wrap;
  gap:10px;
}
.footer-bottom a:hover{color:var(--orange);}

/* floating call button (mobile) */
.floating-call{
  display:none;
  position:fixed;
  bottom:20px;right:20px;
  width:58px;height:58px;
  background:var(--red);
  color:var(--white);
  border-radius:50%;
  align-items:center;justify-content:center;
  font-size:1.4rem;
  box-shadow:0 10px 25px rgba(193,39,45,.5);
  z-index:200;
}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .about-split,.contact-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .steps{grid-template-columns:1fr 1fr;}
  .hero-inner{grid-template-columns:1fr;}
  .hero-card{max-width:480px;}
}
@media (max-width:768px){
  .topbar .container{justify-content:center;text-align:center;}
  nav.main-nav{
    position:fixed;
    top:0;left:-100%;
    width:78%;
    height:100vh;
    background:var(--white);
    flex-direction:column;
    padding:100px 30px 30px;
    transition:left .3s ease;
    box-shadow:10px 0 30px rgba(0,0,0,.15);
  }
  nav.main-nav.open{left:0;}
  nav.main-nav ul{flex-direction:column;align-items:flex-start;width:100%;}
  nav.main-nav a{display:block;width:100%;padding:14px 12px;}
  .nav-toggle{display:flex;}
  .header-call span.call-text{display:none;}
  .grid-3,.grid-2,.gallery-grid{grid-template-columns:1fr;}
  .form-row{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .trust-strip ul{justify-content:center;text-align:center;}
  .steps{grid-template-columns:1fr;}
  .hero h1{font-size:2.2rem;}
  .section{padding:56px 0;}
  .floating-call{display:flex;}
  .reviews-summary{justify-content:center;text-align:center;}
}
