/* ========================================
   MS FLOWERS — STYLES
   ======================================== */

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- ROOT / VARIABLES ---------- */
:root {
  --pad: 20px;
  --pad-md: 40px;
  --pad-lg: 60px;
  --max-w: 1200px;

  --bg: #faf7f2;
  --bg2: #f3ede4;
  --surface: #ffffff;
  --text: #2c2c2c;
  --text-muted: #8a8578;
  --text-light: #f5f0e8;
  --accent: #b8860b;
  --accent2: #d4a843;
  --border: #e8e2d8;

  --font-display: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --font-accent: "Cormorant Garamond", serif;
  --font-prata: "Prata", serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --carousel-gap: 20px;

  --z-sticky: 100;
  --z-drawer: 99;
}

/* ---------- RESPONSIVE PADDING ---------- */
@media (min-width: 600px) {
  :root {
    --pad: var(--pad-md);
  }
}
@media (min-width: 1024px) {
  :root {
    --pad: var(--pad-lg);
  }
}

/* ---------- TYPOGRAPHY ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.italic {
  font-style: italic;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- SECTION ---------- */
.section {
  padding: clamp(60px, 8vw, 120px) 0;
}

.section__eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

@media (min-width: 900px) {
  .section__eyebrow {
    font-size: 16px;
  }
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 15px;
}

.section__title--light {
  color: #fff;
}

.section__title--accent {
  font-family: var(--font-accent);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    color 0.4s var(--ease-out),
    transform 0.3s var(--ease-out);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  border: none;
  transition:
    background 0.8s var(--ease-out),
    transform 0.8s var(--ease-out),
    box-shadow 0.8s var(--ease-out);
}

.btn--accent:hover {
  background: #a07608;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn--accent span,
.btn--accent {
  position: relative;
  z-index: 1;
}

.btn--hero {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 16px 40px;
  font-size: 15px;
  letter-spacing: 1.5px;
  transition:
    background 0.8s var(--ease-out),
    color 0.8s var(--ease-out),
    border-color 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.btn--hero:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
}

/* ========================================
   HEADER
   ======================================== */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: 24px 0;
  transition:
    padding 0.4s var(--ease-out),
    background 0.4s,
    -webkit-backdrop-filter 0.4s,
    backdrop-filter 0.4s;
}

.hdr.scrolled {
  padding: 16px 0;
  background: rgba(250, 247, 242, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.hdr[data-open="true"] {
  background: var(--bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hdr__in {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.4s var(--ease-out);
}

.hdr.scrolled .logo {
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  transition:
    color 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.hdr.scrolled .nav__link {
  color: var(--text-muted);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.8s var(--ease-out);
}

.nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.hdr.scrolled .nav__link:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.hdr__cta {
  font-size: 13px;
  padding: 7px 24px;
}

.hdr.scrolled .hdr__cta {
  color: #fff;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  flex-shrink: 0;
  padding: 0;
  z-index: 101;
}

.burger span {
  display: block;
  width: 100%;
  height: 1px;
  background: #fff;
  border-radius: 1px;
  transition:
    transform 0.35s var(--ease-out),
    opacity 0.35s,
    background 0.35s;
  will-change: transform;
}

.hdr.scrolled .burger span {
  background: var(--text);
}

.hdr[data-open="true"] .burger span {
  background: var(--text);
}

.burger.is-active span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Header entrance protection */
.hdr:not([data-ready]) .logo,
.hdr:not([data-ready]) .nav a,
.hdr:not([data-ready]) .hdr__cta {
  opacity: 0;
}

/* Logo color transitions */
.logo {
  transition: color 0.35s var(--ease-out);
}

.hdr[data-open="true"] .logo {
  color: var(--text);
}

/* ========================================
   DRAWER (MOBILE MENU)
   ======================================== */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 120px var(--pad) 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.drawer[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

/* Close: instant reverse with no delay */
.drawer[data-open="false"] .drawer__link span,
.drawer[data-open="false"] .drawer__tel,
.drawer[data-open="false"] .drawer__foot .btn,
.drawer[data-open="false"] .drawer__socials {
  transition-delay: 0s !important;
  transition-duration: 0.25s !important;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
}

.drawer__link {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 400;
  padding: 14px 0;
  color: var(--text);
  overflow: hidden;
}

.drawer__link span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer[data-open="true"] .drawer__link span {
  transform: translateY(0);
}

.drawer__link:nth-child(1) span {
  transition-delay: 0.1s;
}
.drawer__link:nth-child(2) span {
  transition-delay: 0.15s;
}
.drawer__link:nth-child(3) span {
  transition-delay: 0.2s;
}
.drawer__link:nth-child(4) span {
  transition-delay: 0.25s;
}

.drawer__foot {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px var(--pad) calc(20px + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 16px;
  background: var(--bg);
}

.drawer__tel {
  font-family: var(--font-prata);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.35s,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

.drawer[data-open="true"] .drawer__tel {
  opacity: 1;
  transform: translateY(0);
}

.drawer__foot .btn {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.45s,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
}

.drawer[data-open="true"] .drawer__foot .btn {
  opacity: 1;
  transform: translateY(0);
}

.drawer__cta {
  text-align: center;
}

.drawer__socials {
  display: flex;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.55s,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.55s;
}

.drawer[data-open="true"] .drawer__socials {
  opacity: 1;
  transform: translateY(0);
}

.drawer__social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.3s;
}

.drawer__social:hover {
  color: var(--accent);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform, opacity;
  opacity: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(#0a0a0a59 0%, #0a0a0a8c 40%, #0a0a0ae6 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--pad);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 500;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 16px;
}

.hero__title-line {
  display: block;
  overflow: hidden;
}

.hero__title-line span {
  display: inline-block;
}

.hero__subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}

.hero__subtitle span {
  display: inline-block;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }
  50% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}

/* ========================================
   GALLERY
   ======================================== */
.gallery {
  background: var(--bg);
}

.gallery__list {
  display: flex;
  flex-direction: column;
}

.gallery__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.gallery__card:last-child {
  border-bottom: none;
}

.gallery__card--alt {
  direction: rtl;
}

.gallery__card--alt > * {
  direction: ltr;
}

.gallery__card-img {
  aspect-ratio: 1.4;
  overflow: hidden;
  background: var(--bg2);
  position: relative;
}

.gallery__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s var(--ease-out),
    filter 0.8s var(--ease-out) 0.05s;
  will-change: transform;
  filter: brightness(0.7);
}

.gallery__card:hover .gallery__card-img img {
  transform: scale(1.06);
  filter: brightness(0.45);
}

.gallery__card-info {
  padding: clamp(24px, 3vw, 44px);
}

.gallery__card-num {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
  transition:
    opacity 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
}

.gallery__card:hover .gallery__card-num {
  opacity: 1;
  transform: translateX(-4px);
}

.gallery__card-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 8px;
  transition: color 0.4s var(--ease-out);
}

.gallery__card:hover .gallery__card-name {
  color: var(--accent);
}

.gallery__card-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 380px;
}

.gallery__card-price {
  font-family: var(--font-accent);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 4px;
}

.btn--card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 10px 24px;
  border: 1px solid var(--border);
  transition:
    border-color 0.3s,
    background 0.3s,
    gap 0.3s var(--ease-out),
    transform 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out);
}

.btn--card:hover {
  border-color: var(--accent);
  background: rgba(184, 134, 11, 0.05);
  gap: 14px;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio {
  background: var(--bg2);
  padding: clamp(60px, 8vw, 120px) 0 0;
}

.portfolio__grid {
  display: grid;
  gap: 4px;
  margin-top: clamp(32px, 5vw, 60px);
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--pad);
  aspect-ratio: 4 / 3;
}

.portfolio__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  will-change: transform, opacity;
  opacity: 0;
  transform: scale(0.97);
}

.portfolio__item:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / 3;
}

.portfolio__item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.portfolio__item:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.portfolio__item:nth-child(4) {
  grid-column: 4;
  grid-row: 1 / 3;
}

.portfolio__item:nth-child(5) {
  grid-column: 2 / 4;
  grid-row: 2;
}

.portfolio__item:nth-child(6) {
  grid-column: 1;
  grid-row: 3;
}

.portfolio__item:nth-child(7) {
  grid-column: 2 / 4;
  grid-row: 3;
}

.portfolio__item:nth-child(8) {
  grid-column: 4;
  grid-row: 3;
}

.portfolio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s var(--ease-out),
    filter 0.7s var(--ease-out);
  filter: brightness(0.75) saturate(0.9);
}

.portfolio__item:hover img {
  transform: scale(1.07);
  filter: brightness(0.6) saturate(1);
}

.portfolio__item-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  padding: 20px;
  text-align: center;
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}

.portfolio__item:hover .portfolio__item-content {
  opacity: 1;
  transform: translateY(0);
}

.portfolio__item-label {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.portfolio__item-sub {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  margin-top: 8px;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  background: var(--bg2);
  overflow: hidden;
}

.testimonials__header {
  padding: 0 0 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  text-align: left;
}

.testimonials__frame {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  overflow: hidden;
}

.testimonials__viewport {
  overflow: hidden;
  cursor: grab;
}

.testimonials__viewport:active {
  cursor: grabbing;
}

.testimonials__container {
  display: flex;
  gap: var(--carousel-gap);
  padding: 2px;
}

.testimonial {
  flex: 0 0 calc((100% - 2 * var(--carousel-gap)) / 3);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.4s;
  display: flex;
  flex-direction: column;
  user-select: none;
  flex-shrink: 0;
  min-width: 0;
  opacity: 0;
}

.testimonial:hover {
  border-color: var(--accent);
}

.testimonial > * {
  position: relative;
  z-index: 1;
}

.testimonial__quote {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 20px;
  flex: 1;
}

.testimonial__quote::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.testimonial__bottom {
  margin-top: auto;
}

.testimonial__author {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial__stars {
  color: var(--accent);
  margin-top: 10px;
  display: flex;
  gap: 2px;
}

.testimonial__stars svg {
  width: 16px;
  height: 16px;
}

.testimonials__scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px var(--pad) 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.3s;
}

.testimonials__scroll-hint.is-visible {
  opacity: 1;
}

.testimonials__scroll-line {
  width: 10px;
  height: 1px;
  background: var(--accent);
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  background: var(--bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}

.about__content {
  padding-top: 16px;
}

.about__image {
  overflow: hidden;
}

.about__image img {
  width: 100%;
  aspect-ratio: 0.8;
  object-fit: cover;
  will-change: transform;
}

.about__text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.about__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.about__detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about__detail-label {
  font-family: var(--font-prata);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.about__detail-value {
  font-family: var(--font-prata);
  font-size: 1rem;
  color: var(--text);
}

a.about__detail-value:hover {
  color: var(--accent);
}

.about__social {
  display: flex;
  gap: 16px;
}

.about__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 8px 16px;
  transition:
    border-color 0.3s,
    color 0.3s,
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.about__social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.about__social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.about__map {
  margin-top: clamp(32px, 5vw, 56px);
}

.about__map iframe {
  width: 100%;
  height: 400px;
  display: block;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 6rem);
  font-weight: 800;
  line-height: 0.9;
  opacity: 0.2;
  white-space: nowrap;
  user-select: none;
  padding: 30px 0 20px;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad) 30px;
}

.footer__tagline {
  font-family: var(--font-accent);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer__link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.footer__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 8px 20px;
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer__social-link:hover {
  border-color: var(--accent);
  background: rgba(184, 134, 11, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.footer__bottom-link {
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer__bottom-link:hover {
  color: var(--accent);
}

/* ========================================
   REVEAL ANIMATIONS (initial states)
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

/* ========================================
   no-js FALLBACK
   ======================================== */
.no-js .reveal,
.no-js .reveal-left,
.no-js .portfolio__item,
.no-js .hero__bg img,
.no-js .hero__title-line span,
.no-js .hero__subtitle span,
.no-js .hero__scroll,
.no-js .hero__content .btn,
.no-js .testimonial,
.no-js .footer__brand {
  opacity: 1 !important;
  transform: none !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    aspect-ratio: 3 / 4;
  }

  .portfolio__item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .portfolio__item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .portfolio__item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .portfolio__item:nth-child(4) {
    grid-column: 1;
    grid-row: 3 / 5;
  }

  .portfolio__item:nth-child(5) {
    grid-column: 2 / 4;
    grid-row: 2;
  }

  .portfolio__item:nth-child(6) {
    grid-column: 2;
    grid-row: 3;
  }

  .portfolio__item:nth-child(7) {
    grid-column: 2 / 4;
    grid-row: 4;
  }

  .portfolio__item:nth-child(8) {
    grid-column: 3;
    grid-row: 3;
  }
}

@media (max-width: 900px) {
  .nav,
  .hdr__cta {
    display: none;
  }

  .burger {
    display: flex;
  }

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

  .gallery__card--alt {
    direction: ltr;
  }

  .gallery__card-img {
    aspect-ratio: 1.4;
  }

  .gallery__card-info {
    padding: 22px var(--pad);
  }

  .gallery__card-price {
    margin-top: 0;
  }

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

  .testimonial {
    flex: 0 0 calc((100% - var(--carousel-gap)) / 2);
    min-width: 0;
  }

  .testimonials__frame {
    max-width: none;
    padding: 0;
  }

  .testimonials__header {
    max-width: none;
  }

  .hero__title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .about__map iframe {
    height: auto;
    aspect-ratio: 1.4;
  }

  .portfolio {
    padding: clamp(48px, 6vw, 80px) 0 0;
  }
}

@media (min-width: 901px) {
  .about__grid {
    gap: clamp(28px, 4vw, 52px);
  }
}

@media (max-width: 600px) {
  .testimonial {
    flex: 0 0 300px;
    padding: 20px;
    min-width: 0;
    margin: 0 auto;
  }

  .hero {
    min-height: 500px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .portfolio {
    padding: clamp(40px, 5vw, 60px) 0 0;
  }

  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 3px;
    aspect-ratio: 2 / 6;
  }

  .portfolio__item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .portfolio__item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .portfolio__item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .portfolio__item:nth-child(4) {
    grid-column: 1;
    grid-row: 4 / 6;
  }

  .portfolio__item:nth-child(5) {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .portfolio__item:nth-child(6) {
    grid-column: 2;
    grid-row: 4;
  }

  .portfolio__item:nth-child(7) {
    grid-column: 1 / 3;
    grid-row: 6;
  }

  .portfolio__item:nth-child(8) {
    grid-column: 2;
    grid-row: 5;
  }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .reveal-left,
  .portfolio__item,
  .hero__bg img,
  .hero__title-line span,
  .hero__subtitle span,
  .hero__scroll,
  .hero__content .btn,
  .testimonial,
  .footer__brand,
  .footer__social-link {
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .hero__scroll-line::after {
    animation: none;
  }
}
