/* ============================================================
   BR Law Firm — Main Stylesheet
   All inline CSS extracted from index.html into this file.
   ============================================================ */

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #14120F;
  font-family: 'Archivo', sans-serif;
  color: #1C1913;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #B08D57; color: #14120F; }
image-slot { display: block; width: 100%; height: 100%; }
img { max-width: 100%; height: auto; display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* Page wrapper */
.page {
  background: #F5F1E9;
  color: #1C1913;
}

/* ---------- Announcement bar ---------- */
.announce {
  background: #14120F;
  color: #C9C2B4;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 9px 20px;
  flex-wrap: wrap;
}
.announce a { text-decoration: none; }
.announce .phone,
.announce .email { color: inherit; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 233, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 25, 19, 0.1);
}
.nav {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
}
.brand {
  text-decoration: none;
  color: #1C1913;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.brand-sub {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #6E6656;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a {
  color: #1C1913;
  text-decoration: none;
}
.nav-links a:hover { color: #B08D57; }
.nav-cta {
  color: #F5F1E9 !important;
  background: #1C1913;
  padding: 12px 26px;
  letter-spacing: 0.12em;
}
.nav-cta:hover { background: #B08D57; color: #14120F !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #14120F;
  color: #F5F1E9;
  overflow: hidden;
}
.hero-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 640px;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 48px 90px 32px;
  animation: fadeUp 0.8s ease both;
}
.eyebrow {
  margin: 0 0 22px;
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #B08D57;
}
.hero-title {
  margin: 0 0 26px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.05;
  text-wrap: balance;
}
.hero-desc {
  margin: 0 0 38px;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.7;
  color: #C9C2B4;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: #B08D57;
  color: #14120F;
  text-decoration: none;
  padding: 16px 34px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-block;
}
.btn-primary:hover { background: #F5F1E9; }
.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 60px;
}
.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  color: #B08D57;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8B8271;
}
.hero-media {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 32px 60px 0;
}
.hero-media x-import,
.hero-media image-slot { position: absolute; inset: 0; }

/* Hero contact form */
.hero-form {
  width: 100%;
  max-width: 460px;
  background: #F5F1E9;
  color: #14120F;
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  border-top: 4px solid #B08D57;
}
.hero-form-title {
  margin: 0 0 6px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 28px;
  color: #14120F;
  line-height: 1.15;
}
.hero-form-sub {
  margin: 0 0 20px;
  font-size: 13px;
  color: #6B6152;
  line-height: 1.5;
}
.hf-row { margin-bottom: 14px; display: flex; flex-direction: column; }
.hf-row label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #3A2F1E;
  margin-bottom: 6px;
}
.hf-req { color: #B0552A; }
.hf-row input,
.hf-row textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #D9CBB0;
  border-radius: 8px;
  background: #FFFFFF;
  color: #14120F;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.hf-row textarea { resize: vertical; min-height: 90px; }
.hf-row input:focus,
.hf-row textarea:focus {
  outline: none;
  border-color: #B08D57;
  box-shadow: 0 0 0 3px rgba(176,141,87,0.2);
}
.hf-submit {
  width: 100%;
  margin-top: 6px;
  background: #B08D57;
  color: #14120F;
  border: none;
  padding: 14px 22px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.hf-submit:hover { background: #14120F; color: #F5F1E9; }

/* ---------- About ---------- */
.about {
  max-width: 1360px;
  margin: 0 auto;
  padding: 110px 32px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about-media { position: relative; }
.about-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 6px;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-badge {
  position: absolute;
  right: -18px;
  bottom: -18px;
  background: #B08D57;
  color: #14120F;
  padding: 22px 26px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1.2;
  max-width: 210px;
}
.section-title {
  margin: 0 0 26px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.1;
}
.about-copy p {
  margin: 0 0 20px;
  font-size: 16.5px;
  line-height: 1.8;
  color: #4A4436;
}
.link-underline {
  display: inline-block;
  color: #1C1913;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 2px solid #B08D57;
  padding-bottom: 6px;
}
.link-underline:hover { color: #B08D57; }

/* ---------- Spaces ---------- */
.spaces {
  background: #ECE5D6;
  padding: 100px 32px;
}
.container {
  max-width: 1360px;
  margin: 0 auto;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 54px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(34px, 3.6vw, 52px);
}
.section-head p {
  margin: 0;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.7;
  color: #6E6656;
}
.spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.space-card {
  background: #F5F1E9;
  display: flex;
  flex-direction: column;
}
.space-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #F5F1E9;
}
.space-body { padding: 28px 26px 32px; }
.space-num {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: #B08D57;
  margin-bottom: 10px;
}
.space-title {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 27px;
}
.space-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #6E6656;
}

/* ---------- Services ---------- */
.services {
  max-width: 1360px;
  margin: 0 auto;
  padding: 110px 32px;
}
.eyebrow-center {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #B08D57;
  text-align: center;
}
.section-title-center {
  margin: 0 auto 60px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(34px, 3.6vw, 52px);
  text-align: center;
  max-width: 20ch;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(28, 25, 19, 0.14);
  border-left: 1px solid rgba(28, 25, 19, 0.14);
}
.service-card {
  display: block;
  text-decoration: none;
  color: #1C1913;
  padding: 34px 28px 38px;
  border-right: 1px solid rgba(28, 25, 19, 0.14);
  border-bottom: 1px solid rgba(28, 25, 19, 0.14);
  background: #F5F1E9;
  transition: background 0.25s, color 0.25s;
}
.service-card:hover { background: #14120F; color: #F5F1E9; }
.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: #B08D57;
  margin-bottom: 16px;
}
.service-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.service-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  opacity: 0.72;
}

/* ---------- CTA band ---------- */
.cta {
  background: #B08D57;
  color: #14120F;
}
.cta-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 64px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta h2 {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 42px);
}
.cta p {
  margin: 0;
  font-size: 15.5px;
  max-width: 60ch;
}
.btn-dark {
  background: #14120F;
  color: #F5F1E9;
  text-decoration: none;
  padding: 18px 40px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn-dark:hover { background: #F5F1E9; color: #14120F; }

/* ---------- Benefits ---------- */
.benefits {
  max-width: 1360px;
  margin: 0 auto;
  padding: 110px 32px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 44px;
}
.benefit-rule {
  width: 34px;
  height: 2px;
  background: #B08D57;
  margin-bottom: 18px;
}
.benefit-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}
.benefit-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #6E6656;
}

/* ---------- FAQ ---------- */
.faq {
  background: #ECE5D6;
  padding: 100px 32px;
}
.faq-inner {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(28, 25, 19, 0.16);
}
.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 4px;
  text-align: left;
  font-family: 'Archivo', sans-serif;
}
.faq-q {
  font-size: 17px;
  font-weight: 600;
  color: #1C1913;
}
.faq-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: #B08D57;
  line-height: 1;
}
.faq-a {
  margin: 0;
  padding: 0 4px 26px;
  font-size: 15.5px;
  line-height: 1.8;
  color: #4A4436;
  white-space: pre-line;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #14120F;
  color: #C9C2B4;
}
.footer-top {
  max-width: 1360px;
  margin: 0 auto;
  padding: 100px 32px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
}
.footer-heading {
  margin: 0 0 24px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(34px, 3.6vw, 52px);
  color: #F5F1E9;
  line-height: 1.1;
}
.footer-lead {
  margin: 0 0 40px;
  font-size: 16px;
  line-height: 1.75;
  max-width: 52ch;
}
.contact-list {
  display: grid;
  gap: 22px;
  font-size: 15.5px;
}
.contact-row {
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.contact-label {
  color: #B08D57;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  width: 72px;
  flex-shrink: 0;
}
.contact-row a {
  color: #F5F1E9;
  text-decoration: none;
}
.contact-row a:hover { color: #B08D57; }

.lead-form {
  background: #1C1913;
  padding: 44px 40px;
  align-self: start;
}
.lead-form h3 {
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: #F5F1E9;
  font-weight: 500;
}
.lead-form .note {
  margin: 0 0 28px;
  font-size: 13.5px;
  color: #8B8271;
}
.form-grid {
  display: grid;
  gap: 16px;
}
.form-grid input,
.form-grid textarea {
  background: #14120F;
  border: 1px solid rgba(245, 241, 233, 0.15);
  color: #F5F1E9;
  padding: 14px 16px;
  font-family: 'Archivo', sans-serif;
  font-size: 14.5px;
}
.form-grid textarea { resize: vertical; }
.form-submit {
  background: #B08D57;
  color: #14120F;
  border: none;
  cursor: pointer;
  padding: 16px;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.form-submit:hover { background: #F5F1E9; }

.footer-bottom {
  max-width: 1360px;
  margin: 64px auto 0;
  padding: 26px 32px;
  border-top: 1px solid rgba(245, 241, 233, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #8B8271;
}
.footer-nav {
  display: flex;
  gap: 24px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11.5px;
}
.footer-nav a {
  color: #8B8271;
  text-decoration: none;
}
.footer-nav a:hover { color: #B08D57; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .about,
  .services,
  .benefits,
  .spaces,
  .faq,
  .footer-top,
  .footer-bottom,
  .nav {
    padding-left: 24px;
    padding-right: 24px;
  }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .spaces-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner,
  .about,
  .benefits,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* .nav and .nav-links overridden below in mobile-nav-panel block */
  .nav-cta { padding: 10px 18px; }

  .announce {
    gap: 10px 18px;
    font-size: 11.5px;
    padding: 8px 14px;
  }


  .about,
  .benefits {
    padding: 60px 18px;
    gap: 36px;
  }
  .spaces,
  .services,
  .faq {
    padding: 60px 18px;
  }

  .hero-inner { min-height: 0; }
  .hero-text { padding: 60px 20px; }
  .hero-stats {
    gap: 24px;
    margin-top: 36px;
    flex-wrap: wrap;
  }
  .stat-value { font-size: 26px; }
  .hero-media { min-height: 0; padding: 0 20px 60px; }
  .hero-form { max-width: 100%; padding: 24px 20px; }
  .hero-form-title { font-size: 24px; }

  .about-badge {
    right: 8px;
    bottom: 8px;
    font-size: 16px;
    padding: 14px 18px;
    max-width: 60%;
  }

  .services-grid { grid-template-columns: 1fr; }
  .spaces-grid { grid-template-columns: 1fr; }
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 20px;
    gap: 22px;
  }
  .btn-dark { padding: 14px 26px; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 60px 20px 0;
  }
}

@media (max-width: 480px) {
  h1, h2 { word-break: break-word; }
  .stat-value { font-size: 22px; }
}


/* ---------- Practice Areas dropdown ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  font: inherit;
  color: #1C1913;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  letter-spacing: inherit;
  text-transform: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-dropdown-toggle:hover { color: #B08D57; }
.nav-caret { font-size: 0.85em; line-height: 1; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;              /* no gap — hoverable bridge via padding-top */
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: #FFFFFF;
  background-clip: padding-box;
  border: 1px solid #E7E1D3;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(20,18,15,0.14);
  padding: 8px 0;
  margin: 12px 0 0;       /* visual offset via margin — NOT a hover gap because pointer stays inside .nav-dropdown */
  list-style: none;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0s linear 0.2s;
}
/* Extend the dropdown's hover area to include the space between toggle and menu */
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 16px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.15s ease, visibility 0s;
}
.nav-dropdown-menu li { margin: 0; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #1C1913;
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
  background: #F5F1E9;
  color: #B08D57;
}

/* ---------- Hamburger button (mobile only) ---------- */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1C1913;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile nav panel ---------- */
@media (max-width: 768px) {
  .site-header { position: relative; }
  .nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    gap: 8px;
  }
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid #E7E1D3;
    box-shadow: 0 12px 24px rgba(20,18,15,0.10);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    display: none;
    z-index: 90;
  }
  .site-header.nav-open .nav-links { display: flex; }

  .nav-links > a,
  .nav-dropdown-toggle {
    display: block;
    padding: 14px 22px;
    border-bottom: 1px solid #F1ECE0;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-align: left;
    width: 100%;
  }
  .nav-cta {
    margin: 12px 18px;
    text-align: center;
    border-radius: 4px;
    border-bottom: 0 !important;
  }

  /* Dropdown becomes an accordion inside the mobile panel */
  .nav-dropdown { width: 100%; text-align: left; position: static; }
  .nav-dropdown::after { display: none; }
  .nav-dropdown-toggle { justify-content: space-between; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    margin: 0;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    display: none;
    opacity: 1;
    visibility: visible;
    background: #FAF7F0;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu { display: none; }
  .nav-dropdown.open:hover .nav-dropdown-menu,
  .nav-dropdown.open:focus-within .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a {
    text-align: left;
    white-space: normal;
    padding: 12px 34px;
    border-bottom: 1px solid #F1ECE0;
    font-size: 13px;
  }
}


/* ---------- Logo brand image ---------- */
.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .brand-logo { height: 38px; }
}

/* ---------- Prominent top-bar contact items ---------- */
.announce .top-location,
.announce .top-phone,
.announce .top-email {
  color: #FFD97A !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 2px 10px;
  border-radius: 4px;
  transition: color .2s, background .2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.announce .top-location:hover,
.announce .top-phone:hover,
.announce .top-email:hover {
  color: #fff !important;
  background: rgba(255, 217, 122, 0.15);
}
@media (max-width: 768px) {
  .announce .top-location,
  .announce .top-phone,
  .announce .top-email { font-size: 12.5px; padding: 2px 6px; }
}

/* ---------- Spaces / value card image ---------- */
.space-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  display: block;
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0,0,0,0.15);
  z-index: 998;
  transition: transform .2s ease;
  animation: waPulse 2.4s infinite;
}
.whatsapp-float { animation: none; will-change: transform; }
.whatsapp-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: waPulseTransform 2.4s ease-out infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height: 32px; position: relative; z-index: 1; }
@keyframes waPulseTransform {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.6); opacity: 0;    }
  100% { transform: scale(1.6); opacity: 0;    }
}
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .whatsapp-float::before { display: none; }
}
@media (max-width: 768px) {
  .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}


/* ---------- Scroll performance ---------- */
html { -webkit-text-size-adjust: 100%; }
body { -webkit-overflow-scrolling: touch; overscroll-behavior-y: none; }
img { content-visibility: auto; }
@media (max-width: 768px) {
  .site-header, .announce, .nav-wrap {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-text { animation: none; }
}

/* ---------- Google Map ---------- */
.map-wrap { width: 100%; margin-top: 24px; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.25); background: #14120F; }
.map-wrap iframe { display: block; width: 100%; height: 360px; border: 0; }
@media (max-width: 720px) { .map-wrap iframe { height: 260px; } }
