@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("./assets/fonts/newsreader-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #faf7f5;
  --surface: #fffdfc;
  --surface-soft: #f4ecea;
  --text: #2c2427;
  --muted: #6f5d63;
  --line: #e7dcda;
  --accent: #8a3f57;
  --accent-hover: #743247;
  --accent-soft: #e9c8d0;
  --on-accent: #fff9fa;
  --whatsapp: #1f7a4b;
  --whatsapp-hover: #19663e;
  --on-whatsapp: #ffffff;
  --header-bg: #faf7f5;
  --focus: #7b354d;
  --shadow: 0 1.5rem 4rem rgba(73, 42, 52, 0.09);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --header-height: 5.25rem;
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.75rem;
  --shell: 76rem;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171316;
  --surface: #221b1e;
  --surface-soft: #2a2024;
  --text: #f8f2f4;
  --muted: #cdbfc3;
  --line: #3c3034;
  --accent: #e8aabd;
  --accent-hover: #f0bdcb;
  --accent-soft: #53323d;
  --on-accent: #291a20;
  --whatsapp: #58c98a;
  --whatsapp-hover: #6bd69a;
  --on-whatsapp: #10271a;
  --header-bg: #171316;
  --focus: #f0b7c7;
  --shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-width: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  transition: background-color 180ms ease, color 180ms ease;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
a {
  touch-action: manipulation;
}

button {
  font: inherit;
}

button,
[role="button"] {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

:focus-visible {
  outline: 0.1875rem solid var(--focus);
  outline-offset: 0.25rem;
}

::selection {
  background: var(--accent-soft);
  color: var(--text);
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 0;
  font-family: "Newsreader", "Iowan Old Style", "Palatino Linotype", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  max-width: 10ch;
  font-size: clamp(2.6rem, 5.4vw, 4.9rem);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.4rem, 4.8vw, 4.25rem);
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.shell-narrow {
  width: min(calc(100% - 2rem), 62rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: var(--bg);
  transform: translateY(calc(-100% - 1rem));
  transition: transform 160ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}

.brand-name,
.footer-brand {
  overflow: hidden;
  color: var(--text);
  font-family: "Newsreader", "Iowan Old Style", serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-role,
.footer-role {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.header-actions,
.site-nav {
  display: flex;
  align-items: center;
}

.header-actions {
  flex: 0 0 auto;
  gap: 0.75rem;
}

.site-nav {
  gap: clamp(0.8rem, 3vw, 2rem);
}

.site-nav a {
  position: relative;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.theme-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 120ms var(--ease-out),
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.theme-toggle:active,
.button:active {
  transform: scale(0.97);
}

.theme-icon {
  overflow: visible;
}

.bulb-outline,
.bulb-rays {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms var(--ease-out);
}

.bulb-rays {
  opacity: 0.35;
  transform: scale(0.92);
}

:root[data-theme="dark"] .theme-toggle {
  background: var(--accent-soft);
  color: var(--accent);
}

:root[data-theme="dark"] .bulb-rays {
  opacity: 1;
  transform: scale(1);
}

.hero {
  min-height: min(calc(100svh - var(--header-height)), 44rem);
  display: grid;
  align-items: center;
  padding-block: clamp(2rem, 5svh, 4rem);
}

.hero-inner {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-copy,
.hero-media {
  animation: hero-enter 520ms var(--ease-out) both;
}

.hero-media {
  animation-delay: 70ms;
}

.eyebrow {
  margin-bottom: 1.1rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-text {
  max-width: 33rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 120ms var(--ease-out),
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  margin-right: 0.55rem;
  fill: currentColor;
}

.button-icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.button-whatsapp {
  background: var(--whatsapp);
  color: var(--on-whatsapp);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.demo-note {
  max-width: 33rem;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.hero-media {
  margin: 0;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.media-frame-portrait {
  aspect-ratio: 4 / 5;
}

.media-frame-landscape {
  aspect-ratio: 3 / 2;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focal-point, center);
  transition: transform 420ms var(--ease-in-out);
}

.demo-badge {
  position: absolute;
  z-index: 2;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(35, 26, 30, 0.68);
  color: #fff8fa;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.services,
.portfolio {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 1.5rem;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.section-heading > p {
  max-width: 33rem;
  margin: 0;
  align-self: end;
  color: var(--muted);
}

.section-heading-compact {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.services-grid {
  display: grid;
  gap: 2rem;
}

.service-item {
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.service-thumbnail {
  width: 7rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  box-shadow: 0 0.75rem 2rem rgba(73, 42, 52, 0.08);
}

.service-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.example-label {
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.service-item h3 {
  margin: 0;
  color: var(--text);
  font-family: "Newsreader", "Iowan Old Style", serif;
  font-size: clamp(1.45rem, 2.5vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.service-item > p:last-child {
  max-width: 22rem;
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem 1.25rem;
}

.gallery-item {
  margin: 0;
}

.gallery .media-frame {
  aspect-ratio: 4 / 5;
}

.gallery-item figcaption {
  padding-top: 0.75rem;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
}

.visit-section {
  border-top: 1px solid var(--line);
}

.visit-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
}

.visit-intro > p:last-child {
  max-width: 32rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
}

.visit-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.contact-details {
  margin: 0;
}

.contact-details > div {
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.contact-details > div:first-child {
  padding-top: 0;
}

.contact-details dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: right;
}

.location-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
}

.location-action > span {
  max-width: 15rem;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
  text-align: right;
}

.location-button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.location-button:disabled:active {
  transform: none;
}

.contact-section {
  border-top: 1px solid var(--line);
}

.contact-card {
  padding: clamp(2rem, 7vw, 5.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.contact-card h2 {
  margin-inline: auto;
}

.contact-card > p:not(.eyebrow) {
  max-width: 35rem;
  margin: 1.25rem auto 1.75rem;
  color: var(--muted);
}

.contact-disclaimer {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.site-footer {
  padding-block: 2.5rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner > div {
  display: flex;
  flex-direction: column;
}

.footer-inner p {
  max-width: 33rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: right;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 48rem) {
  .shell {
    width: min(calc(100% - 4rem), var(--shell));
  }

  .shell-narrow {
    width: min(calc(100% - 4rem), 62rem);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 0.72fr);
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.58fr);
  }

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

  .visit-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(26rem, 1fr);
    align-items: start;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem 1.5rem;
  }
}

@media (max-width: 47.99rem) {
  :root {
    --header-height: 7.5rem;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0;
    padding-top: 0.5rem;
  }

  .brand {
    min-height: 3.5rem;
    padding-right: 1rem;
  }

  .header-actions {
    display: contents;
  }

  .theme-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    min-height: 3.5rem;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 0.5rem;
    border-top: 1px solid var(--line);
  }

  .site-nav a {
    min-height: 3.5rem;
    font-size: 0.78rem;
  }

  .hero {
    min-height: min(calc(100svh - var(--header-height)), 43rem);
    align-items: start;
    padding-block: clamp(1.75rem, 5svh, 3rem) 3.75rem;
  }

  .hero-copy {
    order: 1;
  }

  .hero-media {
    order: 2;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-height: 3.25rem;
  }

  .location-action {
    align-items: stretch;
    flex-direction: column;
  }

  .location-action > span {
    max-width: none;
    text-align: left;
  }

  .gallery {
    gap: 2.75rem;
  }

  .gallery-item figcaption {
    padding-top: 0.65rem;
  }

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

  .footer-inner p {
    text-align: left;
  }
}

@media (min-width: 24rem) and (max-width: 47.99rem) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 0.75rem;
  }

  .gallery .demo-badge {
    right: 0.5rem;
    bottom: 0.5rem;
    padding: 0.38rem 0.5rem;
    font-size: 0.58rem;
  }

  .gallery-item figcaption {
    font-size: 0.8rem;
  }
}

@media (max-width: 25rem) {
  h1 {
    font-size: clamp(2.35rem, 10vw, 2.65rem);
  }
}

@media (max-height: 43rem) and (min-width: 48rem) {
  .hero {
    align-items: start;
    padding-block: 2rem 3rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover {
    color: var(--text);
  }

  .theme-toggle:hover,
  .button-secondary:hover {
    border-color: var(--accent);
  }

  .button-primary:not(.button-whatsapp):hover {
    background: var(--accent-hover);
  }

  .button-whatsapp:hover {
    background: var(--whatsapp-hover);
  }

  .gallery-item:hover .media-frame img {
    transform: scale(1.015);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-media {
    animation: none;
  }

  .media-frame img,
  .skip-link {
    transition-duration: 0ms;
  }
}
