@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@700;800&display=swap');

:root {
  --navy: #0b1220;
  --navy-2: #111c31;
  --blue: #1f73d1;
  --blue-dark: #1456a3;
  --orange: #f39a32;
  --light: #f5f7fb;
  --text: #283449;
  --muted: #6c7789;
  --white: #ffffff;
  --border: #e6eaf0;
  --shadow: 0 18px 45px rgba(15, 28, 52, .10);
}

html[data-theme="dark"] {
  --light: #111827;
  --text: #e5e7eb;
  --muted: #aeb8c8;
  --white: #111827;
  --border: #2d3748;
  --shadow: 0 18px 45px rgba(0, 0, 0, .30);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, calc(100% - 40px)); margin: auto; }

.topbar { background: var(--navy); color: #cdd7e8; font-size: 13px; }
.topbar-inner { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.top-links { display: flex; gap: 24px; }
.top-links a:hover { color: #fff; }

.navbar { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.nav-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; background: #eaf3ff; border-radius: 12px; font-size: 23px; }
.brand strong { display: block; font-family: Manrope, sans-serif; font-size: 19px; letter-spacing: .08em; }
.brand small { display: block; font-size: 8px; font-weight: 700; letter-spacing: .13em; color: var(--blue); }
.nav-menu { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.nav-menu a:hover { color: var(--blue); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  background: var(--light);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .25s ease;
}

.theme-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.theme-icon { font-size: 16px; }
.nav-cta { background: var(--blue); color: #fff !important; padding: 11px 19px; border-radius: 8px; }
.nav-cta:hover { background: var(--blue-dark); }
.menu-toggle { display: none; border: 0; background: none; font-size: 28px; cursor: pointer; }

.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  position: relative;
  background:
    linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.03) 58%, rgba(7,16,30,.12)),
    url("../images/skymesh-home-background.png") center/cover,
    linear-gradient(135deg, #dceeff, #8ec6f5);
  color: var(--navy);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,0) 62%); pointer-events: none; }
.hero .eyebrow { color: var(--blue-dark); }
.hero h1 { color: var(--navy); }
.hero-text { color: #18304f; }
.hero-trust { color: #18304f; }
.hero .btn-outline { border-color: rgba(11,18,32,.45); color: var(--navy); }
.hero .btn-outline:hover { background: var(--navy); color: #fff; }
.hero-content { position: relative; padding: 90px 0; max-width: 780px; }
.eyebrow, .section-label { color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.hero h1 { font-family: Manrope, sans-serif; font-size: clamp(42px, 6vw, 72px); line-height: 1.08; margin: 20px 0; max-width: 760px; }
.hero h1 span { color: #7ec0ff; }
.hero-text { max-width: 620px; color: #dce6f3; font-size: 18px; }
.hero-buttons { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 0; cursor: pointer; padding: 14px 24px; border-radius: 8px; font-weight: 700; font-size: 15px; transition: .25s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-whatsapp { background: #25d366; color: #fff; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 42px; color: #dce6f3; font-size: 13px; }

.quick-services { background: var(--blue); color: #fff; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-grid > div { padding: 24px 20px; border-right: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: 42px 1fr; column-gap: 12px; align-items: center; }
.quick-grid > div:last-child { border-right: 0; }
.quick-grid span { grid-row: span 2; font-size: 27px; }
.quick-grid strong { font-size: 14px; }
.quick-grid small { color: #cfe3ff; font-size: 11px; }

.section { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.about-visual { min-height: 420px; position: relative; background: linear-gradient(145deg, #eaf3ff, #f7f9fc); border-radius: 24px; overflow: hidden; }
.about-visual:before { content: ''; position: absolute; inset: 35px; border: 1px dashed #a8c8ed; border-radius: 20px; }
.visual-card { position: absolute; background: #fff; padding: 22px; border-radius: 16px; box-shadow: var(--shadow); display: grid; gap: 3px; font-size: 30px; }
.visual-card strong { font-size: 15px; color: var(--navy); }
.visual-card small { font-size: 11px; color: var(--muted); }
.card-one { top: 50px; left: 35px; }
.card-two { bottom: 45px; right: 30px; }
.about-circle { position: absolute; width: 175px; height: 175px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-content: center; text-align: center; font-family: Manrope; font-size: 20px; line-height: 1.2; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 15px 40px rgba(11,18,32,.25); }
.about-circle small { color: #91c8ff; font-size: 9px; letter-spacing: .16em; margin-top: 7px; }
.about-content h2, .section-heading h2, .contact-info h2, .cta-inner h2 { font-family: Manrope, sans-serif; color: var(--navy); font-size: clamp(32px, 4vw, 48px); line-height: 1.15; margin: 12px 0 20px; }
.about-content p { color: var(--muted); margin-bottom: 17px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 25px 0; font-weight: 600; font-size: 14px; }
.feature-list div::first-letter { color: var(--blue); }
.text-link { color: var(--blue); font-weight: 700; }

.services-section { background: var(--light); }
.section-heading { text-align: center; max-width: 650px; margin: 0 auto 50px; }
.section-heading p:not(.section-label) { color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: 15px; padding: 30px; transition: .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c8ddf7; }
.service-icon { width: 56px; height: 56px; display: grid; place-items: center; background: #edf5ff; border-radius: 14px; font-size: 28px; margin-bottom: 20px; }
.service-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 19px; }
.service-card p { color: var(--muted); font-size: 14px; min-height: 90px; }
.service-card a { display: inline-block; color: var(--blue); font-weight: 700; margin-top: 18px; }

.stats-section { background: var(--navy); color: #fff; padding: 45px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats-grid div { border-right: 1px solid rgba(255,255,255,.15); }
.stats-grid div:last-child { border-right: 0; }
.stats-grid strong { display: block; font-family: Manrope; font-size: 34px; color: #83c2ff; }
.stats-grid span { color: #c3cede; font-size: 13px; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.process-step { border-top: 3px solid var(--blue); padding: 28px; background: #f8fafc; }
.process-step span { color: var(--blue); font-size: 14px; font-weight: 800; }
.process-step h3 { margin: 12px 0 8px; color: var(--navy); }
.process-step p { color: var(--muted); font-size: 14px; }

.gallery-section { background: var(--light); }
.gallery-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 190px 190px; gap: 16px; }
.gallery-item { border-radius: 15px; padding: 25px; color: #fff; display: flex; flex-direction: column; justify-content: end; background: linear-gradient(135deg, #123457, #2c75b9); position: relative; overflow: hidden; }
.gallery-item:before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 35%); }
.gallery-item span, .gallery-item strong { position: relative; z-index: 1; }
.gallery-item span { font-size: 40px; margin-bottom: 8px; }
.gallery-item strong { font-size: 18px; }
.gallery-invisible { grid-row: span 2; background: linear-gradient(135deg, #0e223b, #1f73d1); }
.gallery-balcony { background: linear-gradient(135deg, #1e3e62, #4a9bdc); }
.gallery-building { background: linear-gradient(135deg, #26384c, #687c93); }
.gallery-pigeon { grid-column: span 2; background: linear-gradient(135deg, #204b65, #39a4c5); }

.cta-section { background: var(--blue); color: #fff; padding: 65px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-inner .section-label { color: #b9dcff; }
.cta-inner h2 { color: #fff; margin: 10px 0; font-size: 36px; }
.cta-inner p:not(.section-label) { color: #d9ebff; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.contact-info > p:not(.section-label) { color: var(--muted); }
.contact-card { display: flex; gap: 16px; align-items: center; margin-top: 24px; }
.contact-card > span { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #edf5ff; font-size: 21px; }
.contact-card small { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.contact-card a, .contact-card strong { display: block; color: var(--navy); font-size: 15px; margin-top: 2px; }
.contact-form { padding: 34px; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact-form label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 7px; margin-top: 16px; }
.contact-form label:first-child { margin-top: 0; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #dce2eb; border-radius: 8px; padding: 13px 14px; font: inherit; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,115,209,.10); }
.contact-form button { width: 100%; margin-top: 22px; }
.form-note { color: var(--muted); text-align: center; font-size: 11px; margin-top: 10px; }

.footer { background: var(--navy); color: #bdc8d8; padding-top: 65px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.1fr; gap: 35px; padding-bottom: 55px; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer .brand small { color: #83c2ff; }
.footer p { font-size: 13px; max-width: 260px; }
.footer h3 { color: #fff; font-size: 15px; margin-bottom: 17px; }
.footer-grid > div:not(:first-child) a, .footer-grid > div:not(:first-child) span { display: block; font-size: 13px; margin-bottom: 9px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 12px; }

.floating-actions { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.floating-actions a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 23px; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.float-call { background: var(--blue); }
.float-whatsapp { background: #25d366; }



/* Dark theme */
html[data-theme="dark"] body { background: #0f172a; }
html[data-theme="dark"] .navbar { background: #111827; }
html[data-theme="dark"] .brand { color: #fff; }
html[data-theme="dark"] .brand-logo { background: #1f2937; }
html[data-theme="dark"] .services-section,
html[data-theme="dark"] .gallery-section { background: #111827; }
html[data-theme="dark"] .about-visual { background: linear-gradient(145deg, #1e293b, #111827); }
html[data-theme="dark"] .about-visual:before { border-color: #475569; }
html[data-theme="dark"] .visual-card,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .contact-form { background: #1e293b; }
html[data-theme="dark"] .service-card h3,
html[data-theme="dark"] .about-content h2,
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .contact-info h2,
html[data-theme="dark"] .contact-form label,
html[data-theme="dark"] .contact-card a,
html[data-theme="dark"] .contact-card strong,
html[data-theme="dark"] .process-step h3 { color: #f8fafc; }
html[data-theme="dark"] .process-step { background: #1e293b; }
html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form select,
html[data-theme="dark"] .contact-form textarea {
  background: #0f172a;
  color: #e5e7eb;
  border-color: #475569;
}
html[data-theme="dark"] .contact-card > span,
html[data-theme="dark"] .service-icon { background: #243b5a; }
html[data-theme="dark"] .nav-menu { background: #111827; }

@media (max-width: 900px) {
  .nav-menu { gap: 16px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1140px); }
  .topbar-inner { justify-content: center; padding: 9px 0; }
  .top-links { display: none; }
  .nav-inner { min-height: 68px; }
  .menu-toggle { display: block; }
  .nav-menu { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 18px 20px 24px; flex-direction: column; align-items: stretch; box-shadow: 0 15px 25px rgba(0,0,0,.1); }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 10px; }
  .theme-toggle { justify-content: center; margin: 6px 10px; }
  .hero { min-height: 650px; }
  .hero-content { padding: 70px 0; }
  .hero h1 { font-size: 44px; }
  .hero-text { font-size: 16px; }
  .hero-trust { display: grid; gap: 8px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-grid > div { border-bottom: 1px solid rgba(255,255,255,.18); }
  .quick-grid > div:nth-child(2) { border-right: 0; }
  .section { padding: 70px 0; }
  .about-visual { min-height: 350px; }
  .feature-list { grid-template-columns: 1fr; }
  .services-grid, .process-grid, .stats-grid { grid-template-columns: 1fr; }
  .stats-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); padding: 16px; }
  .stats-grid div:last-child { border-bottom: 0; }
  .gallery-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 160px); }
  .gallery-invisible { grid-row: span 2; }
  .gallery-pigeon { grid-column: span 2; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* Real business images and logo */
.brand-logo { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #fff; }
.about-photo { background: #eaf3ff; padding: 0; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.about-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.owner-badge { position: absolute; left: 22px; right: 22px; bottom: 22px; background: rgba(11,18,32,.88); color: #fff; padding: 16px 18px; border-radius: 12px; display: grid; gap: 3px; }
.owner-badge strong { font-size: 15px; }
.owner-badge small { color: #b9dcff; font-size: 11px; }
.service-image { height: 180px; overflow: hidden; border-radius: 12px; margin-bottom: 20px; background: #edf5ff; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.service-card:hover .service-image img { transform: scale(1.05); }
.gallery-item { padding: 0; justify-content: flex-end; }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-item:after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(5,15,30,.82)); }
.gallery-item strong { padding: 22px; z-index: 2; font-size: 18px; }
@media (max-width: 700px) {
  .brand-logo { width: 45px; height: 45px; }
  .service-image { height: 210px; }
}


/* Prominent business phone number */
.top-phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-decoration: none;
  line-height: 1.05;
}

.top-phone .phone-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .8;
}

.top-phone strong {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .01em;
}

.large-phone {
  display: inline-block;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: .02em;
  margin-top: 8px;
}

 ./* Prominent hero contact number */
.hero-phone {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 300px;
  padding: 22px 30px;
  border-radius: 16px;
  text-decoration: none;
  background: rgba(255,255,255,.94);
  border: 3px solid #1769c2;
  color: #062653;
  box-shadow: 0 12px 32px rgba(6,38,83,.35);
}

.hero-phone span {
  font-size: 16px;
  font-weight: 900;
  color: #063b78;
}

.hero-phone strong {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: .02em;
  font-weight: 900;
  color: #062653;
  text-shadow: 0 1px 0 rgba(255,255,255,.9);
  white-space: nowrap;
}

.hero-phone:hover {
  transform: translateY(calc(-50% - 3px));
  box-shadow: 0 16px 38px rgba(6,38,83,.45);
}

@media (max-width: 950px) {
  .hero-phone {
    right: 20px;
    min-width: 270px;
  }
}

@media (max-width: 700px) {
  .top-phone strong {
    font-size: 17px;
  }

  .top-phone .phone-label {
    font-size: 8px;
  }

  .hero-phone {
    position: static;
    transform: none;
    width: 100%;
    max-width: 340px;
    min-width: 0;
    margin-top: 24px;
  }

  .hero-phone strong {
    font-size: 30px;
  }

  .hero-phone:hover {
    transform: translateY(-3px);
  }
}


/* Our Works slideshow */
.slideshow {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0b1220;
  box-shadow: 0 18px 45px rgba(11, 18, 32, .22);
}

.slideshow-track {
  display: flex;
  height: 100%;
  transition: transform .55s cubic-bezier(.65, 0, .35, 1);
}

.slide {
  position: relative;
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.78) 100%);
}

.slide-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 26px;
  color: #fff;
  z-index: 2;
}

.slide-caption h3 {
  margin: 0 0 4px;
  font-size: 21px;
}

.slide-caption p {
  margin: 0;
  font-size: 14px;
  opacity: .9;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(11, 18, 32, .55);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 3;
  transition: background .2s ease;
}

.slide-btn:hover { background: var(--blue); }
.slide-btn.prev { left: 16px; }
.slide-btn.next { right: 16px; }

.slide-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.slide-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: all .2s ease;
}

.slide-dot.active {
  width: 22px;
  border-radius: 5px;
  background: #fff;
}

@media (max-width: 900px) {
  .slideshow {
    aspect-ratio: 4 / 3;
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .slide-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  .slide-caption h3 {
    font-size: 17px;
  }
  .slide-caption p {
    font-size: 12.5px;
  }
}

/* Adaptive responsive system: fluid sizing for a consistent experience on all devices */
:root {
  --content-max: 1140px;
  --page-gutter: clamp(16px, 3vw, 40px);
  --section-space: clamp(64px, 8vw, 100px);
  --card-radius: clamp(14px, 1.6vw, 24px);
}

html { overflow-x: hidden; }
body { overflow-x: hidden; }
.container { width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2))); }

/* Prevent text overflow and make long business names adapt naturally */
.brand { min-width: 0; }
.brand span { min-width: 0; }
.brand strong, .brand small { overflow-wrap: anywhere; }
.nav-menu a, .nav-cta, .theme-toggle { white-space: nowrap; }

/* Fluid sections and typography */
.section { padding-block: var(--section-space); }
.hero { min-height: clamp(560px, 78svh, 760px); }
.hero-content { padding-block: clamp(64px, 9vw, 110px); }
.hero h1 { font-size: clamp(2.35rem, 6vw, 4.5rem); }
.hero-text { font-size: clamp(1rem, 1.5vw, 1.125rem); }
.section-heading { margin-bottom: clamp(34px, 5vw, 50px); }
.about-grid, .contact-grid { gap: clamp(32px, 7vw, 90px); }
.service-card, .contact-form { padding: clamp(20px, 2.5vw, 30px); }
.service-card p { min-height: auto; }

/* Grid auto-adjusts to available width instead of relying only on fixed breakpoints */
.services-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.process-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.footer-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }

/* Better touch targets and mobile browser safe areas */
button, a { -webkit-tap-highlight-color: transparent; }
@media (pointer: coarse) {
  .nav-menu a, .nav-cta, .theme-toggle { min-height: 44px; display: inline-flex; align-items: center; }
  .btn { min-height: 48px; }
}

/* Tablet / small laptop */
@media (max-width: 980px) {
  .nav-inner { gap: 16px; }
  .nav-menu { gap: clamp(12px, 2vw, 22px); }
  .nav-menu .theme-text { display: none; }
  .theme-toggle { padding: 10px 12px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 720px; width: 100%; margin-inline: auto; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid > div:nth-child(2) { border-right: 0; }
  .quick-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
}

/* Phones: menu, cards and controls adapt to narrow screens */
@media (max-width: 720px) {
  :root { --page-gutter: 14px; }
  .topbar-inner { min-height: 36px; }
  .navbar { position: sticky; top: 0; }
  .nav-inner { min-height: 64px; }
  .brand { gap: 8px; max-width: calc(100% - 52px); }
  .brand strong { font-size: clamp(15px, 4.5vw, 19px); }
  .brand small { font-size: clamp(6px, 1.7vw, 8px); }
  .brand-logo { width: 44px; height: 44px; flex: 0 0 44px; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; font-size: 26px; color: var(--text); }
  .nav-menu {
    top: 64px;
    max-height: calc(100svh - 64px);
    overflow-y: auto;
    padding: 12px max(14px, env(safe-area-inset-right)) 20px max(14px, env(safe-area-inset-left));
    gap: 4px;
    background: var(--white);
    border-top: 1px solid var(--border);
  }
  .nav-menu a { padding: 12px 10px; }
  .nav-menu .theme-text { display: inline; }
  .theme-toggle { justify-content: center; margin: 6px 10px; }
  .nav-cta { justify-content: center; margin-top: 4px; }
  .hero { min-height: max(600px, 78svh); }
  .hero-content { padding-block: clamp(52px, 12vw, 80px); }
  .hero h1 { margin-block: 16px; }
  .hero-buttons { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .btn { width: 100%; }
  .hero-trust { display: grid; gap: 8px; margin-top: 30px; }
  .hero-phone { display: inline-flex; flex-direction: column; margin-top: 18px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-grid > div { min-width: 0; padding: 18px 12px; grid-template-columns: 32px 1fr; column-gap: 8px; }
  .quick-grid strong { font-size: 12px; line-height: 1.35; }
  .quick-grid small { font-size: 10px; }
  .quick-grid span { font-size: 22px; }
  .about-visual { min-height: min(420px, 95vw); }
  .owner-badge { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; }
  .feature-list { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div { border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); padding: 16px 8px; }
  .stats-grid div:nth-child(2n) { border-right: 0; }
  .stats-grid div:nth-last-child(-n+2) { border-bottom: 0; }
  .stats-grid strong { font-size: clamp(26px, 8vw, 34px); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, minmax(120px, 34vw)); gap: 10px; }
  .gallery-item { padding: 14px; }
  .gallery-item strong { padding: 0; font-size: 14px; }
  .gallery-item span { font-size: 28px; }
  .cta-inner { align-items: stretch; }
  .cta-actions { display: grid; grid-template-columns: 1fr; }
  .contact-form { padding: 22px 16px; }
  .floating-actions { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .floating-actions a { width: 48px; height: 48px; }
}

/* Very narrow phones */
@media (max-width: 380px) {
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid > div { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.18); }
  .quick-grid > div:last-child { border-bottom: 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid div, .stats-grid div:nth-child(2n) { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stats-grid div:last-child { border-bottom: 0; }
}

/* User/device preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (prefers-contrast: more) {
  .btn-outline, .theme-toggle, .contact-form input, .contact-form select, .contact-form textarea { border-width: 2px; }
}


/* Feedback form */
.feedback-section { background: var(--light); }
.feedback-container { max-width: 850px; }
.feedback-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.feedback-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feedback-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin: 16px 0 7px;
}
.feedback-form .feedback-row label { margin-top: 0; }
.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  border: 1px solid #dce2eb;
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  outline: none;
  background: var(--white);
  color: var(--text);
}
.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31,115,209,.10);
}
.feedback-form textarea { resize: vertical; min-height: 140px; }
.feedback-form button { width: 100%; margin-top: 22px; }
.feedback-form .form-note { color: var(--muted); text-align: center; font-size: 11px; margin-top: 10px; }

@media (max-width: 700px) {
  .feedback-row { grid-template-columns: 1fr; gap: 0; }
  .feedback-form { padding: 24px; }
}


/* Highlighted Contact & Feedback sections */
.contact-section,
.feedback-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.contact-section::before,
.feedback-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, .97) 0%, rgba(238, 245, 255, .92) 52%, rgba(249, 251, 255, .82) 100%),
    url('../images/balcony-safety-net.png') center right / cover no-repeat,
    radial-gradient(circle at 8% 18%, rgba(31, 115, 209, .16), transparent 32%),
    radial-gradient(circle at 92% 82%, rgba(243, 154, 50, .12), transparent 30%),
    linear-gradient(135deg, #f7fbff 0%, #eef5ff 48%, #f9fbff 100%);
}

.contact-section::after,
.feedback-section::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -170px;
  top: -150px;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(31, 115, 209, .14);
  box-shadow:
    0 0 0 35px rgba(31, 115, 209, .04),
    0 0 0 70px rgba(31, 115, 209, .025);
}

.contact-info,
.contact-form,
.feedback-form {
  position: relative;
}

.contact-info {
  padding: 12px 0;
}

.contact-form,
.feedback-form {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(31, 115, 209, .16);
  box-shadow: 0 22px 55px rgba(15, 42, 78, .14);
}

.contact-form::before,
.feedback-form::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.contact-card {
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(31, 115, 209, .10);
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-card:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 25px rgba(15, 42, 78, .08);
}

.feedback-section .section-heading {
  margin-bottom: 42px;
}

.feedback-section .section-heading h2 {
  margin-bottom: 14px;
}

.feedback-section .section-heading p:not(.section-label) {
  max-width: 650px;
  margin: 0 auto;
}

.feedback-form {
  max-width: 820px;
}

.feedback-form .btn-whatsapp {
  box-shadow: 0 10px 24px rgba(37, 211, 102, .22);
}

html[data-theme="dark"] .contact-section::before,
html[data-theme="dark"] .feedback-section::before {
  background:
    linear-gradient(90deg, rgba(15, 27, 46, .97) 0%, rgba(17, 24, 39, .93) 52%, rgba(13, 23, 40, .80) 100%),
    url('../images/balcony-safety-net.png') center right / cover no-repeat,
    radial-gradient(circle at 8% 18%, rgba(31, 115, 209, .20), transparent 32%),
    radial-gradient(circle at 92% 82%, rgba(243, 154, 50, .12), transparent 30%),
    linear-gradient(135deg, #0f1b2e 0%, #111827 48%, #0d1728 100%);
}

html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .feedback-form {
  background: rgba(30, 41, 59, .90);
  border-color: rgba(126, 192, 255, .18);
}

html[data-theme="dark"] .contact-card {
  background: rgba(15, 23, 42, .58);
  border-color: rgba(126, 192, 255, .12);
}

/* Business-themed section images */
.feedback-section::before {
  background:
    linear-gradient(90deg, rgba(247, 251, 255, .98) 0%, rgba(238, 245, 255, .94) 48%, rgba(249, 251, 255, .78) 100%),
    url('../images/pigeon-net.png') center right / cover no-repeat,
    radial-gradient(circle at 8% 18%, rgba(31, 115, 209, .16), transparent 32%),
    radial-gradient(circle at 92% 82%, rgba(243, 154, 50, .12), transparent 30%),
    linear-gradient(135deg, #f7fbff 0%, #eef5ff 48%, #f9fbff 100%);
}

html[data-theme="dark"] .feedback-section::before {
  background:
    linear-gradient(90deg, rgba(15, 27, 46, .98) 0%, rgba(17, 24, 39, .94) 48%, rgba(13, 23, 40, .82) 100%),
    url('../images/pigeon-net.png') center right / cover no-repeat,
    radial-gradient(circle at 8% 18%, rgba(31, 115, 209, .20), transparent 32%),
    radial-gradient(circle at 92% 82%, rgba(243, 154, 50, .12), transparent 30%),
    linear-gradient(135deg, #0f1b2e 0%, #111827 48%, #0d1728 100%);
}

html[data-theme="dark"] .contact-section::after,
html[data-theme="dark"] .feedback-section::after {
  border-color: rgba(126, 192, 255, .12);
  box-shadow:
    0 0 0 35px rgba(126, 192, 255, .035),
    0 0 0 70px rgba(126, 192, 255, .02);
}

@media (max-width: 700px) {
  .contact-section,
  .feedback-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .contact-form,
  .feedback-form {
    padding: 25px 20px;
  }

  .contact-card:hover {
    transform: none;
  }
}


/* Separate Contact Us and Free Quote sections */
.contact-only-grid { grid-template-columns: 1fr; max-width: 900px; }
.contact-only-grid .contact-info { max-width: 820px; margin: 0 auto; }
.contact-only-grid .contact-card { display: inline-flex; width: calc(50% - 10px); margin: 8px 8px 0 0; vertical-align: top; }

.quote-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--light);
}
.quote-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(247,251,255,.97), rgba(238,245,255,.90)),
    url('../images/balcony-before-after.png') center/cover no-repeat;
}
.quote-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: center;
}
.quote-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 10px 0 18px; }
.quote-copy > p:not(.section-label) { max-width: 650px; font-size: 1.05rem; line-height: 1.7; color: var(--muted); }
.quote-benefits { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 15px; }
.quote-benefits li { font-size: 1.08rem; font-weight: 700; color: var(--blue); }
.quote-benefits li span { color: var(--text); margin-left: 8px; font-weight: 500; }

.quote-form {
  padding: 34px 40px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 22px 55px rgba(15,42,78,.16);
  border: 1px solid rgba(31,115,209,.14);
  position: relative;
}
.quote-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 5px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, #42b5d5, #82ce39);
}
.quote-form h3 { text-align: center; font-size: 1.6rem; margin: 0 0 22px; }
.quote-form label { display:block; margin: 14px 0 7px; font-size: 13px; font-weight: 700; }
.quote-form input, .quote-form select, .quote-form textarea {
  width:100%; padding:14px 16px; border:1px solid var(--border); border-radius:14px;
  background: var(--white); color: var(--text); font:inherit; outline:none;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,115,209,.1);
}
.quote-form button { width:100%; margin-top:20px; }
.quote-form .form-note { text-align:center; color:var(--muted); font-size:11px; margin-top:10px; }

html[data-theme="dark"] .quote-section::before {
  background:
    linear-gradient(90deg, rgba(15,27,46,.97), rgba(17,24,39,.90)),
    url('../images/balcony-before-after.png') center/cover no-repeat;
}
html[data-theme="dark"] .quote-form {
  background: rgba(30,41,59,.92);
  border-color: rgba(126,192,255,.18);
}
html[data-theme="dark"] .quote-form input,
html[data-theme="dark"] .quote-form select,
html[data-theme="dark"] .quote-form textarea {
  background: #0f172a;
  color: #f8fafc;
  border-color: rgba(126,192,255,.24);
}
html[data-theme="dark"] .quote-benefits li span { color: var(--text); }

@media (max-width: 800px) {
  .quote-grid { grid-template-columns: 1fr; gap: 35px; }
  .contact-only-grid .contact-card { width: 100%; margin-right: 0; }
}


/* Reliable navigation to the Our Works section */
#gallery {
  scroll-margin-top: 86px;
}

.slideshow {
  touch-action: pan-y;
}

.slideshow:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.slide-dot:focus-visible,
.slide-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}


/* SkyMesh home background image enhancement */
.hero {
  background-position: center center;
  background-repeat: no-repeat;
}
.hero .hero-content {
  text-shadow: 0 1px 2px rgba(255,255,255,.35);
}
@media (max-width: 768px) {
  .hero {
    min-height: 680px;
    background-position: 62% center;
  }
}

/* Final Home Page text positioning and visibility improvements */
.hero-content {
  margin-left: 42%;
  max-width: 650px;
}
.hero .eyebrow,
.hero h1,
.hero-text,
.hero-trust,
.hero-phone,
.hero-phone span,
.hero-phone strong {
  color: #082b57;
  text-shadow: 0 1px 2px rgba(255,255,255,.45);
}
.hero h1 span { color: #0b4f96; }
.hero-phone strong {
  font-weight: 900;
  font-size: 1.35em;
  letter-spacing: .02em;
}
.hero-phone {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 22px;
  padding: 12px 16px;
  border-left: 4px solid #0b4f96;
  background: rgba(255,255,255,.34);
  border-radius: 8px;
}

@media (max-width: 900px) {
  .hero-content { margin-left: 28%; }
}
@media (max-width: 700px) {
  .hero-content { margin-left: 0; }
  .hero-phone strong { font-size: 1.2em; }
}
