/* ── HOME PAGE STYLES (index.html) ── */

section { padding: 6rem 5vw; }

/* ── HERO ── */
#hero {
  min-height: 52vh;
  background: var(--navy-dark);
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(232,160,48,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,160,48,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232,160,48,0.1);
}
.hc1 { width: 600px; height: 600px; top: -150px; right: -100px; animation: expandRing 8s ease-out both; }
.hc2 { width: 400px; height: 400px; top: 50px; right: 50px; animation: expandRing 8s 0.3s ease-out both; }
.hc3 { width: 200px; height: 200px; top: 150px; right: 150px; animation: expandRing 8s 0.6s ease-out both; }
.hc4 { width: 900px; height: 900px; bottom: -400px; left: -300px; opacity: 0.4; }

.contour-lines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    135deg, transparent, transparent 40px,
    rgba(232,160,48,0.025) 40px, rgba(232,160,48,0.025) 41px
  );
}

.hero-scan {
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.25;
  animation: scanLine 5s ease-in-out infinite;
}

.hero-photo {
  position: absolute;
  top: 5rem;
  right: 5vw;
  bottom: 5rem;
  width: min(42vw, 580px);
  border: 1px solid rgba(232,160,48,0.28);
  border-radius: 4px;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 24px 60px rgba(0,0,0,0.38);
  animation: fadeUp 1.2s 0.8s ease both;
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(30,35,71,0.1), rgba(30,35,71,0.58));
  pointer-events: none;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.hero-content {
  position: relative; z-index: 3;
  padding: 0 5vw; max-width: min(820px, 55vw);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(232,160,48,0.1);
  border: 1px solid rgba(232,160,48,0.3);
  color: var(--gold);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 3px;
  margin-bottom: 2rem;
  animation: fadeUp 1s 0.2s ease both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold);
  animation: pulse 2s infinite;
}

h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  animation: fadeUp 1s 0.3s ease both;
}
h1 em { font-style: normal; color: var(--gold); display: block; }

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: fadeUp 1s 0.4s ease both;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 1s 0.5s ease both;
}

.hero-stats {
  position: absolute; bottom: 1.5rem; left: 5vw; right: 5vw;
  display: flex; gap: 3rem;
  border-top: 1px solid rgba(232,160,48,0.15);
  padding-top: 2rem;
  animation: fadeUp 1s 0.7s ease both;
}
.stat-num {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem; font-weight: 800; color: var(--gold);
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ── SERVICES ── */
#services { background: var(--cream); }

.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 4rem; flex-wrap: wrap; gap: 2rem;
}
.services-intro {
  max-width: 440px; color: var(--text-light);
  line-height: 1.75; font-size: 0.95rem; font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: rgba(26,95,160,0.08);
}

.service-card {
  background: var(--white);
  padding: 2.5rem; position: relative;
  overflow: hidden; transition: transform 0.35s, box-shadow 0.35s;
  cursor: default;
}
.service-card::before {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s;
}
.service-card:hover { transform: translateY(-6px); z-index: 2; box-shadow: 0 16px 48px rgba(10,35,64,0.12); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .service-icon { background: var(--navy); }

.service-icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  border-radius: 4px; font-size: 1.3rem;
  margin-bottom: 1.5rem; transition: all 0.3s;
}

.service-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.7rem;
}
.service-card p {
  font-size: 0.86rem; color: var(--text-light);
  line-height: 1.7; font-weight: 300;
}
.service-num {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem; font-weight: 700;
  color: rgba(26,95,160,0.15); letter-spacing: 0.1em;
}

.service-media { width: 100%; height: 160px; overflow: hidden; border-radius: 4px; margin-bottom: 1rem; }
.card-media { display: block; position: relative; text-decoration: none; color: inherit; overflow: hidden; height: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.card-media:hover img { transform: scale(1.05); }
.media-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(13,61,122,0.88), rgba(13,61,122,0.2));
  color: #fff; padding: 0.6rem 0.8rem; font-weight: 700;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.card-media:hover .media-overlay { transform: translateY(0); }

/* ── ABOUT ── */
#about {
  background: var(--navy-dark);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; padding: 0;
}

.about-visual {
  position: relative;
  min-height: 550px;
  overflow: hidden;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.topo-bg {
  position: absolute; inset: 0;
  background: repeating-radial-gradient(
    ellipse at 50% 50%,
    transparent 0, transparent 30px,
    rgba(232,160,48,0.06) 30px, rgba(232,160,48,0.06) 31px
  );
}

.about-photo {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 8s ease;
}
.about-visual:hover .about-photo { transform: scale(1.03); }

.photo-caption {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  background: rgba(10,35,64,0.88);
  backdrop-filter: blur(8px);
  border-left: 3px solid var(--gold);
  padding: 15px; z-index: 10;
  color: var(--white);
  font-family: 'Raleway', sans-serif;
}
.caption-title {
  display: block;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 5px; letter-spacing: 1px;
}
.caption-text { display: block; font-size: 0.85rem; line-height: 1.4; opacity: 0.9; }

.about-content {
  padding: 6rem;
  display: flex; flex-direction: column; justify-content: center;
}
.about-content .section-label { color: rgba(232,160,48,0.7); }
.about-content h2 { color: var(--white); }
.about-content p {
  color: rgba(255,255,255,0.55);
  line-height: 1.85; font-size: 0.93rem;
  font-weight: 300; margin-bottom: 1.4rem;
}

.competences { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.tag {
  background: rgba(232,160,48,0.08);
  border: 1px solid rgba(232,160,48,0.2);
  color: rgba(232,160,48,0.85);
  font-size: 0.73rem; font-weight: 500;
  padding: 0.35rem 0.85rem; border-radius: 2px;
  letter-spacing: 0.05em;
  transition: background 0.2s, border-color 0.2s;
}
.tag:hover { background: rgba(232,160,48,0.15); border-color: rgba(232,160,48,0.4); }

/* ── CONTACT ── */
#contact { background: var(--cream); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.contact-info p {
  color: var(--text-light); line-height: 1.75;
  font-weight: 300; margin-bottom: 2.5rem;
}
.contact-items { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.c-icon {
  width: 42px; height: 42px;
  background: var(--navy); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.contact-item:hover .c-icon { background: var(--navy-light); transform: scale(1.1); }
.c-label {
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); display: block;
}
.c-value { font-size: 0.88rem; color: var(--navy); font-weight: 500; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--mid);
}
.form-group input, .form-group select, .form-group textarea {
  background: var(--white);
  border: 1px solid rgba(26,95,160,0.15);
  padding: 0.8rem 1rem;
  font-family: 'Lato', sans-serif; font-size: 0.9rem;
  color: var(--navy); border-radius: 3px;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,95,160,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── MAP ── */
#map-section { background: var(--white); padding: 4rem 5vw 5rem; }

.map-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}
.map-iframe-wrap {
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.map-iframe-wrap iframe {
  border: 0; width: 100%; min-height: 460px; display: block;
}
.map-info-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(26,95,160,0.08);
}
.map-info-card h3 {
  font-family: 'Raleway', sans-serif;
  color: var(--navy); margin-bottom: 1.5rem;
  font-size: 1.3rem; font-weight: 700;
}
.map-info-card p { margin-bottom: 1rem; color: var(--text-light); line-height: 1.6; }
.map-info-row { margin-bottom: 1.5rem; }
.map-info-row strong { display: block; color: var(--navy); margin-bottom: 0.3rem; font-size: 0.85rem; }
.map-info-row span, .map-info-row a { color: var(--text-light); font-size: 0.9rem; text-decoration: none; }
.map-info-row a:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .map-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  #about { grid-template-columns: 1fr; }
  .about-visual { min-height: 280px; }
  .about-content { padding: 3rem 5vw; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .hero-content { max-width: 100%; }
  .hero-desc { max-width: 100%; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
}
