/* ============================================
   llobregatweb — Complete Stylesheet
   Inspired by latevaweb.com design language
   ============================================ */

/* --------------------------------------------
   1. Custom Properties
   -------------------------------------------- */
:root {
  --black:   #282828;
  --dark:    #3c3c3c;
  --white:   #f0f0f0;
  --red:     #d83533;
  --lime:    #d9d803;
  --teal:    #63b6b6;
  --blue:    #279ed9;
  --yellow:  #ffc300;
  --light-bg: #f7f4e9;
  --cream:   #faf3e0;
  --gray:    #707070;

  --font-sans:  'Inter', Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 0;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* Three.js canvas background */
canvas#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

/* Content wrapper sits above canvas */
.content {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------
   3. Typography
   -------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.2;
  color: var(--black);
}

h1 {
  font-size: 3.998rem;  /* ~64px */
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;    /* ~35px */
  line-height: 1.3;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.999rem;  /* ~32px */
  line-height: 1.4;
}

p {
  margin-bottom: 1rem;
}

.gold {
  color: var(--yellow);
}

/* --------------------------------------------
   4. Layout
   -------------------------------------------- */
.container {
  max-width: 1366px;
  padding: 0 30px;
  margin: 0 auto;
  width: 100%;
}

section {
  padding: 7rem 0;
}

/* Block backgrounds */
.block1 {
  background: var(--black);
  color: var(--white);
}

.block2 {
  background: #fff;
  color: var(--dark);
}

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

.block-white {
  background: #fff;
}

/* Legacy class kept for compatibility */
.section-alt {
  background: var(--white);
}

/* --------------------------------------------
   5. Navigation
   -------------------------------------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

nav.scrolled {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  transition: color 0.3s ease;
}

.nav-logo img {
  height: 42px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

nav.scrolled .nav-logo img {
  filter: brightness(0);
}

.nav-logo span {
  font-size: 1.3rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: -0.02em;
}

.nav-logo .highlight {
  color: var(--red);
}

nav.scrolled .nav-logo {
  color: var(--black);
}

nav.scrolled .nav-logo .highlight {
  color: var(--red);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  transition: color 0.3s ease;
  position: relative;
  letter-spacing: 0.01em;
}

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

nav.scrolled .nav-links a {
  color: var(--dark);
}

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

.nav-links a.active {
  color: var(--red);
  border-bottom: 2px solid var(--red);
}

.lang-switch {
  display: flex;
  gap: 0.25rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

nav.scrolled .lang-switch {
  border-left-color: rgba(60, 60, 60, 0.2);
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.6;
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  transition: var(--transition);
  font-family: var(--font-sans);
}

.lang-btn:hover {
  opacity: 1;
  color: var(--white);
}

.lang-btn.active {
  opacity: 1;
  color: var(--red);
}

nav.scrolled .lang-btn {
  color: var(--gray);
  opacity: 0.6;
}

nav.scrolled .lang-btn:hover {
  opacity: 1;
  color: var(--red);
}

nav.scrolled .lang-btn.active {
  color: var(--red);
  opacity: 1;
}

.mobile-toggle {
  display: none;
}

/* --------------------------------------------
   6. Hero
   -------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: var(--black);
  overflow: hidden;
  padding: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4.5rem;    /* 72px */
  color: var(--white);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--white);
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-logo {
  width: 320px;
  height: auto;
  margin: 0 auto 2.5rem;
  display: block;
}

/* --------------------------------------------
   7. Page Hero (subpages)
   -------------------------------------------- */
.page-hero {
  padding: 10rem 2rem 5rem;
  text-align: center;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--teal));
}

.page-hero h1 {
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.2rem;
  color: var(--white);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* --------------------------------------------
   8. Buttons
   -------------------------------------------- */
.btn {
  display: inline-block;
  padding: 1.3rem 3rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.2, 3, 0.4, 1);
  text-decoration: none;
  line-height: 1;
  text-align: center;
}

.btn:hover {
  transform: scale(1.05);
}

.btn-primary {
  background: var(--black);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border: 1px solid #fffcfc;
  color: #fffcfc;
}

.btn-ghost:hover {
  background: #fffcfc;
  color: var(--black);
}

.btn-red {
  background: var(--red);
  color: #fffcfc;
}

.btn-red:hover {
  background: var(--black);
  color: #fff;
}

/* Hero CTA — styled as primary button for backwards compat */
.hero-cta {
  display: inline-block;
  padding: 1.3rem 3rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.2, 3, 0.4, 1);
  text-decoration: none;
  line-height: 1;
  text-align: center;
  background: var(--black);
  color: #fff;
}

.hero-cta:hover {
  transform: scale(1.05);
  background: var(--red);
  color: #fff;
}

/* Override for hero-cta inside .hero (white bg needed) */
.hero .hero-cta {
  background: var(--red);
  color: #fff;
}

.hero .hero-cta:hover {
  background: #fff;
  color: var(--black);
}

/* --------------------------------------------
   9. Section Headers
   -------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--red);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.block1 .section-header h2 {
  color: var(--white);
}

.block1 .section-header h2::after {
  background: var(--yellow);
}

.block1 .section-header p {
  color: var(--white);
  opacity: 0.8;
}

/* --------------------------------------------
   10. Services
   -------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s ease;
  cursor: default;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  transition: all 0.4s ease;
}

.service-card--red::before { background: var(--red); }
.service-card--yellow::before { background: var(--yellow); }
.service-card--teal::before { background: var(--teal); }
.service-card--lime::before { background: var(--lime); }
.service-card--blue::before { background: var(--blue); }

.service-card:hover {
  transform: translateY(-4px);
}

.service-card--red:hover { background: var(--red); }
.service-card--yellow:hover { background: var(--yellow); }
.service-card--teal:hover { background: var(--teal); }
.service-card--lime:hover { background: var(--lime); }
.service-card--blue:hover { background: var(--blue); }

.service-card:hover * { color: #fff !important; }

.service-card h3 {
  font-size: 1.4rem;
  color: var(--black);
  margin-bottom: 0.75rem;
  font-weight: 500;
  transition: color 0.4s ease;
}

.service-card p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
  transition: color 0.4s ease;
}

/* --------------------------------------------
   11. Portfolio / Projects
   -------------------------------------------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-item {
  cursor: default;
  position: relative;
}

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 5px;
  z-index: 2;
  transition: width 0.4s ease;
}

.portfolio-item:hover::before {
  width: 100px;
}

.portfolio-item:nth-child(1)::before { background: var(--red); }
.portfolio-item:nth-child(2)::before { background: var(--yellow); }
.portfolio-item:nth-child(3)::before { background: var(--teal); }
.portfolio-item:nth-child(4)::before { background: var(--lime); }
.portfolio-item:nth-child(5)::before { background: var(--blue); }

.portfolio-img {
  aspect-ratio: 16 / 9;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.portfolio-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40, 40, 40, 0);
  transition: background 0.4s ease;
}

.portfolio-item:hover .portfolio-img::after {
  background: rgba(40, 40, 40, 0.2);
}

.portfolio-info {
  padding: 1.5rem 0 0;
  max-width: 454px;
}

.portfolio-info h3 {
  font-size: 1.3rem;
  color: var(--black);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.portfolio-info p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.portfolio-link {
  color: var(--red);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.portfolio-link:hover {
  color: var(--black);
}

/* --------------------------------------------
   12. Why Us (Per què nosaltres)
   -------------------------------------------- */
.perque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.perque-card {
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: var(--radius);
  transition: all 0.4s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.perque-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  transition: all 0.4s ease;
}

.perque-card--red::before { background: var(--red); }
.perque-card--yellow::before { background: var(--yellow); }
.perque-card--teal::before { background: var(--teal); }
.perque-card--lime::before { background: var(--lime); }
.perque-card--blue::before { background: var(--blue); }

.perque-card:hover {
  transform: translateY(-4px);
}

.perque-card--red:hover { background: var(--red); }
.perque-card--yellow:hover { background: var(--yellow); }
.perque-card--teal:hover { background: var(--teal); }
.perque-card--lime:hover { background: var(--lime); }
.perque-card--blue:hover { background: var(--blue); }

.perque-card:hover * { color: #fff !important; }

.perque-card h3 {
  font-size: 1.3rem;
  color: var(--black);
  margin-bottom: 0.75rem;
  font-weight: 500;
  transition: color 0.4s ease;
}

.perque-card p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
  transition: color 0.4s ease;
}

/* --------------------------------------------
   13. Social Proof / Testimonials
   -------------------------------------------- */
.social-proof {
  max-width: 900px;
  margin: 0 auto;
}

.social-proof h3 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--black);
  margin-bottom: 3rem;
  font-weight: 500;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius);
  position: relative;
  border-left: 4px solid var(--teal);
}

.testimonial::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--teal);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial p {
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-style: italic;
}

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

.testimonial-author span {
  color: var(--gray);
  font-weight: 400;
  font-size: 0.9rem;
}

/* --------------------------------------------
   14. Contact Form
   -------------------------------------------- */
.contact-form {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem;
  border-radius: var(--radius);
  border-top: 4px solid var(--red);
}

.contact-form .form-fields {
  display: block;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-row .form-group {
  flex: 1;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0;
  border: none;
  border-bottom: 2px solid #ddd;
  background: transparent;
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  outline: none;
  border-radius: 0;
}

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

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
  opacity: 0.5;
}

.form-submit {
  display: block;
  width: 100%;
  padding: 1.3rem 3rem;
  background: var(--black);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.2, 3, 0.4, 1);
  line-height: 1;
  text-align: center;
}

.form-submit:hover {
  background: var(--red);
  transform: scale(1.02);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-privacy {
  font-size: 0.8rem;
  color: var(--gray);
  text-align: center;
  margin-top: 1rem;
  opacity: 0.7;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
  color: var(--teal);
  font-size: 1.3rem;
  font-weight: 500;
}

.form-success.show {
  display: block;
}

/* --------------------------------------------
   15. Footer
   -------------------------------------------- */
footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

footer p {
  color: var(--white);
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 0.35rem;
}

footer .tagline {
  font-size: 1.1rem;
  opacity: 1;
  margin-bottom: 0.75rem;
  color: var(--white);
}

footer a {
  color: var(--white);
  transition: color 0.3s ease;
}

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

/* --------------------------------------------
   16. Generic Cards
   -------------------------------------------- */
.card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.4s ease;
}

.card:nth-child(1) { border-top: 4px solid var(--red); }
.card:nth-child(2) { border-top: 4px solid var(--yellow); }
.card:nth-child(3) { border-top: 4px solid var(--teal); }
.card:nth-child(4) { border-top: 4px solid var(--lime); }
.card:nth-child(5) { border-top: 4px solid var(--blue); }

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  font-size: 1.4rem;
  color: var(--black);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.card p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* --------------------------------------------
   17. Decorative Ovals (floating)
   -------------------------------------------- */
.oval {
  position: absolute;
  border-radius: 50%;
  animation: float 10s ease-in-out infinite;
  pointer-events: none;
}

.oval--red {
  width: 26px;
  height: 26px;
  background: var(--red);
}

.oval--lime {
  width: 20px;
  height: 20px;
  background: var(--lime);
}

.oval--teal {
  width: 18px;
  height: 18px;
  background: var(--teal);
}

.oval--yellow {
  width: 22px;
  height: 22px;
  background: var(--yellow);
}

.oval--blue {
  width: 16px;
  height: 16px;
  background: var(--blue);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-15px); }
}

.oval:nth-child(2) { animation-delay: -2s; }
.oval:nth-child(3) { animation-delay: -4s; }
.oval:nth-child(4) { animation-delay: -6s; }
.oval:nth-child(5) { animation-delay: -8s; }

/* --------------------------------------------
   17. Scroll offset for anchor links
   -------------------------------------------- */
#per-que,
#que-fem,
#serveis,
#portfolio,
#projectes,
#contacte,
#inici {
  scroll-margin-top: 100px;
}

/* --------------------------------------------
   18. Responsive — 1200px
   -------------------------------------------- */
@media (max-width: 1200px) {
  html {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .page-hero h1 {
    font-size: 3rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.9rem;
  }

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

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

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

/* --------------------------------------------
   19. Responsive — 992px (tablet / mobile nav)
   -------------------------------------------- */
@media (max-width: 992px) {
  nav {
    height: 70px;
    justify-content: space-between;
    padding: 0 1.5rem;
    background: var(--black);
  }

  nav.scrolled {
    background: #fff;
  }

  .nav-logo img {
    height: 32px;
    filter: brightness(0) invert(1);
  }

  nav.scrolled .nav-logo img {
    filter: brightness(0);
  }

  .nav-logo span {
    font-size: 1.1rem;
  }

  /* Hamburger */
  .mobile-toggle {
    display: block;
    position: relative;
    z-index: 1000;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 22px;
    padding: 0;
  }

  .mobile-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--white);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  nav.scrolled .mobile-toggle span {
    background: var(--black);
  }

  .mobile-toggle span:nth-child(1) { top: 0; }
  .mobile-toggle span:nth-child(2) { top: 9px; }
  .mobile-toggle span:nth-child(3) { top: 18px; }

  .mobile-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
  }

  .mobile-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
  }

  /* Mobile slide-in menu */
  .nav-right {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 999;
    padding: 2rem;
  }

  .nav-right.open {
    right: 0;
  }

  .nav-links a {
    color: var(--white) !important;
    font-size: 1.2rem;
  }

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

  .lang-switch {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 1rem;
  }

  .lang-btn {
    color: var(--white) !important;
    font-size: 0.9rem;
  }

  .hero-logo {
    width: 200px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .page-hero {
    padding: 8rem 1.5rem 4rem;
  }

  .page-hero h1 {
    font-size: 2.4rem;
  }

  section {
    padding: 5rem 0;
  }

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

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

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

  .container {
    padding: 0 24px;
  }
}

/* --------------------------------------------
   20. Responsive — 768px
   -------------------------------------------- */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  section {
    padding: 4rem 0;
  }

  .hero {
    min-height: 100vh;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-logo {
    width: 180px;
  }

  .page-hero {
    padding: 7rem 1.5rem 3rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .page-hero p {
    font-size: 1.1rem;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.4rem;
  }

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

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

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

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

  .section-header h2 {
    font-size: 1.7rem;
  }

  .section-header p {
    font-size: 1.05rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

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

  .container {
    padding: 0 20px;
  }
}

/* --------------------------------------------
   21. Responsive — 576px (mobile)
   -------------------------------------------- */
@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-logo {
    width: 160px;
  }

  .hero-cta,
  .btn,
  .form-submit {
    width: 100%;
    text-align: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

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

  .perque-card {
    padding: 2rem 1.5rem;
  }

  .portfolio-info {
    padding: 1.25rem;
  }

  .contact-form {
    padding: 1.5rem 1.25rem;
  }

  footer {
    padding: 3rem 0;
  }

  .container {
    padding: 0 16px;
  }
}
