/* IT & MD PLUMBING LTD — UK trade landing page */

:root {
  --navy: #0c1f33;
  --navy-mid: #152d47;
  --teal: #0d7c8c;
  --teal-light: #12a3b8;
  --copper: #c45c26;
  --copper-hover: #a84d1f;
  --cream: #f6f4f0;
  --white: #ffffff;
  --text: #2a3544;
  --text-muted: #5c6b7a;
  --border: #dde3ea;
  --shadow: 0 4px 24px rgba(12, 31, 51, 0.08);
  --shadow-lg: 0 12px 48px rgba(12, 31, 51, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--teal-light);
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Top bar */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
}

.top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
}

.top-bar__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar__item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--navy);
  text-decoration: none;
}

.logo:hover {
  color: var(--navy);
}

.logo__mark {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.logo__text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--teal);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--teal);
}

.nav__cta {
  background: var(--copper);
  color: var(--white) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
}

.nav__cta:hover {
  background: var(--copper-hover);
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(12, 31, 51, 0.94) 0%, rgba(13, 124, 140, 0.88) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 780px;
}

.hero__eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero__lead {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 2rem;
  max-width: 680px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero__badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero__badges li::before {
  content: "✓ ";
  color: #7ee8f7;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.btn--primary {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}

.btn--primary:hover {
  background: var(--copper-hover);
  border-color: var(--copper-hover);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn--full {
  width: 100%;
}

/* Stats */
.stats {
  background: var(--white);
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-inline: auto;
  width: min(1140px, 92vw);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.section-intro {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 0 2.5rem;
}

.check-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.about__visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.about__card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  color: var(--navy);
}

.about__card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.about__card--accent {
  background: var(--navy);
  color: var(--white);
}

.about__card--accent .about__company {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin: 0 0 0.5rem;
}

.about__card--accent p:last-child {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
}

.about__text p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

/* Services intro */
.services-intro {
  background: var(--white);
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0 0 1rem;
}

.service-card a {
  font-size: 0.875rem;
  font-weight: 600;
}

/* Service detail */
.service-detail__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.service-detail--alt {
  background: var(--white);
}

.service-detail__aside {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.service-detail__aside h3 {
  color: var(--white);
  margin: 0 0 1rem;
  font-size: 1.125rem;
}

.service-detail__aside p {
  font-size: 0.9375rem;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.service-detail h3 {
  color: var(--navy);
  font-size: 1.0625rem;
  margin: 1.5rem 0 0.75rem;
}

.service-detail p {
  color: var(--text-muted);
}

/* Why */
.why {
  background: linear-gradient(180deg, var(--cream) 0%, #e8eef3 100%);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--copper);
  box-shadow: var(--shadow);
}

.why-card h3 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: 1.125rem;
}

.why-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Areas */
.areas__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.areas p {
  color: var(--text-muted);
}

.areas__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.areas__list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.areas__map {
  background: var(--teal);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.areas__map-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  margin: 0 0 0.5rem;
}

.areas__map address {
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.areas__note {
  font-size: 0.875rem;
  opacity: 0.9;
  margin: 0;
}

/* Process */
.process {
  background: var(--white);
}

.process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.process__steps li {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-top: 3px solid var(--teal);
}

.process__steps strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.process__steps p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Sectors */
.sectors__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.sector-card {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.sector-card h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--white);
  margin: 0 0 1rem;
}

.sector-card p {
  font-size: 0.9375rem;
  margin: 0 0 1rem;
}

/* Emergency */
.emergency__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
  background: #fff5f0;
  border: 1px solid #f0d4c4;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.emergency h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy);
  margin: 0 0 1rem;
}

.emergency p {
  color: var(--text-muted);
}

.emergency__box {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--copper);
}

.emergency__box h3 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 1rem;
}

.emergency__box ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.emergency__box li {
  margin-bottom: 0.4rem;
}

/* Quality */
.quality__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.quality h3 {
  color: var(--navy);
  margin: 0 0 1rem;
}

.quality p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Testimonials */
.testimonials {
  background: var(--navy);
  color: var(--white);
}

.testimonials .section-label {
  color: var(--teal-light);
}

.testimonials h2 {
  color: var(--white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--navy-mid);
  margin: 0;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial p {
  font-size: 0.9375rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1rem;
  line-height: 1.6;
}

.testimonial footer {
  font-size: 0.8125rem;
  color: var(--teal-light);
  font-style: normal;
}

/* FAQ */
.faq {
  background: var(--white);
}

.faq__list {
  max-width: 800px;
}

.faq__item {
  border-bottom: 1px solid var(--border);
  padding: 0.25rem 0;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  padding: 1rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--teal);
  font-weight: 400;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  padding-right: 2rem;
}

/* Contact */
.contact {
  background: linear-gradient(180deg, var(--cream) 0%, #e2eaef 100%);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact p {
  color: var(--text-muted);
}

.contact__details {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact__details address {
  font-style: normal;
  margin: 0.5rem 0 1rem;
  line-height: 1.6;
}

.contact__hours {
  font-size: 0.875rem;
  margin: 0;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 124, 140, 0.15);
}

.contact-form__note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 1rem 0 0;
  text-align: center;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer .logo--footer {
  margin-bottom: 1rem;
}

.footer .logo--footer .logo__mark {
  color: var(--white);
}

.footer__brand p {
  font-size: 0.875rem;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 0.4rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer a:hover {
  color: var(--white);
}

.footer address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.footer__legal {
  max-width: 480px;
  text-align: right;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .about__grid,
  .service-detail__grid,
  .areas__grid,
  .contact__grid,
  .emergency__inner,
  .quality__grid {
    grid-template-columns: 1fr;
  }

  .services-cards,
  .testimonials__grid,
  .process__steps {
    grid-template-columns: 1fr;
  }

  .why__grid,
  .sectors__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .menu-toggle {
    display: flex;
  }

  .stats {
    margin-top: 0;
    border-radius: 0;
    width: 100%;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stat:last-child {
    border-bottom: none;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__legal {
    text-align: left;
  }

  .top-bar__inner {
    flex-direction: column;
    gap: 0.35rem;
  }
}
