@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Overlock:wght@400;700;900&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.3;
  color: #0f5b5b;
  background: #fff;
  min-width: 320px;
}

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

a {
  color: #0f5b5b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-wrapper {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
}

/* Header */
.site-header {
  background: #f30b0b;
  position: relative;
  min-height: 201px;
  overflow: hidden;
}

.header-banner {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1141px;
  max-width: none;
  height: 126px;
  object-fit: cover;
  z-index: 0;
}

.header-content {
  position: relative;
  z-index: 1;
  padding: 25px 25px 15px;
  min-height: 201px;
}

.header-tagline {
  font-family: 'Overlock', cursive;
  font-size: 45px;
  line-height: 1.1;
  color: #fff;
  font-weight: 400;
  max-width: 350px;
}

.header-phone {
  position: absolute;
  top: 0;
  right: 25px;
  font-family: 'Overlock', cursive;
  font-size: 14px;
  color: #fff;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.header-logo {
  position: absolute;
  top: 50px;
  right: 42px;
  width: 113px;
  height: auto;
}

/* Navigation */
.main-nav {
  background: linear-gradient(to bottom, #fff 0%, #f5f5f5 100%);
  border-bottom: 1px solid #ddd;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 0 auto;
}

.main-nav li {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.main-nav a {
  display: block;
  padding: 15px 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #0f5b5b;
  text-decoration: none;
  border-radius: 10px 10px 0 0;
  transition: background 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: #fff;
  text-decoration: none;
  color: #000;
}

.nav-toggle {
  display: none;
  background: #f30b0b;
  color: #fff;
  border: none;
  padding: 12px 20px;
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  cursor: pointer;
}

/* Main content */
.main-content {
  padding: 20px 0 40px;
  min-height: 500px;
}

.hero-title {
  font-family: 'Overlock', cursive;
  font-size: 45px;
  line-height: 1.2;
  color: #0f5b5b;
  padding: 0 10px 20px;
  max-width: 790px;
}

.page-heading {
  font-family: 'Overlock', cursive;
  font-size: 30px;
  color: #0f5b5b;
  margin-bottom: 10px;
}

.page-subheading {
  font-family: 'Overlock', cursive;
  font-size: 60px;
  color: #000;
  margin-bottom: 15px;
}

.section-intro {
  font-family: 'Overlock', cursive;
  font-size: 22px;
  line-height: 1.3;
  color: #000;
  margin-bottom: 25px;
  max-width: 857px;
}

.content-block {
  padding: 0 27px;
}

/* Home layout */
.home-section {
  padding: 0 10px;
}

.home-live-title {
  font-family: 'Overlock', cursive;
  font-size: 45px;
  color: #000;
  padding: 35px 65px 0;
}

.home-video-wrap {
  padding: 20px 45px;
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  background: #000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 30px 3px 20px;
}

.card {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  border-radius: 0;
  padding: 22px 23px 30px;
  min-height: 277px;
  display: flex;
  flex-direction: column;
}

.card h3 {
  font-family: 'Overlock', cursive;
  font-size: 26px;
  color: #000;
  margin-bottom: 12px;
}

.card p {
  font-family: 'Overlock', cursive;
  font-size: 22px;
  line-height: 1.3;
  color: #000;
  flex: 1;
  margin-bottom: 15px;
}

.card ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #000;
  flex: 1;
}

.card .btn {
  align-self: flex-end;
  margin-top: auto;
}

.btn {
  display: inline-block;
  padding: 8px 18px;
  background: #fff;
  border: none;
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: #0f5b5b;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}

/* Media rows (video + text) */
.media-row {
  display: grid;
  grid-template-columns: 388px 1fr;
  gap: 24px;
  align-items: start;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  padding: 0;
  margin-bottom: 40px;
  overflow: hidden;
}

.media-row .video-embed {
  max-width: 100%;
}

.media-row .media-text {
  padding: 45px 20px 20px 0;
}

.media-row h3 {
  font-family: 'Overlock', cursive;
  font-size: 26px;
  color: #000;
  margin-bottom: 12px;
}

.media-row p {
  font-family: 'Overlock', cursive;
  font-size: 22px;
  line-height: 1.3;
  color: #000;
}

/* Partner rows */
.partner-row {
  display: grid;
  grid-template-columns: 660px 1fr;
  gap: 0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  margin-bottom: 40px;
  overflow: hidden;
  min-height: 236px;
}

.partner-row.reverse {
  grid-template-columns: 374px 1fr;
}

.partner-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 235px;
}

.partner-row .partner-text {
  padding: 45px 20px;
}

.partner-row h3 {
  font-family: 'Overlock', cursive;
  font-size: 26px;
  color: #000;
  margin-bottom: 8px;
}

.partner-row p {
  font-family: 'Overlock', cursive;
  font-size: 22px;
  line-height: 1.3;
  color: #000;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.service-item {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 17px;
  align-items: start;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  padding: 0;
  min-height: 150px;
  overflow: hidden;
}

.service-item img {
  width: 145px;
  height: 150px;
  object-fit: cover;
}

.service-item h3 {
  font-family: 'Overlock', cursive;
  font-size: 26px;
  color: #000;
  padding: 23px 10px 10px 0;
}

.service-text-block {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  padding: 20px;
  margin-bottom: 20px;
}

.service-text-block p {
  font-size: 15px;
  line-height: 1.5;
  color: #000;
}

.service-text-block h3 {
  font-family: 'Overlock', cursive;
  font-size: 26px;
  color: #000;
  margin-bottom: 10px;
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  padding: 0 27px;
}

.contact-info h2 {
  font-family: 'Overlock', cursive;
  font-size: 30px;
  color: #0f5b5b;
  margin-bottom: 10px;
}

.contact-info h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.contact-info p {
  font-size: 15px;
  line-height: 1.5;
  color: #000;
}

.contact-form {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  padding: 20px;
}

.contact-form label {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: #0f5b5b;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
}

.contact-form textarea {
  min-height: 80px;
  resize: vertical;
}

.contact-form button {
  background: #000;
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  cursor: pointer;
}

.contact-map {
  margin: 30px 27px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.contact-map iframe {
  width: 100%;
  height: 436px;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 6px solid #0f5b5b;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  padding: 36px 24px 20px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  font-family: 'Overlock', cursive;
  font-size: 22px;
  color: #000;
  margin-bottom: 15px;
}

.footer-gallery {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-gallery img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.footer-address p {
  font-size: 12px;
  line-height: 1.5;
  color: #000;
}

.footer-map iframe {
  width: 100%;
  height: 170px;
  border: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #eee;
  font-size: 11px;
  color: #545454;
}

.footer-bottom a {
  font-size: 12px;
  color: #0f5b5b;
}

/* Responsive */
@media (max-width: 960px) {
  .header-banner {
    width: 100%;
    left: 0;
    transform: none;
  }

  .header-phone {
    position: static;
    text-align: left;
    margin-top: 10px;
    white-space: normal;
  }

  .header-logo {
    position: static;
    margin-top: 10px;
  }

  .home-cards {
    grid-template-columns: 1fr;
  }

  .media-row,
  .partner-row,
  .partner-row.reverse {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 32px;
  }

  .home-live-title {
    font-size: 32px;
    padding: 20px 20px 0;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
  }

  .main-nav ul.open {
    display: flex;
  }

  .main-nav li {
    flex: none;
  }

  .main-nav a {
    border-radius: 0;
    border-bottom: 1px solid #eee;
  }

  .header-tagline {
    font-size: 28px;
  }

  .page-subheading {
    font-size: 36px;
  }
}
