/* ═══════════════════════════════════════════
   HIGHTECH INTERIORS — Design System & Styles
   ═══════════════════════════════════════════ */

/* ── Google Fonts Import ── */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap");

/* ── CSS Custom Properties ── */
:root {
  --color-bg: #f9f7f4;
  --color-surface: #ffffff;
  --color-accent: #c8a96e;
  --color-accent-dark: #a8874a;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-border: #e8e4de;
  --color-overlay: rgba(26, 26, 26, 0.55);

  --font-display: "Cormorant Garamond", serif;
  --font-body: "DM Sans", sans-serif;

  --container-max: 1200px;
  --container-pad: 2rem;
  --section-pad: 6rem 0;
  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.3s ease;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow-x: hidden;
}

body.loaded {
  opacity: 1;
}

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

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

ul,
ol {
  list-style: none;
}

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

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ── Typography ── */
.heading-display {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.heading-section {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--color-text);
}

.heading-sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-small {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.section-heading-group {
  text-align: center;
  margin-bottom: 4rem;
}

.section-heading-group .heading-section {
  position: relative;
  display: inline-block;
}

.section-heading-group .heading-section::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--color-accent);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-text);
  border: 2px solid var(--color-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn-ghost-dark:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.link-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  transition:
    color var(--transition),
    gap var(--transition);
}

.link-accent:hover {
  color: var(--color-accent-dark);
  gap: 0.7rem;
}

.link-accent .arrow {
  transition: transform var(--transition);
  font-size: 1.1em;
}

.link-accent:hover .arrow {
  transform: translateX(3px);
}

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.navbar-logo img {
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  flex-shrink: 0;
  object-fit: contain;
}

.navbar-logo .logo-placeholder {
  width: 28px;
  height: 28px;
  background: var(--color-border);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--color-text);
}

.nav-link.active::after {
  transform: scaleX(1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  position: absolute;
}

.hamburger-bar:nth-child(1) {
  transform: translateY(-7px);
}

.hamburger-bar:nth-child(3) {
  transform: translateY(7px);
}

.nav-open .hamburger-bar:nth-child(1) {
  transform: rotate(45deg);
}

.nav-open .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.nav-open .hamburger-bar:nth-child(3) {
  transform: rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--color-surface);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-open .mobile-nav-overlay {
  transform: translateX(0);
}

.mobile-nav-overlay .mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
}

.mobile-nav-overlay .mobile-nav-link:hover,
.mobile-nav-overlay .mobile-nav-link.active {
  color: var(--color-accent);
}

@media (max-width: 1023px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
    position: relative;
  }

  .mobile-nav-overlay {
    display: flex;
  }
}

/* ═══════════════════════════════════════════
   PAGE HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
}

/* Hero slideshow images */
.hero-bg .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
}

.hero-bg .hero-slide.active {
  opacity: 1;
}

/* Ken Burns slow zoom on active slide */
.hero-bg .hero-slide.active {
  animation: heroKenBurns 8s ease-in-out forwards;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.06);
  }
}

/* Static hero image (sub-pages with single image) */
.hero-bg .hero-static-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroKenBurns 12s ease-in-out forwards;
}

/* Mobile: adjust object-position for better framing on portrait screens */
@media (max-width: 767px) {
  .hero-bg .hero-slide,
  .hero-bg .hero-static-img {
    object-position: center center;
  }
}

/* Tablet landscape: slightly adjusted */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-bg .hero-slide,
  .hero-bg .hero-static-img {
    object-position: center 35%;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 var(--container-pad);
}

.hero-logo {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto 2rem;
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.1s;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-border);
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.scroll-chevron {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  animation: bounceChevron 2s ease infinite;
}

@keyframes bounceChevron {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(8px);
  }
}

/* Hero animations on load */
.hero-content .hero-label,
.hero-content .hero-title,
.hero-content .hero-subtitle,
.hero-content .hero-buttons {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-content .hero-label {
  animation-delay: 0.3s;
}
.hero-content .hero-title {
  animation-delay: 0.5s;
}
.hero-content .hero-subtitle {
  animation-delay: 0.7s;
}
.hero-content .hero-buttons {
  animation-delay: 0.9s;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Short page hero */
.hero-short {
  height: 50vh;
  min-height: 360px;
}

.hero-breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
}

.hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.hero-breadcrumb a:hover {
  color: var(--color-accent);
}

.hero-breadcrumb .separator {
  margin: 0 0.5rem;
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL SYSTEM
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════════════════════════════════════════
   SECTIONS — General
   ═══════════════════════════════════════════ */
.section {
  padding: var(--section-pad);
}

.section.section-map {
  padding: 3rem 0 6rem 0;
}

.section-dark {
  background-color: var(--color-text);
  color: var(--color-border);
}

.section-beige {
  background-color: #f0ebe1;
}

.section-white {
  background-color: var(--color-surface);
}

/* ═══════════════════════════════════════════
   INTRO STRIP (Stats Counters)
   ═══════════════════════════════════════════ */
.stats-strip {
  background: var(--color-surface);
  padding: 4rem var(--container-pad);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: var(--container-max);
  margin: 0 auto;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 1.5rem 2rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--color-border);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Stats on dark background */
.section-dark .stat-number {
  color: var(--color-accent);
}

.section-dark .stat-label {
  color: var(--color-border);
}

.section-dark .stat-item:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 767px) {
  .stats-grid {
    flex-direction: column;
    gap: 0;
  }

  .stat-item:not(:last-child)::after {
    right: 20%;
    bottom: 0;
    top: auto;
    height: 1px;
    width: 60%;
  }
}

/* ═══════════════════════════════════════════
   SERVICES TEASER (Home)
   ═══════════════════════════════════════════ */
.services-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-teaser-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 6 / 7;
  cursor: pointer;
}

.service-teaser-card .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-teaser-card .placeholder-img {
  width: 100%;
  height: 100%;
  background: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  transition: transform 0.5s ease;
}

.service-teaser-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.75) 0%,
    transparent 50%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: background 0.4s ease;
}

.service-teaser-card .card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.5rem;
}

.service-teaser-card .card-cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.service-teaser-card:hover .card-image,
.service-teaser-card:hover .placeholder-img {
  transform: scale(1.04);
}

.service-teaser-card:hover .card-overlay {
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.85) 0%,
    rgba(26, 26, 26, 0.2) 60%
  );
}

.service-teaser-card:hover .card-cta {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .services-teaser-grid {
    grid-template-columns: 1fr;
  }

  .service-teaser-card {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .services-teaser-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-teaser-card:last-child {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }
}

/* ═══════════════════════════════════════════
    FEATURED WORKS (Home)
   ═══════════════════════════════════════════ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.featured-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.featured-item .featured-img,
.featured-item .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.featured-item .featured-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  transition: background 0.4s ease;
}

.featured-item .featured-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.featured-item:hover .featured-img,
.featured-item:hover .placeholder-img {
  transform: scale(1.04);
}

.featured-item:hover .featured-overlay {
  background: rgba(26, 26, 26, 0.45);
}

.featured-item:hover .featured-name {
  opacity: 1;
  transform: translateY(0);
}

/* Row 1: 2 large items each span all 3 cols / 2 = 1.5 → use span 3 on a 6-col trick instead */
/* Simpler: use a 6-column grid */
.featured-grid {
  grid-template-columns: repeat(6, 1fr);
}

.featured-item.large {
  grid-column: span 3;
  aspect-ratio: 16 / 10;
}

.featured-item.third {
  grid-column: span 2;
  aspect-ratio: 4 / 3;
}

@media (max-width: 767px) {
  .featured-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .featured-item.large {
    grid-column: span 2;
    aspect-ratio: 4 / 3;
  }

  .featured-item.third {
    grid-column: span 1;
    aspect-ratio: 1;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .featured-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .featured-item.large {
    grid-column: span 3;
  }

  .featured-item.third {
    grid-column: span 2;
  }
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--color-surface);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  position: relative;
}

.testimonial-quote-icon {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.3;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}

.testimonial-project {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

@media (max-width: 767px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .testimonial-card {
    min-width: 85vw;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════ */
.cta-banner {
  background: var(--color-text);
  padding: 6rem var(--container-pad);
  text-align: center;
}

.cta-banner .heading-section {
  color: #fff;
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════
   ABOUT — Story Section
   ═══════════════════════════════════════════ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-story-image {
  position: relative;
}

.about-story-image img.placeholder-img {
  width: 100%;
  aspect-ratio: 7 / 8;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}

.about-story-image::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.about-story-text .heading-section {
  margin-bottom: 1.5rem;
}

.about-story-text p,
.contact-info-subtext,
.service-block-content p,
.testimonial-text,
.value-desc {
  text-align: justify;
}

.about-story-text p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .about-story {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ═══════════════════════════════════════════
   ABOUT — Values
   ═══════════════════════════════════════════ */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.value-card {
  background: var(--color-surface);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.value-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 32px rgba(200, 169, 110, 0.08);
}

.value-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-accent);
  margin-bottom: 1rem;
  line-height: 1;
}

.value-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.value-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 767px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════
   ABOUT — Team
   ═══════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  overflow: hidden;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 767px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══════════════════════════════════════════
   SERVICES PAGE — Alternating Layout
   ═══════════════════════════════════════════ */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block.reverse .service-block-image {
  order: 2;
}

.service-block.reverse .service-block-content {
  order: 1;
}

.service-block-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.service-block-image img.placeholder-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.5s ease;
}

.service-block-image:hover img.placeholder-img {
  transform: scale(1.04);
}

.service-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.service-block-content .heading-section {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.service-block-content p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .service-block {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
  }

  .service-block.reverse .service-block-image {
    order: 0;
  }

  .service-block.reverse .service-block-content {
    order: 0;
  }
}

/* ═══════════════════════════════════════════
   SERVICES — Process Timeline
   ═══════════════════════════════════════════ */
.process-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 48px;
  right: 48px;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-accent);
  margin: 0 auto 1rem;
  background: var(--color-bg);
}

.section-beige .process-circle {
  background: #f0ebe1;
}

.process-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .process-timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-left: 0;
  }

  .process-timeline::before {
    top: 0;
    bottom: 0;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .process-step {
    text-align: left;
    padding-left: 5rem;
    padding-bottom: 2.5rem;
    position: relative;
  }

  .process-circle {
    position: absolute;
    left: 0;
    top: -4px;
    margin: 0;
  }

  .process-desc {
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════
   PROJECTS PAGE — Filter & Grid
   ═══════════════════════════════════════════ */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}

.filter-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* Masonry layout using CSS columns — Pinterest-style */
.projects-grid {
  column-count: 4;
  column-gap: 1rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  break-inside: avoid;
  margin-bottom: 1rem;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.project-card .placeholder-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  transition: transform 0.5s ease;
  object-fit: cover;
}

.project-card .project-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  object-fit: cover;
  object-position: center;
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.8) 0%,
    transparent 50%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .placeholder-img {
  transform: scale(1.04);
}

.project-card:hover .project-img {
  transform: scale(1.04);
}

.project-card:hover .project-card-overlay {
  opacity: 1;
}

.project-card-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
  display: none;
}

.project-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.project-card-category {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  background: var(--color-accent);
  color: var(--color-text);
  border-radius: 50px;
  display: inline-block;
  width: fit-content;
}

.project-card-location {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  display: none;
}

.project-card-cta {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.project-card.hiding {
  opacity: 0;
  transform: scale(0.95);
}

@media (max-width: 767px) {
  .projects-grid {
    column-count: 2;
    column-gap: 0.6rem;
  }

  .project-card {
    margin-bottom: 0.6rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .projects-grid {
    column-count: 3;
    column-gap: 0.8rem;
  }

  .project-card {
    margin-bottom: 0.8rem;
  }
}

/* ═══════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════ */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.contact-info-subtext {
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.contact-info-block {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 3px;
  height: 100%;
  min-height: 20px;
  background: var(--color-accent);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-info-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

.contact-info-value a {
  color: var(--color-text);
  transition: color var(--transition);
}

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

.contact-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 500;
  color: var(--color-accent);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.contact-whatsapp-link:hover {
  color: var(--color-accent-dark);
}

@media (max-width: 767px) {
  .contact-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ═══════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════ */
.enquiry-form {
  background: var(--color-surface);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 0 0.75rem;
  border: none;
  border-bottom: 1.5px solid var(--color-border);
  background: transparent;
  font-size: 0.95rem;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition);
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: var(--color-accent);
}

.form-group label {
  position: absolute;
  left: 0;
  top: 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  pointer-events: none;
  transition: all 0.25s ease;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.form-group select ~ label,
.form-group select:focus ~ label {
  top: -0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B6B6B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Radio pill toggles */
.radio-group {
  margin-bottom: 2rem;
}

.radio-group-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.radio-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.radio-pill {
  position: relative;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-pill label {
  display: block;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1.5px solid var(--color-border);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--color-text-muted);
}

.radio-pill input:checked + label {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.radio-pill label:hover {
  border-color: var(--color-accent);
}

.form-submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--color-accent);
  color: var(--color-text);
  border: none;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background var(--transition),
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.form-submit-btn:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 169, 110, 0.25);
}

.form-success {
  text-align: center;
  padding: 1.5rem;
  color: var(--color-accent-dark);
  font-weight: 500;
  font-size: 0.95rem;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes formShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  50% {
    transform: translateX(6px);
  }
  75% {
    transform: translateX(-4px);
  }
}

.form-shake {
  animation: formShake 0.4s ease;
}

/* ═══════════════════════════════════════════
   MAP PLACEHOLDER
   ═══════════════════════════════════════════ */
.map-container {
  width: 100%;
  height: 400px;
  background: var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--color-text);
  color: var(--color-border);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-logo .logo-placeholder,
.footer-logo img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  flex-shrink: 0;
  object-fit: contain;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-contact-item {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-contact-item a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════
   CONTACT FLOATING BUTTON
   ═══════════════════════════════════════════ */
.contact-float-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.5rem;
}

.contact-float {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text);
  box-shadow: 0 4px 16px rgba(200, 169, 110, 0.35);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  animation: contactPulse 2s infinite;
}

.contact-float:hover {
  transform: scale(1.08);
  background: var(--color-accent-dark);
  box-shadow: 0 6px 24px rgba(200, 169, 110, 0.45);
}

.contact-float svg {
  width: 24px;
  height: 24px;
}

.contact-option {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    box-shadow 0.3s ease;
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
}

.contact-option svg {
  width: 24px;
  height: 24px;
}

.contact-option:hover {
  transform: translateX(0) scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* Contact button active state */
.contact-float-container.active .contact-option {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.contact-whatsapp {
  background: #25d366;
  transition-delay: 0s;
}

.contact-phone {
  background: #007aff;
  transition-delay: 0.05s;
}

.contact-email {
  background: #ff6b6b;
  transition-delay: 0.1s;
}

@keyframes contactPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

/* ═══════════════════════════════════════════
   BACK TO TOP BUTTON
   ═══════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: calc(2rem + 56px + 0.75rem);
  right: 2rem;
  z-index: 899;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 1px solid var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
  box-shadow: 0 4px 12px rgba(200, 169, 110, 0.25);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 6px 16px rgba(200, 169, 110, 0.35);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ═══════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════ */
.text-center {
  text-align: center;
}
.text-accent {
  color: var(--color-accent);
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

/* ═══════════════════════════════════════════
   FAVICON PLACEHOLDER
   ═══════════════════════════════════════════ */
/* Placeholder for favicon — add actual favicon files to assets/ */

/* ═══════════════════════════════════════════
   THEMED TOAST NOTIFICATION
   ═══════════════════════════════════════════ */
#ht-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9999;
  min-width: 320px;
  max-width: 90vw;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.4s ease;
}

#ht-toast.ht-toast-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.ht-toast-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}

.ht-toast-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(200, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

#ht-toast.ht-toast-error .ht-toast-icon {
  background: rgba(255, 107, 107, 0.1);
}

.ht-toast-text {
  flex: 1;
  min-width: 0;
}

.ht-toast-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.ht-toast-sub {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.ht-toast-close {
  flex-shrink: 0;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem 0.3rem;
  transition: color var(--transition);
  font-family: inherit;
}

.ht-toast-close:hover {
  color: var(--color-text);
}

/* Progress bar at bottom of toast */
.ht-toast-bar {
  height: 3px;
  background: var(--color-accent);
  width: 100%;
  transform-origin: left;
  animation: toastBarShrink 4s linear forwards;
}

.ht-toast-bar-error {
  background: #ff6b6b;
  animation-duration: 5s;
}

@keyframes toastBarShrink {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

@media (max-width: 480px) {
  #ht-toast {
    bottom: 1rem;
    min-width: calc(100vw - 2rem);
  }
}