/* Carpet Lab UK — shared service page styles + new homepage sections */

:root {
  --navy: #0F1E3D;
  --navy-deep: #0A1530;
  --accent: #2B8CE6;
  --accent-dark: #1A6FCC;
  --accent-deeper: #0F5BA8;
  --accent-tint: #EDF5FE;
  --cream: #F5F1E8;
  --cream-warm: #FAF7EF;
  --paper: #FFFFFF;
  --ink: #0F1E3D;
  --ink-soft: #4A5269;
  --ink-mute: #7A8094;
  --line: #E5E0D5;
  --line-soft: #F0EBE0;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --duration: 220ms;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius: 12px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--accent); color: white; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ── Hero (homepage) ── */
.hero { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deeper) 100%); color: white; padding: 100px 32px 110px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: rgba(255,255,255,0.06); border-radius: 50%; }
.hero::after { content: ""; position: absolute; bottom: -150px; left: -100px; width: 300px; height: 300px; background: rgba(255,255,255,0.04); border-radius: 50%; }
.hero-inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(255,255,255,0.18); color: white; border-radius: 100px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: white; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { font-size: clamp(40px, 5.5vw, 60px); line-height: 1.05; font-weight: 900; letter-spacing: -1.8px; margin-bottom: 20px; color: white; }
.hero h1 .highlight { display: inline-block; background: white; color: var(--accent-dark); padding: 0 14px; border-radius: 8px; margin-left: 4px; }
.hero-sub { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.92); margin-bottom: 32px; max-width: 540px; }
.hero-trustline { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; font-size: 13px; color: rgba(255,255,255,0.92); }
.hero-trustline span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: rgba(255,255,255,0.12); border-radius: 100px; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.18); }
.hero-trustline .tick { font-weight: 700; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn-primary { background: white; color: var(--accent-dark); font-weight: 700; }
.hero-cta .btn-primary:hover { background: var(--navy); color: white; }
.hero-cta .btn-outline { background: transparent; color: white; border: 1.5px solid white; }
.hero-cta .btn-outline:hover { background: white; color: var(--accent-dark); }
.hero-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.30); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image img { aspect-ratio: 16/10; }
}
@media (max-width: 720px) {
  .hero { padding: 40px 20px 80px; }
  .hero h1 { font-size: 36px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-trustline { gap: 8px; }
  .hero-trustline span { font-size: 12px; padding: 5px 10px; }
}

/* ── Top bar ── */
.topbar { background: var(--accent); color: white; padding: 10px 32px; font-size: 13px; font-weight: 500; }
.topbar-inner { max-width: 1320px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.topbar-left { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: white; }
.topbar a:hover { color: white; text-decoration: underline; }

/* ── Header / nav ── */
header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav-inner { max-width: 1320px; margin: 0 auto; padding: 18px 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { font-weight: 800; font-size: 24px; color: var(--accent-dark); letter-spacing: -0.5px; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand .flask { width: 32px; height: 32px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand small { font-size: 11px; font-weight: 500; color: var(--ink-mute); letter-spacing: 1.2px; text-transform: uppercase; display: block; margin-top: 2px; }
nav { display: flex; gap: 28px; align-items: center; }
nav a { color: var(--ink); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.6px; text-decoration: none; }
nav a:hover, nav a.active { color: var(--accent); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius); font-weight: 600; font-size: 15px; white-space: nowrap; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-dark); color: white; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-deep); color: white; }
.btn-outline { background: transparent; color: white; border: 1.5px solid white; }
.btn-outline:hover { background: white; color: var(--accent-dark); }

/* ── Section base ── */
section { padding: 90px 32px; }
.section-inner { max-width: 1320px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--navy); letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--ink-soft); max-width: 640px; margin: 0 auto; }

/* ── Service hero (leaner than homepage hero) ── */
.svc-hero { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deeper) 100%); color: white; padding: 80px 32px 90px; position: relative; overflow: hidden; }
.svc-hero::before { content: ""; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: rgba(255,255,255,0.06); border-radius: 50%; }
.svc-hero-inner { max-width: 1320px; margin: 0 auto; position: relative; z-index: 1; }
.svc-breadcrumb { font-size: 13px; color: rgba(255,255,255,0.85); margin-bottom: 16px; }
.svc-breadcrumb a { color: white; }
.svc-breadcrumb a:hover { text-decoration: underline; }
.svc-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.05; margin-bottom: 20px; max-width: 880px; }
.svc-hero .svc-sub { font-size: 19px; color: rgba(255,255,255,0.95); max-width: 720px; margin-bottom: 28px; }
.svc-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.svc-hero-cta .btn-primary { background: white; color: var(--accent-dark); font-weight: 700; }
.svc-hero-cta .btn-primary:hover { background: var(--navy); color: white; }
.svc-hero-cta .btn-outline { color: white; border-color: white; }
.svc-hero-cta .btn-outline:hover { background: white; color: var(--accent-dark); }

/* ── Service body (text + bullets + photo) ── */
.svc-body { background: var(--paper); }
.svc-body-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.svc-body h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; color: var(--navy); letter-spacing: -0.6px; margin-bottom: 16px; }
.svc-body p { font-size: 16px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 16px; }
.svc-body ul { list-style: none; padding: 0; margin-top: 16px; }
.svc-body li { font-size: 15px; color: var(--ink-soft); padding: 8px 0 8px 28px; position: relative; }
.svc-body li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--accent); font-weight: 800; }
.svc-body-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 50px rgba(15,30,61,0.15); }
.svc-body-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

/* ── How it works (3-step) ── */
.svc-how { background: var(--cream-warm); }
.svc-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-how-step { background: white; padding: 32px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.svc-how-num { width: 48px; height: 48px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; margin-bottom: 16px; }
.svc-how-step h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.svc-how-step p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ── Photo carousel (related jobs) ── */
.svc-carousel { background: var(--paper); }
.carousel-wrap { position: relative; max-width: 1200px; margin: 0 auto; }
.carousel-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 24px; scrollbar-width: thin; }
.carousel-track::-webkit-scrollbar { height: 8px; }
.carousel-track::-webkit-scrollbar-track { background: var(--line-soft); border-radius: 4px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
.carousel-item { flex: 0 0 320px; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--cream-warm); position: relative; scroll-snap-align: start; }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.carousel-item:hover img { transform: scale(1.04); }
.carousel-item .cap { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 14px; background: linear-gradient(to top, rgba(15,30,61,0.92), rgba(15,30,61,0)); color: white; font-size: 12px; font-weight: 600; }
.carousel-controls { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.carousel-btn { width: 44px; height: 44px; background: white; border: 1.5px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); transition: all 0.2s; }
.carousel-btn:hover { background: var(--accent); color: white; border-color: var(--accent); }
.carousel-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: all 0.2s; }
.carousel-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ── Cross-sell (related services) ── */
.svc-related { background: var(--cream-warm); }
.svc-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.svc-related-card { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 16px; transition: all 0.22s; }
.svc-related-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(15,30,61,0.08); border-color: var(--accent); color: var(--ink); }
.svc-related-card .arrow { color: var(--accent); font-weight: 800; }
.svc-related-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); }

/* ── Trust section (homepage new) ── */
.home-trust { background: var(--cream-warm); }
.home-trust-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; max-width: 1100px; margin: 0 auto; }
.home-trust h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--navy); letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
.home-trust p { font-size: 16px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 16px; }
.home-trust-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.home-trust-stat { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.home-trust-stat .num { font-size: 28px; font-weight: 800; color: var(--accent); letter-spacing: -0.5px; }
.home-trust-stat .label { font-size: 12px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }
.home-trust-image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 20px 50px rgba(15,30,61,0.15); }
.home-trust-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── Social proof section (homepage new) ── */
.home-social { background: var(--navy); color: white; padding: 90px 32px; }
.home-social-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.home-social h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: white; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
.home-social .sub { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto 48px; }
.home-social-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 48px; }
.home-social-stat .num { font-size: clamp(40px, 5vw, 64px); font-weight: 900; color: var(--accent); letter-spacing: -1.5px; line-height: 1; }
.home-social-stat .label { font-size: 13px; color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; }
.home-social-quotes-wrap { position: relative; max-width: 1200px; margin: 0 auto; }
.home-social-quotes { display: flex; gap: 16px; overflow-x: hidden; padding: 8px 0 24px 0; }
.home-social-quote { flex: 0 0 360px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 24px; }
.home-social-quote .stars { color: #FFD700; font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.home-social-quote .text { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.92); margin-bottom: 14px; min-height: 92px; }
.home-social-quote .name { font-size: 13px; font-weight: 700; color: var(--accent); }
.home-social-quote .loc { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.home-social-quote .service { display: inline-block; margin-top: 10px; font-size: 11px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.8px; padding: 4px 10px; background: rgba(255,255,255,0.08); border-radius: 100px; }
.home-social-controls { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.home-social-controls button { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; transition: all 0.2s; cursor: pointer; }
.home-social-controls button:hover { background: var(--accent); border-color: var(--accent); }

/* ── CTA final (gradient section) ── */
.cta-final { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deeper) 100%); color: white; text-align: center; padding: 90px 32px; }
.cta-final h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.8px; }
.cta-final p { font-size: 18px; color: rgba(255,255,255,0.92); max-width: 600px; margin: 0 auto 32px; }
.cta-final .btn-primary { background: white; color: var(--accent-dark); font-weight: 700; }

/* ── Footer ── */
footer { background: #0A1530; color: rgba(255,255,255,0.7); padding: 56px 32px 28px; font-size: 14px; }
.footer-inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 320px; margin-top: 12px; }
footer h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: white; margin-bottom: 14px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer a { color: rgba(255,255,255,0.7); }
footer a:hover { color: white; }
.footer-bottom { max-width: 1320px; margin: 0 auto; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); text-align: center; font-size: 13px; }
.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: white; transition: background 0.2s; }
.social-links a:hover { background: var(--accent); color: white; }

/* ── Mobile menu ── */
.menu-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 26px; height: 26px; }
.mobile-menu { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--paper); z-index: 200; transform: translateX(100%); transition: transform 0.3s; overflow-y: auto; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .close-btn { background: none; border: none; font-size: 30px; cursor: pointer; color: var(--ink); padding: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; align-self: flex-end; margin: 16px; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; flex: 1; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu a { display: block; padding: 18px 24px; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--accent-tint); color: var(--accent-dark); }
.mobile-menu .menu-cta { padding: 24px; display: flex; flex-direction: column; gap: 12px; background: var(--cream-warm); }
.mobile-menu .menu-cta .btn-primary { width: 100%; justify-content: center; padding: 16px; font-size: 16px; text-transform: none; }
.menu-contact-row { display: flex; gap: 8px; }
.menu-contact-link { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 8px; background: white; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; }
.menu-contact-link:hover { background: var(--navy); color: white; border-color: var(--navy); }
.menu-contact-link.whatsapp { color: #1FAD52; border-color: #25D366; }
.menu-contact-link.whatsapp:hover { background: #25D366; color: white; border-color: #25D366; }
.sticky-mobile { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: white; border-top: 1px solid var(--line); padding: 12px 16px; z-index: 100; box-shadow: 0 -4px 20px rgba(0,0,0,0.08); gap: 10px; }
.sticky-mobile .btn { flex: 1; justify-content: center; padding: 14px 16px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .svc-body-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-body-image { max-width: 480px; margin: 0 auto; }
  .svc-how-grid { grid-template-columns: 1fr; }
  .svc-related-grid { grid-template-columns: 1fr; max-width: 480px; }
  .home-trust-grid { grid-template-columns: 1fr; gap: 40px; }
  .home-trust-image { max-width: 480px; margin: 0 auto; }
  .home-social-stats { grid-template-columns: repeat(3, 1fr); }
  .home-social-quote { flex: 0 0 320px; }
}
@media (max-width: 720px) {
  section { padding: 56px 20px; }
  .topbar { padding: 8px 16px; font-size: 12px; }
  .topbar .topbar-left span:last-child { display: none; }
  .nav-inner { padding: 12px 16px; }
  nav { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .svc-hero { padding: 40px 20px 60px; }
  .svc-hero-cta { flex-direction: column; align-items: stretch; }
  .svc-hero-cta .btn { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .social-links { justify-content: flex-start; }
  .home-social-stats { grid-template-columns: 1fr; gap: 20px; }
  .home-social-quote { flex: 0 0 280px; }
  .sticky-mobile { display: flex; }
  body { padding-bottom: 72px; }
  .carousel-item { flex: 0 0 260px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
