/* ============================================
   IAB House — Style Sheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #F6A500;
  --primary-dark: #d48f00;
  --primary-light: #f6a50033;
  --dark: #1a1a2e;
  --dark-card: #22223a;
  --white: #ffffff;
  --cream: #fdf8f0;
  --text: #333333;
  --text-light: #666666;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --transition: 0.3s ease;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

/* ---------- Reset & Base ---------- */
*,
*::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-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section ---------- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-tag-light {
  color: var(--primary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

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

.section-title-light {
  color: var(--white);
}

.section-desc {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
}

.section-desc-light {
  color: rgba(255, 255, 255, 0.7);
}

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

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(246, 165, 0, 0.35);
}

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

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

.btn-full {
  width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

.header-logo {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
}

.header-logo:hover {
  background: rgba(255, 255, 255, 1);
}

.header-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 4px 0;
}

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

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

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

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

.header.scrolled .nav-link:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
}

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

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

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

.header.scrolled .hamburger span {
  background: var(--dark);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger.active span {
  background: var(--dark);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 860px;
}

.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 20px;
  padding: 8px 20px;
  border: 1px solid rgba(246, 165, 0, 0.4);
  border-radius: 50px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

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

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-badges {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
}

.hero-badge svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ============================================
   ABOUT / CHI SIAMO
   ============================================ */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-image-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.about-badge-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.about-badge-text {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.about-content .section-tag {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 16px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #eee;
}

.about-stat {
  text-align: center;
}

.about-stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about-stat-suffix {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.about-stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

/* ============================================
   SERVICES V2
   ============================================ */
.services {
  background: var(--cream);
}

.service-card-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  transition: var(--transition);
}

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

.service-card-v2.reverse {
  direction: rtl;
}

.service-card-v2.reverse > * {
  direction: ltr;
}

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

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

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

.service-card-body {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-num {
  font-size: 64px;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.service-card-body h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.service-card-body p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
}

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

.service-link:hover {
  color: var(--primary-dark);
}

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

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
  background: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

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

.portfolio-card:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.9) 0%, rgba(26, 26, 46, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.portfolio-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 8px;
}

.portfolio-overlay h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.portfolio-overlay p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* ============================================
   VANTAGGI / ADVANTAGES
   ============================================ */
.advantages {
  background: var(--dark);
  padding: 100px 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.advantage-card {
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 165, 0, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.advantage-icon {
  width: 64px;
  height: 64px;
  background: rgba(246, 165, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.advantage-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ============================================
   CONTATTI / CONTACT
   ============================================ */
.contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
}

.contact-info-item:not(:last-child) {
  border-bottom: 1px solid #f0f0f0;
}

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

.contact-info-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

.contact-info-item a {
  color: var(--primary);
}

.contact-info-item a:hover {
  color: var(--primary-dark);
}

.contact-social h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.contact-social-links {
  display: flex;
  gap: 12px;
}

.contact-social-links a {
  width: 40px;
  height: 40px;
  background: var(--dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.contact-social-links a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  background: #f8f8f8;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.contact-form .btn {
  margin-top: 8px;
  font-size: 16px;
  padding: 16px 32px;
  border: none;
}

.contact-form .btn svg {
  flex-shrink: 0;
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
  background: var(--white);
  padding: 80px 0;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.partner-item {
  font-size: 18px;
  font-weight: 700;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 20px 32px;
  border: 2px solid #eee;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.partner-item:hover {
  color: var(--primary);
  border-color: var(--primary-light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

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

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-col ul li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: var(--primary);
  font-weight: 600;
}

.footer-bottom a:hover {
  color: var(--primary-dark);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  padding: 20px 0;
  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-text p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-banner-text a:hover {
  color: var(--primary-dark);
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  font-size: 14px;
  border-radius: 50px;
}

.cookie-btn.btn-outline {
  color: var(--text);
  border-color: var(--text-light);
}

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

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-btn {
    flex: 1;
    max-width: 160px;
  }
}

/* ============================================
   COOKIE POLICY PAGE
   ============================================ */
.policy-page {
  padding: 140px 0 80px;
  background: var(--white);
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.policy-content .last-updated {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 40px;
  display: block;
}

.policy-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--dark);
  margin: 40px 0 16px;
}

.policy-content p,
.policy-content ul {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.policy-content ul {
  padding-left: 24px;
  list-style: disc;
}

.policy-content li {
  margin-bottom: 8px;
}

.policy-content a {
  color: var(--primary);
  font-weight: 600;
}

.policy-content a:hover {
  color: var(--primary-dark);
}

.policy-back {
  margin-top: 48px;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.reveal-left {
  transform: translateX(-40px);
}

.reveal.reveal-right {
  transform: translateX(40px);
}

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

/* ============================================
   RESPONSIVE — max-width: 992px
   ============================================ */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    height: 360px;
  }

  .service-card-v2 {
    grid-template-columns: 1fr;
  }

  .service-card-v2.reverse {
    direction: ltr;
  }

  .service-card-img {
    min-height: 240px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ============================================
   RESPONSIVE — max-width: 768px
   ============================================ */
@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Mobile Nav */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav.open {
    right: 0;
  }

  .nav-link {
    color: var(--text) !important;
    font-size: 18px;
  }

  .nav-link:hover {
    color: var(--primary) !important;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero-content {
    padding: 100px 16px 60px;
  }

  .hero-badges {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

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

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  /* About */
  .about-stats {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

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

  .portfolio-overlay {
    opacity: 1;
  }

  /* Advantages */
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 24px;
  }

  /* Partners */
  .partners-grid {
    gap: 16px;
  }

  .partner-item {
    font-size: 14px;
    padding: 14px 20px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Service cards */
  .service-card-body {
    padding: 32px 24px;
  }

  .service-card-num {
    font-size: 48px;
  }
}

/* ============================================
   RESPONSIVE — max-width: 480px
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .section-title {
    font-size: 26px;
  }

  .about-image img {
    height: 260px;
  }
}
