:root {
  --navy: #06111f;
  --blue: #1688f8;
  --electric: #58adff;
  --paper: #f3f6f9;
  --ink: #0b1625;
  --muted: #526174;
  --line: #d6e0ea;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(6, 17, 31, .14);
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(22, 136, 248, .07), transparent 25rem),
    var(--paper);
}

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(214, 224, 234, .85);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell nav a {
  position: relative;
}

.nav-shell nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .22s ease;
}

.nav-shell nav a:hover::after,
.nav-shell nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(22, 136, 248, .22);
}

.hero,
.branch-hero,
.seo-hero,
.content-hero {
  background:
    radial-gradient(circle at 76% 15%, rgba(35, 147, 255, .28), transparent 30rem),
    linear-gradient(135deg, #07182b 0%, #040b14 68%);
}

.hero-image-slot,
.branch-card,
.service-image,
.seo-service,
.seo-summary,
.branch-option-grid article,
.branch-map-frame,
.testimonial-card,
.feature-card,
.contact-card,
.legal-card {
  border-radius: var(--radius);
}

.hero-image-slot {
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .36);
  transform: rotate(1.4deg);
}

.trust-strip {
  background: linear-gradient(90deg, #0876dd, #1a94ff 48%, #0876dd);
}

.service-grid {
  gap: 18px;
  border: 0;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(6, 17, 31, .06);
}

.service-card:hover {
  box-shadow: var(--shadow);
}

.service-card .service-image {
  border: 0;
}

.process-visual {
  min-height: 760px;
}

.answer-grid {
  gap: 14px;
  border: 0;
}

.answer-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(6, 17, 31, .05);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border: 0;
}

.location-card {
  grid-template-columns: 42px 1fr;
  align-content: start;
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff, #f7fbff);
  box-shadow: 0 12px 36px rgba(6, 17, 31, .06);
}

.location-card:hover {
  padding: 30px;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.location-card > a {
  grid-column: 2;
  justify-self: start;
  width: auto;
  height: auto;
  gap: 12px;
  margin-top: 28px;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 11px;
}

.branch-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
}

.branch-intro figure {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: #fff;
  box-shadow: var(--shadow);
}

.branch-intro img {
  border-radius: var(--radius);
}

.branch-option-grid,
.seo-service-list,
.seo-location-grid,
.seo-faq-grid {
  gap: 16px;
  border: 0;
  background: transparent;
}

.branch-option-grid article,
.seo-service,
.seo-location,
.seo-faq article {
  border: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(6, 17, 31, .05);
}

.branch-map-frame {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.content-hero {
  color: #fff;
  padding: 88px clamp(24px, 7vw, 110px) 100px;
  position: relative;
  overflow: hidden;
}

.content-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .12;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}

.content-hero > * {
  position: relative;
  z-index: 1;
}

.seo-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 48px;
  color: #91a5bc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.seo-breadcrumbs a:hover {
  color: #fff;
}

.content-hero h1 {
  max-width: 980px;
  margin-bottom: 28px;
}

.content-hero .lead {
  max-width: 760px;
  color: #bdcada;
  font-size: 18px;
  line-height: 1.8;
}

.story-grid,
.feature-grid,
.timeline-grid,
.testimonial-grid,
.contact-grid,
.legal-grid,
.gallery-grid,
.cafe-grid,
.aftercare-grid {
  display: grid;
  gap: 20px;
}

.story-grid,
.cafe-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.story-copy h2,
.section-title h2,
.cafe-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(38px, 4.8vw, 66px);
  line-height: 1;
  letter-spacing: -.05em;
}

.story-copy p,
.cafe-copy p,
.legal-card p,
.contact-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.story-media,
.cafe-media {
  overflow: hidden;
  min-height: 520px;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
}

.story-media img,
.cafe-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.timeline-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 46px;
}

.feature-grid,
.contact-grid,
.legal-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.contact-card,
.legal-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 36px rgba(6, 17, 31, .05);
}

.feature-card .number,
.contact-card .label,
.timeline-item .year {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.feature-card h3,
.contact-card h2,
.timeline-item h3,
.legal-card h2 {
  margin: 18px 0 12px;
  font-size: 24px;
  letter-spacing: -.03em;
}

.timeline-item {
  min-height: 280px;
  padding: 30px;
  border-radius: var(--radius);
  color: #fff;
  background: #0b1b30;
  box-shadow: 0 18px 50px rgba(6, 17, 31, .16);
}

.timeline-item p {
  color: #9fb0c3;
  line-height: 1.75;
}

.gallery-grid {
  grid-template-columns: 1.15fr .85fr .85fr;
  grid-auto-rows: 290px;
}

.gallery-grid figure {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: #081523;
  position: relative;
}

.gallery-grid figure:first-child {
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.035);
}

.gallery-grid figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(4, 11, 20, .74);
  backdrop-filter: blur(8px);
  font-size: 11px;
  text-align: center;
}

.testimonial-section {
  background: #081523;
  color: #fff;
}

.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-grid-single {
  grid-template-columns: minmax(0, 760px);
}

.testimonial-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
}

.testimonial-card .stars {
  color: #ffbd3b;
  letter-spacing: .12em;
}

.testimonial-card blockquote {
  margin: 22px 0;
  font-size: 19px;
  line-height: 1.6;
}

.testimonial-card cite {
  color: #9fb0c3;
  font-size: 13px;
  font-style: normal;
}

.aftercare-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.aftercare-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.aftercare-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
}

.aftercare-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.contact-card address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.75;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.legal-grid {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.legal-card h2 {
  font-size: 28px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.social-profile-links,
.social-share-links {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.social-profile-links strong,
.social-share-links strong {
  color: #8fa2b8;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.social-profile-links a,
.social-share-links a {
  min-height: 38px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: #dcecff;
}

.social-profile-links a:hover,
.social-share-links a:hover {
  border-color: var(--electric);
  color: #fff;
}

.mobile-whatsapp {
  border: 1px solid rgba(255, 255, 255, .22);
}

@media (max-width: 980px) {
  .location-grid,
  .timeline-grid,
  .feature-grid,
  .contact-grid,
  .aftercare-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .location-card {
    min-height: 0;
  }

  .story-grid,
  .cafe-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  body {
    padding-bottom: 0;
  }

  .nav-shell {
    min-height: 66px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .nav-shell nav {
    display: none;
  }

  .hero-image-slot {
    transform: none;
    border-radius: 18px;
  }

  .service-grid,
  .answer-grid {
    gap: 12px;
  }

  .service-card,
  .answer-grid article,
  .location-card {
    border-radius: 18px;
  }

  .location-card,
  .location-card:hover {
    grid-template-columns: 36px 1fr;
    padding: 23px;
  }

  .content-hero {
    padding: 54px 20px 70px;
  }

  .content-hero .lead {
    font-size: 15px;
  }

  .story-media,
  .story-media img,
  .cafe-media,
  .cafe-media img {
    min-height: 340px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }

  .gallery-grid figure:first-child {
    grid-row: auto;
  }

  .testimonial-card blockquote {
    font-size: 17px;
  }

  .mobile-whatsapp {
    left: auto;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: calc(100vw - 28px);
    height: 58px;
    padding: 7px 18px 7px 9px;
    border-radius: 999px;
    justify-content: flex-start;
    gap: 10px;
    background: #0a8f4f;
    box-shadow: 0 14px 36px rgba(3, 24, 14, .38);
    text-transform: none;
    letter-spacing: 0;
  }

  .mobile-whatsapp-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
  }

  .mobile-whatsapp-icon svg {
    width: 23px;
    height: 23px;
  }

  .mobile-whatsapp-copy {
    display: grid;
    line-height: 1.15;
  }

  .mobile-whatsapp-copy small {
    color: rgba(255, 255, 255, .75);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .mobile-whatsapp-copy strong {
    margin-top: 3px;
    font-size: 13px;
  }

  footer,
  .branch-footer {
    padding-bottom: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
