/*
Theme Name: A6 Shutters Corporate V4 Mobile
Theme URI: https://www.a6shutters.co.uk
Author: A6 Shutters Ltd
Description: Custom responsive WordPress theme for A6 Shutters Ltd.
Version: 4.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: a6-shutters
*/
:root{
  --blue:#0b74d1;
  --blue-dark:#075aa5;
  --navy:#07182a;
  --navy-2:#0a223b;
  --red:#ed2f2f;
  --white:#ffffff;
  --text:#15202b;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#fff;color:var(--text)}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
.wrap{width:min(1500px,calc(100% - 48px));margin:auto}

/* Header */
.site-header{background:#fff;position:sticky;top:0;z-index:100;border-bottom:1px solid #e4e8ec}
.nav{min-height:106px;display:grid;grid-template-columns:190px 1fr 245px;gap:24px;align-items:center}
.brand img{width:150px}
.menu{display:flex;justify-content:center;gap:28px;align-items:center;font-size:.82rem;font-weight:900;text-transform:uppercase;white-space:nowrap}
.menu a{padding:42px 0 18px;border-bottom:3px solid transparent}
.menu a:hover,.menu a.active{color:var(--blue);border-bottom-color:var(--blue)}
.contact-top{text-align:right;white-space:nowrap}
.contact-top .phone{font-size:1.65rem;font-weight:900}
.contact-top small{display:block;margin-top:8px;color:var(--red);font-size:.84rem;font-weight:900;text-transform:uppercase}
.mobile-toggle{display:none;border:0;border-radius:5px;background:var(--navy);color:#fff;padding:12px 15px;font-weight:900}

/* Hero */
.hero{
  min-height:690px;
  background-image:
    linear-gradient(90deg,rgba(3,16,29,.98) 0%,rgba(3,16,29,.95) 34%,rgba(3,16,29,.62) 54%,rgba(3,16,29,.08) 100%),
    url('assets/hero.jpg');
  background-size:cover;
  background-position:center right;
}
.hero-inner{min-height:690px;display:flex;align-items:center;padding:54px 0}
.hero-copy{width:min(650px,100%)}
.eyebrow{color:var(--blue);font-size:1.18rem;font-weight:900;text-transform:uppercase;letter-spacing:.02em}
.hero-title{margin:16px 0 10px;font-size:clamp(3rem,4.4vw,5rem);line-height:1.03;text-transform:uppercase;letter-spacing:-.04em}
.hero-title .dot{color:var(--blue)}
.subtitle{font-size:1.35rem;font-weight:800;margin-bottom:18px}
.benefits{max-width:500px;margin:12px 0 28px}
.benefit{display:flex;align-items:center;gap:14px;min-height:56px;border-bottom:1px solid rgba(255,255,255,.25);font-weight:900;text-transform:uppercase}
.benefit:last-child{border-bottom:0}
.benefit-badge{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex:0 0 42px;background:linear-gradient(135deg,var(--blue),var(--blue-dark));border:2px solid #71c0ef;font-size:.78rem}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.btn{min-height:56px;padding:0 26px;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;font-weight:900;text-transform:uppercase}
.btn-blue{background:linear-gradient(90deg,var(--blue-dark),var(--blue))}
.btn-outline{border:2px solid var(--red);background:rgba(0,0,0,.28)}

/* Services */
.services{background:#f4f6f8;padding:18px 0 24px}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.service-card{position:relative;overflow:hidden;min-height:410px;border-radius:14px;background:#0a1b2f;box-shadow:0 8px 22px rgba(0,0,0,.12)}
.service-card .bg{position:absolute;inset:0;background-size:cover;background-position:center;transition:transform .35s ease}
.service-card:hover .bg{transform:scale(1.04)}
.service-card:nth-child(1) .bg{background-image:url('assets/manufacturing.jpg')}
.service-card:nth-child(2) .bg{background-image:url('assets/repairs.jpg')}
.service-card:nth-child(3) .bg{background-image:url('assets/fabrication.jpg')}
.service-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,20,35,.08),rgba(5,20,35,.92) 74%)}
.service-content{position:absolute;z-index:2;left:28px;right:28px;bottom:26px;color:#fff}
.service-icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:var(--blue);font-size:1.35rem;margin-bottom:18px}
.service-card h2{font-size:1.55rem;line-height:1.05;text-transform:uppercase;margin:0 0 12px}
.service-card p{line-height:1.55;margin:0 0 18px}
.learn{display:inline-flex;min-height:44px;padding:0 18px;align-items:center;background:var(--blue);border-radius:4px;font-weight:900;text-transform:uppercase;font-size:.86rem}

/* Content pages */
.page-wrap{padding:70px 0;background:#fff}
.page-wrap h1{font-size:clamp(2rem,4vw,3.6rem);color:var(--navy)}
.page-wrap p{line-height:1.7}

/* Footer */
.site-footer{background:linear-gradient(90deg,#07192c,#0a2b4c);color:#fff;padding:34px 0 20px}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:42px}
.site-footer h3{text-transform:uppercase;margin:0 0 14px}
.site-footer p,.site-footer a{line-height:1.55}
.site-footer a{display:block;margin:5px 0}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:24px;padding-top:18px;font-size:.88rem}

/* Responsive */
@media(max-width:1180px){
  .nav{grid-template-columns:155px 1fr 195px;gap:16px}
  .brand img{width:132px}
  .menu{gap:16px;font-size:.72rem}
  .contact-top .phone{font-size:1.3rem}
}
@media(max-width:930px){
  .nav{grid-template-columns:145px 1fr auto;min-height:92px}
  .mobile-toggle{display:block}
  .contact-top{display:none}
  .menu{display:none;position:absolute;top:92px;left:0;right:0;background:#fff;padding:20px 24px;flex-direction:column;align-items:flex-start;gap:0;border-top:1px solid #e4e8ec;box-shadow:0 10px 24px rgba(0,0,0,.15)}
  .menu.open{display:flex}
  .menu a{width:100%;padding:13px 0;border-bottom:1px solid #edf0f2}
}
@media(max-width:760px){
  .wrap{width:min(100% - 28px,1500px)}
  .hero{min-height:auto;background-position:68% center}
  .hero-inner{min-height:650px;padding:46px 0}
  .hero-title{font-size:clamp(2.5rem,11vw,3.8rem)}
  .service-grid,.footer-grid{grid-template-columns:1fr}
  .hero-actions{flex-direction:column}
  .btn{width:100%}
}


/* V2 readability corrections */
.hero,
.hero-copy,
.hero-title,
.subtitle,
.benefits,
.benefit,
.hero-actions,
.service-card,
.service-content,
.service-card h2,
.service-card p,
.service-card a {
  color: #ffffff !important;
}

.hero-title,
.hero-title span,
.eyebrow,
.subtitle,
.benefit {
  text-shadow: 0 2px 5px rgba(0,0,0,.55);
}

.service-card:after {
  background: linear-gradient(
    180deg,
    rgba(5,20,35,.10) 0%,
    rgba(5,20,35,.42) 42%,
    rgba(5,20,35,.96) 78%
  ) !important;
}

.service-content {
  color: #ffffff !important;
}

.service-content p {
  color: #f3f7fa !important;
}

.learn {
  color: #ffffff !important;
}


/* V3 clean-image and readability fixes */
.hero-copy,
.hero-title,
.subtitle,
.benefit,
.service-content,
.service-content h2,
.service-content p,
.service-content a {
  color:#ffffff !important;
}
.service-card:after{
  background:linear-gradient(180deg,rgba(4,15,28,.08) 0%,rgba(4,15,28,.35) 45%,rgba(4,15,28,.96) 82%) !important;
}
.service-content h2,
.service-content p{
  text-shadow:0 2px 5px rgba(0,0,0,.75);
}


/* V4 mobile-only heading and spacing corrections */
@media (max-width: 760px) {
  .site-header {
    position: relative;
  }

  .nav {
    min-height: 86px;
    grid-template-columns: 132px 1fr auto;
    gap: 12px;
  }

  .brand img {
    width: 118px;
  }

  .hero {
    min-height: auto;
    background-position: 72% center;
  }

  .hero-inner {
    min-height: 610px;
    padding: 38px 0 34px;
    align-items: flex-start;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .eyebrow {
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: clamp(2.15rem, 9.8vw, 3.15rem) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.035em !important;
    margin: 10px 0 14px !important;
    max-width: 100%;
    word-break: normal;
    overflow-wrap: normal;
  }

  .hero-title .line {
    display: block;
    white-space: nowrap;
  }

  .hero-title .dot {
    display: inline-block;
    margin-left: 7px;
    transform: translateY(-0.04em);
    font-size: .72em;
  }

  .subtitle {
    font-size: 1.08rem;
    line-height: 1.25;
    margin-bottom: 16px;
    max-width: 94%;
  }

  .benefits {
    margin-top: 8px;
    margin-bottom: 20px;
  }

  .benefit {
    min-height: 50px;
    gap: 12px;
    font-size: .93rem;
    line-height: 1.18;
  }

  .benefit-badge {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: .72rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    min-height: 52px;
    font-size: .9rem;
  }

  .service-card {
    min-height: 380px;
  }

  .service-content {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 2.05rem !important;
  }

  .hero-title .dot {
    margin-left: 5px;
  }

  .benefit {
    font-size: .88rem;
  }
}
