/* ==========================================================================
   SymphonyCDN – stylesheet
   ========================================================================== */

:root {
  --theme: #3cb5d0;
  --theme-dark: #2a9cb6;
  --navy: #061c34;
  --blue: #15598d;
  --text: #626262;
  --heading: #444444;
  --grey-bg: #f4f4f4;
  --light-bg: #f9f9f9;
  --border: #e6e6e6;
  --white: #ffffff;
  --header-h: 90px;
  --container: 1200px;
  --radius: 4px;
  --font-head: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--theme); text-decoration: none; transition: color .2s; }
a:hover { color: var(--theme-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  margin: 0 0 .6em;
  line-height: 1.25;
}

p { margin: 0 0 1em; }

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

.narrow { max-width: 1000px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .98);
  transition: box-shadow .3s;
}

.site-header.is-sticky { box-shadow: 0 2px 5px rgba(0, 0, 0, .1); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo img { height: 55px; width: auto; }

.main-menu ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.main-menu a {
  position: relative;
  display: block;
  padding: 10px 18px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
}

/* BeTheme-style triangle marker on hover / active */
.main-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  margin-left: -7px;
  border: 7px solid transparent;
  border-bottom-color: var(--theme);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}

.main-menu a:hover,
.main-menu a.active { color: var(--theme); }

.main-menu a:hover::after,
.main-menu a.active::after { opacity: 1; transform: none; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  font-size: 28px;
  color: var(--heading);
  cursor: pointer;
  line-height: 0;
}

.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: inline; }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--navy) url("/images/mainbackground.jpg") no-repeat center top;
  background-size: cover;
  color: var(--white);
  overflow: hidden;
}

.hero-inner {
  min-height: 512px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 60px;
  text-align: center;
}

.hero-logo {
  width: 600px;
  max-width: 90%;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, .35));
}

.hero-title {
  max-width: 900px;
  color: var(--white);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.45;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

/* --------------------------------------------------------------------------
   Page title (sub pages)
   -------------------------------------------------------------------------- */

.page-title {
  background: var(--navy) url("/images/pagebck.jpg") no-repeat center top;
  background-size: cover;
  padding: 70px 0 60px;
  text-align: center;
}

.page-title h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 90px 0; }
.section-white { background: var(--white); }
.section-grey { background: var(--grey-bg); }
.section-light { background: var(--light-bg); }
.section-blue { background: var(--blue); color: var(--white); }
.bordered { border-top: 1px solid var(--border); }

.section-title {
  color: var(--theme);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 30px;
}

.section-blue .section-title { color: var(--white); }

.lead {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--heading);
}

.diagram {
  margin: 50px auto 0;
  width: 797px;
}

/* --------------------------------------------------------------------------
   Grid & icon boxes
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: 40px 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.features { margin-top: 20px; }

.icon-box { text-align: center; }

.icon-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 0 12px;
}

.icon-box p {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--heading);
  margin: 0;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-size: 48px;
  color: var(--theme);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(21, 89, 141, .08);
  transition: transform .3s, background .3s, color .3s;
}

.section-white .icon-circle { background: #eef8fb; box-shadow: none; }

.icon-box:hover .icon-circle {
  transform: translateY(-4px);
  background: var(--theme);
  color: var(--white);
}

.icon-box.icon-left {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
}

.icon-box.icon-left .icon-circle { width: 80px; height: 80px; font-size: 38px; }
.icon-box.icon-left h3 { margin-top: 8px; }

.icon-list { margin-top: 60px; }

/* --------------------------------------------------------------------------
   Network map
   -------------------------------------------------------------------------- */

.locations { padding: 70px 0 80px; }

.world-map { max-width: 894px; margin: 0 auto; }
.world-map img { margin: 0 auto; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pricing { margin-top: 50px; align-items: stretch; }

.plan {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 35px 25px 30px;
  text-align: center;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.plan:hover {
  transform: translateY(-6px);
  border-color: var(--theme);
  box-shadow: 0 14px 30px rgba(21, 89, 141, .12);
}

.plan-header {
  border-bottom: 1px solid var(--theme);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.plan-header h3 { font-size: 26px; font-weight: 700; margin-bottom: 15px; }

.price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  font-family: var(--font-body);
  color: var(--theme);
}

.price sup { font-size: 18px; line-height: 1; margin-top: 4px; }
.price span { font-size: 42px; font-weight: 300; line-height: 1; }
.price sub { font-size: 14px; color: var(--text); align-self: flex-end; margin-left: 4px; }
.price-text span { font-size: 30px; line-height: 48px; }

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--heading);
}

.plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.plan-features li:last-child { border-bottom: 0; }
.plan-features strong { color: var(--heading); font-weight: 800; }
.plan-features small { display: block; font-size: 12px; color: #999; }

/* --------------------------------------------------------------------------
   CTA & buttons
   -------------------------------------------------------------------------- */

.cta { padding: 60px 0 70px; background: var(--white); }
.cta .section-title { margin-bottom: 20px; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  background: var(--theme);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.button:hover {
  color: var(--white);
  background: var(--theme-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(60, 181, 208, .4);
}

.button .icon { font-size: 18px; stroke-width: 2.4; }
.button[disabled] { opacity: .6; cursor: wait; transform: none; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-intro { padding: 60px 0; }
.contact-intro .icon-box { max-width: 1000px; margin: 0 auto; }
.contact-intro .icon-circle { flex-shrink: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.contact-heading { text-align: right; }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--heading);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--heading);
  background: var(--white);
  border: 1px solid #dddddd;
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}

.field textarea { resize: vertical; min-height: 160px; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--theme);
  box-shadow: 0 0 0 3px rgba(60, 181, 208, .2);
}

.field.has-error input,
.field.has-error textarea { border-color: #e04b4b; }

.field-error {
  display: block;
  min-height: 0;
  margin-top: 4px;
  font-size: 13px;
  color: #e04b4b;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  display: none;
  padding: 12px 16px;
  border: 2px solid;
  border-radius: var(--radius);
  font-weight: 500;
}

.form-status.success { display: block; border-color: #46b450; color: #2e7d32; }
.form-status.error { display: block; border-color: #ffb900; color: #8a6d00; }

/* reCAPTCHA v3: hide the floating badge, the notice below the form is shown instead (allowed by Google) */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-note { margin-top: 16px; font-size: 12px; color: #999; }
.recaptcha-note a { color: #999; text-decoration: underline; }
.recaptcha-note a:hover { color: var(--theme); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: #292b33;
  color: #cccccc;
  font-size: 14px;
}

.footer-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
}

.back-to-top {
  position: absolute;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 22px;
  color: #cccccc;
  border-radius: 50%;
  transition: background .2s, color .2s;
}

.back-to-top:hover { color: var(--white); background: var(--theme); }

/* --------------------------------------------------------------------------
   Reveal-on-scroll animation
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }

  .logo img { height: 45px; }

  .menu-toggle { display: block; }

  .main-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }

  .menu-open .main-menu { max-height: 400px; }

  .main-menu ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .main-menu a { padding: 14px 20px; border-top: 1px solid #f2f2f2; text-align: center; }
  .main-menu a::after { display: none; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .hero-inner { min-height: 400px; }
}

@media (max-width: 767px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 10px; }
  .contact-heading { text-align: left; }

  .icon-box.icon-left { gap: 16px; }
  .icon-box.icon-left .icon-circle { width: 60px; height: 60px; font-size: 28px; }

  .lead { font-size: 16px; }
  .hero-inner { min-height: 340px; }
  .plan { max-width: 380px; width: 100%; margin: 0 auto; }

  .footer-inner { justify-content: flex-start; }
}
