/* ============================================================
   VÝKOPOVÉ PRÁCE LIPTOV — style.css
   Theme: gold accent on dark slate / clean white
   ============================================================ */

:root {
  /* Exact palette from the live site:
     primary  = rgb(204 161 38)  -> #CCA126
     primary-400 = rgb(220 183 51) -> #DCB733 (used for thin yellow underline)
     primary-600 = rgb(176 127 30) -> #B07F1E (hover)
     primary-800 = rgb(117 75 30)  -> #754B1E
     sec (dark) = rgb(29 29 29)   -> #1D1D1D (charcoal black, NOT navy) */
  --primary: #cca126;
  --primary-400: #dcb733;
  --primary-hover: #b07f1e;
  --primary-deep: #754b1e;
  --dark: #1d1d1d;
  --dark-2: #2a2a2a;
  --light: #e4e0e1;
  --bg: #ffffff;
  --text: #1d1d1d;
  --text-muted: #5d5d5d;
  --border: #e4e0e1;
  --radius: 12px;
  --radius-lg: 22px;
  --nav-h: 110px;
  --font-heading: "Roboto", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
}

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

html {
  scroll-behavior: auto;
  overflow-x: hidden;
  /* Dark page background so browser overscroll-bounce above the page
     blends with the nav instead of flashing white. */
  background: var(--dark);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--primary); color: #fff; }

/* Skip link */
.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 9999;
  background: var(--primary); color: #fff; padding: 10px 18px;
  font-weight: 700; border-radius: 0 0 8px 8px; transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* Section title underline */
.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.8rem;
}
.title-underline {
  display: block;
  width: 50px;
  height: 5px;
  background: var(--primary-400);
  margin: 1.25rem 0;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 740px;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  /* Live-site behavior: bg goes dark, text goes gold */
  background: var(--dark);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav_1 {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, height 0.3s ease;
}
#nav_1.scrolled {
  background: var(--dark);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.nav-inner {
  max-width: 1320px; height: 100%;
  margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  padding: 12px 0; /* breathing room top + bottom */
}
.nav-logo img { height: 88px; width: auto; transition: transform 0.25s; }
.nav-logo:hover img { transform: scale(1.05); }

.nav-links {
  display: flex; align-items: center; gap: 2.4rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem; font-weight: 600;
  color: #fff; position: relative;
  padding: 4px 0; transition: color 0.25s;
}
.nav-link::after {
  content: ""; position: absolute;
  bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

/* Dropdown trigger */
.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-caret {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.nav-has-dropdown { position: relative; }
.nav-has-dropdown:hover .nav-caret,
.nav-has-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}

/* Dropdown panel — bg-primary-600 #B07F1E + text-primary-200 #EFE399 */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -1.5rem;
  margin-top: 0.6rem;
  min-width: 240px;
  background: var(--primary-hover);
  border-radius: 8px;
  padding: 0.5rem 0;
  /* shadow removed */
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 901;
}
/* Invisible hover bridge so the panel doesn't disappear when the cursor crosses the gap */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -0.7rem; left: 0; right: 0;
  height: 0.7rem;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.55rem 1.4rem;
  color: #efe399;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-dropdown a:hover {
  color: #fff;
  border-bottom-color: #efe399;
}

.nav-cta {
  display: inline-flex; align-items: center;
  padding: 0.85rem 2rem;
  background: var(--primary); color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem;
  border-radius: 99px;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.nav-cta:hover {
  background: var(--dark);
  color: var(--primary);
  transform: translateY(-1px);
}
.nav-cta:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: #fff;
  border-radius: 2px; transition: all 0.3s ease;
}

/* ============================================================
   MOBILE MENU — slide-down panel below the nav (matches live site)
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 940;
  background: var(--dark);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  /* hidden by default — shown via .open and only on mobile (see media query) */
  display: none;
}
.mobile-menu.open {
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.mobile-menu-inner {
  padding: 1rem 1.5rem 2rem;
}
.mobile-nav-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.mobile-nav-list > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-nav-list > li:last-child { border-bottom: none; }

.mobile-nav-link,
.mobile-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 0.25rem;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  text-align: right;
  cursor: pointer;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.mobile-nav-link:hover,
.mobile-sub-toggle:hover { opacity: 0.7; }

.mobile-nav-phone {
  color: var(--primary) !important;
  font-size: 0.92rem !important;
}

/* Submenu (Služby) */
.mobile-has-sub .mobile-sub-toggle svg {
  transition: transform 0.3s ease;
}
.mobile-has-sub.open .mobile-sub-toggle svg {
  transform: rotate(180deg);
}
.mobile-sub-list {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-has-sub.open .mobile-sub-list {
  max-height: 500px;
}
.mobile-nav-sublink {
  display: block;
  padding: 0.65rem 0.25rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 400;
  color: #efe399;
  text-align: right;
  text-transform: none;
  letter-spacing: normal;
  transition: color 0.2s ease;
}
.mobile-nav-sublink:hover { color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
#hero_1 {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 4rem) 2rem 5rem;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroBgZoom 18s ease-out forwards;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 980px;
  display: flex; flex-direction: column; align-items: center;
}
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 1.5rem;
  opacity: 0; animation: heroFadeUp 0.8s ease 0.25s forwards;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 0 2.5rem;
  opacity: 0; animation: heroFadeUp 0.7s ease 0.5s forwards;
}
.hero-content .btn {
  opacity: 0; animation: heroFadeUp 0.6s ease 0.7s forwards;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroBgZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

/* ============================================================
   FEATURES
   ============================================================ */
#features_1 {
  background: #fff;
  padding: 100px 0;
}
.features-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
}
.features-header { text-align: center; margin-bottom: 4rem; }
.features-header .title-underline { margin: 0.75rem auto 0; }

.features-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem; /* room for floating icons */
}
.feature-card {
  position: relative;
  /* No overflow:hidden here — the icon needs to poke above the card edge */
  cursor: default;
  transition: transform 0.35s ease;
  padding-top: 30px; /* space for the floating icon */
}
.feature-card:hover { transform: translateY(-6px); }

.feature-card-inner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 300px;
  isolation: isolate;
}

.feature-card-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
  transition: transform 0.5s ease, filter 0.35s ease;
  z-index: 0;
}
.feature-card:hover .feature-card-bg {
  transform: scale(1.06);
}

.feature-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

.feature-card-content {
  position: relative; z-index: 1;
  padding: 2.5rem 1.75rem 2rem;
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
}
.feature-card-content h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 0.85rem;
  line-height: 1.3;
}
.feature-card-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about_1 {
  background: var(--light);
  padding: 100px 0;
}
.about-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text-wrap p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}
.about-text-wrap p strong {
  color: var(--text);
  font-weight: 700;
}
.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4;
}
.about-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-image-wrap:hover img { transform: scale(1.04); }

/* ============================================================
   SERVICES
   ============================================================ */
#services_1 {
  background: #fff;
  padding: 100px 0;
}
.services-header {
  max-width: 900px;
  margin: 0 auto 5rem;
  padding: 0 2rem;
  text-align: center;
}
.services-header .title-underline { margin: 0.75rem auto 1.75rem; }
.services-header .section-sub { margin: 0 auto; }

.services-list-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.service-row.reversed .service-image-wrap { order: 2; }
.service-row.reversed .service-content { order: 1; }

.service-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.service-image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.service-image-wrap:hover img { transform: scale(1.05); }

.service-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 0.6rem;
}
.service-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 1.75rem;
}

/* ============================================================
   GALLERY (masonry via CSS columns)
   ============================================================ */
#gallery_1 {
  background: var(--light);
  padding: 100px 0;
}
.gallery-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}
.gallery-header { text-align: center; margin-bottom: 4rem; }
.gallery-header .title-underline { margin: 0.75rem auto 1.5rem; }
.gallery-header .section-sub { margin: 0 auto; }

/* Uniform grid (matches live site) — 3 cols desktop, 2 cols mobile,
   fixed cell heights, images cover-cropped. */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  display: block;
  height: 384px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e4e0e1;
}
.gallery-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

/* ============================================================
   REVIEWS
   ============================================================ */
#reviews_1 {
  position: relative;
  padding: 110px 2rem;
  overflow: hidden;
  background: var(--dark);
}
.reviews-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.reviews-bg img {
  width: 100%; height: 100%; object-fit: cover;
  /* matches the live site's bg-fixed parallax */
}
.reviews-bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.reviews-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.review-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column;
  gap: 1.25rem;
}
.review-stars {
  display: flex; gap: 4px;
  color: var(--primary);
}
.review-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.97rem;
  line-height: 1.75;
  margin: 0;
}
.review-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
  padding-top: 0.5rem;
}
.review-author {
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}
.review-google { width: 56px; height: 56px; object-fit: contain; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact_1 {
  background: var(--light);
  padding: 100px 0;
}
.contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}
.contact-intro {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 2.5rem;
}
.contact-details {
  display: flex; flex-direction: column; gap: 0.7rem;
}
.contact-name {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.15rem;
  color: var(--text);
  margin: 0;
}
.contact-address { margin: 0; color: var(--text-muted); }
.contact-line {
  display: flex; flex-direction: column;
  margin-top: 1rem;
}
.contact-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.2rem;
}
.contact-line a {
  font-family: var(--font-heading);
  font-size: 1.05rem; font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
}

/* Contact form */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-md);
}
#contact-form .form-group {
  margin-bottom: 1rem;
  display: flex; flex-direction: column;
}
#contact-form label {
  font-family: var(--font-heading);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
#contact-form input,
#contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  padding: 0.85rem 1rem;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary);
  /* focus ring removed */
}
#contact-form textarea { resize: vertical; min-height: 130px; }
#contact-form .form-consent {
  margin: 0.5rem 0 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
#contact-form .form-consent label {
  display: flex; gap: 0.6rem;
  align-items: flex-start;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
  cursor: pointer;
}
#contact-form .form-consent input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 16px; height: 16px;
  accent-color: var(--primary);
}
#contact-form .form-consent a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
#contact-form button[type="submit"] {
  width: 100%; justify-content: center;
}

/* ============================================================
   MAP
   ============================================================ */
#map_1 {
  width: 100%;
  height: 460px;
  background: var(--light);
}
#map_1 iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: saturate(0.9);
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer_1 {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 0;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 0.9fr;
  gap: 3rem;
}
.footer-brand .footer-logo {
  height: 64px; width: auto;
  margin-bottom: 1.25rem;
}
.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}
.footer-social {
  display: inline-flex;
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  align-items: center; justify-content: center;
  color: var(--primary);
  transition: background 0.25s, transform 0.2s;
}
.footer-social:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 1.25rem;
  letter-spacing: -0.005em;
}
.footer-col p,
.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.65;
  text-decoration: none;
  margin: 0 0 0.4rem;
}
.footer-line {
  display: flex; flex-direction: column;
  margin-bottom: 0.9rem !important;
}
.footer-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.15rem;
}
.footer-line a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(204, 161, 38, 0.5);
  font-weight: 600;
  color: #fff;
}
.footer-line a:hover { color: var(--primary); }

.footer-links {
  list-style: none; padding: 0; margin: 0;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }

/* Bottom yellow bar */
.footer-bar {
  background: var(--primary);
  text-align: center;
  padding: 1rem 1.5rem;
  color: var(--dark);
}
.footer-bar p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}
.footer-bar strong { font-weight: 700; }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
#whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 800;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s, background 0.25s;
}
#whatsapp-fab:hover {
  transform: scale(1.08);
  background: #1ebe57;
}

#scroll-top {
  position: fixed; bottom: 96px; right: 24px;
  z-index: 800;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  border: none; cursor: pointer;
  display: none;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s, background 0.25s;
}
#scroll-top.visible { display: flex; }
#scroll-top:hover {
  transform: translateY(-2px);
  background: var(--primary);
}

/* ============================================================
   FADE-UP (IntersectionObserver)
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.fade-up.visible {
  opacity: 1; transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; gap: 1.25rem; max-width: 640px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .gallery-item { height: 310px; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 820px) {
  :root { --nav-h: 72px; }
  .nav-inner { padding: 0 1.25rem; }
  .nav-logo img { height: 48px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  #hero_1 { min-height: 88vh; padding-left: 1.25rem; padding-right: 1.25rem; }

  #features_1, #about_1, #services_1, #gallery_1, #contact_1 { padding: 70px 0; }
  #reviews_1 { padding: 80px 1.25rem; }

  .features-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image-wrap { aspect-ratio: 4/3; }

  .service-row,
  .service-row.reversed {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .service-row.reversed .service-image-wrap,
  .service-row.reversed .service-content {
    order: unset;
  }

  .gallery-masonry { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .gallery-item { height: 240px; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { padding-bottom: 2.5rem; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 1rem; }
  .gallery-item { height: 200px; }
  .contact-form-wrap { padding: 1.5rem 1.25rem; }
  #whatsapp-fab { right: 16px; bottom: 16px; }
  #scroll-top { right: 16px; bottom: 84px; }
}

/* ============================================================
   PREFERS REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-headline, .hero-sub, .hero-content .btn { opacity: 1; }
  .fade-up { opacity: 1; transform: none; }
}
