/* ═══════════════════════════════════════════
   Angularis — Design System
   ═══════════════════════════════════════════ */

:root {
  --brand: #ed8a50;
  --brand-deep: #d4733f;
  --brand-soft: rgba(237, 138, 80, 0.12);
  --ink: #1c1917;
  --ink-muted: #57534e;
  --ink-faint: #a8a29e;
  --surface: #f3f1ee;
  --surface-raised: #faf9f7;
  --surface-deep: #e8e4df;
  --line: rgba(28, 25, 23, 0.1);
  --line-strong: rgba(28, 25, 23, 0.18);
  --white: #ffffff;
  --footer: #181614;

  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;

  --nav-h: 5rem;
  --page-gutter: 1.25rem;
  --page-max: 1480px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
  --radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.container-site {
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.container-narrow {
  width: min(760px, calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

@media (min-width: 768px) {
  :root {
    --page-gutter: 2rem;
  }
}

@media (min-width: 1200px) {
  :root {
    --page-gutter: 2.5rem;
  }
}

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  padding: 0.85rem 1.6rem;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  text-decoration: none !important;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-brand {
  background: var(--brand);
  color: var(--white) !important;
  border-color: var(--brand);
}

.btn-brand:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: var(--white) !important;
  box-shadow: 0 10px 28px rgba(237, 138, 80, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white) !important;
}

.btn-outline {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink) !important;
}

.btn-outline-light {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white) !important;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Override Bootstrap primary */
.btn-primary {
  background-color: var(--brand) !important;
  border-color: var(--brand) !important;
  color: var(--white) !important;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--brand-deep) !important;
  border-color: var(--brand-deep) !important;
}

.btn-outline-primary {
  color: var(--brand) !important;
  border-color: var(--brand) !important;
}

.btn-outline-primary:hover {
  background: var(--brand) !important;
  color: var(--white) !important;
}

.text-primary {
  color: var(--brand) !important;
}

/* Keep Bootstrap utility states inside the Angularis color system */
.btn-success {
  color: var(--white) !important;
  background-color: var(--brand) !important;
  border-color: var(--brand) !important;
}

.btn-success:hover,
.btn-success:focus {
  background-color: var(--brand-deep) !important;
  border-color: var(--brand-deep) !important;
}

.btn-outline-success {
  color: var(--brand) !important;
  border-color: var(--brand) !important;
}

.btn-outline-success:hover,
.btn-outline-success:focus {
  color: var(--white) !important;
  background-color: var(--brand) !important;
  border-color: var(--brand) !important;
}

.text-success {
  color: var(--brand) !important;
}

/* ─── Navbar ─── */

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1040;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  background: transparent;
}

.site-nav.is-scrolled {
  background: rgba(58, 53, 48, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.nav-logo {
  display: block;
  line-height: 0;
}

.nav-logo img {
  height: 72px;
  width: auto;
  transition: opacity 0.3s ease;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  transition: background 0.3s ease, transform 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.3s ease, background 0.3s ease;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links .nav-cta {
  margin-left: 0.35rem;
  background: var(--brand);
  color: var(--white) !important;
  font-weight: 600;
}

.nav-links .nav-cta:hover {
  background: var(--brand-deep);
  color: var(--white) !important;
}

.nav-links .nav-work {
  margin-left: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white) !important;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
}

.nav-links .nav-work:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white) !important;
}

@media (max-width: 991px) {
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 2;
  }

  .nav-logo img {
    height: 56px;
  }

  .site-nav {
    background: rgba(58, 53, 48, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .site-nav.is-open {
    background: rgba(40, 36, 33, 0.98);
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    padding: 0.75rem 1.15rem 1.35rem;
    margin: 0;
    background: rgba(40, 36, 33, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), visibility 0.35s;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-links > li {
    display: block;
    width: 100%;
    margin: 0;
  }

  .nav-links a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    color: rgba(255, 255, 255, 0.92) !important;
    padding: 0.85rem 0.9rem;
    border-radius: var(--radius);
    font-size: 1rem;
    line-height: 1.3;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-links .nav-cta,
  .nav-links .nav-work {
    margin: 0;
    text-align: center;
    justify-content: center;
  }

  .nav-links > li:has(.nav-cta) {
    margin-top: 0.65rem;
  }

  .nav-links > li:has(.nav-work) {
    margin-top: 0.5rem;
  }

  .nav-links .nav-cta {
    background: var(--brand);
    padding: 0.9rem 1rem;
  }

  .nav-links .nav-work {
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.9rem 1rem;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

/* ─── Hero ─── */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 82% 12%, rgba(237, 138, 80, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 40% at 8% 85%, rgba(237, 138, 80, 0.08), transparent 55%),
    linear-gradient(160deg, #2c2724 0%, #1a1715 46%, #100e0c 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 75% 20%, rgba(0, 0, 0, 0.6), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 75% 20%, rgba(0, 0, 0, 0.6), transparent 75%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 120%, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(40rem, calc(100% - (var(--page-gutter) * 2)));
  margin-left: max(var(--page-gutter), calc((100% - var(--page-max)) / 2));
  margin-right: auto;
  padding: calc(var(--nav-h) + 2rem) 0 3.25rem;
}

@media (min-width: 768px) {
  .hero-content {
    padding: calc(var(--nav-h) + 2.5rem) 0 4rem;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 1.15rem;
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.85s var(--ease) 0.15s forwards;
}

.hero-kicker::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--brand);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.8vw, 4.35rem);
  letter-spacing: -0.035em;
  line-height: 1.03;
  max-width: 13ch;
  margin: 0 0 1.25rem;
  color: var(--white);
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp 0.9s var(--ease) 0.3s forwards;
}

.hero-headline span {
  position: relative;
  color: var(--brand);
  font-style: italic;
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 48ch;
  margin: 0 0 2rem;
  font-weight: 400;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.9s var(--ease) 0.45s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(16px);
  animation: revealUp 0.9s var(--ease) 0.6s forwards;
}

.hero-stats {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1.5rem 1.75rem;
  list-style: none;
  margin: 3rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: none;
  width: max-content;
  max-width: 100%;
  opacity: 0;
  transform: translateY(16px);
  animation: revealUp 0.9s var(--ease) 0.75s forwards;
}

.hero-stats li {
  flex: 0 0 auto;
  min-width: 0;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hero-stats span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 1.25rem 1.5rem;
    margin-top: 2.25rem;
  }

  .hero-stats strong {
    font-size: 1.3rem;
  }

  .hero-stats span {
    white-space: normal;
  }
}

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

.hero-scroll {
  position: absolute;
  right: max(var(--page-gutter), calc((100% - var(--page-max)) / 2));
  bottom: 2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: revealUp 0.8s var(--ease) 1s forwards;
}

.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand);
  transform: translateX(-100%);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding-bottom: 4rem;
  }

  .hero-scroll {
    right: auto;
    left: 1rem;
    bottom: 1.25rem;
  }
}

/* ─── Sections common ─── */

.section {
  padding: clamp(2.75rem, 5.5vw, 4.5rem) 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.55rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  margin: 0 0 0.65rem;
  max-width: 16ch;
}

.section-intro {
  color: var(--ink-muted);
  font-size: 1.05rem;
  max-width: 42ch;
  margin: 0;
}

.section-intro a {
  color: var(--brand-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.section-head {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ─── Services (editorial, no cards) ─── */

.services {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(237, 138, 80, 0.08), transparent),
    var(--surface-raised);
}

.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service-item {
  padding: 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease;
}

.service-link {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1rem 1.25rem;
  align-items: baseline;
  padding: 1.35rem 0;
  color: inherit;
}

.service-item:hover {
  background: linear-gradient(90deg, var(--brand-soft), transparent);
}

.service-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand);
  letter-spacing: 0.04em;
}

.service-body h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 0.4rem;
}

.service-body p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 48ch;
}

.service-icon {
  color: var(--ink-faint);
  font-size: 1.35rem;
  transition: color 0.3s ease, transform 0.35s var(--ease);
}

.service-item:hover .service-icon {
  color: var(--brand);
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .service-link {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.75rem 1rem;
  }

  .service-icon {
    display: none;
  }
}

/* ─── About ─── */

.about {
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-copy .section-title {
  margin-bottom: 1.25rem;
}

.about-copy p {
  color: var(--ink-muted);
  margin: 0 0 1rem;
  max-width: 52ch;
}

.about-copy .btn {
  margin-top: 0.75rem;
}

.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.about-points li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.about-points strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.about-points span {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  padding: 0.7rem 1.35rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--white);
}

/* ─── Inner pages ─── */

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 3.5rem) 0 3rem;
  background:
    linear-gradient(135deg, #1c1917 0%, #2c2622 55%, #3d342c 100%);
  color: var(--white);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(237, 138, 80, 0.28), transparent 65%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.page-hero .section-label {
  color: var(--brand);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  max-width: 18ch;
  margin: 0 0 1rem;
}

.page-hero p {
  margin: 0;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.page-body {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.page-prose {
  max-width: 68ch;
}

.page-prose h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin: 2rem 0 0.85rem;
}

.page-prose h2:first-child {
  margin-top: 0;
}

.page-prose p,
.page-prose li {
  color: var(--ink-muted);
}

.page-prose ul {
  padding-left: 1.15rem;
  margin: 0 0 1.25rem;
}

.page-prose li {
  margin-bottom: 0.45rem;
}

.page-cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background:
    linear-gradient(135deg, rgba(237, 138, 80, 0.12), transparent),
    var(--surface-raised);
  border-top: 1px solid var(--line);
}

.page-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.page-cta p {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
}

.page-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

.page-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-details li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
}

.contact-details i {
  color: var(--brand);
  margin-top: 0.2rem;
}

.contact-details a {
  color: var(--ink);
  font-weight: 600;
}

.contact-details a:hover {
  color: var(--brand);
}

@media (max-width: 900px) {
  .about-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .page-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .page-gallery {
    grid-template-columns: 1fr;
  }

  .page-gallery img {
    height: 220px;
  }
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

/* ─── Projects ─── */

.projects {
  background: var(--surface);
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.project-featured {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  height: 480px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  text-align: left;
  width: 100%;
  font: inherit;
  align-items: stretch;
}

.project-featured:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.project-gallery {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.project-gallery .carousel,
.project-gallery .carousel-inner,
.project-gallery .carousel-item {
  height: 100%;
}

.project-gallery .carousel-item {
  position: relative;
}

.project-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1s var(--ease);
}

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

.project-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background:
    linear-gradient(160deg, #221f1c 0%, #181614 100%);
}

.project-meta .section-label {
  margin-bottom: 1.25rem;
}

.project-meta h3 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--white);
  margin: 0 0 0.75rem;
}

.project-meta p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1.5rem;
  max-width: 32ch;
}

.project-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.project-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 700;
}

.project-stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
}

.project-cta i {
  transition: transform 0.35s var(--ease);
}

.project-featured:hover .project-cta i {
  transform: translateX(6px);
}

@media (max-width: 900px) {
  .project-featured {
    grid-template-columns: 1fr;
    grid-template-rows: 260px auto;
    height: auto;
  }

  .project-gallery {
    height: 260px;
  }

  .project-meta {
    height: auto;
  }
}

/* ─── Precotización ─── */

.quote {
  background: var(--surface-deep);
  position: relative;
  overflow: hidden;
}

.quote::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 138, 80, 0.18), transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.quote-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  max-width: 1260px;
  margin-inline: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(28, 25, 23, 0.15);
}

.quote-intro {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4vw, 4rem);
  color: var(--white);
  background:
    linear-gradient(150deg, rgba(24, 22, 20, 0.96), rgba(28, 25, 23, 0.88)),
    url("../img/projects/project_2/image5.jpg") center / cover;
}

.quote-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -80px -100px auto;
  width: 260px;
  aspect-ratio: 1;
  border: 1px solid rgba(237, 138, 80, 0.35);
  border-radius: 50%;
}

.quote-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.quote-eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.quote-intro h1,
.quote-intro h2 {
  margin: 1.5rem 0 1.25rem;
  color: var(--white);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 1.02;
}

.quote-intro h1 span,
.quote-intro h2 span {
  color: var(--brand);
}

.quote-intro > div > p {
  max-width: 39ch;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.98rem;
  line-height: 1.75;
}

.quote-steps {
  display: grid;
  gap: 0;
  margin: 3rem 0;
  padding: 0;
  list-style: none;
}

.quote-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 0 0 1.7rem;
}

.quote-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 2.6rem;
  bottom: 0.2rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.quote-steps li > span {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(237, 138, 80, 0.5);
  border-radius: 50%;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 0.72rem;
}

.quote-steps strong,
.quote-steps small {
  display: block;
}

.quote-steps strong {
  color: var(--white);
  font-size: 0.92rem;
  margin: 0.05rem 0 0.2rem;
}

.quote-steps small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
}

.quote-assurance {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  line-height: 1.5;
}

.quote-assurance i {
  color: var(--brand);
  font-size: 1rem;
}

.quote-assurance strong {
  display: block;
  color: rgba(255, 255, 255, 0.85);
}

.quote-panel {
  position: relative;
  background: var(--surface-raised);
  padding: clamp(2rem, 4vw, 4rem);
}

.quote-form-head {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.quote-form-count {
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quote-form-head h2,
.quote-form-head h3 {
  margin: 0.55rem 0 0.6rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.quote-form-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.quote-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.quote-field {
  min-width: 0;
}

.quote-field-wide {
  grid-column: 1 / -1;
}

.quote-section-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 2.25rem 0 1rem;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-section-label span {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-family: var(--font-display);
  font-size: 0.66rem;
}

.quote-panel .form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.quote-panel .form-control,
.quote-panel .form-select {
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(28, 25, 23, 0.14);
  background-color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.quote-panel .form-control:focus,
.quote-panel .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  outline: none;
}

.quote-panel .form-control::placeholder {
  color: var(--ink-faint);
}

.quote-panel textarea.form-control {
  min-height: 7rem;
  resize: vertical;
}

.quote-panel .form-check {
  margin: 0;
  padding: 0;
}

.quote-panel .form-check-input:checked {
  background-color: var(--brand);
  border-color: var(--brand);
}

.quote-panel .form-check-label {
  display: flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink-muted);
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.quote-panel .form-check-input {
  position: absolute;
  opacity: 0;
}

.quote-panel .form-check-input:checked + .form-check-label {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 600;
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.quote-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.quote-submit p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.75rem;
}

.quote-submit p i {
  margin-right: 0.35rem;
  color: var(--brand-deep);
}

.quote-submit .btn {
  min-width: 260px;
}

.quote-submit .btn i {
  transition: transform 0.3s var(--ease);
}

.quote-submit .btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 960px) {
  .quote-shell {
    grid-template-columns: 1fr;
  }

  .quote-intro {
    min-height: auto;
  }

  .quote-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .quote-steps li {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .quote-steps li::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .quote-shell {
    border-radius: 12px;
  }

  .quote-intro,
  .quote-panel {
    padding: 1.5rem;
  }

  .quote-intro h2 {
    font-size: 2.35rem;
  }

  .quote-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
  }

  .quote-steps li {
    grid-template-columns: 2.5rem 1fr;
  }

  .quote-fields-grid {
    grid-template-columns: 1fr;
  }

  .quote-field-wide {
    grid-column: auto;
  }

  .quote-submit {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .quote-submit .btn {
    width: 100%;
    min-width: 0;
  }
}

/* ─── Quote CTA panel (home teaser) ─── */

.quote-cta-highlights {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.quote-cta-highlights li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 1rem;
  align-items: center;
}

.quote-cta-highlights li > span {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(237, 138, 80, 0.4);
  border-radius: 50%;
  color: var(--brand-deep);
  font-family: var(--font-display);
  font-size: 0.68rem;
}

.quote-cta-highlights strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.1rem;
}

.quote-cta-highlights small {
  display: block;
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.quote-cta-includes {
  margin: 0 0 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.quote-cta-includes > span {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--ink-faint);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quote-cta-includes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.quote-cta-includes li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.quote-cta-includes li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 0.78rem;
}

.quote-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.quote-cta-actions .btn {
  width: 100%;
}

.quote-cta-actions .btn i {
  transition: transform 0.3s var(--ease);
}

.quote-cta-actions .btn:hover i {
  transform: translateX(4px);
}

.quote-cta-alt {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.quote-cta-alt i {
  color: #25d366;
  font-size: 1.1rem;
}

.quote-cta-alt:hover {
  color: var(--ink);
}

/* ─── Quote (standalone /cotizar/ page) ─── */

.quote-page {
  padding-top: calc(var(--nav-h) + 3rem);
}

.quote-alt-contact {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.quote-alt-contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1260px;
  margin-inline: auto;
}

.quote-alt-contact-inner p {
  margin: 0.3rem 0 0;
  color: var(--ink-muted);
  max-width: 46ch;
}

.quote-alt-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .quote-alt-contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── WhatsApp float ─── */

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1030;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand);
  color: var(--white) !important;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 28px rgba(237, 138, 80, 0.4);
  transition: transform 0.35s var(--ease), background 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none !important;
  animation: whatsapp-pulse 2.2s ease-out infinite;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(237, 138, 80, 0.55);
  animation: whatsapp-ring 2.2s ease-out infinite;
  pointer-events: none;
}

.whatsapp-float:hover {
  background: var(--brand-deep);
  transform: translateY(-3px);
  color: var(--white) !important;
  animation: none;
  box-shadow: 0 14px 32px rgba(212, 115, 63, 0.45);
}

.whatsapp-float:hover::before {
  animation: none;
  opacity: 0;
}

.whatsapp-float i {
  font-size: 1.35rem;
}

.whatsapp-text {
  display: none;
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.06);
  }

  65% {
    transform: scale(1);
  }
}

@keyframes whatsapp-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(237, 138, 80, 0.55);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(237, 138, 80, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(237, 138, 80, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float,
  .whatsapp-float::before {
    animation: none;
  }
}

@media (min-width: 768px) {
  .whatsapp-text {
    display: inline;
  }
}

/* ─── Footer ─── */

.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
}

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

.footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  margin: 0;
  max-width: 32ch;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
}

.contact-info {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.925rem;
}

.contact-info i {
  color: var(--brand);
  width: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.contact-info a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s ease;
}

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

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--white);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand img {
    margin-inline: auto;
  }

  .footer-brand p {
    margin-inline: auto;
  }

  .footer-links {
    text-align: center;
  }

  .contact-info li {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* ─── Modals ─── */

.modal-content {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0.5rem 0.75rem 1rem;
  font-family: var(--font-body);
}

.modal-content .modal-title,
.modal-content h3,
.modal-content h5,
.modal-content h6 {
  font-family: var(--font-display);
}

.btn-close {
  background-color: var(--surface);
  padding: 10px;
  border-radius: 50%;
  opacity: 1;
}

.modal-logo {
  height: auto;
  width: 120px;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}

.contact-form .form-control,
.contratista-form .form-control,
.contratista-form .form-select {
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
}

.contact-form .form-control:focus,
.contratista-form .form-control:focus,
.contratista-form .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.direct-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.direct-contact .btn {
  border-radius: var(--radius);
}

.contact-schedule {
  color: var(--ink-muted);
  font-size: 0.875rem;
}

/* ─── Premium contact modal ─── */

.contact-modal-dialog {
  max-width: min(940px, calc(100% - 1.5rem));
  margin: 1rem auto;
}

.contact-modal {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 16px;
  background: #1c1917;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55);
}

.contact-modal-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 610px;
}

.contact-modal-aside {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 2.15rem;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(11, 10, 9, 0.16), rgba(11, 10, 9, 0.88)),
    linear-gradient(135deg, #2b241f 0%, #171513 62%, #0f0e0d 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-modal-aside::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  right: -180px;
  top: -120px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.2;
  filter: blur(3px);
}

.contact-modal-aside::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -15% 15% 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(237, 138, 80, 0.55), transparent);
  transform: rotate(-18deg);
  box-shadow: 0 35px 0 rgba(237, 138, 80, 0.12), 0 -35px 0 rgba(255, 255, 255, 0.05);
}

.contact-modal-logo {
  width: 112px;
  height: auto;
  object-fit: contain;
}

.contact-modal-intro {
  margin: auto 0;
  padding: 2.25rem 0;
}

.contact-modal-intro .section-label {
  display: inline-block;
  margin-bottom: 0.85rem;
}

.contact-modal-intro h2 {
  max-width: 340px;
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.contact-modal-intro p {
  max-width: 320px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
}

.contact-modal-trust {
  display: grid;
  gap: 0.85rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-modal-trust > div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.74rem;
}

.contact-modal-trust i {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  color: var(--brand);
  border: 1px solid rgba(237, 138, 80, 0.25);
  border-radius: 50%;
  background: rgba(237, 138, 80, 0.08);
}

.contact-modal-trust span,
.contact-modal-trust strong {
  display: block;
}

.contact-modal-trust strong {
  margin-bottom: 0.1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
}

.contact-modal-body {
  padding: 2rem 2.25rem 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 100% 0, rgba(237, 138, 80, 0.08), transparent 28%),
    #1c1917;
}

.contact-modal-heading {
  margin-bottom: 1.25rem;
}

.contact-step {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-step::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}

.contact-modal-heading h3 {
  margin: 0 0 0.35rem;
  color: var(--white);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

.contact-modal-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.84rem;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.contact-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.contact-modal .form-label {
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-input {
  position: relative;
}

.contact-input > i {
  position: absolute;
  z-index: 1;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.78rem;
  pointer-events: none;
}

.contact-modal .contact-form .form-control {
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  color: var(--white);
  font-size: 0.86rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-modal .contact-input .form-control {
  padding-left: 2.35rem;
}

.contact-modal .contact-form textarea.form-control {
  min-height: 82px;
  resize: vertical;
}

.contact-modal .contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.contact-modal .contact-form .form-control:focus {
  color: var(--white);
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(237, 138, 80, 0.13);
  outline: none;
}

.contact-submit {
  min-height: 48px;
  margin-top: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
}

.contact-submit i {
  font-size: 1.05rem;
}

.contact-privacy {
  margin: -0.15rem 0 0;
  color: rgba(255, 255, 255, 0.32);
  text-align: center;
  font-size: 0.67rem;
}

.contact-privacy i {
  margin-right: 0.25rem;
  font-size: 0.6rem;
}

.contact-direct {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.contact-direct > span {
  display: block;
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
}

.contact-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-direct-link:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
}

.contact-direct-whatsapp,
.contact-direct-whatsapp:hover {
  color: var(--brand);
  border-color: rgba(237, 138, 80, 0.28);
}

@media (max-width: 800px) {
  .contact-modal {
    max-height: 92vh;
    overflow-y: auto;
  }

  .contact-modal-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-modal-aside {
    min-height: 190px;
    padding: 1.35rem 1.4rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .contact-modal-logo {
    width: 92px;
  }

  .contact-modal-intro {
    padding: 1.4rem 0 0;
  }

  .contact-modal-intro h2 {
    max-width: 430px;
    margin-bottom: 0.55rem;
    font-size: 1.55rem;
  }

  .contact-modal-intro p {
    max-width: 520px;
    line-height: 1.5;
  }

  .contact-modal-trust {
    display: none;
  }

  .contact-modal-body {
    padding: 1.35rem 1.4rem 1.25rem;
  }
}

@media (max-width: 520px) {
  .contact-modal-dialog {
    max-width: calc(100% - 1rem);
    margin: 0.5rem auto;
  }

  .contact-modal-aside {
    min-height: 155px;
  }

  .contact-modal-intro .section-label,
  .contact-modal-intro p {
    display: none;
  }

  .contact-modal-intro {
    padding-top: 1rem;
  }

  .contact-modal-body {
    padding: 1.15rem 1rem 1rem;
  }

  .contact-fields-row {
    grid-template-columns: 1fr;
  }

  .contact-modal-heading {
    padding-right: 2rem;
  }
}

#modalExito .fa-check-circle {
  color: var(--brand) !important;
}

/* ─── Project modal ─── */

.project-modal-dialog {
  max-width: min(1040px, calc(100% - 1.5rem));
  margin: 1rem auto;
}

.project-modal {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
  background: #181614;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  height: min(560px, 86vh);
}

.project-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 5;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(24, 22, 20, 0.55);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.project-modal-close:hover {
  background: var(--brand);
  transform: scale(1.05);
}

.project-modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  height: 100%;
  align-items: stretch;
}

.project-modal-gallery {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #111;
}

.project-modal-gallery .carousel {
  position: absolute;
  inset: 0;
  height: 100%;
}

.project-modal-gallery .carousel-inner,
.project-modal-gallery .carousel-item {
  height: 100%;
}

.project-modal-gallery .carousel-item {
  position: relative;
}

.project-modal-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.project-modal-nav {
  width: auto;
  opacity: 1;
}

.project-modal-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.project-modal-nav:hover .project-modal-nav-btn {
  background: var(--brand);
  color: var(--white);
  transform: scale(1.06);
}

.project-modal-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 1.75rem 1.85rem;
  background: linear-gradient(165deg, #221f1c 0%, #181614 100%);
  color: rgba(255, 255, 255, 0.78);
}

.project-modal-info .section-label {
  margin-bottom: 0.5rem;
}

.project-modal-info h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  color: var(--white);
  margin: 0 0 0.75rem;
}

.project-modal-desc {
  margin: 0 0 1.1rem;
  line-height: 1.6;
  font-size: 0.92rem;
}

.project-modal-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-modal-stats .project-stat strong {
  color: var(--white);
  font-size: 1.1rem;
}

.project-modal-services h3 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 0.6rem;
  font-weight: 600;
}

.project-modal-services ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-modal-services li {
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.project-modal-info .btn-brand {
  align-self: flex-start;
  padding: 0.7rem 1.35rem;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .project-modal {
    height: auto;
    max-height: 90vh;
    overflow: auto;
  }

  .project-modal-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .project-modal-gallery {
    height: 240px;
  }

  .project-modal-gallery .carousel {
    position: absolute;
    inset: 0;
  }

  .project-modal-info {
    height: auto;
    overflow: visible;
    padding: 1.5rem;
  }

  .project-modal-close {
    background: rgba(24, 22, 20, 0.7);
  }
}

/* ─── Apply / contractors modal ─── */

.apply-modal-dialog {
  max-width: min(920px, calc(100% - 1.25rem));
  margin: 1rem auto;
}

.apply-modal {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
  background: #181614;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  max-height: min(640px, 90vh);
}

.apply-modal-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  height: 100%;
  max-height: min(640px, 90vh);
}

.apply-modal-aside {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background:
    linear-gradient(160deg, rgba(237, 138, 80, 0.16), transparent 55%),
    linear-gradient(165deg, #221f1c 0%, #181614 100%);
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.apply-modal-aside h2 {
  color: var(--white);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin: 0 0 0.75rem;
}

.apply-modal-aside > p {
  margin: 0 0 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.apply-modal-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.apply-modal-perks li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.apply-modal-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.apply-modal-body {
  padding: 1.5rem 1.5rem 1.25rem;
  overflow: auto;
  background: #1c1917;
}

.apply-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 0.9rem;
  margin-bottom: 1rem;
}

.apply-field-full {
  grid-column: 1 / -1;
}

.apply-modal .form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.apply-modal .form-control,
.apply-modal .form-select {
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: 0.9rem;
}

.apply-modal .form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.apply-modal .form-select option {
  color: var(--ink);
  background: var(--white);
}

.apply-modal .form-control:focus,
.apply-modal .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  outline: none;
}

.apply-modal .btn-brand {
  margin-top: 0.25rem;
}

.apply-modal-note {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

@media (max-width: 800px) {
  .apply-modal {
    max-height: 92vh;
  }

  .apply-modal-grid {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .apply-modal-aside {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 1.35rem 1.15rem;
  }

  .apply-modal-perks {
    display: none;
  }

  .apply-modal-body {
    padding: 1.15rem 1.15rem 1.25rem;
  }

  .apply-fields {
    grid-template-columns: 1fr;
  }
}

/* Disable old bootstrap card hover conflicts */
.card {
  border: none;
  box-shadow: none;
  background: transparent;
}

.page-prose a {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.page-prose a:hover {
  color: var(--brand);
}

/* ─── Quote wizard ─── */

.quote-progress {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  margin: 0 0 1.75rem;
  padding: 0.35rem 0 0.15rem;
}

.quote-progress-step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.quote-progress-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: calc(50% + 1rem);
  width: calc(100% - 2rem);
  height: 2px;
  background: var(--line-strong);
}

.quote-progress-step.is-done:not(:last-child)::after,
.quote-progress-step.is-current:not(:last-child)::after {
  background: var(--brand);
}

.quote-progress-dot {
  position: relative;
  z-index: 1;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--surface-raised);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.quote-progress-step.is-done .quote-progress-dot {
  background: var(--brand);
  border-color: var(--brand);
}

.quote-progress-step.is-current .quote-progress-dot {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  background: var(--white);
}

.quote-progress-step.is-current .quote-progress-dot::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand);
}

.quote-progress-label {
  margin-top: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.25;
}

.quote-progress-step.is-current .quote-progress-label,
.quote-progress-step.is-done .quote-progress-label {
  color: var(--ink);
}

.quote-screen {
  display: none;
}

.quote-screen.is-active {
  display: block;
}

.quote-screen-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 0 0 0.45rem;
}

.quote-screen-lead {
  margin: 0 0 1.35rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.quote-help {
  display: block;
  margin: 0.35rem 0 0;
  color: var(--ink-faint);
  font-size: 0.78rem;
}

.quote-help.is-warn {
  color: var(--brand-deep);
}

.quote-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.quote-select-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.quote-select-card:hover,
.quote-select-card:focus-within {
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(28, 25, 23, 0.08);
}

.quote-select-card.is-selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.quote-select-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quote-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(160deg, rgba(237, 138, 80, 0.16), transparent 55%),
    var(--surface-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
}

.quote-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-card-media i {
  font-size: 1.35rem;
}


.quote-card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: 100%;
  height: 100%;
}

.quote-card-body {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem 1rem;
}

.quote-card-mark {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--white);
}

.quote-select-card[data-type="checkbox"] .quote-card-mark {
  border-radius: 4px;
}

.quote-select-card.is-selected .quote-card-mark {
  background: var(--brand);
  border-color: var(--brand);
}

.quote-select-card.is-selected .quote-card-mark::after {
  content: "✓";
  font-size: 0.7rem;
  font-weight: 800;
}

.quote-card-body span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.quote-city {
  position: relative;
}

.quote-city-list {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  max-height: 240px;
  overflow: auto;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(28, 25, 23, 0.12);
}

.quote-city-list[hidden] {
  display: none;
}

.quote-city-list button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
}

.quote-city-list button small {
  display: block;
  color: var(--ink-faint);
  font-size: 0.75rem;
}

.quote-city-list button:hover,
.quote-city-list button.is-active {
  background: var(--brand-soft);
}

.quote-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 160px;
  padding: 1.5rem 1rem;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
  cursor: pointer;
  color: var(--ink-muted);
}

.quote-dropzone.is-dragover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.quote-dropzone i {
  font-size: 1.6rem;
  color: var(--brand);
}

.quote-dropzone strong {
  color: var(--brand-deep);
  text-decoration: underline;
}

.quote-file-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.quote-file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 0.85rem;
}

.quote-file-list button {
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-weight: 700;
}

.quote-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.quote-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.quote-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.quote-chip input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brand);
  flex-shrink: 0;
}

.quote-chip span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.quote-chip:hover,
.quote-chip:focus-within {
  border-color: var(--brand);
}

.quote-chip.is-selected {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 3px rgba(237, 138, 80, 0.08);
}

.quote-need-details {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.quote-need-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

@media (min-width: 768px) {
  .quote-chip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.quote-terms label {
  font-size: 0.9rem;
  color: var(--ink);
}

.quote-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.quote-nav .btn {
  min-width: 8.5rem;
}

.quote-notice {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--ink);
  font-size: 0.88rem;
}

.quote-bath-block + .quote-bath-block {
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .quote-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-cards.is-three {
    grid-template-columns: repeat(3, 1fr);
  }

  .quote-progress-label {
    font-size: 0.72rem;
  }
}

@media (min-width: 1100px) {
  .quote-cards.is-three {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .quote-progress-label {
    font-size: 0.6rem;
  }

  .quote-nav {
    flex-direction: column-reverse;
  }

  .quote-nav .btn {
    width: 100%;
    min-width: 0;
  }
}
