@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/barlow.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans.ttf') format('truetype');
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --accent: #e4a369;
  --on-accent: #1b1510;
  --ink: #211d19;
  --muted: #635b53;
  --paper: #f7f2e9;
  --card: #fcf8f0;
  --line: #dfd4c6;
  --night: #151412;
  --cream: #fcf4e8;
  --subtle: #cdc1b3;
  --heading: 'Barlow Condensed', Impact, sans-serif;
  --body: 'DM Sans', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--night); font: 400 1rem/1.6 var(--body); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
button:focus-visible, .button:focus-visible { outline-color: var(--accent); box-shadow: 0 0 0 2px var(--ink); }
#principal:focus, section[tabindex="-1"]:focus { outline: none; }

.container { width: min(1216px, calc(100% - 112px)); margin-inline: auto; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: fixed; z-index: 10; inset: 8px auto auto 8px; background: var(--paper); padding: 10px 16px; }
.noscript { background: var(--paper); padding: 24px; }

.site-header { position: relative; z-index: 2; color: var(--cream); background: #131210; border-bottom: 1px solid #332b23; }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; min-width: 0; }
.brand-icon {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px;
  border: 1px solid color-mix(in srgb, var(--accent) 56%, transparent); border-radius: 5px; color: var(--accent);
}
.brand-icon .icon { width: 23px; height: 23px; }
.brand-text { display: grid; gap: 3px; line-height: 1; }
.brand-text strong { font: 800 1.57rem/.92 var(--heading); letter-spacing: .045em; text-transform: uppercase; overflow-wrap: anywhere; }
.brand-text small { color: var(--accent); font-size: .59rem; font-weight: 700; letter-spacing: .22em; line-height: 1.3; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 36px); color: #e0d7cc; font-size: .88rem; font-weight: 600; }
.nav > a { padding-block: 10px; }
.nav > a:hover, .footer-link:hover { color: var(--accent); }
.header-action { justify-self: end; }
.menu-toggle, .nav .mobile-whatsapp { display: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px;
  padding: 12px 19px; border: 1px solid transparent; border-radius: 5px; font-size: .91rem;
  font-weight: 700; line-height: 1.25; text-align: center; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button .icon { width: 20px; height: 20px; }
.button-primary { background: var(--accent); color: var(--on-accent); }
.button-primary:hover { background: color-mix(in srgb, var(--accent) 85%, white); }
.button-outline { min-height: 42px; padding: 9px 14px; background: transparent; border-color: #66513e; color: var(--accent); }
.button-outline:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.hero { position: relative; isolation: isolate; color: var(--cream); background: #1b1611; }
.hero-picture, .hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-picture { z-index: -2; }
.hero-image { object-fit: cover; object-position: center 41%; }
.hero-overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgb(15 12 9 / .94), rgb(15 12 9 / .82) 24%, rgb(15 12 9 / .32) 57%, rgb(15 12 9 / .03) 100%),
    linear-gradient(0deg, rgb(15 12 9 / .28), transparent 35%);
}
.hero-inner { display: grid; align-items: center; min-height: clamp(535px, 44vw, 665px); padding-block: 64px 78px; }
.hero-content { max-width: 56%; }
.eyebrow {
  display: flex; align-items: center; gap: 10px; width: fit-content; margin-bottom: 13px;
  color: #734b2e; font-size: .71rem; font-weight: 800; line-height: 1.45; letter-spacing: .17em; text-transform: uppercase;
}
.eyebrow > span { flex: 0 0 22px; height: 1px; background: currentColor; }
.hero .eyebrow, .dark .eyebrow { color: var(--accent); }
.hero .eyebrow { margin-bottom: 19px; }
h1, h2 { font-family: var(--heading); font-weight: 800; }
h1 { font-size: clamp(5.25rem, 9.4vw, 9.25rem); line-height: .84; letter-spacing: -.019em; text-transform: uppercase; overflow-wrap: anywhere; }
h1 > span { display: block; }
.hero-accent { color: var(--accent); }
.hero-description { max-width: 370px; margin-top: 25px; font-size: clamp(1rem, 1.5vw, 1.15rem); color: #ebdfd1; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 27px; }
.hero-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; }
.hero-link:hover { color: var(--accent); }
.hero-link .icon { color: var(--accent); }

.section { padding-block: clamp(62px, 6.6vw, 103px); }
.light { background: var(--paper); }
.dark { color: var(--cream); background: var(--night); }
.section-intro { margin-bottom: 32px; }
h2 { max-width: 20ch; font-size: clamp(3rem, 5.1vw, 5.2rem); line-height: .92; letter-spacing: -.012em; text-transform: uppercase; overflow-wrap: anywhere; }
.section-description { max-width: 45ch; margin-top: 15px; color: var(--muted); font-size: 1.02rem; }

.service-grid, .gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 17px; }
.service-card {
  display: grid; grid-template-rows: auto auto 1fr auto; justify-items: start; gap: 9px;
  min-height: 199px; padding: 24px 25px; background: var(--card); border: 1px solid var(--line); border-radius: 7px;
}
.service-icon {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 5px; background: color-mix(in srgb, var(--accent) 22%, #fff9ed); color: #613d24;
}
.service-icon .icon { width: 22px; height: 22px; }
.service-card h3 { margin-top: 4px; font-size: 1.13rem; line-height: 1.3; }
.service-card p { color: var(--muted); font-size: .91rem; }
.price { margin-top: 3px; color: #684126; font-size: 1.04rem; }

.about { padding-top: 0; }
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 90px); align-items: center; padding-top: clamp(46px, 5.8vw, 82px); border-top: 1px solid var(--line);
}
.about-image { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 7px; }
.about-copy > p:not(.eyebrow) { max-width: 44ch; margin-top: 16px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 7px; width: fit-content; min-height: 30px; color: #6b4125; font-weight: 800; font-size: .9rem; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.about-copy .text-link { margin-top: 14px; min-height: 44px; }

.gallery { background: #191613; }
.gallery-grid { gap: 16px; }
.photo-button {
  position: relative; display: block; width: 100%; padding: 0; overflow: hidden;
  border: 1px solid #504032; border-radius: 6px; background: #241d17; cursor: zoom-in;
}
.photo-button img { width: 100%; height: auto; aspect-ratio: 1.06; object-fit: cover; object-position: center 39%; transition: transform .28s ease; }
.photo-button:hover img { transform: scale(1.035); }
.photo-expand {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center;
  width: 36px; height: 36px; border: 1px solid #9f8775; border-radius: 4px; color: var(--cream); background: #1a1511dd;
}
figcaption { margin-top: 10px; color: var(--subtle); font-size: .85rem; }

.contact-grid { display: grid; grid-template-columns: 1fr minmax(0, 1fr); gap: clamp(30px, 8vw, 120px); align-items: start; }
.contact-copy .button { margin-top: 24px; }
.demo-note { max-width: 37ch; margin-top: 15px; color: var(--muted); font-size: .83rem; }
.contact-details { background: var(--card); border: 1px solid var(--line); border-radius: 7px; padding: 0 24px; }
.detail { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 14px; padding-block: 20px; }
.detail + .detail { border-top: 1px solid var(--line); }
.detail h3 { margin-bottom: 4px; font-size: 1rem; line-height: 1.35; }
address, .hours, .social-example { color: var(--muted); font-size: .9rem; font-style: normal; }
.hours { display: grid; gap: 4px; }
.hours > div { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 8px; }
.hours dd { text-align: end; }
.socials { display: grid; }
.social-example { display: inline-flex; align-items: center; gap: 7px; }
.social-example small { margin-left: 3px; }

.site-footer { border-top: 1px solid #352b23; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; min-height: 108px; padding-block: 18px; }
.footer-inner p, .footer-link { color: var(--subtle); font-size: .82rem; }
.footer-link { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; }

.icon-button {
  display: inline-grid; place-items: center; padding: 0; width: 44px; height: 44px;
  border: 1px solid currentColor; border-radius: 5px; background: transparent; cursor: pointer;
}
.icon-button .icon { width: 22px; height: 22px; }
.site-header .menu-toggle { display: none; }
.dialog { width: min(460px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); }
.dialog::backdrop { background: rgb(13 10 8 / .81); }
.dialog-close { position: absolute; z-index: 1; right: 12px; top: 12px; color: var(--ink); background: var(--paper); }
.dialog-content { padding: 28px; }
.dialog h2 { margin-top: 14px; font-size: 2.7rem; }
.dialog h2 + p { margin-top: 12px; color: var(--muted); }
.dialog blockquote { margin: 16px 0 0; padding: 12px 16px; background: var(--card); border-left: 3px solid var(--accent); }
.dialog-photo { width: fit-content; max-width: calc(100% - 32px); color: var(--cream); background: var(--night); border-color: #514234; }
.dialog-photo .dialog-content { padding: 0; }
.dialog-photo img { margin-inline: auto; max-height: 75vh; max-height: 75dvh; width: auto; object-fit: contain; }
.dialog-photo p { padding: 10px 15px; font-size: .9rem; }
body:has(dialog[open]) { overflow: hidden; }

@media (max-width: 980px) {
  .container { width: calc(100% - 72px); }
  .service-grid, .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
}

@media (max-width: 820px) {
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 67px; grid-template-columns: 1fr auto; gap: 12px; }
  .header-action { display: none; }
  .site-header .menu-toggle { display: inline-grid; justify-self: end; color: var(--cream); border-color: #66513e; }
  .nav {
    display: none; position: absolute; top: 100%; inset-inline: 0; padding: 12px 24px 20px;
    background: #171410; border-block: 1px solid #44352b;
  }
  .nav.is-open { display: grid; gap: 0; }
  .nav > a { display: flex; align-items: center; min-height: 44px; }
  .nav .mobile-whatsapp { display: inline-flex; width: fit-content; margin-top: 9px; }
  .hero-content { max-width: 74%; }
  .hero-inner { min-height: 510px; }
  .hero-image { object-position: 58% center; }
  .hero-overlay { background: linear-gradient(90deg, rgb(15 12 9 / .93), rgb(15 12 9 / .78) 32%, rgb(15 12 9 / .17)); }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .brand-icon { width: 38px; height: 38px; }
  .hero-inner { min-height: 575px; align-items: end; padding-block: 146px 43px; }
  .hero-content { max-width: min(100%, 410px); }
  .hero-image { object-position: 68% 34%; }
  .hero-overlay {
    background: linear-gradient(0deg, #100d0a 0%, rgb(16 13 10 / .94) 22%, rgb(16 13 10 / .54) 55%, rgb(16 13 10 / .08) 87%),
      linear-gradient(90deg, rgb(16 13 10 / .31), transparent 85%);
  }
  .hero .eyebrow { margin-bottom: 12px; }
  h1 { font-size: clamp(4.4rem, 15vw, 6.3rem); }
  .hero-description { margin-top: 17px; }
  .hero-actions { gap: 7px 18px; margin-top: 20px; }
  .button { padding-inline: 13px; }
  .section-intro { margin-bottom: 23px; }
  .service-grid { gap: 10px; }
  .service-card { min-height: 0; padding: 18px 20px; }
  .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .about-image { aspect-ratio: 1.45; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .photo-button img { aspect-ratio: .87; }
  .photo:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .photo:first-child:nth-last-child(odd) img { aspect-ratio: 1.55; object-position: center 49%; }
  .photo-expand { width: 30px; height: 30px; right: 7px; bottom: 7px; }
  .contact-details { padding-inline: 16px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner p { order: 1; flex-basis: 100%; }
}

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