/* ============================================================
   BRATUS TEHNOLOĢIJU AKADĒMIJA - Galvenais stilu fails
   Dizains balstīts uz 3dpakalpojumi.lv stilu

   Fonti:
   - Virsraksti: 'Plus Jakarta Sans', sans-serif
   - Pamatteksts: 'Inter', sans-serif

   Krāsu palete:
   - Fons: #fffbf5 (silts krēmbalts)
   - Virsma: #f5ede2 (kartītes, sekcijas)
   - Teksts: #153C4A
   - Sekundārais teksts: #4a6b7a
   - Viegls teksts: #7a95a2
   - Akcenti: #2C7C8D (teal), #D57639 (oranžs), #81A850 (zaļš)
   - Apmales: #e4d9cc
   ============================================================ */

/* --- CSS RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #153C4A;
  background-color: #fffbf5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: #153C4A;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- SEKCIJU FONI --- */
.section-light  { background-color: #fffbf5; color: #153C4A; }
.section-surface { background-color: #f5ede2; color: #153C4A; }
.section-white   { background-color: #ffffff; color: #153C4A; }
.section-accent  { background: linear-gradient(135deg, #2C7C8D 0%, #153C4A 100%); color: #fff; }
.section-dark    { background-color: #153C4A; color: #fff; }

.section-dark .section-title,
.section-dark h2,
.section-dark h3,
.section-dark p { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* --- SECTION HEADERS --- */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-subtitle { max-width: 700px; margin: 0 auto; }

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  color: #153C4A;
}

.section-subtitle {
  font-size: 1.15rem;
  color: #4a6b7a;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #D57639;
  margin-bottom: 0.75rem;
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 251, 245, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #e4d9cc;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(255, 251, 245, 0.96);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  height: 72px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 44px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }

.nav-links a {
  color: #153C4A;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #D57639;
  background: rgba(213, 118, 57, 0.08);
}

.nav-cta {
  background: #D57639 !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 4px !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: #c0652e !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #153C4A;
  border-radius: 2px;
  transition: all 0.3s;
}

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

/* --- HERO --- */
.hero {
  position: relative;
  padding: 120px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, #fffbf5 0%, #f5ede2 40%, #ede0d0 100%);
  overflow: hidden;
}

/* Fona attēls ar blur — MAINĪT BLUR STIPRUMU ŠEIT: */
.hero::after {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: calc(100% + 40px); height: calc(100% + 40px);
  background-image: url('https://cdn.shopify.com/s/files/1/0720/6325/4803/files/WhatsApp_Image_2026-02-02_at_14.01.17.jpg?v=1770115899');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  filter: blur(6px);                    /* <-- MAINĪT BLUR STIPRUMU: lielāks skaitlis = vairāk blur */
  opacity: 0.35;                        /* <-- MAINĪT CAURREDZAMĪBU: 0 = neredzams, 1 = pilnībā redzams */
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 20% 50%, rgba(44,124,141,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(213,118,57,0.05) 0%, transparent 60%),
              radial-gradient(ellipse at 50% 80%, rgba(129,168,80,0.04) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
  color: #153C4A;
  line-height: 1.15;
  margin: 0 auto 1.5rem auto;
  letter-spacing: -0.02em;
  max-width: 700px;
  text-align: center;
}

.hero p {
  font-size: 1.3rem;
  color: #4a6b7a;
  max-width: 580px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- POGAS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: #D57639;
  color: #fff;
  box-shadow: 0 4px 20px rgba(213,118,57,0.25);
}
.btn-primary:hover { background: #c0652e; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(213,118,57,0.35); }

.btn-secondary {
  background: #fff;
  color: #153C4A;
  border: 1px solid #e4d9cc;
}
.btn-secondary:hover { background: #f5ede2; border-color: #d4c9bc; }

.btn-teal {
  background: #2C7C8D;
  color: #fff;
  box-shadow: 0 4px 20px rgba(44,124,141,0.25);
}
.btn-teal:hover { background: #246a79; transform: translateY(-2px); }

.btn-green {
  background: #81A850;
  color: #fff;
  box-shadow: 0 4px 20px rgba(129,168,80,0.25);
}
.btn-green:hover { background: #6e9143; transform: translateY(-2px); }

.btn-outline { background: transparent; color: #2C7C8D; border: 2px solid #2C7C8D; }
.btn-outline:hover { background: #2C7C8D; color: #fff; }

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

.btn-outline-dark { background: transparent; color: #153C4A; border: 2px solid #e4d9cc; }
.btn-outline-dark:hover { background: #f5ede2; border-color: #153C4A; }

.btn-lg { font-size: 1.1rem; padding: 1rem 2.5rem; }

/* --- STATS BAR (iekš hero) --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 3rem auto 0 auto;
  padding: 0 2rem 3rem 2rem;
}

.stat-card {
  background: #fff;
  border: 1px solid #e4d9cc;
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: #D57639;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label { font-size: 0.9rem; color: #7a95a2; font-weight: 500; }

/* --- SERVICE CARDS --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 4px;
  padding: 2rem;
  border: 1px solid #e4d9cc;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: #2C7C8D;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.card-icon.teal   { background: rgba(44,124,141,0.1); color: #2C7C8D; }
.card-icon.orange { background: rgba(213,118,57,0.1); color: #D57639; }
.card-icon.green  { background: rgba(129,168,80,0.1); color: #81A850; }

.card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; color: #153C4A; }
.card p { color: #4a6b7a; font-size: 0.95rem; line-height: 1.6; flex-grow: 1; margin-bottom: 1.5rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #D57639;
  transition: gap 0.2s;
}
.card-link:hover { gap: 0.7rem; }

.card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  width: fit-content;
}

.card-badge.popular { background: rgba(213,118,57,0.12); color: #D57639; }
.card-badge.new     { background: rgba(44,124,141,0.12); color: #2C7C8D; }
.card-badge.hot     { background: rgba(231,76,60,0.1); color: #e74c3c; }

/* --- ABOUT --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.about-image img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }

.about-text h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 1.5rem; color: #153C4A; }
.about-text p { color: #4a6b7a; font-size: 1.05rem; margin-bottom: 1.25rem; line-height: 1.7; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #153C4A;
  font-weight: 600;
  font-size: 0.95rem;
}

.about-feature .check-icon { color: #81A850; font-size: 1.2rem; flex-shrink: 0; }

/* --- CTA BANNER --- */
.cta-banner {
  background: linear-gradient(135deg, #2C7C8D 0%, #153C4A 100%);
  border-radius: 4px;
  padding: 3.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 { font-size: 2.2rem; color: #fff; margin-bottom: 1rem; font-weight: 800; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }
.cta-banner .btn { margin: 0 0.5rem; }

/* --- FAQ --- */
#faq .section-title { text-align: center; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e4d9cc; }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #153C4A;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.5rem 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover { color: #D57639; }

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 1.5rem; }
.faq-answer p { color: #4a6b7a; line-height: 1.7; }

/* --- KONTAKTU FORMA --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.contact-info > p { font-size: 1.05rem; margin-bottom: 2rem; }

.contact-cards { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

.contact-card {
  background: #fff;
  border: 1px solid #e4d9cc;
  border-radius: 4px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color 0.3s;
}

.contact-card:hover { border-color: #D57639; }

.contact-card-icon {
  width: 44px; height: 44px;
  border-radius: 4px;
  background: rgba(44,124,141,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-card-info strong { display: block; color: #153C4A; font-size: 1rem; margin-bottom: 0.1rem; }
.contact-card-info span { color: #7a95a2; font-size: 0.9rem; }

.contact-form-box {
  background: #fff;
  border: 1px solid #e4d9cc;
  border-radius: 4px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.contact-form-box h3 { font-size: 1.4rem; font-weight: 700; color: #153C4A; margin-bottom: 1.5rem; }

/* --- FORMAS ELEMENTI --- */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #153C4A;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  background: #fffbf5;
  border: 2px solid #e4d9cc;
  border-radius: 4px;
  color: #153C4A;
  font-family: inherit;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #2C7C8D;
  box-shadow: 0 0 0 3px rgba(44,124,141,0.1);
}

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

/* Dark section form overrides */
.section-dark .contact-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
.section-dark .contact-card-info strong { color: #fff; }
.section-dark .contact-card-info span { color: rgba(255,255,255,0.6); }
.section-dark .contact-card-icon { background: rgba(44,124,141,0.25); }
.section-dark .contact-form-box {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.section-dark .contact-form-box h3 { color: #fff; }
.section-dark .contact-info h2 { color: #fff; }
.section-dark .contact-info > p { color: rgba(255,255,255,0.7); }

.section-dark .form-group label { color: rgba(255,255,255,0.85); }
.section-dark .form-group input,
.section-dark .form-group textarea,
.section-dark .form-group select {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.section-dark .form-group input::placeholder,
.section-dark .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.section-dark .form-group input:focus,
.section-dark .form-group textarea:focus,
.section-dark .form-group select:focus {
  border-color: #2C7C8D;
  box-shadow: 0 0 0 3px rgba(44,124,141,0.2);
}

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  background: #D57639;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}
.form-submit:hover:not(:disabled) { background: #c0652e; transform: translateY(-2px); }
.form-submit:disabled { background: #a8977e; cursor: not-allowed; }

.form-status {
  display: none;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* --- TEAM --- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.5rem; }

.team-card {
  background: #fff;
  border: 1px solid #e4d9cc;
  border-radius: 4px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }

.team-card img {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid rgba(213,118,57,0.2);
}

.team-card h4 { color: #153C4A; font-size: 1.1rem; margin-bottom: 0.25rem; }

.team-card .role {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #D57639;
  background: rgba(213,118,57,0.1);
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.team-card p { color: #7a95a2; font-size: 0.85rem; margin-bottom: 1rem; }
.team-card .phone { display:block; color: #2C7C8D; font-weight: 700; font-size: 0.95rem; margin-top:0.5rem; }

/* --- LOCATIONS --- */
.locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

.locations-map {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.locations-map img { width: 100%; }

.locations-list h3 { color: #153C4A; font-size: 1.3rem; margin-bottom: 1.5rem; }

.school-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.school-list li {
  color: #4a6b7a;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.school-list li::before { content: '▸'; color: #81A850; font-weight: 700; }

/* --- SHOP --- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }

.shop-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e4d9cc;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.shop-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.shop-card-image {
  height: 200px;
  background: #f5ede2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.shop-card-image img { width: 100%; height: 100%; object-fit: cover; }

.shop-card-body { padding: 1.5rem; }
.shop-card-body h4 { font-size: 1.05rem; font-weight: 700; color: #153C4A; margin-bottom: 0.5rem; }
.shop-card-body .price { font-size: 1.3rem; font-weight: 800; color: #D57639; margin-bottom: 0.75rem; }
.shop-card-body p { color: #7a95a2; font-size: 0.9rem; margin-bottom: 1.25rem; line-height: 1.5; }
.shop-card-body .btn { width: 100%; justify-content: center; }

.shop-filter { display: flex; gap: 0.75rem; margin-bottom: 2rem; flex-wrap: wrap; }

.filter-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid #e4d9cc;
  background: #fff;
  color: #4a6b7a;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.filter-btn:hover,
.filter-btn.active { background: #2C7C8D; border-color: #2C7C8D; color: #fff; }

/* --- PAGE HERO (subpages) --- */
.page-hero {
  padding: 130px 0 70px;
  text-align: center;
  background: linear-gradient(180deg, #f5ede2 0%, #fffbf5 100%);
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.page-hero h1 { font-size: 3rem; font-weight: 900; color: #153C4A; margin-bottom: 1rem; }
.page-hero p { font-size: 1.2rem; color: #4a6b7a; max-width: 650px; margin: 0 auto 2rem; }

/* --- FOOTER --- */
.footer {
  background: #f5ede2;
  padding: 4rem 0 2rem;
  color: #4a6b7a;
  border-top: 1px solid #e4d9cc;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 40px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; color: #4a6b7a; }

.footer h4 {
  color: #153C4A;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer ul li { margin-bottom: 0.6rem; }
.footer ul li a { color: #7a95a2; font-size: 0.95rem; transition: color 0.2s; }
.footer ul li a:hover { color: #D57639; }

.footer-bottom {
  border-top: 1px solid #e4d9cc;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #7a95a2;
}
.footer-bottom a { color: #7a95a2; }
.footer-bottom a:hover { color: #D57639; }

/* --- EQUIPMENT TAGS --- */
.equipment-tags { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

.equipment-tag {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid #e4d9cc;
  border-radius: 4px;
  padding: 0.9rem 1.3rem;
  transition: all 0.3s;
}
.equipment-tag:hover { border-color: #2C7C8D; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.equipment-tag-icon { font-size: 1.5rem; }
.equipment-tag-text strong { display: block; color: #153C4A; font-size: 0.9rem; }
.equipment-tag-text span { color: #7a95a2; font-size: 0.8rem; }

/* --- TESTIMONIALS --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }

.testimonial-card {
  background: #fff;
  border: 1px solid #e4d9cc;
  border-radius: 4px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.testimonial-stars { color: #D57639; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.testimonial-card p { color: #153C4A; font-size: 1rem; line-height: 1.7; font-style: italic; margin-bottom: 1rem; }
.testimonial-author { color: #7a95a2; font-size: 0.9rem; }

/* --- PAGE CONTENT (subpages) --- */
.page-content { padding: 4rem 0; background: #fffbf5; }
.page-content h2 { font-size: 2rem; font-weight: 800; color: #153C4A; margin-bottom: 1rem; }
.page-content h3 { font-size: 1.4rem; font-weight: 700; color: #153C4A; margin-bottom: 0.75rem; margin-top: 2rem; }
.page-content p { color: #4a6b7a; font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.25rem; }
.page-content ul { list-style: none; margin-bottom: 1.5rem; }
.page-content ul li { padding: 0.4rem 0; color: #4a6b7a; display: flex; align-items: flex-start; gap: 0.6rem; font-size: 1rem; }
.page-content ul li::before { content: '✓'; color: #81A850; font-weight: 700; flex-shrink: 0; }

.content-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin: 3rem 0; }
.content-image { border-radius: 4px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.content-image img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }

.equipment-showcase { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; margin: 2rem 0; }

.equipment-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e4d9cc;
  text-align: center;
  padding-bottom: 1.25rem;
  transition: all 0.3s;
}
.equipment-card:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(0,0,0,0.06); }
.equipment-card img { width: 100%; height: 160px; object-fit: cover; }
.equipment-card h4 { margin-top: 1rem; font-size: 1rem; font-weight: 700; color: #153C4A; }

/* --- DARK CARD OVERRIDES --- */
.section-dark .card,
.section-dark .testimonial-card,
.section-dark .team-card,
.section-dark .equipment-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.section-dark .card h3,
.section-dark .team-card h4,
.section-dark .equipment-card h4 { color: #fff; }
.section-dark .card p,
.section-dark .team-card p,
.section-dark .testimonial-card p { color: rgba(255,255,255,0.7); }
.section-dark .testimonial-author { color: rgba(255,255,255,0.5); }
.section-dark .contact-form-box { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }

/* --- KONTAKTU LAPA (tehnoloģiskais izkārtojums) --- */
#contact-page-v3 .section-label { color: #D57639; }
#contact-page-v3 h1,
#contact-page-v3 h2,
#contact-page-v3 h3 { color: #153C4A; }
#contact-page-v3 .section-subtitle,
#contact-page-v3 p { color: #4a6b7a; }
#contact-page-v3 a { color: #D57639; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .section-title { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { order: -1; }
  .about-image img { min-height: 300px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0;
    width: 100%;
    background: rgba(255,251,245,0.98);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0.5rem;
    border-bottom: 1px solid #e4d9cc;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0; font-size: 1rem; }
  .nav-hamburger { display: flex; }

  .hero { padding: 100px 0 40px; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.05rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .contact-grid, .locations-grid, .content-grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .section-title { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-features { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2.2rem; }
  .page-hero p { font-size: 1rem; }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .cta-banner h2 { font-size: 1.6rem; }
  .team-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .school-list { grid-template-columns: 1fr; }
  .equipment-showcase { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .stats-bar { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .equipment-tags { flex-direction: column; }
  .shop-filter { flex-direction: column; }
  .equipment-showcase { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.8rem; }
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp 0.6s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
