/* =============================================
   J-BrFood — Design System & Styles
   Fabricante & Distribuidora de Alimentos
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary: #C0392B;
  --primary-dark: #922B21;
  --accent: #E67E22;
  --charcoal: #1C1C1C;
  --dark-gray: #4A4A4A;
  --mid-gray: #8B8B8B;
  --light-gray: #F2F0ED;
  --off-white: #FFF9F5;
  --white: #FFFFFF;
  --cream: #FDF6EC;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1200px;
  --nav-height: 80px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);

  --radius: 8px;
  --radius-lg: 16px;

  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--off-white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: clamp(1rem, 2vw, 1.2rem);
}

p {
  color: var(--dark-gray);
  margin-bottom: 1rem;
  text-align: left;
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

p:last-child {
  margin-bottom: 0;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--mid-gray);
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
}

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

/* ---------- Section ---------- */
.section {
  padding: 6rem 0;
}

.section--gray {
  background-color: var(--light-gray);
}

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

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

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark p {
  color: rgba(255,255,255,0.8);
}

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

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 2rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--transition);
  background: transparent;
}

.nav--scrolled {
  background: rgba(255, 249, 245, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.nav--hero .nav__logo,
.nav--hero .nav__link {
  color: var(--white);
}

.nav--hero .nav__link::after {
  background-color: var(--white);
}

.nav--hero.nav--scrolled .nav__logo,
.nav--hero.nav--scrolled .nav__link {
  color: var(--charcoal);
}

.nav--hero.nav--scrolled .nav__link::after {
  background-color: var(--primary);
}

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

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.5px;
  transition: color var(--transition);
}

.nav__logo span {
  color: var(--primary);
}

.nav__logo-img {
  height: 60px;
  width: auto;
  display: block;
  transition: filter var(--transition);
}

.nav--hero .nav__logo-img {
  filter: brightness(0) invert(1);
}

.nav--hero.nav--scrolled .nav__logo-img {
  filter: none;
}

.nav--scrolled .nav__logo {
  color: var(--charcoal);
}

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

.nav__link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--primary);
}

.nav__link--cta {
  background-color: var(--primary);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background-color var(--transition), transform var(--transition);
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background-color: var(--primary-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.nav__hamburger span {
  width: 28px;
  height: 2px;
  background-color: var(--charcoal);
  transition: all var(--transition);
  display: block;
}

.nav--hero .nav__hamburger span {
  background-color: var(--white);
}

.nav--hero.nav--scrolled .nav__hamburger span {
  background-color: var(--charcoal);
}

.nav__hamburger--active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
  background-color: var(--white) !important;
}

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

.nav__hamburger--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
  background-color: var(--white) !important;
}

/* Mobile menu overlay */
.nav__overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(28, 28, 28, 0.97);
  z-index: 999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav__overlay--active {
  display: flex;
  opacity: 1;
}

.nav__overlay-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.nav__overlay-menu .nav__link {
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 600;
}

.nav__overlay-menu .nav__link::after {
  background-color: var(--primary);
}

.nav__overlay-menu .nav__link--cta {
  font-size: 1.2rem;
  padding: 0.8rem 2rem;
}

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

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(28, 28, 28, 0.5) 0%,
    rgba(28, 28, 28, 0.7) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero__content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero__content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ---------- Page Header ---------- */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
  background-color: var(--charcoal);
  position: relative;
}

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

.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 550px;
  margin: 0 auto;
}

.page-header .section-label {
  color: var(--accent);
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  padding: 2.5rem 0;
  background-color: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--dark-gray);
  font-weight: 500;
}

.trust-bar__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-bar__icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.btn--primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}

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

.btn--white {
  background: var(--white);
  color: var(--charcoal);
}

.btn--white:hover {
  background: var(--light-gray);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.btn--accent {
  background-color: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background-color: #CF6C10;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- Grid System ---------- */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

.grid--2-1 {
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
}

.grid--1-2 {
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 4rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.card__icon--accent {
  background-color: #FEF0DB;
}

.card__icon--accent svg {
  color: var(--accent);
}

.card h3 {
  margin-bottom: 0.75rem;
}

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

/* Product card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.product-card__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.product-card__body {
  padding: 1.75rem;
}

.product-card__body h3 {
  margin-bottom: 0.5rem;
}

.product-card__body p {
  font-size: 0.9rem;
  color: var(--mid-gray);
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: 1rem;
  transition: gap var(--transition);
}

.product-card__link:hover {
  gap: 0.75rem;
}

.product-card__link svg {
  width: 16px;
  height: 16px;
}

/* ---------- Service Items (alternados) ---------- */
.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.service-item:nth-child(even) {
  direction: rtl;
}

.service-item:nth-child(even) > * {
  direction: ltr;
}

.service-item__img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.service-item__content {
  padding: 1rem 0;
}

.service-item__content h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 1rem;
}

.service-item__content p {
  margin-bottom: 1.5rem;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats__item h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.section--dark .stats__item h3 {
  color: var(--accent);
}

.stats__item p {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Process Steps ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.process__step {
  text-align: center;
  position: relative;
  padding: 2rem 1rem;
}

.process__number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.process__step h4 {
  margin-bottom: 0.5rem;
}

.process__step p {
  font-size: 0.9rem;
}

/* Connector line between steps */
.process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -1rem;
  width: calc(100% - 60px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: translateX(50%);
  z-index: 0;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 5rem 0;
  background-color: var(--charcoal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 57, 43, 0.15), transparent 70%);
}

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

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}

/* ---------- Split Section ---------- */
.split-img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-content h2 {
  margin-bottom: 1.25rem;
}

.split-content p {
  margin-bottom: 1rem;
}

.split-content .btn {
  margin-top: 1rem;
  align-self: flex-start;
}

/* ---------- Certifications ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.cert-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cert-item__icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.cert-item__icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.cert-item h4 {
  margin-bottom: 0.4rem;
}

.cert-item p {
  font-size: 0.85rem;
  color: var(--mid-gray);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform var(--transition);
}

.gallery img:hover {
  transform: scale(1.02);
}

/* ---------- Advantages ---------- */
.advantage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--primary);
}

.advantage-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.advantage-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.advantage-card h3 {
  margin-bottom: 0.75rem;
}

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

/* ---------- Forms ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

.form__group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.form__group input,
.form__group textarea,
.form__group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  background-color: var(--white);
  color: var(--charcoal);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--mid-gray);
}

.form__group textarea {
  resize: vertical;
  min-height: 140px;
}

.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='%234A4A4A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.contact-info__text h4 {
  margin-bottom: 0.2rem;
}

.contact-info__text p {
  font-size: 0.9rem;
  color: var(--mid-gray);
}

.map-placeholder {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  font-size: 0.95rem;
  margin-top: 2rem;
}

.map-embed {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  background-color: var(--light-gray);
  overflow: hidden;
  margin-top: 2rem;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand h3 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.footer__brand h3 span {
  color: var(--primary);
}

.footer__logo-img {
  height: 80px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .process__step::after {
    display: none;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .section {
    padding: 4rem 0;
  }

  .nav__menu {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    min-height: 90vh;
  }

  .grid--2,
  .grid--3,
  .grid--2-1,
  .grid--1-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }

  .service-item:nth-child(even) {
    direction: ltr;
  }

  .service-item__img {
    height: 280px;
  }

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

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

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

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .trust-bar__inner {
    gap: 1.5rem;
  }

  .split-img {
    min-height: 300px;
  }

  .page-header {
    padding: 8rem 0 3rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 3rem 0;
  }

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

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero__buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

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

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

  .gallery img {
    height: 220px;
  }

  .trust-bar__inner {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-banner {
    padding: 3.5rem 0;
  }

  .btn {
    padding: 0.8rem 1.6rem;
    font-size: 0.85rem;
  }
}
