/* ============================================================
   TOTAL CONTRACT SERVICES — Stylesheet
   ============================================================ */

:root {
  --red:       #b22222;
  --black:     #333333;
  --text:      #444444;
  --light:     #888888;
  --white:     #ffffff;
  --border:    #dddddd;
  --font-head: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Section base ---- */
.section { padding: 80px 0; }

/* ---- Common headings ---- */
.section__title--red {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 28px;
}
.section__title--black {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}
.section__title--center { text-align: center; }

.body-text {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.75;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 110px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav__name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav__tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--light);
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--red); }
.nav__link--active { color: var(--red); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
}

.hero__img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__text {
  text-align: center;
  max-width: 700px;
  width: 50%;
  padding: 60px 72px;
  background: rgba(255, 255, 255, 0.72);
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1rem;
  color: #555;
  margin-bottom: 28px;
}

.hero__link {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-body);
  padding: 14px 36px;
  border-radius: 4px;
  transition: background 0.2s;
  text-decoration: none;
}
.hero__link:hover { background: #8b1a1a; }


/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--white); }
.about .container { max-width: 860px; }


/* ============================================================
   LICENCES
   ============================================================ */
.licences { background: var(--white); padding-top: 0; }
.licences .container { max-width: 860px; }


/* ============================================================
   WHO WE SERVICE
   ============================================================ */
.who-we-service { background: var(--white); }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-bottom: 48px;
  align-items: center;
}

.service-row__img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.service-row__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
  height: 260px;
}

.service-row__heading {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: auto;
  margin-top: 24px;
  display: block;
}
.service-row__heading:hover { text-decoration: underline; }

.service-row__read-more {
  font-size: 0.85rem;
  color: var(--light);
  margin-top: auto;
  margin-bottom: 24px;
  display: block;
}
.service-row__read-more:hover { color: var(--red); }


/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--white); border-top: 1px solid var(--border); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact__info .section__title--red { margin-bottom: 20px; }

.contact__phone { color: var(--text); }

.contact__email-block { margin-top: 16px; }

.contact__email-link {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: underline;
}
.contact__email-link:hover { color: var(--black); }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
  background: var(--white);
  outline: none;
  resize: vertical;
  border-radius: 2px;
}
.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--red);
}
.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: var(--light);
}

.form__send-row {
  display: flex;
  justify-content: flex-end;
}

.btn-send {
  padding: 10px 48px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  border-radius: 2px;
}
.btn-send:hover {
  border-color: var(--red);
  color: var(--red);
}

.form__success {
  display: none;
  color: #2e7d32;
  font-size: 0.9rem;
  padding: 10px;
  background: #e8f5e9;
  border-radius: 2px;
  text-align: center;
}
.form__success.visible { display: block; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--white);
  text-align: center;
  padding: 48px 0 0;
}

.footer__inner {
  padding-bottom: 32px;
}

.footer__name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 8px;
}

.footer__phone {
  font-size: 0.95rem;
  color: var(--black);
  margin-bottom: 10px;
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--text);
}

.footer__link {
  text-decoration: underline;
  color: var(--text);
}
.footer__link:hover { color: var(--red); }

.footer__rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}


/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page__sub {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 52px;
}

.services-col__img {
  margin-bottom: 24px;
}

.services-col__img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.services-col__title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 20px;
}

.services-list {
  list-style: disc;
  padding-left: 24px;
  margin-top: 8px;
}
.services-list li {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 6px;
  padding-left: 8px;
}

.services-cta {
  margin-top: 64px;
  text-align: center;
}

.services-cta__text {
  font-size: 0.95rem;
  color: var(--light);
  margin-bottom: 4px;
}

.services-cta__link-row {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
}

.services-cta__link {
  font-size: 0.95rem;
  color: var(--red);
  text-decoration: underline;
}
.services-cta__link:hover { color: var(--black); }


/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  margin-bottom: 72px;
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.project-card__label {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--red);
  margin-top: 12px;
}

.project-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
}

.project-list__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 16px;
}

.project-list ul {
  list-style: none;
  padding: 0;
}

.project-list li {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.5;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links { gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .service-row { grid-template-columns: 1fr; }
  .service-row__img img { height: 220px; }
  .service-row__text { height: auto; padding: 24px 16px; }
}

@media (max-width: 680px) {
  .nav { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .nav__links { gap: 16px; }
  .hero__img { height: 320px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-lists { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .section__title--red { font-size: 1.6rem; }
  .section { padding: 48px 0; }
}
