/* ============================================================
   J&A Reformas Integrales y Construcciones — Hoja de Estilos
   ============================================================ */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&family=Montserrat:wght@700;800;900&display=swap');

/* ===== VARIABLES ===== */
:root {
  --blue-900: #0a1f3d;
  --blue-800: #112d56;
  --blue-700: #1a3f72;
  --blue-600: #1e4d8c;
  --blue-500: #2563b0;
  --blue-400: #3b7dd8;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --gold:     #f59e0b;
  --gold-dark:#d97706;
  --white:    #ffffff;
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --green:    #16a34a;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.28s ease;

  --font: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Montserrat', 'Open Sans', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--gray-800); line-height: 1.65; background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: var(--font); }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.15; color: var(--blue-900); }
h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); }

/* ===== LAYOUT ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 5.5rem 0; }
.section--light { background: var(--gray-50); }
.section--blue  { background: var(--blue-900); }

.section-tag  { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-500); background: var(--blue-50); border: 1px solid var(--blue-100); padding: 0.3rem 0.9rem; border-radius: 50px; margin-bottom: 0.75rem; }
.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head h2 { margin-bottom: 0.65rem; }
.section-head p  { color: var(--gray-600); max-width: 580px; margin: 0 auto; font-size: 1.02rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.75rem; border-radius: var(--radius); font-weight: 700;
  font-size: 0.9rem; cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); white-space: nowrap; letter-spacing: 0.01em;
  font-family: var(--font);
}
.btn--primary  { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }
.btn--primary:hover  { background: var(--blue-700); border-color: var(--blue-700); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,77,140,0.35); }
.btn--gold    { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn--gold:hover  { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,158,11,0.4); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--outline-white:hover { background: var(--white); color: var(--blue-700); border-color: var(--white); }
.btn--outline-blue  { background: transparent; color: var(--blue-600); border-color: var(--blue-600); }
.btn--outline-blue:hover  { background: var(--blue-600); color: var(--white); }
.btn--whatsapp { background: #25d366; color: var(--white); border-color: #25d366; }
.btn--whatsapp:hover { background: #1ead54; border-color: #1ead54; transform: translateY(-2px); }
.btn--lg { padding: 0.95rem 2.2rem; font-size: 0.95rem; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.header--transparent { background: transparent; }
.header--solid { background: var(--blue-900); box-shadow: 0 2px 20px rgba(0,0,0,0.25); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-icon { width: 42px; height: 42px; background: var(--blue-600); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.logo-text strong { display: block; font-family: var(--font-heading); font-size: 1rem; color: var(--white); line-height: 1.1; letter-spacing: 0.01em; }
.logo-text span   { font-size: 0.6rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.1em; }

.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  color: rgba(255,255,255,0.8); font-size: 0.875rem; font-weight: 600;
  padding: 0.4rem 0.85rem; border-radius: var(--radius-sm);
  transition: all var(--transition); position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-cta { margin-left: 1rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--blue-900); flex-direction: column;
  align-items: center; justify-content: center; gap: 1.75rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--white); font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; transition: color var(--transition); }
.mobile-menu a:hover { color: var(--gold); }
.mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 2rem; color: var(--white); background: none; border: none; cursor: pointer; line-height: 1; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; position: relative; display: flex; align-items: center;
  background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-800) 50%, var(--blue-700) 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; opacity: 0.07;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; padding: 9rem 0 5rem; }
.hero-inner { display: grid; grid-template-columns: 55% 45%; gap: 4rem; align-items: center; }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.35); color: var(--gold); padding: 0.35rem 1rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem; }
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-desc { color: rgba(255,255,255,0.72); font-size: 1.08rem; max-width: 500px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 2.5rem; }
.hero-stat strong { display: block; font-family: var(--font-heading); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.hero-stat span { font-size: 0.75rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.06em; }

/* Hero visual */
.hero-visual { display: grid; grid-template-rows: 1fr 1fr; gap: 0.75rem; height: 480px; }
.hero-photo-main { grid-row: span 2; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.hero-photo-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,31,61,0.4) 0%, transparent 60%); }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--blue-800); border-bottom: 1px solid rgba(255,255,255,0.06); }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 3rem; padding: 1rem 0; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.7); font-size: 0.875rem; font-weight: 600; }
.trust-item svg { color: var(--gold); width: 18px; height: 18px; flex-shrink: 0; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.service-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 2.25rem; position: relative;
  transition: all var(--transition); overflow: hidden;
}
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue-600), var(--blue-400)); transform: scaleX(0); transition: transform var(--transition); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.service-card:hover::after { transform: scaleX(1); }
.s-icon { width: 60px; height: 60px; background: var(--blue-50); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 1.25rem; }
.service-card h3 { color: var(--blue-800); margin-bottom: 0.6rem; }
.service-card > p { color: var(--gray-600); font-size: 0.92rem; line-height: 1.75; margin-bottom: 1.25rem; }
.service-card ul { display: flex; flex-direction: column; gap: 0.45rem; }
.service-card ul li { font-size: 0.85rem; color: var(--gray-600); display: flex; align-items: flex-start; gap: 0.5rem; }
.service-card ul li::before { content: '→'; color: var(--blue-500); font-weight: 700; flex-shrink: 0; margin-top: 0.05rem; }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-left { }
.why-left h2 { margin: 0.5rem 0 1rem; }
.why-left > p { color: var(--gray-600); line-height: 1.8; margin-bottom: 2rem; }
.why-features { display: flex; flex-direction: column; gap: 1.25rem; }
.why-feat { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; border-radius: var(--radius); background: var(--gray-50); border: 1px solid var(--gray-200); transition: all var(--transition); }
.why-feat:hover { background: var(--blue-50); border-color: var(--blue-100); }
.why-feat-icon { width: 44px; height: 44px; background: var(--blue-600); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.why-feat h4 { color: var(--blue-800); font-size: 0.95rem; margin-bottom: 0.2rem; }
.why-feat p { color: var(--gray-600); font-size: 0.85rem; }
.why-right { position: relative; }
.why-img-stack { position: relative; }
.why-img-main { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 3/4; }
.why-img-main img { width: 100%; height: 100%; object-fit: cover; }
.why-counter { position: absolute; bottom: -1.5rem; left: -1.5rem; background: var(--blue-600); color: var(--white); padding: 1.5rem; border-radius: var(--radius-lg); text-align: center; box-shadow: 0 8px 32px rgba(30,77,140,0.4); min-width: 140px; }
.why-counter strong { display: block; font-family: var(--font-heading); font-size: 2.8rem; line-height: 1; }
.why-counter span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.85; }
.cert-badge { position: absolute; top: 1.5rem; right: -1.25rem; background: var(--gold); color: var(--white); padding: 0.85rem 1rem; border-radius: var(--radius-lg); display: flex; align-items: center; gap: 0.5rem; box-shadow: 0 6px 24px rgba(245,158,11,0.4); font-size: 0.8rem; font-weight: 700; max-width: 160px; }

/* ===== PROJECTS ===== */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 4/3; cursor: pointer; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover img { transform: scale(1.06); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,31,61,0.85) 0%, rgba(10,31,61,0.1) 60%); display: flex; align-items: flex-end; padding: 1.5rem; }
.project-info { transform: translateY(8px); transition: transform var(--transition); }
.project-card:hover .project-info { transform: translateY(0); }
.project-tag { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.35rem; }
.project-info h3 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.15rem; }
.project-info p { color: rgba(255,255,255,0.65); font-size: 0.8rem; }

/* ===== PROCESS ===== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process-step { text-align: center; position: relative; }
.process-step:not(:last-child)::after { content: '→'; position: absolute; right: -1.25rem; top: 1.25rem; font-size: 1.25rem; color: var(--blue-200); font-weight: 700; }
.step-num { width: 58px; height: 58px; background: var(--blue-600); color: var(--white); border-radius: 50%; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem; box-shadow: 0 4px 16px rgba(30,77,140,0.3); }
.process-step h4 { color: var(--blue-800); margin-bottom: 0.4rem; font-size: 0.95rem; }
.process-step p { color: var(--gray-600); font-size: 0.85rem; }

/* ===== QUALITY CERT ===== */
.quality-section { background: var(--blue-50); border-top: 1px solid var(--blue-100); border-bottom: 1px solid var(--blue-100); }
.quality-inner { display: flex; align-items: center; gap: 3rem; padding: 3rem 0; }
.quality-icon { width: 96px; height: 96px; background: var(--blue-600); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 3rem; flex-shrink: 0; box-shadow: 0 8px 32px rgba(30,77,140,0.3); }
.quality-text h3 { color: var(--blue-800); margin-bottom: 0.5rem; }
.quality-text p  { color: var(--gray-600); font-size: 0.95rem; max-width: 600px; }
.quality-badges { display: flex; gap: 1rem; margin-top: 1.25rem; flex-wrap: wrap; }
.quality-badge { display: flex; align-items: center; gap: 0.5rem; background: var(--white); border: 1px solid var(--blue-100); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 700; color: var(--blue-700); }
.quality-badge svg { color: var(--gold); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.75rem; transition: box-shadow var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow); }
.stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 0.9rem; }
.testimonial-card > p { color: var(--gray-600); font-size: 0.9rem; line-height: 1.75; font-style: italic; margin-bottom: 1.25rem; }
.t-author { display: flex; align-items: center; gap: 0.75rem; }
.t-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-600); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.t-name strong { display: block; font-size: 0.875rem; color: var(--gray-800); }
.t-name span { font-size: 0.78rem; color: var(--gray-400); }

/* ===== CTA SECTION ===== */
.cta-section { background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%); padding: 5.5rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 50%, rgba(245,158,11,0.08) 0%, transparent 60%); }
.cta-section h2 { color: var(--white); margin-bottom: 0.85rem; }
.cta-section > .container > p { color: rgba(255,255,255,0.72); max-width: 540px; margin: 0 auto 2.25rem; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: var(--blue-900); color: rgba(255,255,255,0.65); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding: 4.5rem 0 3rem; }
.footer-brand > p { font-size: 0.875rem; line-height: 1.75; margin: 1rem 0 1.5rem; max-width: 260px; }
.footer-social { display: flex; gap: 0.65rem; }
.social-link { width: 38px; height: 38px; background: rgba(255,255,255,0.07); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; transition: all var(--transition); color: rgba(255,255,255,0.7); }
.social-link:hover { background: var(--blue-600); color: var(--white); transform: translateY(-2px); }
.footer h4 { color: var(--white); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.9rem; }
.footer-contact-item { display: flex; gap: 0.75rem; font-size: 0.875rem; }
.footer-contact-item svg { color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== FLOATING BUTTONS ===== */
.floating-cta { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 998; display: flex; flex-direction: column; gap: 0.65rem; align-items: flex-end; }
.float-btn { display: flex; align-items: center; gap: 0.55rem; padding: 0.7rem 1.2rem; border-radius: 50px; font-weight: 700; font-size: 0.82rem; border: none; cursor: pointer; box-shadow: 0 4px 20px rgba(0,0,0,0.25); transition: all var(--transition); text-decoration: none; }
.float-btn--call { background: var(--blue-600); color: var(--white); }
.float-btn--call:hover { background: var(--blue-700); transform: scale(1.05); }
.float-btn--wa { background: #25d366; color: var(--white); }
.float-btn--wa:hover { background: #1ead54; transform: scale(1.05); }
.float-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ===== PAGE HERO ===== */
.page-hero { padding: 9.5rem 0 4.5rem; background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-700) 100%); text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 0.85rem; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); font-weight: 600; }

/* ===== SERVICES PAGE ===== */
.service-detail-block { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; padding: 4rem 0; border-bottom: 1px solid var(--gray-200); }
.service-detail-block:last-child { border-bottom: 0; }
.service-detail-block.reverse .service-photo { order: 2; }
.service-detail-block.reverse .service-text  { order: 1; }
.service-photo { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-photo-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--blue-800), var(--blue-600)); display: flex; align-items: center; justify-content: center; font-size: 5rem; opacity: 0.5; }
.service-text h2 { color: var(--blue-800); margin: 0.5rem 0 1rem; }
.service-text > p { color: var(--gray-600); line-height: 1.8; margin-bottom: 1.5rem; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1.5rem; margin-bottom: 2rem; }
.service-list li { font-size: 0.875rem; color: var(--gray-700); display: flex; align-items: flex-start; gap: 0.5rem; }
.service-list li::before { content: '✓'; color: var(--blue-600); font-weight: 700; flex-shrink: 0; }

/* ===== PROJECTS PAGE ===== */
.filter-bar { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.75rem; }
.filter-btn { padding: 0.5rem 1.2rem; border-radius: 50px; font-size: 0.82rem; font-weight: 700; cursor: pointer; border: 2px solid var(--gray-200); background: var(--white); color: var(--gray-600); transition: all var(--transition); font-family: var(--font); }
.filter-btn:hover, .filter-btn.active { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }

.projects-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.proj-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.proj-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.proj-img { aspect-ratio: 16/11; overflow: hidden; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.proj-card:hover .proj-img img { transform: scale(1.05); }
.proj-body { padding: 1.4rem; }
.proj-body .project-tag { margin-bottom: 0.35rem; }
.proj-body h3 { color: var(--blue-800); font-size: 0.975rem; margin-bottom: 0.45rem; }
.proj-body p { color: var(--gray-600); font-size: 0.84rem; margin-bottom: 0.9rem; }
.proj-meta { display: flex; gap: 1rem; }
.proj-meta span { font-size: 0.78rem; color: var(--gray-400); display: flex; align-items: center; gap: 0.3rem; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 4rem; }
.contact-info-col { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-card { display: flex; gap: 1rem; padding: 1.4rem; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); transition: all var(--transition); }
.contact-info-card:hover { background: var(--blue-50); border-color: var(--blue-100); }
.ci-icon { width: 46px; height: 46px; background: var(--blue-600); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.ci-body h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-600); margin-bottom: 0.2rem; }
.ci-body p, .ci-body a { color: var(--gray-700); font-size: 0.9rem; }
.ci-body a:hover { color: var(--blue-600); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); }
.map-wrap iframe { display: block; width: 100%; border: 0; }

/* ===== CONTACT FORM ===== */
.contact-form { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 2.5rem; }
.contact-form h3 { color: var(--blue-800); margin-bottom: 0.4rem; }
.contact-form > p { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.2rem; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--gray-700); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  font-size: 0.9rem; color: var(--gray-800); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(30,77,140,0.08); }
.form-group textarea { resize: vertical; min-height: 125px; }
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234b5563' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-check { display: flex; align-items: flex-start; gap: 0.65rem; margin-bottom: 1.5rem; }
.form-check input[type=checkbox] { width: 16px; height: 16px; margin-top: 2px; cursor: pointer; flex-shrink: 0; accent-color: var(--blue-600); }
.form-check label { font-size: 0.82rem; color: var(--gray-600); cursor: pointer; }
.form-check a { color: var(--blue-600); }
.form-success { display: none; background: #dcfce7; border: 1.5px solid #86efac; color: #15803d; padding: 1rem 1.25rem; border-radius: var(--radius); font-size: 0.9rem; margin-top: 0.75rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.6s ease forwards; }
[data-aos] { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
[data-aos].visible { opacity: 1; transform: translateY(0); }
[data-aos][data-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-delay="200"] { transition-delay: 0.2s; }
[data-aos][data-delay="300"] { transition-delay: 0.3s; }
[data-aos][data-delay="400"] { transition-delay: 0.4s; }

/* ===== SCROLL TO TOP ===== */
.scroll-top { position: fixed; bottom: 1.75rem; left: 1.75rem; width: 42px; height: 42px; background: var(--blue-600); color: var(--white); border: none; border-radius: 50%; cursor: pointer; font-size: 1.1rem; display: none; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: all var(--transition); z-index: 998; }
.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--blue-700); transform: translateY(-2px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-right { display: none; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .projects-page-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .quality-inner { flex-direction: column; text-align: center; gap: 2rem; }
  .service-detail-block { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail-block.reverse .service-photo { order: 0; }
  .service-detail-block.reverse .service-text  { order: 0; }
  .service-photo { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-cta  { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-bar-inner { gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .section { padding: 3.75rem 0; }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-page-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.75rem; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .quality-badges { justify-content: center; }
  .float-btn span { display: none; }
}
