@import url("fontawesome-all.min.css");

:root {
  --bg: #04070f;
  --bg-soft: #0c1324;
  --card: rgba(12, 19, 36, 0.75);
  --card-strong: rgba(10, 16, 30, 0.9);
  --stroke: rgba(255, 255, 255, 0.08);
  --accent: #f3c172;
  --accent-soft: rgba(243, 193, 114, 0.18);
  --text: #ecf1f9;
  --muted: rgba(236, 241, 249, 0.65);
  --shadow-soft: 0 30px 60px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.45);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --transition: all 220ms ease;
  --container: min(1160px, 90vw);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, rgba(217, 135, 59, 0.08), transparent 55%), radial-gradient(circle at 20% 20%, rgba(243, 193, 114, 0.1), transparent 45%), var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

a:hover,
a:focus {
  color: var(--accent);
}

.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;
}

img {
  max-width: 100%;
  display: block;
  border-radius: inherit;
}

h1, h2, h3, h4 {
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  color: #f5f8ff;
}

p {
  margin: 0;
  color: var(--muted);
}

p + p {
  margin-top: 0.85rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(243, 193, 114, 0.76);
  margin-bottom: 1.75rem;
}

.eyebrow::before {
  content: "";
  width: 48px;
  height: 1px;
  background: rgba(243, 193, 114, 0.4);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  transition: var(--transition);
  border: 1px solid transparent;
}

.button .icon {
  font-size: 1rem;
  line-height: 1;
}

.button--primary {
  background: linear-gradient(135deg, #b6792e 0%, #f3c172 100%);
  color: #1f1405;
  box-shadow: var(--shadow-soft);
}

.button--primary:hover,
.button--primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(217, 135, 59, 0.36);
}

.button--ghost {
  background: transparent;
  border-color: rgba(243, 193, 114, 0.35);
  color: var(--text);
}

.button--ghost:hover,
.button--ghost:focus {
  border-color: rgba(243, 193, 114, 0.7);
  background: rgba(243, 193, 114, 0.1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(110deg, rgba(34, 24, 12, 0.95), rgba(120, 76, 32, 0.85));
  border-bottom: 1px solid rgba(243, 193, 114, 0.28);
  box-shadow: 0 25px 45px rgba(12, 8, 4, 0.35);
  transition: var(--transition);
}

body.scrolled .site-header {
  background: linear-gradient(110deg, rgba(22, 16, 8, 0.96), rgba(102, 68, 28, 0.92));
  border-bottom-color: rgba(243, 193, 114, 0.4);
  box-shadow: 0 28px 55px rgba(9, 6, 3, 0.45);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 1.35rem 0;
}

body.scrolled .site-header .container {
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(243, 193, 114, 0.35);
  padding: 8px;
  background: rgba(243, 193, 114, 0.08);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.1rem;
  font-size: 0.95rem;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: rgba(236, 241, 249, 0.85);
  background: rgba(12, 7, 3, 0.32);
  border: 1px solid rgba(243, 193, 114, 0.18);
  box-shadow: 0 14px 28px rgba(8, 4, 2, 0.28);
  transition: var(--transition);
}

.primary-nav a:hover,
.primary-nav a:focus {
  color: var(--accent);
  border-color: rgba(243, 193, 114, 0.55);
  background: rgba(243, 193, 114, 0.22);
  box-shadow: 0 20px 40px rgba(8, 4, 2, 0.4);
}

.primary-nav a[aria-current="page"] {
  color: var(--accent);
  border-color: rgba(243, 193, 114, 0.75);
  background: rgba(243, 193, 114, 0.28);
  box-shadow: 0 24px 45px rgba(8, 4, 2, 0.45);
}

.nav-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.nav-toggle {
  display: none;
}

body.nav-open {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 6rem 0;
  overflow: hidden;
}

.hero__media,
.sub-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media img,
.sub-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.45);
}

.hero__overlay,
.sub-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 7, 15, 0.9), rgba(12, 19, 36, 0.85));
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem;
  align-items: center;
}

.hero__copy {
  max-width: 520px;
}

.hero__copy p {
  font-size: 1rem;
  color: rgba(236, 241, 249, 0.8);
}

.hero__copy p:first-of-type {
  margin-top: 0.65rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.hero__portrait {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
}

.hero__portrait img {
  border-radius: calc(var(--radius-lg) - 12px);
  height: 100%;
  object-fit: cover;
}

.about,
.services,
.gallery,
.testimonials,
.cta,
.contact,
.review-details {
  padding: 6rem 0;
}

.about__layout {
  display: grid;
  gap: 3.2rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: start;
}

.about__content h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  margin-bottom: 1.7rem;
}

.about__content p {
  font-size: 1rem;
}

.about__highlights {
  display: grid;
  gap: 1.4rem;
}

.highlight-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1.4rem;
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

.highlight-card img {
  height: 140px;
  object-fit: cover;
}

.highlight-card p {
  font-size: 0.95rem;
}

.services h2,
.testimonials h2,
.review-details h2 {
  font-size: clamp(2.1rem, 3.2vw, 3rem);
  margin-bottom: 2.6rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
}

.service-card {
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease;
  position: relative;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 15, 0) 45%, rgba(4, 7, 15, 0.85) 100%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.45);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.service-card__content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem;
  z-index: 2;
  background: linear-gradient(180deg, rgba(4, 7, 15, 0.35), rgba(4, 7, 15, 0.9));
}

.service-card__content h3 {
  font-size: 1.1rem;
}

.service-card__content p {
  margin-top: 0.75rem;
  font-size: 0.88rem;
}

.gallery {
  position: relative;
}

.gallery__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.gallery__intro {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.gallery__header .eyebrow {
  margin-bottom: 0;
}

.gallery__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.gallery__controls {
  display: flex;
  gap: 0.75rem;
}

.gallery__button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--accent-soft);
  background: rgba(243, 193, 114, 0.12);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.gallery__button:hover,
.gallery__button:focus {
  background: rgba(243, 193, 114, 0.28);
  color: var(--accent);
}

.gallery__button:disabled {
  opacity: 0.35;
  cursor: default;
}

.gallery__viewport {
  position: relative;
  overflow: hidden;
}

.gallery__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.6rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  padding: 0 1rem 1.6rem;
  margin: 0 -1rem;
  scroll-padding: 1rem;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__track {
  scrollbar-width: none;
}

.gallery__track.is-dragging {
  cursor: grabbing;
}

.gallery__item {
  flex: 0 0 clamp(280px, 32vw, 360px);
  scroll-snap-align: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  position: relative;
  aspect-ratio: 4 / 3;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 15, 0) 55%, rgba(4, 7, 15, 0.75));
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease;
}

.gallery__item:hover::after,
.gallery__item:focus-within::after {
  opacity: 1;
}

.gallery__item:hover,
.gallery__item:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px rgba(8, 4, 2, 0.45);
}

.gallery__caption {
  position: absolute;
  inset: auto 1.4rem 1.2rem 1.4rem;
  color: rgba(236, 241, 249, 0.92);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 1;
}

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

.testimonial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.8rem;
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}

.testimonial__content p {
  font-size: 0.95rem;
}

.testimonial__author {
  margin-top: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(243, 193, 114, 0.85);
}

.testimonial__media img {
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(217, 135, 59, 0.25), transparent 60%);
  z-index: 0;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  max-width: 780px;
  margin: 0 auto 2rem auto;
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact__layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  background: var(--card-strong);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
}

.contact__content h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 1.6rem;
}

.contact__content p {
  font-size: 1.05rem;
  color: var(--text);
}

.contact__content p + p {
  margin-top: 0.5rem;
}

.contact__links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.contact__links a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(243, 193, 114, 0.35);
  color: var(--text);
  transition: var(--transition);
}

.contact__links a:hover,
.contact__links a:focus {
  background: rgba(243, 193, 114, 0.16);
  color: var(--accent);
}

.contact__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
}

.contact__media img:first-child {
  width: 210px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.04);
  padding: 2rem;
  border-radius: var(--radius-md);
}

.review-details__grid {
  display: grid;
  gap: 2.2rem;
}

.review-card {
  display: grid;
  gap: 1.8rem;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.review-card__media {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.review-card__media img {
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.review-card__author {
  margin-top: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(243, 193, 114, 0.85);
}

.sub-hero {
  position: relative;
  padding: 6.5rem 0 5rem;
  overflow: hidden;
}

.sub-hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.sub-hero__content p {
  font-size: 1rem;
}

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(4, 7, 15, 0.85);
  margin-top: 6rem;
}

.footer__layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(243, 193, 114, 0.35);
  padding: 8px;
  background: rgba(243, 193, 114, 0.08);
}

.footer__links {
  display: flex;
  gap: 1.2rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(236, 241, 249, 0.75);
}

.footer__legal {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: rgba(236, 241, 249, 0.45);
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery__track {
    gap: 1.1rem;
  }

  .gallery__item {
    flex-basis: clamp(240px, 46vw, 320px);
  }

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

  .testimonial__media img {
    height: 240px;
  }

  .about__layout,
  .contact__layout {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    grid-template-columns: 150px 1fr;
  }

  .contact__media {
    padding: 1.2rem;
  }

  .contact__media img:first-child {
    width: 180px;
    padding: 1.6rem;
  }
}

@media (max-width: 900px) {
  .site-header .container {
    flex-wrap: nowrap;
    justify-content: center;
    padding: 1rem 0;
  }

  .brand {
    margin: 0 auto;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    display: none;
  }

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

  .hero__portrait {
    justify-self: center;
    max-width: 420px;
  }

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

  .gallery__controls {
    align-self: stretch;
    justify-content: flex-end;
  }

  .gallery__track {
    margin: 0;
    padding: 0 0 1.4rem;
  }

  .gallery__item {
    flex-basis: clamp(240px, 60vw, 320px);
  }
}

@media (max-width: 720px) {
  .gallery__track {
    padding: 0 1.4rem 1.6rem;
    margin: 0 -1.4rem;
    scroll-padding: 1.4rem;
    gap: 1.1rem;
  }

  .gallery__item {
    flex: 0 0 calc(100vw - 3rem);
    max-width: 420px;
    scroll-snap-align: start;
  }

  .gallery__caption {
    inset: auto 1rem 0.9rem 1rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 640px) {
  .site-header .container {
    padding: 1rem 0;
  }

  .hero {
    padding: 5rem 0 4rem;
  }

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

  .about,
  .services,
  .gallery,
  .testimonials,
  .cta,
  .contact,
  .review-details {
    padding: 4.5rem 0;
  }

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

  .gallery__header {
    align-items: stretch;
    gap: 1rem;
  }

  .gallery__controls {
    justify-content: space-between;
  }

  .gallery__button {
    width: 42px;
    height: 42px;
  }

  .gallery__track {
    padding: 0 1.2rem 1.4rem;
    margin: 0 -1.2rem;
    scroll-padding: 1.2rem;
  }

  .gallery__item {
    flex: 0 0 calc(100vw - 2.6rem);
    max-width: 380px;
  }

  .highlight-card {
    grid-template-columns: 1fr;
  }

  .contact__layout {
    padding: 2.1rem;
  }

  .contact__media {
    padding: 1rem;
  }

  .contact__media img:first-child {
    width: 150px;
    padding: 1.4rem;
  }


  .primary-nav a {
    width: 56px;
    height: 56px;
    margin-top: 0;
  }

  .primary-nav a + a {
    margin-top: 0.8rem;
  }

  .nav-icon {
    font-size: 1.3rem;
  }


  .review-card {
    padding: 1.8rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
