/* =========================================================
   AZ Wide Landscaping — "desierto moderno"
   ========================================================= */
:root {
  /* Paleta del logo de AZ Wide Landscaping: negro, verde lima y blanco */
  --accent: #76A12A;
  --on-accent: #0B0C0A;
  --accent-ink: #4A6B12; /* verde oscurecido para texto sobre fondos claros */

  --bg: #0B0C0A;
  --bg-alt: #11130F;
  --card: #171A14;
  --border: #2B3125;

  --text: #F5F7F2;
  --text-2: #C9CFC0;
  --text-3: #A8AF9E;

  --light: #F3F5EE;
  --light-text: #0B0C0A;
  --light-text-2: #3E4536;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --radius: 20px;
  --radius-lg: 28px;
  --header-h: 68px;
  --gutter: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--on-accent);
  padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .975rem; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { box-shadow: 0 10px 30px -10px var(--accent); transform: translateY(-1px); }
.btn--ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text-3); background: rgba(243, 245, 238, .04); }
.btn--dark { background: var(--bg); color: var(--text); }
.btn--dark:hover { background: #1E221A; }
.btn[disabled] { opacity: .6; cursor: progress; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  background: transparent; border: 1.5px solid transparent;
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: rgba(243, 245, 238, .08); }
.icon-btn--outline { border-color: var(--border); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--dark { color: var(--on-accent); }

h2 { font-size: clamp(2.1rem, 4.6vw + 1rem, 3.5rem); font-weight: 800; }

.section { padding: 80px 0; scroll-margin-top: var(--header-h); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 680px; margin-bottom: 40px; }
.section__sub { color: var(--text-2); font-size: 1.08rem; margin-top: 16px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(11, 12, 10, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--border); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.logo__mark { width: 44px; height: 44px; flex: none; }
.logo__text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.logo__name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: .01em; color: var(--text); }
.logo__az { color: var(--accent); }
.logo__sub { font-weight: 700; font-size: .62rem; letter-spacing: .32em; color: var(--accent); }

.header__actions { display: flex; align-items: center; gap: 6px; }
.lang-btn {
  min-width: 44px; height: 44px; padding: 0 12px;
  border-radius: 999px; border: 1.5px solid var(--border); background: transparent;
  font-weight: 700; font-size: .85rem; letter-spacing: .06em;
  transition: border-color .2s, background-color .2s;
}
.lang-btn:hover { border-color: var(--text-3); }

.menu-btn .icon { width: 24px; height: 24px; }
.menu-btn .icon--close { display: none; }
.menu-btn[aria-expanded="true"] .icon--menu { display: none; }
.menu-btn[aria-expanded="true"] .icon--close { display: block; }

/* Mobile nav panel */
.nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 8px var(--gutter) 24px;
  display: flex; flex-direction: column; gap: 16px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav.is-open { transform: none; opacity: 1; visibility: visible; }
.nav__links a {
  display: flex; align-items: center; min-height: 52px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  text-decoration: none; border-bottom: 1px solid var(--border);
}
.nav__links a:hover { color: var(--accent); }
.nav__call { align-self: stretch; }

@media (min-width: 1080px) {
  .header__inner { gap: 24px; }
  .nav {
    position: static; flex-direction: row; align-items: center; gap: 24px;
    padding: 0; background: none; border: 0;
    transform: none; opacity: 1; visibility: visible;
    margin-left: auto;
  }
  .nav__links { display: flex; gap: 4px; }
  .nav__links a {
    min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px;
    font-family: var(--font-body); font-weight: 500; font-size: .95rem; color: var(--text-2);
  }
  .nav__links a:hover { color: var(--text); background: rgba(243, 245, 238, .06); }
  .nav__call { align-self: auto; min-height: 44px; padding: 0 18px; font-size: .92rem; }
  .menu-btn { display: none; }
  .header__actions { order: 3; }
}

/* ---------- Hero (foto real) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); }
.hero__media { position: absolute; inset: 0 0 auto 0; height: min(62vh, 520px); z-index: -1; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero__media img.is-active { opacity: 1; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11, 12, 10, .35) 0%, rgba(11, 12, 10, .15) 30%, rgba(11, 12, 10, .75) 72%, var(--bg) 100%);
}
.hero__inner { position: relative; padding-top: max(220px, calc(min(62vh, 520px) - 150px)); padding-bottom: 56px; }
.hero__copy { max-width: 640px; }
.hero__title {
  font-size: clamp(2.6rem, 8vw + .8rem, 4.9rem); font-weight: 800; line-height: .98;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
}
.hero__title em { font-style: normal; color: var(--accent); }
.hero__sub { color: var(--text-2); font-size: 1.1rem; margin-top: 20px; max-width: 540px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__ctas .btn { flex: 1 1 200px; }
.hero .btn--ghost { background: rgba(11, 12, 10, .45); border-color: rgba(243, 245, 238, .28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.hero__badge {
  position: absolute; top: 16px; right: var(--gutter);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(11, 12, 10, .6); border: 1px solid rgba(243, 245, 238, .18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--text); font-size: .8rem; font-weight: 700;
}
.hero__badge .icon { width: 16px; height: 16px; color: var(--accent); }

@media (min-width: 960px) {
  .hero { min-height: min(calc(100vh - var(--header-h)), 860px); display: flex; align-items: center; }
  .hero__media { inset: 0; height: auto; }
  .hero__media img { object-position: 60% 50%; }
  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(11, 12, 10, .96) 0%, rgba(11, 12, 10, .85) 34%, rgba(11, 12, 10, .35) 62%, rgba(11, 12, 10, .1) 100%),
      linear-gradient(to top, var(--bg) 0%, transparent 18%);
  }
  .hero__inner { width: 100%; padding-top: 88px; padding-bottom: 104px; }
  .hero__ctas .btn { flex: 0 0 auto; }
  .hero__badge { top: auto; bottom: 40px; right: var(--gutter); font-size: .88rem; }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card);
  color: var(--text-2); font-size: .86rem; font-weight: 700;
}
.chips .icon { width: 16px; height: 16px; color: var(--accent); }
.chips__promo { border-color: rgba(118, 161, 42, .55) !important; color: var(--text) !important; }

.owner { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.owner__photo {
  position: relative; width: 56px; height: 56px; flex: none;
  border-radius: 50%; overflow: hidden; border: 2px solid var(--accent);
  background: var(--card);
}
.owner__photo img { width: 100%; height: 100%; object-fit: cover; }
.owner__initials {
  position: absolute; inset: 0; display: none; place-items: center;
  font-family: var(--font-display); font-weight: 800; color: var(--accent);
}
.owner__photo.no-photo img { display: none; }
.owner__photo.no-photo .owner__initials { display: grid; }
.owner__text { color: var(--text-2); line-height: 1.35; }
.owner__text strong { color: var(--text); }
.owner__text small { display: block; color: var(--text-3); font-size: .88rem; }

/* ---------- Trust strip ---------- */
.trust { background: var(--bg-alt); border-block: 1px solid var(--border); padding: 36px 0; }
.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
.stat__value {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(2.2rem, 6vw + .5rem, 3.4rem); color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat__suffix { color: var(--accent); }
.stat__star { width: .7em; height: .7em; fill: var(--accent); margin-left: 4px; }
.stat__label { color: var(--text-2); margin-top: 8px; font-size: .95rem; line-height: 1.35; }

@media (min-width: 820px) {
  .trust { padding: 48px 0; }
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .stat + .stat { border-left: 1px solid var(--border); padding-left: 28px; }
}

/* ---------- Services + planner ---------- */
.planner { display: grid; gap: 24px; align-items: start; }
.services { display: grid; gap: 12px; }

.service {
  position: relative; width: 100%; height: 100%; text-align: left;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr; gap: 6px 14px;
  padding: 20px; min-height: 44px;
  background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius);
  transition: border-color .25s var(--ease), background-color .25s, transform .25s var(--ease);
}
.service:hover { border-color: #48523C; transform: translateY(-2px); }
.service__num {
  grid-row: 1 / 3;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--text-3);
  padding-top: 2px; transition: color .25s;
  min-width: 1.6em; font-variant-numeric: tabular-nums;
}
.service__name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; line-height: 1.15; padding-right: 86px; }
.service__desc { grid-column: 2; color: var(--text-2); font-size: .94rem; line-height: 1.45; }
.service__badge {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px 5px 8px; border-radius: 999px;
  font-size: .78rem; font-weight: 700;
  border: 1px solid var(--border); color: var(--text-2);
  transition: background-color .25s, color .25s, border-color .25s;
}
.service__badge .icon { width: 14px; height: 14px; stroke-width: 2.5; }

.service[aria-pressed="true"] { border-color: var(--accent); background: #1A2113; }
.service[aria-pressed="true"] .service__num { color: var(--accent); }
.service[aria-pressed="true"] .service__badge { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.summary {
  background: var(--light); color: var(--light-text);
  border-radius: var(--radius-lg); padding: 28px 24px;
}
.summary__title { font-size: 1.7rem; font-weight: 800; }
.summary__count { color: var(--light-text-2); margin-top: 6px; font-weight: 500; }
.summary__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; min-height: 8px; }
.summary__tags li {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(11, 12, 10, .08); border: 1px solid rgba(11, 12, 10, .14);
  font-size: .86rem; font-weight: 700;
  animation: pop .25s var(--ease);
}
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.summary__price {
  display: flex; flex-direction: column; gap: 2px;
  padding-top: 20px; border-top: 1px solid rgba(11, 12, 10, .14);
  color: var(--light-text-2); font-size: .92rem;
}
.summary__price strong { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1.05; color: var(--light-text); }
.summary__note { color: var(--light-text-2); font-size: .9rem; margin: 10px 0 14px; }
.summary__promo {
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 10px 14px; border-radius: 14px;
  background: rgba(74, 107, 18, .1); color: var(--accent-ink); font-weight: 700; font-size: .92rem;
}
.summary__promo .icon { width: 18px; height: 18px; }
.summary :focus-visible { outline-color: var(--light-text); }

@media (min-width: 560px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .planner { grid-template-columns: 1fr 340px; gap: 28px; }
  .summary { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Process ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step {
  position: relative; padding: 28px 24px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
}
.step__num {
  font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent);
}
.step__icon {
  position: absolute; top: 28px; right: 24px; width: 30px; height: 30px;
  fill: none; stroke: var(--text-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.step h3 { font-size: 1.4rem; font-weight: 700; margin-top: 18px; }
.step p { color: var(--text-2); margin-top: 8px; font-size: .97rem; }

@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery__item {
  position: relative; width: 100%; aspect-ratio: 4 / 3; padding: 0;
  border: 0; border-radius: 16px; overflow: hidden; background: var(--card);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:disabled { cursor: default; }
.gallery__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 12px 10px; text-align: left;
  background: linear-gradient(to top, rgba(6, 7, 5, .85), transparent);
  color: var(--text); font-size: .8rem; font-weight: 700; line-height: 1.3;
  pointer-events: none;
}
.is-missing .gallery__caption { display: none; }
.gallery__item--video { background: #060705; }
.gallery__item--video video { width: 100%; height: 100%; object-fit: contain; background: #060705; }
.gallery__item--video .gallery__caption {
  top: 0; bottom: auto; padding: 10px 12px 28px;
  background: linear-gradient(to bottom, rgba(6, 7, 5, .85), transparent);
}
.gallery li:first-child { grid-column: span 2; }
@media (min-width: 560px) { .gallery__caption { font-size: .88rem; padding: 36px 16px 14px; } }
.gallery__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  border: 2px dashed var(--border); border-radius: 16px;
  color: var(--text-3); font-size: .9rem; text-align: center; padding: 8px;
}
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .gallery li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery li:first-child .gallery__item { height: 100%; aspect-ratio: auto; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: rgba(6, 7, 5, .94);
  padding: 64px 12px;
}
.lightbox[hidden] { display: none; }
[hidden] { display: none !important; }
.lightbox__figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox__figure img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox__figure figcaption { text-align: center; color: var(--text-3); margin-top: 12px; font-size: .9rem; }
.lightbox__close { position: absolute; top: 12px; right: 12px; background: rgba(243, 245, 238, .1); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(243, 245, 238, .1); width: 48px; height: 48px; }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }
.lightbox .icon { width: 24px; height: 24px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 20px; align-items: stretch; }

.rating-card {
  background: var(--light); color: var(--light-text);
  border-radius: var(--radius-lg); padding: 28px 24px;
  display: flex; flex-direction: column;
}
.rating-card__score { font-family: var(--font-display); font-weight: 800; font-size: 4rem; line-height: 1; }
.rating-card__out { font-size: 1.6rem; color: var(--light-text-2); }
.rating-card__based { color: var(--light-text-2); margin-top: 8px; }
.rating-card hr { border: 0; border-top: 1px solid rgba(11, 12, 10, .14); margin: 24px 0; width: 100%; }
.rating-card__ask { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.rating-card__askSub { color: var(--light-text-2); margin: 6px 0 18px; font-size: .95rem; }
.rating-card__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; margin-top: 8px; font-weight: 700; color: var(--accent-ink);
}
.rating-card__link .icon { width: 16px; height: 16px; }
.rating-card :focus-visible { outline-color: var(--light-text); }

.stars { display: flex; gap: 3px; margin-top: 12px; }
.stars svg { width: 20px; height: 20px; fill: var(--accent); }
.stars--lg svg { width: 26px; height: 26px; fill: var(--accent-ink); }

.carousel {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px 20px; display: flex; flex-direction: column;
}
.carousel__slides { display: grid; flex: 1; }
.slide {
  grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateX(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
  display: flex; flex-direction: column;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide__quote { width: 44px; height: 44px; fill: var(--accent); }
.slide__text {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2vw + .8rem, 1.65rem);
  line-height: 1.3; letter-spacing: -0.01em; margin: 14px 0 24px; color: var(--text);
}
.slide__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.slide__initial {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
}
.slide__name { font-weight: 700; }
.slide__date { color: var(--text-3); font-size: .88rem; }

.carousel__controls {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border);
}
.carousel__dots { display: flex; gap: 2px; }
.dot {
  width: 32px; height: 44px; padding: 0; border: 0; background: none;
  display: grid; place-items: center;
}
.dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--border);
  transition: width .3s var(--ease), background-color .3s;
}
.dot[aria-current="true"]::before { width: 22px; background: var(--accent); }

@media (min-width: 900px) {
  .reviews { grid-template-columns: 360px 1fr; gap: 24px; }
  .reviews.reviews--empty { grid-template-columns: minmax(0, 440px); }
  .carousel { padding: 40px 40px 24px; }
}

/* ---------- Contact ---------- */
.contact {
  background: var(--accent); color: var(--on-accent);
  padding: 80px 0; scroll-margin-top: var(--header-h);
}
.contact :focus-visible { outline-color: var(--on-accent); }
.contact__grid { display: grid; gap: 40px; align-items: start; }
.contact h2 { color: var(--on-accent); }
.contact__text { font-size: 1.1rem; margin: 18px 0 28px; max-width: 480px; font-weight: 500; }
.contact__phone, .contact__email {
  display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%;
  text-decoration: none; min-height: 44px;
}
.contact__phone {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 5vw + .8rem, 2.9rem); line-height: 1.1;
}
.contact__phone .icon { width: 30px; height: 30px; }
.contact__email { font-weight: 700; font-size: 1.05rem; margin-top: 6px; word-break: break-all; }
.contact__phone:hover, .contact__email:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn--outline-dark { border-color: var(--on-accent); color: var(--on-accent); background: transparent; }
.btn--outline-dark:hover { background: rgba(11, 12, 10, .08); }
.contact__follow { margin-top: 22px; font-weight: 700; }
.contact__follow .social-links { margin-top: 8px; }
.contact__follow .social-link { border-color: var(--on-accent); color: var(--on-accent); }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-link {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--border); color: var(--text-2);
  transition: border-color .2s, color .2s, background-color .2s;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); }
.contact__owner { margin-top: 24px; font-weight: 700; padding-top: 18px; border-top: 1px solid rgba(11, 12, 10, .25); width: fit-content; }

.form-card {
  background: var(--bg); color: var(--text);
  border-radius: var(--radius-lg); padding: 28px 22px;
  box-shadow: 0 40px 80px -40px rgba(11, 12, 10, .6);
}
.form-card :focus-visible { outline-color: var(--accent); }
.form-card h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .9rem; font-weight: 700; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--card); border: 1.5px solid var(--border); border-radius: 14px;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8AF9E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
  padding-right: 44px;
}
.field input::placeholder, .field textarea::placeholder { color: #848B7B; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field .is-invalid { border-color: #F08A6A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: 14px; font-weight: 700; min-height: 1.6em; }
.form-status.is-success { color: #9FD38A; }
.form-status.is-error { color: #F7A07F; }

@media (min-width: 960px) {
  .contact { padding: 104px 0; }
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .form-card { padding: 36px 32px; }
}

/* ---------- Footer ---------- */
.footer { padding: 28px 0 96px; border-top: 1px solid var(--border); color: var(--text-3); font-size: .92rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; }
.footer__inner a { color: var(--text-2); text-decoration: none; }
.footer__inner a:hover { color: var(--accent); }
.footer__tagline { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--text); margin-bottom: 6px; }
@media (min-width: 1080px) { .footer { padding-bottom: 28px; } }

/* ---------- Floating call button ---------- */
.fab {
  position: fixed; z-index: 90;
  right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6);
  transition: transform .25s var(--ease), opacity .25s;
}
.fab .icon { width: 26px; height: 26px; }
.fab:active { transform: scale(.94); }
.fab.is-hidden { opacity: 0; transform: scale(.8); pointer-events: none; }
@media (min-width: 1080px) { .fab { display: none; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .slide { transform: none; }
  .service:hover, .btn--accent:hover { transform: none; }
  .gallery__item:hover img { transform: none; }
}

.slide__sample {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-3); font-size: .72rem; font-weight: 700; vertical-align: 1px;
}
