/* ===== CSS Variables ===== */
:root {
  --primary: #8B1A1A;
  --primary-dark: #6B1010;
  --gold: #D4A017;
  --gold-light: #E8C44A;
  --cream: #FFF8F0;
  --royal-blue: #1B2A4A;
  --text-dark: #1a1a2e;
  --text-light: #f5f5f5;
  --text-muted: #888;
  --bg-dark: #0D0D0D;
  --bg-light: #FFF8F0;
  --bg-card: #fff;
  --bg-card-dark: #1a1a1a;
  --border-light: #e8e4df;
  --border-gold: rgba(212,160,23,.25);
  --shadow: 0 15px 45px rgba(0,0,0,.08);
  --shadow-dark: 0 15px 45px rgba(0,0,0,.25);
  --shadow-gold: 0 10px 30px rgba(212,160,23,.25);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: .4s cubic-bezier(.25,.46,.45,.94);
  --transition-slow: .7s cubic-bezier(.25,.46,.45,.94);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --nav-height: 80px;
  --container: 1200px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

::selection { background: var(--gold); color: var(--text-dark); }

/* ===== Decorative Section Divider ===== */
.section-header::after {
  content: ''; display: block; width: 80px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--gold));
  margin: 16px auto 0; border-radius: 2px;
}
.dark-section .section-header::after {
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--gold));
}

/* ===== Container ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Section Padding ===== */
.section-padding { padding: 120px 0; }
.dark-section { background: var(--bg-dark); color: var(--text-light); }

/* ===== Preloader ===== */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--bg-dark); display: flex; flex-direction: column;
  align-items: center; justify-content: center; transition: opacity .6s, visibility .6s;
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-text {
  font-family: var(--font-serif); font-size: 2rem; letter-spacing: 8px;
  color: var(--gold); margin-bottom: 24px; font-weight: 600;
}
.loader-bar { width: 200px; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.loader-bar span {
  display: block; height: 100%; width: 0;
  background: var(--gold); border-radius: 2px;
  animation: loaderAnim 1.8s ease-in-out forwards;
}
@keyframes loaderAnim { 0% { width: 0; } 50% { width: 60%; } 100% { width: 100%; } }

/* ===== Navigation ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height); transition: all var(--transition);
  background: transparent;
}
#navbar.scrolled { background: rgba(13,13,13,.95); backdrop-filter: blur(20px); box-shadow: 0 2px 30px rgba(0,0,0,.2); }
.nav-container {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.nav-logo {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
  letter-spacing: 4px; color: var(--text-light); transition: color var(--transition);
}
.nav-logo:hover { color: var(--gold); }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: .82rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,.7); transition: color var(--transition); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text-light); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.btn-nav {
  padding: 10px 24px; background: var(--primary); color: var(--text-light);
  border-radius: 50px; font-size: .8rem; font-weight: 600; letter-spacing: .5px;
  transition: all var(--transition);
}
.btn-nav:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; padding: 4px; }
.hamburger span {
  width: 24px; height: 2px; background: var(--text-light); border-radius: 2px;
  transition: all var(--transition);
}
.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); }

/* ===== Hero Section ===== */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.65) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 0 24px;
}
.hero-subtitle {
  font-family: var(--font-serif); font-size: 1.1rem; color: var(--gold);
  letter-spacing: 4px; text-transform: uppercase; margin-bottom: 16px; font-weight: 400;
}
.hero-title {
  font-family: var(--font-serif); font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700; color: var(--text-light); line-height: 1.12; margin-bottom: 24px;
}
.hero-desc {
  font-size: 1.1rem; color: rgba(255,255,255,.7); max-width: 600px; margin: 0 auto 40px;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 36px; border-radius: 50px; font-size: .9rem;
  font-weight: 600; letter-spacing: .5px; transition: all var(--transition);
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--primary); color: var(--text-light); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn-outline {
  background: transparent; color: var(--text-light); border: 2px solid rgba(255,255,255,.3);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-lg { padding: 18px 48px; font-size: 1rem; }
.btn-submit { padding: 16px 40px; width: 100%; justify-content: center; }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
}
.scroll-indicator span { font-size: .7rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.5); }
.scroll-dot {
  width: 2px; height: 24px; background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: .3; } }

/* ===== Section Header ===== */
.section-header { text-align: center; max-width: 650px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block; padding: 6px 20px; background: rgba(139,26,26,.08);
  color: var(--primary); border-radius: 50px; font-size: .78rem;
  font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px;
}
.dark-section .section-tag {
  background: rgba(212,160,23,.12);
  color: var(--gold);
}
.section-title {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 16px;
}
.section-desc { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; }
.section-title.light { color: var(--text-light); }
.dark-section .section-desc { color: rgba(255,255,255,.5); }

/* ===== About Section ===== */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image { position: relative; }
.about-image img {
  width: 100%; height: 600px; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-exp-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--primary); color: var(--text-light); padding: 24px 32px;
  border-radius: var(--radius); text-align: center;
  box-shadow: 0 10px 30px rgba(139,26,26,.35);
}
.exp-number { display: block; font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.exp-text { font-size: .8rem; font-weight: 500; letter-spacing: 1px; }
.about-text { color: var(--text-muted); margin-bottom: 16px; font-size: 1rem; line-height: 1.8; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin: 32px 0; }
.stat-item { text-align: center; padding: 20px; background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-number { display: block; font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; color: var(--gold); }
.stat-label { font-size: .8rem; color: var(--text-muted); font-weight: 500; }

/* ===== Portfolio Section ===== */
.portfolio-categories {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 24px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.6);
  border-radius: 50px; font-size: .82rem; font-weight: 500; letter-spacing: .5px;
  transition: all var(--transition);
}
.filter-btn:hover { background: rgba(255,255,255,.1); color: var(--text-light); }
.filter-btn.active { background: var(--gold); color: var(--text-dark); }

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}
.portfolio-item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  cursor: pointer; grid-column: span 1;
}
.portfolio-item:nth-child(1) { grid-row: span 2; grid-column: span 2; }
.portfolio-item:nth-child(3) { grid-row: span 2; }
.portfolio-item:nth-child(4) { grid-row: span 1; }
.portfolio-item:nth-child(5) { grid-column: span 2; grid-row: span 1; }
.portfolio-item:nth-child(6) { grid-row: span 2; }
.portfolio-item:nth-child(7) { grid-column: span 1; grid-row: span 2; }
.portfolio-item:nth-child(8) { grid-column: span 1; grid-row: span 1; }
.portfolio-item:nth-child(9) { grid-column: span 2; grid-row: span 1; }
.portfolio-item:nth-child(10) { grid-column: span 1; grid-row: span 2; }
.portfolio-item:nth-child(11) { grid-column: span 1; grid-row: span 1; }
.portfolio-item:nth-child(12) { grid-column: span 2; grid-row: span 1; }

.portfolio-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow);
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; opacity: 0; transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3 {
  font-family: var(--font-serif); font-size: 1.4rem; color: var(--text-light);
  margin-bottom: 4px;
}
.portfolio-overlay span {
  font-size: .8rem; color: var(--gold); font-weight: 500; letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== Services Section ===== */
.services { background: var(--cream); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.service-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 40px 32px;
  box-shadow: var(--shadow); transition: all var(--transition);
  border: 1px solid var(--border-light); display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-dark);
  border-color: var(--gold);
}
.service-icon {
  width: 60px; height: 60px; background: rgba(139,26,26,.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.service-icon i { font-size: 1.5rem; color: var(--primary); }
.service-title { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 12px; font-weight: 600; }
.service-desc { color: var(--text-muted); font-size: .92rem; line-height: 1.7; margin-bottom: 20px; flex: 1; }
.service-features { margin-bottom: 20px; }
.service-features li {
  padding: 6px 0; font-size: .88rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 10px;
}
.service-features li i { color: var(--gold); font-size: .8rem; }
.service-price {
  font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700;
  color: var(--primary); margin-bottom: 20px;
}

/* ===== Testimonials Section ===== */
.testimonials-slider { overflow: hidden; position: relative; }
.testimonial-track {
  display: flex; transition: transform var(--transition-slow); gap: 30px;
}
.testimonial-card {
  min-width: 100%; padding: 48px 40px; background: var(--bg-card-dark);
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,.06);
}
.testimonial-stars { margin-bottom: 20px; }
.testimonial-stars i { color: var(--gold); margin-right: 4px; }
.testimonial-text {
  font-family: var(--font-serif); font-size: 1.25rem; font-style: italic;
  color: rgba(255,255,255,.85); line-height: 1.8; margin-bottom: 28px;
}
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-author img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
}
.testimonial-author strong { display: block; color: var(--text-light); font-size: 1rem; }
.testimonial-author span { font-size: .82rem; color: var(--gold); }
.slider-controls {
  display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px;
}
.slider-btn {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.08);
  color: var(--text-light); display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.slider-btn:hover { background: var(--gold); color: var(--text-dark); }
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2);
  transition: all var(--transition); cursor: pointer;
}
.slider-dot.active { background: var(--gold); width: 28px; border-radius: 4px; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 100%);
  padding: 100px 0; text-align: center; position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1583391733956-6c7827640e3b?w=1920&q=40') center/cover;
  opacity: .06;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-light); margin-bottom: 16px;
}
.cta-content p {
  color: rgba(255,255,255,.6); max-width: 500px; margin: 0 auto 32px; font-size: 1.05rem;
}

/* ===== Contact Section ===== */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-item i {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(139,26,26,.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.1rem;
}
.contact-item h4 { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; color: var(--text-muted); }
.contact-item a, .contact-item span { color: var(--text-dark); font-size: .95rem; }
.contact-item a:hover { color: var(--primary); }
.contact-social h4 { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; color: var(--text-muted); }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--text-light); border-color: var(--primary); transform: translateY(-3px); }

/* Contact Form */
.contact-form { background: var(--bg-card); padding: 48px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 8px; color: var(--text-dark); text-transform: uppercase; letter-spacing: .5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px; border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm); background: var(--cream); transition: border-color var(--transition);
  color: var(--text-dark); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; }
.form-success {
  display: none; align-items: center; gap: 8px; margin-top: 16px;
  padding: 14px 20px; background: rgba(46,204,113,.1); color: #27ae60;
  border-radius: var(--radius-sm); font-size: .9rem;
}
.form-success.show { display: flex; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark); color: rgba(255,255,255,.6); padding: 80px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand h3 {
  font-family: var(--font-serif); font-size: 1.5rem; color: var(--text-light);
  letter-spacing: 3px; margin-bottom: 16px;
}
.footer-brand p { font-size: .9rem; line-height: 1.8; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.06); display: flex;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--text-dark); }
.footer-links h4 { color: var(--text-light); font-size: .9rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
.footer-links a {
  display: block; padding: 6px 0; font-size: .9rem; color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-newsletter h4 { color: var(--text-light); font-size: .9rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.footer-newsletter p { font-size: .9rem; margin-bottom: 16px; }
.newsletter-form { display: flex; border: 1px solid rgba(255,255,255,.1); border-radius: 50px; overflow: hidden; }
.newsletter-form input {
  flex: 1; padding: 14px 20px; background: transparent; border: none;
  color: var(--text-light); outline: none; font-size: .9rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-form button {
  padding: 14px 24px; background: var(--gold); color: var(--text-dark);
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--gold-light); }
.footer-bottom { text-align: center; padding: 24px 0; font-size: .85rem; }
.footer-bottom a { color: var(--gold); }

/* ===== Back to Top ===== */
#backToTop {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 50px; height: 50px; border-radius: 50%; background: var(--primary);
  color: var(--text-light); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 20px rgba(139,26,26,.3);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all var(--transition);
}
#backToTop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0; transform: translateY(40px); transition: all var(--transition-slow);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image img { height: 450px; }
  .contact-grid { grid-template-columns: 1fr; }
  .masonry-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-item:nth-child(1) { grid-column: span 3; }
  .portfolio-item:nth-child(5) { grid-column: span 2; }
  .portfolio-item:nth-child(7) { grid-column: span 1; }
  .portfolio-item:nth-child(9) { grid-column: span 2; }
  .portfolio-item:nth-child(12) { grid-column: span 2; }
}
@media (max-width: 768px) {
  .section-padding { padding: 80px 0; }
  .nav-menu {
    position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
    background: rgba(13,13,13,.98); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; gap: 24px;
    opacity: 0; visibility: hidden; transition: all var(--transition);
  }
  .nav-menu.open { opacity: 1; visibility: visible; }
  .nav-link { font-size: 1.1rem; }
  .hamburger { display: flex; }
  .btn-nav { display: none; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero-desc { font-size: .95rem; }
  .services-grid { grid-template-columns: 1fr; }
  .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .portfolio-item:nth-child(1),
  .portfolio-item:nth-child(5),
  .portfolio-item:nth-child(9),
  .portfolio-item:nth-child(12) { grid-column: span 2; }
  .portfolio-item:nth-child(3),
  .portfolio-item:nth-child(6),
  .portfolio-item:nth-child(7),
  .portfolio-item:nth-child(10) { grid-row: span 1; }
  .about-exp-badge { position: relative; bottom: auto; right: auto; margin-top: -24px; margin-left: 24px; display: inline-flex; padding: 16px 24px; }
  .about-stats { grid-template-columns: repeat(3,1fr); gap: 12px; }
  .about-stats .stat-item { padding: 12px; }
  .stat-number { font-size: 1.4rem; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonial-card { padding: 32px 24px; }
  .cta-banner { padding: 60px 0; }
  #backToTop { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  .masonry-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .portfolio-item { grid-column: 1 !important; grid-row: span 1 !important; }
  .about-image img { height: 320px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}

/* ===== Portfolio Counter ===== */
.fancybox__caption p,
.portfolio-counter {
  display: none;
}