/* ===================================================
   BORTEX BORDADOS JUCHITÁN — styles.css
   Mobile-First, Responsive, Premium Design
   =================================================== */

/* ── Google Fonts ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,500&display=swap');

/* ── CSS Custom Properties ────────────────────────── */
:root {
  --red: #e81c2e;
  --red-dark: #c0111f;
  --red-light: #ff4455;
  --black: #111111;
  --gray-dark: #333333;
  --gray: #666666;
  --gray-light: #f5f5f5;
  --white: #ffffff;

  --ff-body: 'Outfit', sans-serif;
  --ff-display: 'Playfair Display', serif;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, .12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .18);
  --radius: 10px;
  --radius-lg: 18px;

  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --header-h: 70px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--gray-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

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

/* ── Typography ───────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--ff-display);
  color: var(--black);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  font-size: 1rem;
  color: var(--gray);
}

/* ── Utility Classes ──────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  max-width: 640px;
  margin: .75rem auto 0;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 28, 46, .35);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

/* ── HEADER ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo container — image + brand text side by side */
.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-container .logo-img {
  display: block;
  height: 44px;
  /* mobile-first */
  width: auto;
  max-width: 180px;
  object-fit: contain;
  mix-blend-mode: multiply;
  /* merges white bg with white header */
  flex-shrink: 0;
}

.logo-container .logo-text {
  font-family: var(--ff-body);
  font-size: .82rem;
  /* mobile-first: compact */
  font-weight: 700;
  color: var(--black);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
  /* prevents overflow on small screens */
}

/* Desktop: larger logo + text */
@media (min-width: 600px) {
  .logo-container {
    gap: 12px;
  }

  .logo-container .logo-img {
    height: 50px;
  }

  .logo-container .logo-text {
    font-size: 1rem;
    max-width: none;
  }
}

/* Legacy .logo (used in footer and mobile-nav brand) */
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--ff-display);
  font-size: 1.25rem;
  color: var(--black);
  font-weight: 700;
}

.logo svg {
  flex-shrink: 0;
}

/* Nav */
.site-nav {
  display: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.site-nav a {
  padding: .45rem .9rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: .92rem;
  color: var(--gray-dark);
  transition: var(--transition);
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: .9rem;
  right: .9rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--red);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.site-nav .btn {
  padding: .5rem 1.25rem;
  font-size: .88rem;
  border-radius: 50px;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: var(--transition);
}

.hamburger:hover {
  background: var(--gray-light);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 999;
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: .5rem;
  overflow-y: auto;
  animation: slideDown .25s ease;
}

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

.mobile-nav a {
  display: block;
  padding: .9rem 1rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-dark);
  border-radius: var(--radius);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--red);
  background: rgba(232, 28, 46, .05);
}

.mobile-nav .btn {
  margin-top: 1rem;
  justify-content: center;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

/* ── FOOTER ───────────────────────────────────────── */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* mobile: stacked */
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

/* 4-column layout on large screens */
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  }
}

/* Footer logo — same flex pattern as header, adapted for dark bg */
.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  display: block;
  height: 60px;
  width: auto;
  object-fit: contain;
  /* white bg blends on black: use screen instead of multiply */
  mix-blend-mode: screen;
  flex-shrink: 0;
}

.footer-logo-text {
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.footer-brand p {
  margin-top: 0;
  font-size: .92rem;
  color: rgba(255, 255, 255, .65);
  max-width: 300px;
  line-height: 1.65;
}

.footer-col h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-family: var(--ff-body);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col h4 svg {
  color: var(--red);
  flex-shrink: 0;
}

/* Business hours list */
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
  padding: .45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-size: .88rem;
  color: rgba(255, 255, 255, .75);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list .day {
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  white-space: nowrap;
}

.hours-list .time {
  color: rgba(255, 255, 255, .65);
  text-align: right;
}

.hours-list .closed-day .time {
  color: var(--red);
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: .6rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, .65);
  font-size: .9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--red);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .9rem;
  font-size: .9rem;
  color: rgba(255, 255, 255, .75);
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--red);
  margin-top: 2px;
}

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

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

.social-links {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--red);
  transform: translateY(-3px);
}

.footer-map {
  border-radius: 8px;
  overflow: hidden;
  margin-top: .5rem;
}

.footer-map iframe {
  width: 100%;
  height: 180px;
  border: none;
  display: block;
}

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: .82rem;
  color: rgba(255, 255, 255, .4);
}

.footer-bottom span {
  color: var(--red);
}

/* ── SECTIONS ─────────────────────────────────────── */
section {
  padding: 5rem 0;
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/portada.webp');
  background-size: cover;
  background-position: center;
  opacity: .45;
  transition: transform 8s ease;
}

.hero:hover .hero-bg {
  transform: scale(1.04);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 700px;
  padding: 3rem 0;
  animation: fadeUp .8s ease both;
}

.hero-content .section-label {
  color: rgba(255, 255, 255, .7);
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-content h1 span {
  color: var(--red-light);
}

.hero-content p {
  color: rgba(255, 255, 255, .8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255, 255, 255, .85);
  font-size: .88rem;
}

.hero-badge svg {
  color: var(--red-light);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* ── INSTAGRAM GRID ───────────────────────────────── */
.instagram-section {
  background: var(--gray-light);
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: .75rem;
}

.ig-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.ig-item:first-child {
  grid-column: 1 / 3;
  aspect-ratio: 2/1;
}

.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.ig-item:hover img {
  transform: scale(1.08);
}

.ig-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .6) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.ig-item:hover .ig-overlay {
  opacity: 1;
}

.ig-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
}

.ig-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── SERVICES GRID ────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, .06);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

.service-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--red);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 50px;
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-body h3 {
  margin-bottom: .5rem;
}

.service-card-body p {
  font-size: .9rem;
  margin-bottom: 1rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.service-tag {
  background: var(--gray-light);
  color: var(--gray-dark);
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 50px;
}

/* ── QUOTER / COTIZADOR ───────────────────────────── */
.cotizador-section {
  background: var(--gray-light);
}

.cotizador-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.5rem 2rem;
  max-width: 780px;
  margin-inline: auto;
}

.cotizador-wrapper h2 {
  margin-bottom: .5rem;
}

.cotizador-wrapper>p {
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group label {
  font-weight: 600;
  font-size: .88rem;
  color: var(--gray-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .8rem 1rem;
  border: 1.5px solid rgba(0, 0, 0, .12);
  border-radius: var(--radius);
  font-size: .95rem;
  background: var(--white);
  color: var(--black);
  transition: border-color var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

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

.file-upload-label {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  border: 1.5px dashed rgba(0, 0, 0, .2);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .9rem;
  color: var(--gray);
  transition: var(--transition);
}

.file-upload-label:hover {
  border-color: var(--red);
  color: var(--red);
}

.file-upload-label input {
  display: none;
}

.file-upload-label svg {
  flex-shrink: 0;
}

.sub-options {
  display: none;
}

.sub-options.visible {
  display: contents;
}

.form-submit-row {
  margin-top: .5rem;
}

.form-submit-row .btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
  animation: fadeUp .5s ease;
}

.form-success svg {
  color: var(--red);
  margin-inline: auto;
  margin-bottom: 1rem;
}

.form-success h3 {
  color: var(--black);
  margin-bottom: .5rem;
}

/* ── ABOUT PAGE ───────────────────────────────────── */
.about-hero {
  background: var(--black);
  color: var(--white);
  padding: 5rem 0 3rem;
  text-align: center;
}

.about-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.about-hero p {
  color: rgba(255, 255, 255, .7);
  max-width: 600px;
  margin-inline: auto;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--red);
  color: var(--white);
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
}

.about-text .section-label {
  margin-bottom: .5rem;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.value-item {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.value-item-icon {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.value-item h4 {
  font-size: .9rem;
  color: var(--black);
  margin-bottom: .2rem;
}

.value-item p {
  font-size: .8rem;
}

.stats-bar {
  background: var(--red);
  color: var(--white);
  padding: 3rem 0;
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: .25rem;
}

.stat-item p {
  color: rgba(255, 255, 255, .8);
  font-size: .9rem;
}

/* ── BLOG ─────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, .06);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  height: 220px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .78rem;
  color: var(--gray);
  margin-bottom: .75rem;
}

.blog-card-meta .tag {
  background: rgba(232, 28, 46, .1);
  color: var(--red);
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 50px;
}

.blog-card-body h3 {
  margin-bottom: .6rem;
  font-size: 1.2rem;
}

.blog-card-body p {
  font-size: .9rem;
  flex-grow: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--red);
  font-weight: 700;
  font-size: .9rem;
  margin-top: 1.25rem;
  transition: var(--transition);
}

.blog-card-link:hover {
  gap: .75rem;
}

.blog-card-link svg {
  transition: transform var(--transition);
}

.blog-card-link:hover svg {
  transform: translateX(4px);
}

/* ── BLOG POST ────────────────────────────────────── */
.blog-post-hero {
  background: var(--black);
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.blog-post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  opacity: .25;
}

.blog-post-hero .container {
  position: relative;
  z-index: 1;
}

.blog-post-hero .section-label {
  color: rgba(255, 255, 255, .7);
}

.blog-post-hero h1 {
  color: var(--white);
  max-width: 760px;
  margin-bottom: 1rem;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  color: rgba(255, 255, 255, .65);
  font-size: .88rem;
}

.blog-post-meta .tag-red {
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 50px;
  font-size: .75rem;
}

.blog-post-content {
  max-width: 780px;
  margin-inline: auto;
  padding: 4rem 1.25rem;
}

.blog-post-content h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.6rem;
}

.blog-post-content h3 {
  margin: 2rem 0 .75rem;
  font-size: 1.2rem;
}

.blog-post-content p {
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
}

.blog-post-content li {
  margin-bottom: .5rem;
  color: var(--gray);
  line-height: 1.7;
}

.blog-post-quote {
  border-left: 4px solid var(--red);
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: rgba(232, 28, 46, .04);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--gray-dark);
  font-size: 1.05rem;
}

.blog-post-img-full {
  margin: 2rem -1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.blog-post-img-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--red);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.back-to-blog:hover {
  gap: .8rem;
}

/* ── BREADCRUMBS ──────────────────────────────────── */
.breadcrumbs {
  padding: .75rem 0;
  background: var(--gray-light);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.breadcrumbs nav {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--gray);
}

.breadcrumbs nav a {
  color: var(--gray);
  transition: var(--transition);
}

.breadcrumbs nav a:hover {
  color: var(--red);
}

.breadcrumbs nav .sep {
  opacity: .5;
}

.breadcrumbs nav .current {
  color: var(--gray-dark);
  font-weight: 500;
}

/* ── PAGE HERO ────────────────────────────────────── */
.page-hero {
  background: var(--black);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: .75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, .65);
  max-width: 560px;
  margin-inline: auto;
}

/* ── CTA BANNER ───────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, .8);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta-banner .btn-outline-white {
  border-width: 2px;
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-group.full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: .5rem;
  }

  .hamburger {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-layout {
    grid-template-columns: 1fr 1fr;
  }

  .stats-bar .container {
    grid-template-columns: repeat(4, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ig-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ig-item:first-child {
    grid-column: 1 / 2;
    aspect-ratio: 1;
  }

  .ig-item:nth-child(2) {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
    aspect-ratio: auto;
  }
}

@media (min-width: 1200px) {
  section {
    padding: 6rem 0;
  }

  .services-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ── SCROLL ANIMATIONS ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

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

/* ── LOADER ───────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s ease, visibility .4s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-light);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}