/* ============================================================
   VARIABLES & RESET
============================================================ */
:root {
  --primary:    #1e40af;
  --primary-l:  #3b82f6;
  --primary-d:  #1e3a8a;
  --accent:     #f59e0b;
  --accent-d:   #d97706;
  --text:       #1f2937;
  --text-light: #6b7280;
  --bg:         #ffffff;
  --bg-gray:    #f3f4f6;
  --border:     #e5e7eb;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.12);
  --transition: 0.25s ease;
  --navbar-h:   68px;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(30,64,175,.3);
}
.btn--primary:hover { background: var(--primary-d); box-shadow: 0 6px 24px rgba(30,64,175,.4); }

.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}
.btn--outline:hover { background: rgba(255,255,255,.15); }

.btn--sm {
  padding: 8px 18px;
  font-size: .85rem;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
}
.btn--sm:hover { background: var(--primary-d); transform: translateY(-1px); }

.btn--full { width: 100%; }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 900;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.navbar__logo {
  width: 42px; height: 42px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.navbar__name-short  { display: block; font-weight: 700; font-size: 1rem; color: var(--primary); }
.navbar__name-full   { display: block; font-size: .7rem; color: var(--text-light); }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.nav-link:hover, .nav-link.active { background: var(--bg-gray); color: var(--primary); }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.navbar__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-d) 0%, var(--primary) 50%, #2563eb 100%);
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 700px;
  padding: 60px 0;
}

.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__title-accent { color: var(--accent); }

.hero__desc {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }

.hero__stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 32px;
}
.stat__number { display: block; font-size: 1.8rem; font-weight: 800; }
.stat__label  { font-size: .8rem; opacity: .8; }

.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  animation: bounce 2s infinite;
}
.hero__scroll svg { width: 24px; height: 24px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SECTIONS
============================================================ */
.section { padding: 88px 0; }
.section--gray { background: var(--bg-gray); }

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

.section-badge {
  display: inline-block;
  background: rgba(30,64,175,.08);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

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

/* ============================================================
   ABOUT
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.about-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.about-card__icon { font-size: 2.5rem; margin-bottom: 16px; }
.about-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.about-card p { color: var(--text-light); font-size: .95rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 20px;
}
.feature__icon { font-size: 2rem; flex-shrink: 0; line-height: 1; }
.feature h4 { font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--text-light); font-size: .9rem; }

/* ============================================================
   CAREERS
============================================================ */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.career-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.career-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.career-card__header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.career-card__header--blue   { background: linear-gradient(135deg,#1e40af,#3b82f6); }
.career-card__header--green  { background: linear-gradient(135deg,#065f46,#10b981); }
.career-card__header--yellow { background: linear-gradient(135deg,#92400e,#f59e0b); }
.career-card__header--red    { background: linear-gradient(135deg,#991b1b,#ef4444); }
.career-card__header--orange { background: linear-gradient(135deg,#c2410c,#f97316); }
.career-card__header--purple { background: linear-gradient(135deg,#5b21b6,#8b5cf6); }
.career-card__header--brown  { background: linear-gradient(135deg,#78350f,#d97706); }
.career-card__header--teal   { background: linear-gradient(135deg,#134e4a,#14b8a6); }
.career-card__icon { font-size: 3rem; }

.career-card__body { padding: 24px; }
.career-card__body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.career-card__body p  { color: var(--text-light); font-size: .9rem; margin-bottom: 16px; line-height: 1.5; }

.career-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.career-card__tags li {
  background: var(--bg-gray);
  color: var(--text-light);
  font-size: .75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

/* ============================================================
   ADMISIÓN – STEPS
============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.step {
  position: relative;
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.step__number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  opacity: .15;
  position: absolute;
  top: 16px; right: 20px;
  line-height: 1;
}
.step__content h4 { font-weight: 700; margin-bottom: 8px; }
.step__content p  { color: var(--text-light); font-size: .9rem; }

.requirements-box {
  background: linear-gradient(135deg, var(--primary-d) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
}
.requirements-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 28px;
}
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.requirements-grid h4 { font-weight: 700; margin-bottom: 12px; opacity: .9; }
.requirements-grid ul { display: flex; flex-direction: column; gap: 8px; }
.requirements-grid li {
  font-size: .9rem;
  opacity: .85;
  padding-left: 16px;
  position: relative;
}
.requirements-grid li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ============================================================
   GALLERY
============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 16px;
}
.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-placeholder {
  width: 100%; height: 100%;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  transition: transform var(--transition);
}
.gallery-placeholder:hover { transform: scale(1.02); }
.gallery-placeholder span { font-size: 2.5rem; }
.gallery-placeholder p    { font-size: .85rem; font-weight: 600; opacity: .9; text-align: center; }

/* ============================================================
   CONTACT
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 40px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item__icon {
  font-size: 1.5rem;
  width: 48px; height: 48px;
  background: rgba(30,64,175,.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item h4 { font-weight: 700; margin-bottom: 4px; }
.contact-item p  { color: var(--text-light); font-size: .9rem; }

.contact-form {
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: .85rem; font-weight: 600; color: var(--text); }
input, textarea, select {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition);
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-l);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
textarea { resize: vertical; }

.form-note { margin-top: 12px; font-size: .85rem; text-align: center; font-weight: 500; }

.map-placeholder {
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.map-placeholder__inner span { font-size: 2.5rem; }
.map-placeholder__inner p    { color: var(--text-light); font-size: .9rem; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #111827;
  color: #9ca3af;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 20px 48px;
}

.footer__brand { display: flex; gap: 16px; align-items: flex-start; }
.footer__name  { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer__sub   { font-size: .8rem; line-height: 1.5; margin-bottom: 8px; }
.footer__location { font-size: .8rem; }

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links h4 { color: #fff; font-size: .9rem; margin-bottom: 6px; }
.footer__links a  { font-size: .85rem; transition: color var(--transition); }
.footer__links a:hover { color: #fff; }

.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__contact h4 { color: #fff; font-size: .9rem; margin-bottom: 6px; }
.footer__contact p  { font-size: .85rem; }

.footer__social { display: flex; gap: 8px; margin-top: 8px; }
.social-btn {
  width: 36px; height: 36px;
  background: #1f2937;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: #9ca3af;
  transition: background var(--transition), color var(--transition);
}
.social-btn:hover { background: var(--primary); color: #fff; }

.footer__bottom {
  border-top: 1px solid #1f2937;
  padding: 20px;
  text-align: center;
}
.footer__bottom p { font-size: .8rem; }

/* ============================================================
   CHATBOT
============================================================ */
.chatbot-wrapper {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 1000;
}

.chatbot-trigger {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(30,64,175,.45);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
}
.chatbot-trigger:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(30,64,175,.55); }

.chatbot-trigger__icon { width: 26px; height: 26px; position: absolute; transition: opacity .2s, transform .2s; }
.chatbot-trigger__icon--chat  { opacity: 1; transform: scale(1); }
.chatbot-trigger__icon--close { opacity: 0; transform: scale(.6); }

.chatbot-wrapper.open .chatbot-trigger__icon--chat  { opacity: 0; transform: scale(.6); }
.chatbot-wrapper.open .chatbot-trigger__icon--close { opacity: 1; transform: scale(1); }
.chatbot-wrapper.open .chatbot-trigger { background: #374151; }

.chatbot-trigger__badge {
  position: absolute;
  top: -3px; right: -3px;
  width: 20px; height: 20px;
  background: #ef4444;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  transition: opacity .2s;
}
.chatbot-wrapper.open .chatbot-trigger__badge { opacity: 0; }

/* Chat window */
.chatbot-window {
  position: absolute;
  bottom: 76px; right: 0;
  width: 370px;
  max-height: 560px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), opacity .2s;
  transform-origin: bottom right;
}
.chatbot-wrapper.open .chatbot-window {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chatbot-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--primary);
  color: #fff;
  flex-shrink: 0;
}
.chatbot-avatar {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.chatbot-header__name   { font-weight: 700; font-size: .95rem; }
.chatbot-header__status { font-size: .75rem; opacity: .85; display: flex; align-items: center; gap: 5px; }
.status-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
}
.chatbot-close {
  margin-left: auto;
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background var(--transition);
}
.chatbot-close:hover { background: rgba(255,255,255,.15); color: #fff; }

/* Messages */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  animation: msgIn .2s ease;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.chat-msg--bot  { justify-content: flex-start; }
.chat-msg--user { justify-content: flex-end; }

.chat-msg__avatar {
  width: 28px; height: 28px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
  color: #fff;
}

.chat-msg__bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: .88rem;
  line-height: 1.55;
}
.chat-msg--bot  .chat-msg__bubble {
  background: var(--bg-gray);
  border-bottom-left-radius: 4px;
  color: var(--text);
}
.chat-msg--user .chat-msg__bubble {
  background: var(--primary);
  border-bottom-right-radius: 4px;
  color: #fff;
}

.chat-msg__time {
  font-size: .7rem;
  color: var(--text-light);
  margin-top: 2px;
  text-align: right;
}
.chat-msg--bot .chat-msg__time { text-align: left; }

/* Typing indicator */
.typing-bubble {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 12px 16px;
}
.typing-dot {
  width: 7px; height: 7px;
  background: var(--text-light);
  border-radius: 50%;
  animation: typing 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }

/* Suggestions */
.chatbot-suggestions {
  padding: 0 14px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.suggestion-chip {
  background: rgba(30,64,175,.08);
  color: var(--primary);
  border: 1px solid rgba(30,64,175,.2);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.suggestion-chip:hover { background: rgba(30,64,175,.15); transform: translateY(-1px); }

/* Input */
.chatbot-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.chatbot-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 9px 16px;
  font-size: .88rem;
  background: var(--bg-gray);
  transition: border-color var(--transition);
}
.chatbot-input:focus { outline: none; border-color: var(--primary-l); background: var(--bg); }
.chatbot-send {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.chatbot-send:hover { background: var(--primary-d); transform: scale(1.05); }
.chatbot-send svg { width: 18px; height: 18px; fill: #fff; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid  { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid  { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
  .gallery-item--large { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 768px) {
  .navbar__nav { display: none; flex-direction: column; gap: 4px; }
  .navbar__nav.open {
    display: flex;
    position: absolute;
    top: var(--navbar-h); left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px;
    box-shadow: var(--shadow);
    z-index: 899;
  }
  .navbar__toggle { display: flex; }

  .hero__stats { gap: 24px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }

  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__brand { flex-direction: column; gap: 12px; }

  .chatbot-window { width: calc(100vw - 56px); right: 0; }

  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--large { grid-column: span 2; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .requirements-box { padding: 24px; }
  .contact-form { padding: 24px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item--large { grid-column: span 1; grid-row: span 1; }
  .gallery-placeholder { height: 160px; }
  .chatbot-wrapper { bottom: 16px; right: 16px; }
}
