/*
Theme Name: My Hosting Services
Theme URI: https://myhosting.services
Author: My Hosting Services
Description: Custom theme matching the Lovable design — light blue / sky / navy palette with gradients, waves and blurred glow accents.
Version: 2.8
License: GPL-2.0+
Text Domain: my-hosting
*/

/* ==========================================================================
   My Hosting Services — WordPress theme styles
   Mirrors the Lovable design (palette, gradients, waves, blur orbs, marquee)
   ========================================================================== */

:root {
  --navy:      #1f2c5c;
  --navy-2:    #2a3b78;
  --sky:       #4f9bff;
  --sky-soft:  #c2dcf2;
  --sky-tint:  #f1f7fc;
  --primary:   #2563eb;
  --primary-2: #4f9bff;
  --bg:        #ffffff;
  --fg:        #1a2447;
  --muted:     #5a6889;
  --border:    #e3ecf6;
  --destructive:#d83838;

  --grad-primary: linear-gradient(135deg, #2563eb 0%, #4f9bff 100%);
  --grad-navy:    linear-gradient(135deg, #1f2c5c 0%, #2a3b78 100%);
  --grad-hero:    linear-gradient(135deg, #f1f7fc 0%, #c2dcf2 100%);

  --shadow-soft: 0 10px 40px -15px rgba(37, 99, 235, .25);
  --shadow-card: 0 4px 20px -8px rgba(37, 99, 235, .15);
  --radius:      1rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -.02em;
  color: var(--navy);
  margin: 0;
}
p { margin: 0; color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.myh-container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .myh-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .myh-container { padding: 0 2rem; } }

.myh-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .2em;
}
.myh-text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Buttons */
.myh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .85rem 1.5rem;
  border-radius: 9999px; font-weight: 600; font-size: .95rem;
  border: 0; cursor: pointer; transition: all .25s ease;
  text-align: center;
}
.myh-btn--primary { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-soft); }
.myh-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 35px -10px rgba(37,99,235,.4); }
.myh-btn--ghost {
  background: rgba(255,255,255,.85); color: var(--navy);
  border: 1px solid var(--sky-soft); backdrop-filter: blur(8px);
}
.myh-btn--ghost:hover { background: #fff; }
.myh-btn .myh-ico { width: 18px; height: 18px; }

/* ============== HEADER ============== */
.myh-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, box-shadow .3s, border-color .3s;
  background: transparent;
}
.myh-header.is-scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.myh-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.25rem;
}
.myh-logo { display: inline-flex; color: var(--navy); }
.myh-logo--light { color: #fff; }
.myh-logo__svg { height: 38px; width: auto; }
.myh-nav { display: none; gap: .25rem; }
@media (min-width: 1024px) { .myh-nav { display: flex; } .myh-cta-desktop { display: inline-flex; } }
.myh-cta-desktop { display: none; }
.myh-nav a {
  padding: .5rem 1rem; font-size: .9rem; font-weight: 500;
  color: rgba(26,36,71,.8); border-radius: .5rem; transition: all .2s;
}
.myh-nav a:hover { color: var(--primary); background: var(--sky-tint); }

.myh-burger {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: transparent; border: 0; padding: .5rem; cursor: pointer; color: var(--navy);
}
.myh-burger span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
@media (min-width: 1024px) { .myh-burger { display: none; } }

.myh-mobile-nav {
  display: flex; flex-direction: column; gap: .25rem;
  margin: 0 1rem 1rem; padding: .75rem;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 1rem;
  box-shadow: var(--shadow-card);
}
.myh-mobile-nav[hidden] { display: none !important; }
.myh-mobile-nav a { padding: .7rem 1rem; border-radius: .5rem; font-weight: 500; }
.myh-mobile-nav a:hover { background: var(--sky-tint); color: var(--primary); }
.myh-mobile-nav .myh-btn { margin-top: .5rem; }

/* ============== HERO ============== */
.myh-hero {
  position: relative; padding: 7rem 0 4rem;
  background: linear-gradient(180deg, var(--sky-tint) 0%, var(--sky-tint) 60%, var(--bg) 100%);
  overflow: hidden;
  text-align: center;
}
.myh-hero__glow {
  position: absolute; border-radius: 9999px; filter: blur(80px); pointer-events: none;
}
.myh-hero__glow--a { top: -6rem; left: -6rem; width: 24rem; height: 24rem; background: rgba(79,155,255,.30); }
.myh-hero__glow--b { top: 33%; right: -8rem; width: 24rem; height: 24rem; background: rgba(37,99,235,.20); }
.myh-hero__inner { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; text-align: center; }
.myh-hero__title {
  margin-top: 1rem; font-size: clamp(2rem, 5vw + 1rem, 4.5rem);
  font-weight: 700; line-height: 1.05;
}
.myh-hero__sub {
  margin-top: 1rem; font-size: clamp(1.1rem, 1.4vw + .8rem, 1.85rem);
  font-weight: 300; color: rgba(31,44,92,.8);
}
.myh-hero__lead {
  margin: 1.25rem auto 0; max-width: 640px;
  color: var(--muted); font-size: 1rem;
}
.myh-hero__ctas {
  margin: 2rem auto 0; display: flex; flex-direction: column; gap: .75rem;
  align-items: stretch; max-width: 320px;
}
@media (min-width: 640px) {
  .myh-hero { padding: 9rem 0 7rem; }
  .myh-hero__ctas { flex-direction: row; justify-content: center; max-width: none; }
}
@media (min-width: 1024px) {
  .myh-hero { padding: 10rem 0 9rem; }
}



/* ============== Section base ============== */
.myh-section { position: relative; padding: 6rem 0; overflow: hidden; }
.myh-section__head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.myh-section__head h2 { margin-top: .75rem; font-size: clamp(1.85rem, 1.5vw + 1.25rem, 3rem); font-weight: 700; }
.myh-section__head p { margin-top: 1rem; font-size: 1.05rem; }

/* ============== ADVANTAGES ============== */
.myh-advantages { background: var(--bg); padding-bottom: 6rem; }
.myh-grid { display: grid; gap: 1.5rem; }
.myh-grid--2 { grid-template-columns: 1fr; }
.myh-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .myh-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .myh-grid--2 { grid-template-columns: repeat(2, 1fr); } .myh-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.myh-adv {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.5rem; border-radius: 1.5rem;
  background: var(--sky-tint); border: 1px solid var(--sky-soft);
  transition: all .3s ease;
}
.myh-adv:hover { border-color: var(--sky); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.myh-adv__icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 1rem;
  background: var(--grad-primary);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: var(--shadow-soft);
}
.myh-adv__icon .myh-ico { width: 26px; height: 26px; }
.myh-adv h3 { font-size: 1.25rem; font-weight: 700; }
.myh-adv p { margin-top: .4rem; font-size: .95rem; }

/* ============== SERVICES ============== */
.myh-services { background: var(--sky-tint); }
.myh-card-svc {
  background: #fff; border-radius: 1.5rem; padding: 1.75rem;
  border: 1px solid var(--sky-soft); transition: all .3s ease;
}
.myh-card-svc:hover { border-color: var(--sky); box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.myh-svc__icon {
  width: 56px; height: 56px; border-radius: 1rem;
  background: var(--grad-primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
}
.myh-svc__icon .myh-ico { width: 26px; height: 26px; }
.myh-card-svc h3 { margin-top: 1rem; font-size: 1.15rem; font-weight: 700; }
.myh-card-svc p { margin-top: .5rem; font-size: .9rem; }

/* ============== GALLERY ============== */
.myh-gallery { background: var(--sky-tint); padding-bottom: 4rem; }
.myh-gallery__track {
  display: flex; gap: 1.25rem; overflow-x: auto;
  padding: 0 1.5rem 1.5rem; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -ms-overflow-style: none; scrollbar-width: none;
}
.myh-gallery__track::-webkit-scrollbar { display: none; }
.myh-gallery__item {
  flex: 0 0 auto; width: 85%; aspect-ratio: 4/3;
  border-radius: 1.5rem; overflow: hidden; margin: 0;
  scroll-snap-align: center;
  box-shadow: var(--shadow-soft);
  outline: 1px solid rgba(255,255,255,.4);
  background: #fff;
}
@media (min-width: 640px) { .myh-gallery__item { width: 60%; } }
@media (min-width: 1024px) { .myh-gallery__item { width: 420px; } }
.myh-gallery__item img { width: 100%; height: 100%; object-fit: cover; }

/* Gallery dots */
.myh-gallery__dots {
  margin-top: .5rem;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.myh-gallery__dot {
  height: 6px; width: 6px; border-radius: 9999px;
  background: rgba(31,44,92,.2); transition: all .3s ease;
  border: 0; padding: 0; cursor: pointer;
}
.myh-gallery__dot.is-active { width: 24px; background: var(--primary); }

/* ============== ABOUT ============== */
.myh-about { background: var(--bg); padding-top: 10rem; }
.myh-about__grid {
  display: grid; gap: 4rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .myh-about__grid { grid-template-columns: 1fr 1fr; } }
.myh-about__card {
  position: relative; overflow: hidden;
  border-radius: 1.5rem; padding: 2rem 1.5rem;
  background: var(--grad-navy);
  color: #fff; box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) { .myh-about__card { padding: 3rem; } }
.myh-glow {
  position: absolute; border-radius: 9999px; filter: blur(70px); pointer-events: none;
}
.myh-glow--a { top: -6rem; right: -6rem; width: 18rem; height: 18rem; background: rgba(79,155,255,.30); }
.myh-glow--b { bottom: -5rem; left: -5rem; width: 16rem; height: 16rem; background: rgba(37,99,235,.40); }
.myh-about__list { position: relative; display: flex; flex-direction: column; gap: 1.5rem; }
.myh-about__row { display: flex; align-items: flex-start; gap: 1rem; }
.myh-about__ico {
  width: 48px; height: 48px; border-radius: .85rem;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
  flex-shrink: 0;
}
.myh-about__t { font-weight: 600; color: #fff; }
.myh-about__d { color: rgba(255,255,255,.75); font-size: .9rem; }
.myh-about__text h2 { margin-top: .75rem; font-size: clamp(1.85rem, 1.5vw + 1.25rem, 3rem); font-weight: 700; }
.myh-about__text p { margin-top: 1rem; }
.myh-about__text strong { color: var(--navy); }
.myh-stats {
  margin-top: 2rem;
  display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem;
}
.myh-stats > div {
  text-align: center; padding: .625rem .5rem;
  background: var(--sky-tint); border: 1px solid var(--sky-soft);
  border-radius: .75rem;
}
.myh-stats p { font-size: 1rem; font-weight: 700; line-height: 1.1; }
.myh-stats span { font-size: .625rem; color: var(--muted); line-height: 1.15; display: inline-block; margin-top: .15rem; }
@media (min-width: 640px) {
  .myh-stats { gap: 1rem; margin-top: 2.5rem; }
  .myh-stats > div { padding: 1.25rem .75rem; border-radius: 1rem; }
  .myh-stats p { font-size: 1.85rem; }
  .myh-stats span { font-size: .8rem; }
}

/* ============== TRUST MARQUEE ============== */
.myh-trust { background: var(--sky-tint); padding: 5rem 0; }
.myh-marquee {
  margin-top: 3rem; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.myh-marquee__track {
  display: flex; gap: 1.25rem; width: max-content; padding: 0 1rem;
  animation: myh-marquee 50s linear infinite;
}
.myh-marquee:hover .myh-marquee__track { animation-play-state: paused; }
@keyframes myh-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.myh-trust__item {
  flex-shrink: 0; width: 260px;
  background: #fff; border-radius: 1rem; padding: 1.25rem;
  border: 1px solid var(--sky-soft); box-shadow: var(--shadow-card);
  display: flex; align-items: center; gap: 1rem;
}
.myh-trust__ico {
  width: 48px; height: 48px; border-radius: .85rem;
  background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-soft);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.myh-trust__item p { font-size: .9rem; font-weight: 600; color: var(--navy); }

/* Mobile: 2-column grid instead of marquee */
.myh-trust__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem;
  max-width: 28rem; margin: 2.5rem auto 0; padding: 0 1rem;
}
.myh-trust__grid .myh-trust__item {
  width: auto; padding: .75rem; gap: .625rem; border-radius: .75rem;
}
.myh-trust__grid .myh-trust__ico { width: 32px; height: 32px; border-radius: .5rem; }
.myh-trust__grid .myh-trust__ico .myh-ico { width: 16px; height: 16px; }
.myh-trust__grid .myh-trust__item p { font-size: .75rem; line-height: 1.2; }
@media (min-width: 640px) {
  .myh-trust__grid { display: none; }
  .myh-marquee { display: block; }
}
@media (max-width: 639px) {
  .myh-marquee { display: none; }
}

/* ============== FAQ ============== */
.myh-faq { background: var(--bg); }
.myh-faq__glow {
  position: absolute; top: 50%; left: 25%; transform: translate(-50%,-50%);
  width: 28rem; height: 28rem; border-radius: 9999px;
  background: rgba(79,155,255,.15); filter: blur(80px); pointer-events: none;
}
.myh-faq__inner { max-width: 800px; }
.myh-faq__item {
  background: var(--sky-tint); border: 1px solid var(--sky-soft);
  border-radius: 1rem; padding: 0 1.5rem;
  margin-bottom: 1rem; transition: all .25s;
  -webkit-tap-highlight-color: transparent;
}
.myh-faq__item[open] { background: #fff; box-shadow: var(--shadow-card); }
.myh-faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; font-weight: 600; color: var(--navy); font-size: 1rem;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  outline: none;
}
.myh-faq__item summary:focus { outline: none; }
.myh-faq__item summary:focus-visible { color: var(--primary); }
.myh-faq__item summary::selection { background: transparent; }
.myh-faq__item summary::-webkit-details-marker { display: none; }
.myh-faq__chev {
  width: 28px; height: 28px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--primary); transition: transform .3s;
}
.myh-faq__item[open] .myh-faq__chev { transform: rotate(45deg); }
.myh-faq__a { padding: 0 0 1.25rem; color: var(--muted); font-size: .95rem; }

/* ============== CONTACT ============== */
.myh-contact { background: var(--bg); }
.myh-contact__grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .myh-contact__grid { grid-template-columns: 2fr 3fr; }
}
.myh-contact__info {
  position: relative; overflow: hidden;
  background: var(--grad-navy); color: #fff;
  border-radius: 1.5rem; padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}
.myh-contact__info-inner { position: relative; }
.myh-contact__info h3 { color: #fff; font-size: 1.5rem; }
.myh-muted-light { color: rgba(255,255,255,.75); font-size: .9rem; margin-top: .5rem; }
.myh-contact__row {
  display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem;
  color: #fff;
}
.myh-contact__ico {
  width: 48px; height: 48px; border-radius: .85rem;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .2s;
}
a.myh-contact__row:hover .myh-contact__ico { background: rgba(255,255,255,.25); }
.myh-contact__row small { display: block; font-size: .75rem; color: rgba(255,255,255,.7); }
.myh-contact__row strong { display: block; font-weight: 600; }
.myh-contact__form {
  background: #fff; border: 1px solid var(--sky-soft);
  border-radius: 1.5rem; padding: 2.5rem; box-shadow: var(--shadow-card);
}
.myh-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.myh-form__row { display: flex; flex-direction: column; }
.myh-form__row--full { grid-column: 1 / -1; }
.myh-form label { font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .5rem; }
.myh-form input, .myh-form textarea {
  width: 100%; border-radius: .85rem; border: 1px solid var(--sky-soft);
  padding: .85rem 1rem; font-size: .95rem; color: var(--navy);
  font-family: inherit; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.myh-form input:focus, .myh-form textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.myh-form textarea { resize: vertical; min-height: 120px; }
.myh-form .myh-btn { grid-column: 1 / -1; justify-self: start; }

/* ============== FOOTER ============== */
.myh-footer {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 7rem 0 2rem;
  overflow: hidden;
  text-align: center;
}
.myh-footer__glow {
  position: absolute; bottom: -8rem; left: 33%;
  width: 24rem; height: 24rem; border-radius: 9999px;
  background: rgba(37,99,235,.30); filter: blur(80px); pointer-events: none;
}
.myh-footer__inner {
  position: relative; max-width: 720px;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.myh-footer__inner .myh-logo__svg { height: 42px; }
.myh-footer__tagline { color: rgba(255,255,255,.7); font-size: .9rem; max-width: 480px; }
.myh-footer__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: #fff; transition: color .2s;
}
.myh-footer__phone:hover { color: var(--sky); }
.myh-footer__phone .myh-ico { width: 18px; height: 18px; }
.myh-footer__copy {
  width: 100%; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .75rem; color: rgba(255,255,255,.6);
}

/* ============== WAVES ============== */
.myh-wave {
  position: absolute; left: 0; right: 0; width: 100%;
  height: 80px; pointer-events: none; display: block;
}
.myh-wave--top { top: -1px; }
.myh-wave--bottom { bottom: -1px; }
.myh-wave--flip { transform: scaleY(-1); }
@media (min-width: 640px) { .myh-wave { height: 110px; } }
.myh-footer .myh-wave--top { top: -1px; height: 100px; }
@media (min-width: 640px) { .myh-footer .myh-wave--top { height: 140px; } }
