/*
Theme Name: Shree Amman Engineering Works
Theme URI: https://example.com/
Author: OpenAI
Description: Custom WordPress theme converted from the Shree Amman Engineering Works HTML website.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: shree-amman-engineering
*/

:root {
    --steel: #1a2332;
    --steel-mid: #243447;
    --iron: #2e3f52;
    --chrome: #8ab4c8;
    --chrome-light: #b8d4e3;
    --amber: #e8a020;
    --amber-glow: #f4b840;
    --rust: #c04a1a;
    --white: #f0f4f8;
    --muted: #7a9bb5;
    --grid: rgba(138, 180, 200, 0.06);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Barlow', sans-serif;
    background: var(--steel);
    color: var(--white);
    overflow-x: hidden;
  }

  /* === GRID OVERLAY === */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(var(--grid) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
  }

  /* === NAV === */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 64px;
    background: rgba(26, 35, 50, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(138, 180, 200, 0.15);
  }

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

  .nav-emblem {
    width: 36px; height: 36px;
    background: var(--amber);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: var(--steel);
  }

  .nav-brand {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.05em;
    color: var(--white);
    line-height: 1.1;
  }

  .nav-brand span {
    display: block;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--chrome);
    text-transform: uppercase;
  }

  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
  }

  .nav-links a {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
  }

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

  .nav-cta {
    background: var(--amber);
    color: var(--steel) !important;
    padding: 8px 20px;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  }

  .nav-cta:hover { color: var(--steel) !important; background: var(--amber-glow); }

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

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 70% 50%, rgba(46, 63, 82, 0.8) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 20% 80%, rgba(232, 160, 32, 0.08) 0%, transparent 60%),
      linear-gradient(160deg, var(--steel) 0%, #0f1922 100%);
    z-index: 0;
  }

  /* Diagonal steel plate effect */
  .hero-plate {
    position: absolute;
    right: -100px;
    top: 0;
    bottom: 0;
    width: 55%;
    background: linear-gradient(135deg,
      rgba(46, 63, 82, 0.4) 0%,
      rgba(36, 52, 71, 0.6) 40%,
      rgba(26, 35, 50, 0.3) 100%);
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    border-left: 2px solid rgba(138, 180, 200, 0.2);
  }

  /* Animated weld sparks */
  .sparks {
    position: absolute;
    top: 30%;
    right: 30%;
    pointer-events: none;
  }

  .spark {
    position: absolute;
    width: 3px; height: 3px;
    background: var(--amber);
    border-radius: 50%;
    animation: spark-fly 2s ease-out infinite;
    opacity: 0;
  }

  .spark:nth-child(1) { animation-delay: 0s; }
  .spark:nth-child(2) { animation-delay: 0.3s; }
  .spark:nth-child(3) { animation-delay: 0.6s; }
  .spark:nth-child(4) { animation-delay: 0.9s; }
  .spark:nth-child(5) { animation-delay: 1.2s; }

  @keyframes spark-fly {
    0% { transform: translate(0,0) scale(1); opacity: 1; }
    100% { transform: translate(calc(var(--dx, 40px)), calc(var(--dy, -60px))) scale(0); opacity: 0; }
  }

  .spark:nth-child(1) { --dx: 30px; --dy: -50px; }
  .spark:nth-child(2) { --dx: -20px; --dy: -70px; }
  .spark:nth-child(3) { --dx: 50px; --dy: -30px; }
  .spark:nth-child(4) { --dx: -40px; --dy: -40px; }
  .spark:nth-child(5) { --dx: 10px; --dy: -80px; }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
  }

  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 24px;
    animation: fade-up 0.8s ease both;
  }

  .hero-tag::before {
    content: '';
    display: block;
    width: 30px; height: 1px;
    background: var(--amber);
  }

  .hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(44px, 6vw, 80px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    animation: fade-up 0.8s ease 0.1s both;
  }

  .hero-title .accent { color: var(--amber); }

  .hero-subtitle-kannada {
    font-family: 'Noto Sans Kannada', sans-serif;
    font-size: 22px;
    color: var(--chrome);
    margin-bottom: 24px;
    animation: fade-up 0.8s ease 0.2s both;
  }

  .hero-desc {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--chrome-light);
    margin-bottom: 40px;
    animation: fade-up 0.8s ease 0.3s both;
    max-width: 480px;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fade-up 0.8s ease 0.4s both;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--amber);
    color: var(--steel);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    transition: background 0.2s, transform 0.2s;
  }

  .btn-primary:hover { background: var(--amber-glow); transform: translateY(-2px); }

  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: 1px solid rgba(138, 180, 200, 0.35);
    color: var(--chrome-light);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
  }

  .btn-secondary:hover { border-color: var(--chrome); color: var(--white); }

  /* Stats strip */
  .hero-stats {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 2;
    display: flex;
    border-top: 1px solid rgba(138, 180, 200, 0.12);
    background: rgba(15, 25, 34, 0.7);
    backdrop-filter: blur(8px);
    animation: fade-up 0.8s ease 0.5s both;
  }

  .stat-item {
    flex: 1;
    padding: 20px 30px;
    border-right: 1px solid rgba(138, 180, 200, 0.1);
    text-align: center;
  }

  .stat-item:last-child { border-right: none; }

  .stat-number {
    font-family: 'Rajdhani', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
  }

  .stat-label {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 4px;
  }

  @keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* === SECTION BASE === */
  section {
    position: relative;
    z-index: 1;
  }

  .section-header {
    text-align: center;
    margin-bottom: 60px;
  }

  .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 16px;
  }

  .section-tag::before, .section-tag::after {
    content: '';
    display: block;
    width: 20px; height: 1px;
    background: var(--amber);
  }

  .section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.01em;
  }

  .section-title .accent { color: var(--amber); }

  /* === SERVICES === */
  .services {
    padding: 100px 40px;
    background: linear-gradient(180deg, var(--steel) 0%, #111c28 100%);
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2px;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(138, 180, 200, 0.08);
  }

  .service-card {
    background: var(--steel-mid);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
    cursor: default;
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 0;
    background: var(--amber);
    transition: height 0.4s ease;
  }

  .service-card:hover { background: var(--iron); }
  .service-card:hover::before { height: 100%; }

  .service-icon {
    width: 56px; height: 56px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 160, 32, 0.1);
    border: 1px solid rgba(232, 160, 32, 0.2);
  }

  .service-icon svg {
    width: 28px; height: 28px;
    stroke: var(--amber);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .service-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
    color: var(--white);
  }

  .service-desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--muted);
  }

  .service-number {
    position: absolute;
    bottom: 24px; right: 28px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: rgba(138, 180, 200, 0.06);
    line-height: 1;
    user-select: none;
  }

  /* === WHY US === */
  .why-us {
    padding: 100px 40px;
    background: #0f1922;
  }

  .why-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .why-visual {
    position: relative;
  }

  .why-plate {
    background: var(--steel-mid);
    border: 1px solid rgba(138, 180, 200, 0.12);
    padding: 40px;
    position: relative;
  }

  .why-plate::after {
    content: '';
    position: absolute;
    bottom: -12px; right: -12px;
    inset: 12px -12px -12px 12px;
    border: 1px solid rgba(232, 160, 32, 0.25);
    pointer-events: none;
  }

  .why-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .why-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .feature-icon {
    width: 44px; height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(232, 160, 32, 0.3);
    background: rgba(232, 160, 32, 0.05);
  }

  .feature-icon svg {
    width: 20px; height: 20px;
    stroke: var(--amber);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .feature-text h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
  }

  .feature-text p {
    font-size: 13px;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.6;
  }

  /* === PROCESS === */
  .process {
    padding: 100px 40px;
    background: linear-gradient(180deg, #111c28 0%, var(--steel) 100%);
  }

  .process-steps {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .process-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 30px;
    position: relative;
  }

  .step-line {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .step-dot {
    width: 44px; height: 44px;
    background: var(--steel-mid);
    border: 2px solid var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--amber);
    flex-shrink: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  }

  .step-connector {
    width: 1px;
    flex: 1;
    min-height: 40px;
    background: linear-gradient(180deg, rgba(232, 160, 32, 0.4), rgba(232, 160, 32, 0.05));
    margin: 4px 0;
  }

  .process-step:last-child .step-connector { display: none; }

  .step-content {
    padding: 10px 0 48px;
  }

  .step-content h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .step-content p {
    font-size: 14px;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.7;
  }

  /* === CONTACT === */
  .contact {
    padding: 100px 40px;
    background: #0f1922;
  }

  .contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
  }

  .contact-info h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 24px;
  }

  .contact-info p {
    font-size: 15px;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 40px;
  }

  .contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

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

  .contact-icon {
    width: 40px; height: 40px;
    min-width: 40px;
    border: 1px solid rgba(232, 160, 32, 0.3);
    background: rgba(232, 160, 32, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact-icon svg {
    width: 18px; height: 18px;
    stroke: var(--amber);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .contact-item-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .contact-item-text strong {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--chrome);
    margin-bottom: 3px;
  }

  .contact-item-text a {
    color: var(--white);
    text-decoration: none;
  }

  .contact-item-text a:hover { color: var(--amber); }

  /* === FORM === */
  .contact-form {
    background: var(--steel-mid);
    border: 1px solid rgba(138, 180, 200, 0.1);
    padding: 40px;
  }

  .form-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(138, 180, 200, 0.1);
  }

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

  .form-group label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--chrome);
    margin-bottom: 8px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    background: rgba(15, 25, 34, 0.6);
    border: 1px solid rgba(138, 180, 200, 0.15);
    padding: 12px 16px;
    color: var(--white);
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
  }

  .form-group select option { background: var(--steel); }

  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    border-color: rgba(232, 160, 32, 0.5);
  }

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

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

  .submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--amber);
    color: var(--steel);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  }

  .submit-btn:hover { background: var(--amber-glow); }

  /* === FOOTER === */
  footer {
    background: #080f17;
    border-top: 1px solid rgba(138, 180, 200, 0.08);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: gap;
  }

  .footer-brand {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
  }

  .footer-brand span {
    color: var(--amber);
  }

  .footer-copy {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.05em;
    margin-top: 4px;
  }

  .footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
  }

  .footer-links a {
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
  }

  .footer-links a:hover { color: var(--amber); }

  /* === GALLERY === */
  .gallery {
    padding: 100px 40px;
    background: linear-gradient(180deg, var(--steel) 0%, #0f1922 100%);
  }

  .gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 48px;
    flex-wrap: wrap;
  }

  .gallery-tab {
    padding: 10px 22px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    background: transparent;
    border: 1px solid rgba(138, 180, 200, 0.15);
    cursor: pointer;
    transition: all 0.2s;
  }

  .gallery-tab:hover { color: var(--chrome); border-color: rgba(138,180,200,0.35); }

  .gallery-tab.active {
    background: var(--amber);
    color: var(--steel);
    border-color: var(--amber);
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 3px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--steel-mid);
    aspect-ratio: 4/3;
  }

  .gallery-item.tall { grid-row: span 2; aspect-ratio: unset; }
  .gallery-item.wide { grid-column: span 2; }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.4s ease;
    filter: brightness(0.85) saturate(0.9);
  }

  .gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(1) saturate(1.1);
  }

  .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15,25,34,0.92) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 20px;
  }

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

  .gallery-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--white);
  }

  .gallery-label span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 4px;
  }

  /* Lightbox */
  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 15, 23, 0.96);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
  }

  .lightbox.open { display: flex; }

  .lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border: 1px solid rgba(138,180,200,0.15);
    box-shadow: 0 40px 80px rgba(0,0,0,0.7);
  }

  .lightbox-close {
    position: absolute;
    top: 24px; right: 32px;
    font-size: 32px;
    color: var(--chrome);
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    transition: color 0.2s;
  }

  .lightbox-close:hover { color: var(--amber); }

  .lightbox-caption {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--chrome);
    text-align: center;
    white-space: nowrap;
  }

  /* Placeholder shimmer for broken images */
  .gallery-item .img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--steel-mid) 0%, var(--iron) 100%);
    color: var(--muted);
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    gap: 10px;
    z-index: 1;
  }

  .gallery-item .img-placeholder svg {
    width: 32px; height: 32px;
    stroke: var(--amber);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.6;
  }

  @media (max-width: 900px) {
    .gallery { padding: 60px 20px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
    .gallery-item.wide { grid-column: span 1; }
  }

  @media (max-width: 600px) {
    .gallery-grid { grid-template-columns: 1fr; }
  }

  /* === MOBILE NAV TOGGLE === */
  .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
  }

  .nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--chrome);
    transition: 0.3s;
  }

  /* === RESPONSIVE === */
  @media (max-width: 900px) {
    nav { padding: 0 20px; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .hero { padding: 100px 20px 80px; }
    .hero-plate { display: none; }
    .hero-stats { position: relative; flex-direction: column; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(138, 180, 200, 0.1); }

    .services { padding: 60px 20px; }
    .services-grid { gap: 2px; }

    .why-us { padding: 60px 20px; }
    .why-inner { grid-template-columns: 1fr; gap: 40px; }

    .process { padding: 60px 20px; }

    .contact { padding: 60px 20px; }
    .contact-inner { grid-template-columns: 1fr; gap: 40px; }

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

    footer { flex-direction: column; gap: 20px; text-align: center; padding: 30px 20px; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
  }

  /* Scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
