.contact-lines {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.9rem;
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.5;
  color: inherit;
}

.contact-lines .contact-line {
  display: grid;
  gap: 0.1rem;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-lines small {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.contact-lines a.contact-line:hover,
.contact-lines a.contact-line:focus-visible {
  text-decoration: underline;
}

.cta-phone-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-social-links {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 12px;
}

.footer-admin-link {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 0.18s, border-color 0.18s;
}

.contact-facebook-link,
.contact-whatsapp-link {
  display: inline-flex;
  width: 56px;
  height: 56px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  transition: transform 0.18s, background-color 0.18s, box-shadow 0.18s;
  animation: social-float 3.2s ease-in-out infinite;
}

.contact-whatsapp-link {
  animation-delay: 0.5s;
}

@keyframes social-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-facebook-link,
  .contact-whatsapp-link {
    animation: none;
  }
}

.hero-image-note .hero-project-link {
  display: none;
}

.contact-facebook-link svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.contact-facebook-link {
  color: #fff;
  background: #1877f2;
  box-shadow: 0 4px 14px rgb(24 119 242 / 32%);
}

.contact-whatsapp-link {
  color: #fff;
  background: #168c55;
  box-shadow: 0 4px 14px rgb(22 140 85 / 30%);
}

.contact-whatsapp-link svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.1;
}

.contact-facebook-link:hover,
.contact-facebook-link:focus-visible,
.contact-whatsapp-link:hover,
.contact-whatsapp-link:focus-visible {
  transform: translateY(-2px);
}

.contact-facebook-link:hover,
.contact-facebook-link:focus-visible {
  background: #0c5fce;
  box-shadow: 0 7px 18px rgb(24 119 242 / 40%);
}

.contact-whatsapp-link:hover,
.contact-whatsapp-link:focus-visible {
  background: #117447;
  box-shadow: 0 7px 18px rgb(22 140 85 / 40%);
}

.footer-admin-link:hover,
.footer-admin-link:focus-visible {
  color: var(--green);
  border-color: var(--green);
}

.language-flag {
  display: inline-block;
  flex: none;
  width: 22px;
  height: 15px;
  overflow: hidden;
  border: 1px solid rgb(0 0 0 / 12%);
  border-radius: 2px;
  vertical-align: middle;
}

.contact-lines-page {
  margin: 1.5rem 0 0;
}

.project-seo {
  margin-top: 1rem;
  line-height: 1.7;
}

.related-link {
  margin-top: 1.25rem;
}

.related-link a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-credit {
  width: 100%;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

@media (min-width: 1101px) {
  .footer-bottom {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content max-content;
    align-items: center;
    gap: 16px 24px;
  }

  .footer-bottom > p {
    white-space: nowrap;
  }

  .footer-bottom .concept-disclaimer {
    text-align: center;
  }

  .footer-bottom .footer-credit {
    width: auto;
    margin: 0;
    white-space: nowrap;
  }

  .footer-bottom .footer-secondary {
    justify-content: flex-end;
  }
}

.services-section .service-grid {
  gap: 14px;
}

.services-section .service-card {
  min-height: 0;
  padding: 18px;
}

.services-section .service-card-top {
  margin-bottom: 10px;
}

.services-section .service-card h3 {
  margin-block: 8px 6px;
  font-size: clamp(20px, 2vw, 25px);
}

.services-section .service-card p {
  margin: 0;
  line-height: 1.55;
}

/* Hero carousel: stacked slides with a slow cross-fade; the wrapper keeps a fixed height so nothing shifts. */
.hero-photo-wrap .hero-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-photo-wrap .hero-photo.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo-wrap .hero-photo {
    transition: none;
  }
}

/* Smaller, more refined project imagery. */
.project-image-wrap {
  height: 232px;
  border-radius: 6px;
}

.project-detail-cover {
  width: 100%;
  max-width: 860px;
  height: 380px;
  margin-inline: auto;
  border-radius: 8px;
}

/* Keep desktop content readable without stretching text and imagery across the viewport. */
@media (min-width: 701px) {
  .container {
    width: min(1200px, calc(100% - 64px));
  }

  .section-space {
    padding-block: 76px;
  }

  .hero {
    padding-top: 16px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(72px, 7vw, 94px);
  }

  .hero-photo-wrap {
    height: 500px;
  }

  .about-section {
    padding-block: 78px 72px;
  }

  .page-hero {
    padding-block: 30px 40px;
  }

  .breadcrumb {
    margin-bottom: 26px;
  }

  .page-intro-grid {
    gap: 54px;
  }

  .page-intro-grid h1 {
    font-size: clamp(48px, 5vw, 62px);
  }

  .project-story {
    padding-block: 40px 58px;
  }

  .project-detail-cover {
    height: 350px;
  }

  .project-story-grid {
    gap: 60px;
    margin-top: 42px;
  }

  .project-story-grid h2 {
    font-size: 42px;
    margin-block: 14px 18px;
  }

  .project-image-wrap {
    height: 216px;
  }
}

.hero-image-note,
.hero-note {
  display: none !important;
}

.hero-actions > .text-link {
  display: inline-flex;
  order: 3;
  font-size: 20px;
  line-height: 1.25;
}

.hero-actions::before {
  content: "";
  order: 2;
  flex: 0 0 100%;
  height: 0;
  margin-top: -8px;
}

.hero-actions > .button {
  order: 0;
}

.hero-actions > .contact-social-links {
  order: 1;
}

@media (min-width: 961px) {
  .hero-grid {
    grid-template-columns: 0.78fr 1.22fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 32px);
  }

  .project-image-wrap {
    height: 210px;
  }

  .project-detail-cover {
    height: 250px;
  }

  .hero h1 {
    font-size: 58px;
    letter-spacing: -2px;
    margin: 20px 0 16px;
  }

  .hero-photo-wrap {
    height: 400px;
  }

  .hero-image-info a {
    font-size: 22px;
    line-height: 1.15;
  }

  .hero-visual .hero-seal {
    width: 76px;
    height: 76px;
    top: 14px;
    right: 14px;
  }

  .section-space {
    padding-block: 48px;
  }

  .services-section h2,
  .about-section h2,
  .projects-section h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card {
    min-height: 0;
  }

  .projects-section .project-card:nth-child(n + 7) {
    display: none;
  }

  .project-card h3 {
    font-size: 25px;
  }

  .about-visual,
  .about-visual img {
    height: 340px;
  }

  .about-image-card {
    width: 210px;
    padding: 18px;
  }

  .hero-actions {
    gap: 16px;
  }

  .contact-social-links {
    gap: 10px;
  }

  .contact-facebook-link,
  .contact-whatsapp-link {
    width: 52px;
    height: 52px;
  }

  .site-footer {
    padding-block: 32px 88px;
  }

  .contact-dock {
    flex-direction: row;
    gap: 10px;
    right: 14px;
    bottom: 14px;
  }

  .contact-dock .dock-icon,
  .contact-dock .whatsapp-action .dock-icon {
    width: 48px;
    height: 48px;
  }

  .footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .footer-top > div:first-child,
  .footer-nav {
    width: 100%;
    min-width: 0;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-top: 0;
    font-size: 14px;
  }

  .footer-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
  }

  .footer-bottom {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    font-size: 12px;
    text-align: center;
  }

  .footer-bottom > p {
    margin: 0;
  }

  .footer-bottom .concept-disclaimer {
    max-width: 34ch;
  }

  .footer-bottom .footer-secondary {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer-credit {
    margin-top: 14px;
    font-size: 12px;
  }
}

.local-intro { margin: 28px 0 8px; }
.local-intro h3 { margin: 0 0 10px; font-size: 1.25rem; }
.local-intro .about-description { margin-bottom: 10px; }

.project-image-wrap img,.project-detail-cover img,img.hero-photo{cursor:zoom-in}
.project-detail-cover img[role=button]:focus-visible{outline:3px solid currentColor;outline-offset:3px}
html.lightbox-open{overflow:hidden}
.lightbox{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:clamp(.75rem,3vw,2rem);background:rgba(10,14,10,.92);cursor:zoom-out}
.lightbox[hidden]{display:none}
.lightbox-figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:.75rem;max-width:100%;max-height:100%;cursor:default}
.lightbox-image{display:block;max-width:100%;max-height:calc(100vh - 6rem);max-height:calc(100dvh - 6rem);width:auto;height:auto;object-fit:contain;cursor:default}
.lightbox-caption{color:#fff;font-size:.95rem;text-align:center}
.lightbox-link{color:#fff;text-decoration:underline;margin-left:.5rem}
.lightbox-link[hidden]{display:none}
.lightbox-close{position:absolute;top:.75rem;right:.75rem;width:2.75rem;height:2.75rem;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:rgba(0,0,0,.5);color:#fff;font-size:1.75rem;line-height:1;cursor:pointer}
.lightbox-close:hover{background:rgba(255,255,255,.2)}
.lightbox-close:focus-visible,.lightbox-link:focus-visible{outline:3px solid #fff;outline-offset:3px}

.location-section{padding:clamp(2rem,5vw,4rem) 0;background:var(--paper)}
.location-section>.container{width:min(1360px,calc(100% - 48px));max-width:1360px}
.location-card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(1.25rem,3vw,2.5rem);padding:clamp(1rem,3vw,2.25rem);border:1px solid var(--line);border-radius:1.5rem;background:#fff}
.location-info{display:flex;flex-direction:column;gap:1rem;min-width:0}
.location-eyebrow,.location-label{margin:0;font-size:.75rem;font-weight:700;letter-spacing:.14em;color:var(--olive)}
.location-info h2{margin:0;font-size:clamp(1.8rem,3.5vw,2.6rem);line-height:1.1;color:var(--green-deep)}
.location-info h2 span{color:var(--olive)}
.location-intro{margin:0;color:var(--muted);line-height:1.6}
.location-box{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;padding:1.1rem;border:1px solid var(--line);border-radius:1rem;background:var(--paper)}
.location-address{font-style:normal;font-weight:600;line-height:1.5;color:var(--green-deep)}
.location-copy{padding:.4rem .8rem;border:1px solid var(--line);border-radius:.5rem;background:#fff;color:var(--green);font:inherit;font-size:.8rem;cursor:pointer}
.location-copy:hover{background:var(--sage)}
.location-call{display:flex;flex-direction:column;gap:.15rem;padding:1rem 1.25rem;border-radius:1rem;background:var(--green-deep);color:#fff;text-decoration:none}
.location-call small{opacity:.75}
.location-call strong{font-size:1.4rem}
.location-email{display:flex;flex-direction:column;gap:.15rem;padding:1rem 1.25rem;border:1px solid var(--line);border-radius:1rem;background:var(--paper);color:var(--green-deep);text-decoration:none}
.location-email small{font-size:.75rem;letter-spacing:.1em;color:var(--olive)}
.location-email strong{overflow-wrap:anywhere}
.location-email:hover{background:var(--sage)}
.location-directions{display:inline-flex;align-items:center;justify-content:center;padding:.9rem 1.25rem;border-radius:999px;background:var(--olive);color:#fff;font-weight:700;text-decoration:none}
.location-directions:hover{background:var(--green)}
.location-socials{display:flex;flex-wrap:wrap;gap:.6rem}
.location-social-label{margin-top:.25rem}
.loc-social{flex:1 1 8rem;padding:.7rem 1rem;border-radius:.75rem;color:#fff;font-weight:700;text-align:center;text-decoration:none}
.loc-instagram{background:linear-gradient(90deg,#9333ea,#f59e0b)}
.loc-facebook{background:#1877f2}
.loc-whatsapp{background:#25d366}
.location-map{position:relative;min-height:30rem;overflow:hidden;border-radius:1rem;border:1px solid var(--line)}
.location-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.location-map-link{position:absolute;top:.75rem;right:.75rem;padding:.45rem .8rem;border-radius:999px;background:var(--green-deep);color:#fff;font-size:.8rem;font-weight:700;text-decoration:none}
.location-call:focus-visible,.location-email:focus-visible,.location-directions:focus-visible,.loc-social:focus-visible,.location-map-link:focus-visible,.location-copy:focus-visible{outline:3px solid var(--olive);outline-offset:3px}
@media(prefers-reduced-motion:no-preference){.location-reveal{opacity:0;transform:translateY(18px);transition:opacity .55s ease,transform .55s ease}.location-reveal.is-visible{opacity:1;transform:none}}
@media(min-width:861px){.footer-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}}
@media(max-width:860px){.location-section>.container{width:calc(100% - 32px)}.location-card{grid-template-columns:1fr}.location-map{min-height:22rem}}
