/* ========================================
   ELLIS PLASTERING - PREMIUM DESIGN SYSTEM
   ======================================== */

:root {
  --bg: #ffffff;
  --bg-subtle: #ffffff;
  --panel: #ffffff;
  --text: #000000;
  --text-muted: #333333;
  --accent: #ff8a00;
  --accent-hover: #e67e00;
  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
  --max: 1180px;
  --radius: 16px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* iOS/Android specific fixes */
@supports (padding: max(0px)) {
  body {
    padding-bottom: max(104px, calc(104px + env(safe-area-inset-bottom)));
  }
  
  .sticky-actions {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding-bottom: 104px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(255, 138, 0, 0.1);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 120px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-width: 0;
  flex: none;
  position: relative;
  left: auto;
  transform: none;
}

.brand img {
  width: 320px;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.brand-text {
  display: none;
}

.brand-title {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.brand-sub {
  display: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  position: relative;
  left: auto;
}

.nav-links a {
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 0;
  border-radius: 12px;
  font-size: 1rem;
  width: 56px;
  height: 46px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-toggle:hover {
  background: var(--border);
}

.menu-icon {
  font-size: 1.7rem;
  line-height: 1;
  display: block;
  transform: translateY(-1px);
}

/* ========================================
   AREA MARQUEE
   ======================================== */

.area-marquee {
  position: relative;
  z-index: 5;
  overflow: hidden;
  width: 100%;
  background: #1a1a1a;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

.area-marquee-track {
  display: flex;
  width: max-content;
  gap: 48px;
  padding: 12px 0;
  animation: areaMarquee 28s linear infinite;
  will-change: transform;
}

.area-marquee-track span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: #ffffff;
  font-weight: 850;
  letter-spacing: 0.01em;
  font-size: clamp(0.88rem, 2.8vw, 1rem);
}

.area-marquee-track span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 14px;
  box-shadow: 0 0 0 5px rgba(255, 138, 0, 0.16);
}

@keyframes areaMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .area-marquee-track {
    animation: none;
    transform: none;
  }
}

/* ========================================
   BUTTONS & INTERACTIVE ELEMENTS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  min-height: 44px;
  min-width: 44px;
  -webkit-user-select: none;
  user-select: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 138, 0, 0.2);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 138, 0, 0.3);
}

.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 138, 0, 0.05);
}

.btn-small {
  padding: 10px 16px;
  font-size: 0.9rem;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  padding: 40px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-media,
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero-copy {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.045em;
  color: var(--accent);
  max-width: 780px;
  font-weight: 900;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0;
}

.bio-highlight {
  margin-top: 20px;
  padding: 20px 0 20px 20px;
  border-radius: 0;
  background: transparent;
  border: none;
  border-left: 4px solid var(--accent);
  color: var(--text);
  text-align: left;
  box-shadow: none;
  font-size: 1rem;
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  justify-content: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.stat {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.stat strong {
  display: block;
  font-size: 1.3rem;
  color: var(--accent);
  line-height: 1.05;
  margin-bottom: 4px;
}

.hero-media {
  overflow: hidden;
  position: relative;
  min-height: 340px;
  background: var(--bg-subtle);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
}

.home-photo-panel img {
  height: 300px;
  object-fit: cover;
}

/* ========================================
   SECTIONS & LAYOUT
   ======================================== */

section {
  padding: 80px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 24px;
}

.section-head h2,
.section-head h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-weight: 900;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 48ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card,
.review-card,
.contact-card,
.gallery-card,
.service-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.card:hover,
.review-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card {
  padding: 24px;
}

.icon-badge {
  min-width: 44px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
  border: 1px solid var(--accent);
  font-weight: 800;
}

.card h3,
.service-card h3,
.review-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-weight: 800;
}

.card p,
.service-card p,
.review-card p,
.contact-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.service-card {
  padding: 28px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-card .meta {
  padding: 16px 18px;
  color: var(--text);
  font-size: 1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.review-card {
  padding: 28px;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.review-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
}

.contact-card {
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 0;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item strong {
  color: var(--text);
  font-weight: 700;
}

.contact-item a {
  color: var(--accent);
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--accent-hover);
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--text);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 999px;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.whatsapp-link:hover {
  background: rgba(255, 138, 0, 0.05);
  border-color: var(--accent);
}

.wa-icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

/* ========================================
   FORMS
   ======================================== */

form {
  display: grid;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

input[type="tel"],
input[type="email"],
input[type="text"] {
  font-size: 16px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.1);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  padding: 40px 0 100px;
  color: var(--text-muted);
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: 24px;
}

.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.socials a {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-subtle);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.socials a:hover {
  border-color: var(--accent);
  background: rgba(255, 138, 0, 0.05);
  color: var(--accent);
}

/* ========================================
   STICKY ACTIONS
   ======================================== */

.sticky-actions {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 12px;
  display: flex;
  gap: 10px;
  z-index: 60;
  max-width: 720px;
  margin: 0 auto;
  bottom: max(12px, calc(12px + env(safe-area-inset-bottom)));
}

.sticky-actions a {
  flex: 1;
  text-align: center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-user-select: none;
  user-select: none;
}

.call-btn {
  background: var(--text);
  color: #ffffff;
}

.call-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.wa-btn {
  background: var(--accent);
  color: #ffffff;
}

.wa-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   PAGE HERO
   ======================================== */

.page-hero {
  padding: 40px 0 20px;
}

.page-hero .panel {
  padding: 32px 36px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3.3vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-weight: 900;
}

.small-muted {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.compact-head {
  margin-bottom: 12px;
}

.image-panel {
  padding: 0;
  overflow: hidden;
}

.image-panel img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.image-panel-copy {
  padding: 24px;
}

.image-panel-copy h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.image-panel-copy p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
  width: 100%;
}

.trust-chip {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  text-align: center;
}

.trust-chip strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.panel-slim {
  padding: 12px 16px;
  border-radius: 12px;
}

.page-hero-compact .section-head {
  align-items: center;
  margin-bottom: 0;
}

.page-hero-compact .small-muted {
  margin-top: 6px;
}

/* ========================================
   CAROUSEL
   ======================================== */

.home-carousel {
  padding: 0;
  overflow: hidden;
}

.carousel-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-subtle);
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.carousel-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}

.carousel-copy strong {
  display: block;
  color: var(--text);
  font-weight: 700;
}

.carousel-copy span {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: var(--shadow-lg);
}

.carousel-btn.prev {
  left: 12px;
}

.carousel-btn.next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--accent);
  width: 24px;
}

/* ========================================
   RECENT WORK CAROUSEL (PREMIUM)
   ======================================== */

.recent-work-carousel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.recent-work-carousel .recent-work-track {
  position: relative;
  overflow-x: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.recent-work-carousel .carousel-slide img {
  height: 430px;
  object-fit: cover;
}

.recent-work-carousel .carousel-dots {
  position: absolute;
  top: 396px;
  bottom: auto;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 7px;
  pointer-events: auto;
}

.recent-work-carousel .image-panel-copy {
  position: relative;
  z-index: 4;
  padding: 28px;
  background: var(--panel);
}

.recent-work-carousel .image-panel-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.035em;
}

.recent-work-carousel .image-panel-copy .cta-row {
  margin-top: 20px;
}

.recent-work-carousel .carousel-btn {
  display: none;
}

/* ========================================
   SINGLE PANEL LAYOUT
   ======================================== */

.single-panel {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: 24px;
}

.feedback-panel {
  max-width: 760px;
  margin: 0 auto;
}

#contact .contact-card {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

#contact .icon-badge {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
  font-weight: 800;
}

#contact .contact-item {
  border-bottom: 1px solid var(--border);
}


/* Premium reliability section added below reviews */
.reliability-section {
  padding: 0 0 80px;
}

.reliability-panel {
  padding: 34px 36px;
  background: linear-gradient(135deg, #1f1f1f 0%, #111111 100%);
  border-color: rgba(255, 138, 0, 0.22);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.reliability-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 138, 0, 0.18), transparent 38%);
  pointer-events: none;
}

.reliability-panel h2,
.reliability-panel p {
  position: relative;
  z-index: 1;
}

.reliability-panel h2 {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.reliability-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.03rem;
  line-height: 1.75;
}

.reliability-panel p + p {
  margin-top: 12px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 980px) {
  .hero-grid,
  .cards,
  .split,
  .reviews-grid,
  .contact-grid,
  .stats,
  .trust-band {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .brand img {
    width: 280px;
  }

  .nav {
    min-height: 100px;
    padding: 10px 0;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 98px;
    -webkit-user-select: none;
    user-select: none;
  }

  .nav {
    min-height: 100px;
    padding: 0 env(safe-area-inset-left) 0 env(safe-area-inset-right);
    justify-content: center;
  }

  .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .brand img {
    width: 240px;
    max-height: 80px;
    object-position: center;
  }

  .menu-toggle {
    display: flex;
    width: 48px;
    height: 48px;
    min-height: 48px;
    min-width: 48px;
    margin-right: env(safe-area-inset-right);
    position: absolute;
    right: 0;
  }

  .nav-links {
    position: absolute;
    top: 100px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    border-radius: 12px;
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
    font-size: 0.95rem;
  }

  .hero-grid,
  .cards,
  .split,
  .reviews-grid,
  .contact-grid,
  .stats,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .service-card,
  .review-card,
  .contact-card,
  .page-hero .panel {
    padding: 24px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    margin-bottom: 12px;
  }

  .hero-media {
    min-height: 240px;
  }

  .hero-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .sticky-actions a {
    padding: 10px 12px;
    font-size: 0.9rem;
    min-height: 48px;
    -webkit-user-select: none;
    user-select: none;
  }

  .sticky-actions {
    gap: 8px;
    left: 12px;
    right: 12px;
  }

  .image-panel img,
  .home-photo-panel img,
  .gallery-card img {
    height: auto;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero-compact .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .carousel-slide img {
    height: 310px;
  }

  .carousel-copy {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .recent-work-carousel .carousel-slide img {
    height: 360px;
  }

  .recent-work-carousel .carousel-dots {
    top: 330px;
  }

  .recent-work-carousel .image-panel-copy {
    padding: 20px;
  }

  .recent-work-carousel .image-panel-copy .cta-row .btn {
    width: 100%;
    max-width: 260px;
  }

  .trust-band {
    gap: 12px;
  }

  .trust-chip {
    padding: 12px 14px;
    text-align: center;
  }

  .area-marquee-track {
    gap: 32px;
    padding: 9px 0;
    animation-duration: 24s;
  }

  .area-marquee-track span {
    font-size: 0.9rem;
  }

  section {
    padding: 60px 0;
  }

  .reliability-section {
    padding: 0 0 60px;
  }

  .reliability-panel {
    padding: 26px 24px;
  }

  .page-hero {
    padding: 30px 0 16px;
  }

  .page-hero .panel {
    padding: 24px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .contact-list {
    margin-top: 16px;
  }

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

  /* Enhanced mobile touch targets */
  .btn {
    min-height: 48px;
    padding: 12px 20px;
  }

  input,
  textarea {
    min-height: 48px;
    font-size: 16px;
    padding: 12px 14px;
  }

  .carousel-btn {
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
  }

  .carousel-dot {
    min-width: 10px;
    min-height: 10px;
    width: 10px;
    height: 10px;
  }

  .carousel-dot.active {
    width: 28px;
  }

  /* Prevent text zoom on input focus (iOS) */
  input:focus,
  textarea:focus {
    font-size: 16px;
  }

  /* Improve form usability */
  form {
    gap: 16px;
  }

  .nav-links a {
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Safe area adjustments for notched devices */
  @supports (padding: max(0px)) {
    .site-header {
      padding-left: env(safe-area-inset-left);
      padding-right: env(safe-area-inset-right);
    }

    .container {
      padding-left: env(safe-area-inset-left);
      padding-right: env(safe-area-inset-right);
    }
  }
}

.gallery-card .meta strong {
  display: block;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 6px;
}

.gallery-card .meta span {
  display: block;
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.94rem;
}

.recent-work-carousel .carousel-copy {
  background: rgba(26, 26, 26, 0.88);
  border-color: rgba(245, 127, 23, 0.3);
  backdrop-filter: blur(8px);
}

.recent-work-carousel .carousel-copy strong {
  color: var(--accent);
}

.recent-work-carousel .carousel-copy span {
  color: rgba(255, 255, 255, 0.86);
}


/* SEO areas section - designed to feel like a natural part of the site */
.areas-section { padding: clamp(56px, 8vw, 96px) 0; background: linear-gradient(180deg, #fff 0%, #fff7ee 100%); }
.areas-head { align-items: flex-end; gap: 28px; margin-bottom: 28px; }
.areas-head p { max-width: 820px; color: var(--text-muted); margin: 10px 0 0; }
.areas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.area-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.area-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent); opacity: .95; }
.area-card h3 { margin: 0 0 8px; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.2; }
.area-card p { margin: 0; color: var(--text-muted); font-size: .98rem; }
.area-wide { grid-column: span 3; }
.seo-content-section { padding: 30px 0 70px; }
.seo-copy p { color: var(--text-muted); max-width: 980px; }
@media (max-width: 900px) { .areas-grid { grid-template-columns: 1fr 1fr; } .area-wide { grid-column: span 2; } }
@media (max-width: 640px) { .areas-section { padding: 46px 0; } .areas-head { align-items: flex-start; } .areas-grid { grid-template-columns: 1fr; } .area-wide { grid-column: span 1; } .area-card { padding: 20px; } }

.text-strong { font-weight: 850; display: inline; }
.carousel-copy .text-strong { display:block; }
