/* ==========================================================================
   LTECH REALTY AND CONSTRUCTION — Shared Stylesheet
   Design tokens: deep navy + gold, Poppins (display) / Montserrat (body)
   Signature motif: blueprint corner brackets + dimension-line dividers
   ========================================================================== */

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

:root {
  /* Color tokens */
  --navy-deep: #0b1c34;
  --navy: #122a4d;
  --navy-mid: #1c3a68;
  --gold: #c89b3c;
  --gold-light: #e3c374;
  --white: #ffffff;
  --gray-light: #f4f5f8;
  --gray-mid: #8a93a3;
  --gray-line: #e2e5ea;
  --text-dark: #1a2333;
  --text-body: #4a5568;

  /* Type */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-deep);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Eyebrow / label ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, #e5c060 0%, #c89b3c 100%);
  color: var(--navy-deep);
  border: none;
  box-shadow: 0 4px 15px rgba(200, 155, 60, 0.22);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #ffd97d 0%, #dcae4d 100%);
  box-shadow: 0 6px 20px rgba(200, 155, 60, 0.38);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-2px); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy-deep);
  border-color: var(--navy-deep);
}
.btn-outline-navy:hover { background: var(--navy-deep); color: var(--white); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Blueprint corner-bracket frame (signature element) ---------- */
.bp-frame {
  position: relative;
  padding: 14px;
}
.bp-frame::before,
.bp-frame::after,
.bp-frame .bp-corner-tl,
.bp-frame .bp-corner-br {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid var(--gold);
}
.bp-frame::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.bp-frame::after { bottom: 0; right: 0; border-left: none; border-top: none; }

/* Placeholder image block */
.placeholder {
  background:
    repeating-linear-gradient(45deg, #e9ecf1, #e9ecf1 10px, #f2f4f7 10px, #f2f4f7 20px);
  border: 1px dashed var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  min-height: 220px;
  width: 100%;
  height: 100%;
}

/* ---------- Dimension-line divider ---------- */
.dim-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  margin: 0 0 28px;
}
.dim-divider .line { flex: 1; height: 1px; background: var(--gray-line); position: relative; }
.dim-divider .line::before, .dim-divider .line::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 1px;
  height: 9px;
  background: var(--gray-line);
}
.dim-divider .line::before { left: 0; }
.dim-divider .line::after { right: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  letter-spacing: 0.5px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.logo span { color: var(--gold); }
.logo small {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gray-mid);
  text-transform: uppercase;
  margin-left: 10px;
}
.logo-link {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 52px;
  width: auto;
  background: var(--white);
  padding: 4px;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}
.logo-link:hover .logo-img {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.3px;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
}
.nav-cta {
  background: linear-gradient(135deg, #e5c060 0%, #c89b3c 100%);
  color: var(--navy-deep) !important;
  padding: 12px 24px !important;
  border-radius: var(--radius);
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: 12.5px !important;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 12px rgba(200, 155, 60, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-cta:hover {
  background: linear-gradient(135deg, #ffd97d 0%, #dcae4d 100%);
  box-shadow: 0 6px 18px rgba(200, 155, 60, 0.4);
  transform: translateY(-1.5px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  transition: all 0.3s ease;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1250px) {
  .nav-links {
    gap: 16px;
  }
  .nav-links a {
    font-size: 13.5px;
  }
  .logo-img {
    height: 46px;
  }
}

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px 32px;
    gap: 22px;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li:last-child {
    width: 100%;
  }
  .nav-cta {
    margin-top: 12px;
    display: flex;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ---------- Hero (blueprint grid background) ---------- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,155,60,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,155,60,0.09) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 40%, black 40%, transparent 85%);
}
.hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(200,155,60,0.15), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 32px;
  width: 100%;
  flex-grow: 1;
  display: flex;
  align-items: center;
}
.hero-content { max-width: 720px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(11,28,52,0.6);
}
.hero-stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: left; }
.stat .num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
}
.stat .label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
@media (max-width: 800px) {
  .hero-stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px 20px;
  }
  .stat { text-align: center; }
}
@media (max-width: 500px) {
  .hero-stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 10px;
    padding: 18px 12px;
  }
  .stat .num {
    font-size: 24px;
  }
  .stat .label {
    font-size: 9.5px;
    letter-spacing: 0.5px;
    margin-top: 2px;
  }
}

/* ---------- Section basics ---------- */
section { padding: 100px 0; }
.section-light { background: var(--white); }
.section-gray { background: var(--gray-light); }
.section-navy { background: var(--navy-deep); color: rgba(255,255,255,0.8); }
.section-navy h2 { color: var(--white); }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}
.section-head p { margin-top: 16px; font-size: 16px; }

/* ---------- Service cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.services-grid-balanced {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}
.services-grid-balanced .service-card {
  grid-column: span 2;
}
.services-grid-balanced .service-card:nth-child(4) {
  grid-column: 2 / span 2;
}
.services-grid-balanced .service-card:nth-child(5) {
  grid-column: 4 / span 2;
}
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .services-grid-balanced {
    grid-template-columns: 1fr;
  }
  .services-grid-balanced .service-card {
    grid-column: span 1 !important;
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  padding: 36px 30px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(11,28,52,0.08);
  border-color: transparent;
}
.service-card .icon {
  width: 52px; height: 52px;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 24px;
  font-size: 18px;
}
.service-card h3 { font-size: 19px; margin-bottom: 12px; }
.service-card p { font-size: 14.5px; }
.service-card ul { margin-top: 16px; }
.service-card ul li {
  font-size: 13.5px;
  color: var(--text-body);
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 1.5px;
  background: var(--gold);
}
.service-card a.card-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy-deep);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
}

/* ---------- Project cards ---------- */
.project-card { background: var(--white); }
.project-card .bp-frame { margin-bottom: 18px; }
.project-card .placeholder { aspect-ratio: 4/3; min-height: 0; }
.project-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.project-card h3 { font-size: 19px; margin-bottom: 8px; }
.project-card p.loc { font-size: 13.5px; color: var(--gray-mid); margin-bottom: 10px; }
.project-card p.desc { font-size: 14px; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 20px;
  border: 1px solid var(--gray-line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-body);
}
.filter-btn:hover { border-color: var(--gold); color: var(--navy-deep); }
.filter-btn.active { background: var(--navy-deep); color: var(--white); border-color: var(--navy-deep); }

/* ---------- Why choose us ---------- */
.reason-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
@media (max-width: 800px) { .reason-list { grid-template-columns: 1fr; } }
.reason {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.reason .mark {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.reason h4 { font-size: 16.5px; margin-bottom: 6px; color: var(--white); }
.reason p { font-size: 14px; color: rgba(255,255,255,0.65); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  padding: 36px;
  position: relative;
}
.testimonial-card .quote-mark {
  font-family: var(--font-display);
  font-size: 60px;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.testimonial-card p.quote { font-size: 15px; font-style: normal; color: var(--text-body); margin-bottom: 24px; }
.testimonial-person { display: flex; align-items: center; gap: 14px; }
.avatar-placeholder {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gray-light);
  border: 1px dashed var(--gray-mid);
  flex-shrink: 0;
}
.testimonial-person h5 { font-size: 14px; color: var(--navy-deep); font-family: var(--font-display); }
.testimonial-person span { font-size: 12.5px; color: var(--gray-mid); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,155,60,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,155,60,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-band-inner { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); font-size: clamp(26px, 4vw, 38px); margin-bottom: 28px; }
.cta-band .btn-gold { padding: 18px 40px; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.55);
  padding: 72px 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 56px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
footer h5 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
footer p { font-size: 13.5px; margin-bottom: 20px; }
footer ul li { margin-bottom: 12px; font-size: 13.5px; }
footer ul li a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--white);
  transition: all 0.2s ease;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.newsletter-form { display: flex; margin-top: 4px; }
.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--navy-deep);
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 32px;
  text-align: center;
  font-size: 12.5px;
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 200;
  color: white;
  font-size: 26px;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: var(--navy-deep);
  color: var(--white);
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,155,60,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,155,60,0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 20% 0%, black 30%, transparent 80%);
}
.page-header .inner { position: relative; z-index: 2; }
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.breadcrumb span { color: var(--gold); }
.page-header h1 { color: var(--white); font-size: clamp(28px, 4vw, 44px); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy-deep);
}
.field input, .field select, .field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--gray-line);
  background: var(--gray-light);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 12.5px;
  color: var(--gray-mid);
  margin-top: 4px;
}

/* ---------- Contact info cards ---------- */
.contact-info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-line);
}
.contact-info-card:last-child { border-bottom: none; }
.contact-info-card .icon {
  width: 44px; height: 44px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.contact-info-card h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-card p { font-size: 14px; }

.map-placeholder {
  min-height: 320px;
}

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .placeholder { aspect-ratio: 1/1; margin-bottom: 18px; }
.team-card h4 { font-size: 16px; margin-bottom: 4px; }
.team-card span { font-size: 13px; color: var(--gold); font-weight: 600; }

/* ---------- Values ---------- */
.value-card {
  border-left: 2px solid var(--gold);
  padding-left: 22px;
}
.value-card h4 { font-size: 17px; margin-bottom: 8px; }
.value-card p { font-size: 14px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.form-response {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--gray-light);
  border-left: 3px solid var(--gold);
  font-size: 13.5px;
  color: var(--text-dark);
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

/* ==========================================================================
   LTECH ADDITIONS — Modals, Properties, Careers, Blog, and Icon Styles
   ========================================================================== */

/* ---------- Font Awesome Icons & Icon Layouts ---------- */
.fa-solid, .fa-regular, .fa-brands {
  display: inline-block;
}
.icon-gold { color: var(--gold); }
.btn i {
  font-size: 13px;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.btn:hover i {
  transform: translateX(4px);
}
.contact-info-card i {
  font-size: 22px;
  color: var(--gold);
  vertical-align: middle;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social a i {
  font-size: 15px;
}
.whatsapp-float {
  background: #25D366;
  color: white;
}
.whatsapp-float i {
  font-size: 28px;
  margin-top: 1px;
}

/* ---------- Dynamic Project Detail Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 52, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.3s ease forwards;
}
.modal-backdrop.open {
  display: flex;
}
.modal-content {
  background: var(--white);
  width: 100%;
  max-width: 950px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius);
  position: relative;
  box-shadow: 0 24px 64px rgba(11, 28, 52, 0.4);
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--navy-deep);
  color: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}
.modal-close:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: scale(1.05);
}
.modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 40px;
}
@media (max-width: 850px) {
  .modal-grid {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 28px;
  }
}
.modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-main-img-wrap {
  aspect-ratio: 4/3;
  width: 100%;
  overflow: hidden;
  background: var(--gray-light);
  position: relative;
}
.modal-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.modal-thumb {
  width: 76px;
  height: 57px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  background: var(--gray-light);
  transition: all 0.2s ease;
}
.modal-thumb.active, .modal-thumb:hover {
  border-color: var(--gold);
  opacity: 1;
}
.modal-info h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 8px;
}
.modal-info .modal-loc {
  font-size: 14px;
  color: var(--gray-mid);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
  padding: 20px 0;
  margin-bottom: 24px;
}
.modal-meta-item h5 {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-mid);
  margin-bottom: 4px;
}
.modal-meta-item p {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-deep);
}
.modal-desc-heading {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.modal-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-body);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ---------- Property Listings Page ---------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 800px) {
  .property-grid { grid-template-columns: 1fr; }
}
.property-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(11, 28, 52, 0.08);
  border-color: transparent;
}
.property-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--navy-deep);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 6px 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 5;
}
.property-badge.available { background: var(--gold); color: var(--navy-deep); }
.property-badge.development { background: var(--navy-mid); }
.property-badge.investment { background: #1c6858; }
.property-badge.managed { background: #4a5568; }

.property-img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--gray-light);
}
.property-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.property-card:hover .property-img-wrap img {
  transform: scale(1.03);
}
.property-content {
  padding: 36px;
}
.property-price {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.property-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.property-loc {
  font-size: 13.5px;
  color: var(--gray-mid);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.property-content p {
  font-size: 14.5px;
  margin-bottom: 24px;
  color: var(--text-body);
}
.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  border-top: 1px solid var(--gray-line);
  padding-top: 20px;
  margin-bottom: 24px;
}
.feature-item {
  font-size: 13px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.feature-item .lucide {
  width: 16px;
  height: 16px;
  color: var(--gray-mid);
}

/* ---------- Careers Page ---------- */
.vacancy-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 56px;
}
.vacancy-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  padding: 40px;
  transition: all 0.25s ease;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}
@media (max-width: 768px) {
  .vacancy-card {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 24px;
  }
}
.vacancy-card:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(11, 28, 52, 0.05);
}
.vacancy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 12px;
}
.vacancy-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.vacancy-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.vacancy-card p {
  font-size: 14.5px;
  margin-bottom: 24px;
  max-width: 700px;
}
.vacancy-details {
  border-top: 1px solid var(--gray-line);
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 600px) {
  .vacancy-details { grid-template-columns: 1fr; }
}
.vacancy-details h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy-deep);
  margin-bottom: 12px;
}
.vacancy-details ul li {
  font-size: 13.5px;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}
.vacancy-details ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 1.5px;
  background: var(--gold);
}

.file-input-wrapper {
  position: relative;
  width: 100%;
}
.file-input-wrapper input[type="file"] {
  position: absolute;
  left: 0; top: 0; opacity: 0;
  width: 100%; height: 100%;
  cursor: pointer;
}
.file-input-btn {
  border: 1px dashed var(--gray-mid);
  background: var(--gray-light);
  padding: 16px;
  font-size: 14px;
  color: var(--text-body);
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.file-input-wrapper input[type="file"]:focus + .file-input-btn,
.file-input-btn:hover {
  border-color: var(--gold);
  background: var(--white);
  color: var(--navy-deep);
}

/* ---------- Blog Page ---------- */
.blog-container {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 56px;
}
@media (max-width: 950px) {
  .blog-container { grid-template-columns: 1fr; gap: 48px; }
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  margin-bottom: 48px;
  transition: all 0.3s ease;
}
.blog-card:hover {
  box-shadow: 0 20px 40px rgba(11, 28, 52, 0.06);
  border-color: transparent;
  transform: translateY(-4px);
}
.blog-img-wrap {
  aspect-ratio: 2/1;
  overflow: hidden;
  background: var(--gray-light);
  position: relative;
}
.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-img-wrap img {
  transform: scale(1.03);
}
.blog-card-content {
  padding: 40px;
}
@media (max-width: 600px) {
  .blog-card-content { padding: 30px; }
}
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 12px;
  color: var(--gray-mid);
  margin-bottom: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-line);
  padding-bottom: 16px;
}
.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-category-badge {
  color: var(--gold) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.blog-card h3 {
  font-size: clamp(20px, 3.2vw, 26px);
  margin-bottom: 16px;
}
.blog-card h3 a:hover {
  color: var(--gold);
}
.blog-card p {
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* Sidebar Widgets */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.sidebar-widget {
  background: var(--gray-light);
  border: 1px solid var(--gray-line);
  padding: 36px;
}
.sidebar-widget h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  display: inline-block;
  color: var(--navy-deep);
}
.widget-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.widget-post-item {
  display: flex;
  gap: 16px;
  align-items: center;
}
.widget-post-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: var(--gray-line);
  flex-shrink: 0;
}
.widget-post-item h5 {
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--navy-deep);
}
.widget-post-item h5 a:hover {
  color: var(--gold);
}
.widget-post-item span {
  font-size: 11px;
  color: var(--gray-mid);
}
.cat-list li {
  margin-bottom: 12px;
}
.cat-list li a {
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  color: var(--text-body);
}
.cat-list li a:hover {
  color: var(--gold);
}
.cat-list li a span {
  color: var(--gray-mid);
  font-weight: 500;
}

/* ---------- Services Page Project badges ---------- */
.project-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-deep);
  color: var(--white) !important;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 12px;
  margin-top: 12px;
  transition: all 0.2s ease;
}
.project-badge-link:hover {
  background: var(--gold);
  color: var(--navy-deep) !important;
  transform: translateY(-1px);
}
.project-badge-link i {
  font-size: 11px;
}

/* ---------- Grid Balancing & Mobile Stacking Refinements ---------- */
@media (min-width: 1081px) {
  /* Center the 7th reason on desktop (spans 2 columns, centered text block) */
  .reason-list .reason:nth-child(7) {
    grid-column: span 2;
    max-width: 580px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  /* Stack newsletter inputs on very small viewports */
  .newsletter-form {
    flex-direction: column;
    gap: 8px;
  }
  .newsletter-form input {
    border-right: 1px solid rgba(255,255,255,0.15) !important;
    text-align: center;
  }
  .newsletter-form button {
    padding: 12px;
  }
  
  /* Adjust section paddings slightly for small screens */
  section {
    padding: 60px 0;
  }
  .page-header {
    padding: 48px 0 36px;
  }
}



/* ---------- projects-grid-balanced centering the 4th item on desktop ---------- */
@media (min-width: 901px) {
  .projects-grid-balanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  
}
@media (max-width: 900px) {
  .projects-grid-balanced {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .projects-grid-balanced .project-card {
    grid-column: span 1 !important;
  }
}


/* ---------- Mobile Responsive Overrides & Optimizations ---------- */
@media (max-width: 768px) {
  .container {
    padding: 0 20px !important;
  }
  section {
    padding: 56px 0 !important;
  }
  .page-header {
    padding: 56px 0 40px !important;
  }
  .section-head {
    margin-bottom: 36px !important;
  }
  .hero-inner {
    padding: 48px 20px !important;
  }
  .nav-links {
    padding: 20px 20px 24px !important;
  }
  .modal-grid {
    padding: 24px 20px !important;
    gap: 24px !important;
  }
  /* Typography Scaling */
  h1 { font-size: clamp(30px, 6vw, 38px) !important; }
  h2 { font-size: clamp(24px, 5vw, 30px) !important; }
  h3 { font-size: clamp(19px, 4vw, 23px) !important; }
  p.lead { font-size: 16px !important; margin-bottom: 28px !important; }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px !important;
  }
  section {
    padding: 44px 0 !important;
  }
  .page-header {
    padding: 44px 0 32px !important;
  }
  .hero-inner {
    padding: 36px 16px !important;
  }
  .nav-links {
    padding: 16px 16px 20px !important;
  }
  .modal-content {
    width: calc(100% - 24px) !important;
    margin: 12px !important;
    max-height: 85vh !important;
  }
  .modal-grid {
    padding: 20px 16px !important;
    gap: 20px !important;
  }
}


/* ---------- Explicit Mobile Image & Layout Responsiveness Overrides ---------- */
.about-hero-img,
.bp-frame img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .about-hero-img,
  .bp-frame img {
    min-height: 0 !important;
    max-height: 360px !important;
    width: 100% !important;
    aspect-ratio: 4/3 !important;
    object-fit: cover !important;
  }
}

@media (max-width: 480px) {
  .bp-frame {
    padding: 8px !important;
  }
  .about-hero-img,
  .bp-frame img {
    max-height: 260px !important;
    aspect-ratio: 16/10 !important;
  }
}


/* ---------- Services Page Responsiveness Overrides ---------- */
.services-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}
.services-quick-nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-deep);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.services-quick-nav a:hover {
  color: var(--gold);
}

.service-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.service-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.service-inquiry-form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-line);
  padding: 40px;
}

.project-badge-link {
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 900px) {
  .services-quick-nav {
    gap: 10px 14px;
  }
  .services-quick-nav a {
    font-size: 12.5px;
    background: var(--white);
    padding: 6px 12px;
    border: 1px solid var(--gray-line);
    border-radius: var(--radius);
  }
  
  /* Reset alternating order so text always precedes image on mobile vertical stack */
  .two-col > .reveal {
    order: initial !important;
  }

  .service-img {
    min-height: 0 !important;
    max-height: 320px !important;
    aspect-ratio: 16/10 !important;
  }

  .service-inquiry-form {
    padding: 28px 20px !important;
  }
}

@media (max-width: 550px) {
  .service-subgrid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .service-img {
    max-height: 240px !important;
    aspect-ratio: 4/3 !important;
  }
  .service-inquiry-form {
    padding: 20px 16px !important;
  }
}


/* ==========================================================================
   GLOBAL RESPONSIVE SAFETY RESETS
   ========================================================================== */

/* Base overflow containment — html/body must never scroll horizontally */
html, body {
  overflow-x: hidden;
}

/* All elements respect border-box sizing by default (already set at top, redundant safety) */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Text wrapping — prevent long words from widening the page */
h1, h2, h3, h4, h5, h6, p, li, a, span, label, button {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Images always stay inside their container */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Mobile: ≤ 768px ── */
@media (max-width: 768px) {

  /* Container side padding shrinks — no more 32px eating into narrow screens */
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Nav bar side padding shrinks to match container */
  .nav-wrap {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Hero inner padding shrinks */
  .hero-inner {
    padding: 48px 16px 40px !important;
  }

  /* Hero stats bar padding shrinks */
  .hero-stats-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Footer bottom copyright bar */
  .footer-bottom {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Footer grid collapses to 1 column */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Two-column layouts stack */
  .two-col {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Reset any inline flex order that reverses image/text on mobile */
  .two-col > * {
    order: unset !important;
  }

  /* Service inquiry form */
  .service-inquiry-form {
    padding: 24px 16px !important;
  }

  /* Service sub-grid stays 2-col on tablet, collapses at 480px */

  /* Form grid single column */
  .form-grid {
    grid-template-columns: 1fr !important;
  }

  /* Page header */
  .page-header {
    padding-top: 44px !important;
    padding-bottom: 32px !important;
  }

  /* Inline about image — no min-height override */
  img[style*="min-height"] {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 4/3 !important;
  }
}

/* ── Small phones: ≤ 480px ── */
@media (max-width: 480px) {

  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .nav-wrap {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* Hero buttons stack full-width */
  .hero-actions {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Service scope sub-grid collapses */
  .service-subgrid {
    grid-template-columns: 1fr !important;
  }

  /* 3-column grids collapse */
  .grid-3 {
    grid-template-columns: 1fr !important;
  }

  /* Reason list collapses */
  .reason-list {
    grid-template-columns: 1fr !important;
  }

  /* Blog layout collapses */
  .blog-container {
    grid-template-columns: 1fr !important;
  }

  /* Reduce section vertical padding */
  section {
    padding: 60px 0 !important;
  }

  /* Filter bar wraps */
  .filter-bar {
    gap: 8px !important;
  }
  .filter-btn {
    padding: 7px 12px !important;
    font-size: 11.5px !important;
  }

  /* Modal sizing */
  .modal-content {
    width: 100% !important;
    max-height: 90vh !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  .modal-grid {
    padding: 16px 14px !important;
    gap: 16px !important;
  }
  .modal-grid {
    grid-template-columns: 1fr !important;
  }

  /* Blog modal */
  .blog-modal-content {
    width: 100% !important;
    max-height: 90vh !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  .blog-modal-inner {
    padding: 16px 14px !important;
  }

  /* Project badge links wrap */
  .project-badge-link {
    display: block !important;
    margin-bottom: 8px !important;
    width: 100% !important;
    text-align: center !important;
  }
}


/* ---------- Services Page Mobile Image Order (Places image at the top of each service on mobile) ---------- */
@media (max-width: 900px) {
  .two-col > .bp-frame {
    order: -1 !important;
  }
}


/* ---------- Contact Page & Form — Full Responsive Overhaul ---------- */

/* Base form container */
.contact-form {
  padding: 40px;
  width: 100%;
  box-sizing: border-box;
}

/* Force all form inputs to fill their container and prevent iOS zoom */
.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom on focus */
}

.contact-form .field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn-block {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
  font-size: 14px;
  padding: 16px 24px;
}

/* ── Tablet: ≤ 768px ── */
@media (max-width: 768px) {
  .contact-form {
    padding: 28px 20px !important;
  }

  /* Contact info cards */
  .contact-info-card {
    padding: 16px 0 !important;
    gap: 14px !important;
  }
  .contact-info-card .icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    font-size: 16px !important;
  }
  .contact-info-card h4 {
    font-size: 14px !important;
  }
  .contact-info-card p {
    font-size: 13.5px !important;
  }

  /* Map iframe */
  iframe {
    height: 280px !important;
    max-height: 280px !important;
  }

  /* Social icons on contact page */
  .footer-social {
    gap: 10px !important;
  }
}

/* ── Small phone: ≤ 480px ── */
@media (max-width: 480px) {
  .contact-form {
    padding: 20px 14px !important;
  }

  .contact-form .field {
    margin-bottom: 14px !important;
  }
  .contact-form .field label {
    font-size: 11.5px !important;
  }
  .contact-form .field input,
  .contact-form .field select,
  .contact-form .field textarea {
    padding: 12px 14px !important;
    font-size: 16px !important; /* prevent iOS zoom */
  }
  .contact-form .field textarea {
    min-height: 110px !important;
  }

  .contact-form .btn-block {
    padding: 14px 16px !important;
    font-size: 13px !important;
  }

  .contact-form .form-note {
    font-size: 11.5px !important;
    text-align: center !important;
  }

  /* Contact info cards on small phones */
  .contact-info-card {
    padding: 12px 0 !important;
    gap: 12px !important;
  }
  .contact-info-card .icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    font-size: 14px !important;
  }
  .contact-info-card h4 {
    font-size: 13.5px !important;
  }
  .contact-info-card p {
    font-size: 12.5px !important;
  }

  /* Map iframe on small phones */
  iframe {
    height: 220px !important;
    max-height: 220px !important;
  }

  /* Contact page social icons */
  .footer-social a {
    width: 34px !important;
    height: 34px !important;
  }
}

