/* ==========================================================================
   SKYOCEANENTERPRISES — PHASE 1
   Main Stylesheet: Variables, Reset, Utilities
   Designed for future WordPress theme conversion
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Typography & Font Configuration
   Loaded via high-performance preconnected <link> tags in document <head>
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   2. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --color-navy:       #0D1B2A;
  --color-ocean:      #168AAD;
  --color-white:      #FFFFFF;
  --color-gold:       #D4AF37;
  --color-offwhite:   #F8F7F2;
  --color-cream:      #F8F7F2;
  --color-lightblue:  #E8F4F8;

  /* Derived / State Colors */
  --color-navy-dark:  #091320;
  --color-ocean-dark: #117a99;
  --color-gold-light: #e8c84a;
  --color-overlay:    rgba(13, 27, 42, 0.58);

  /* Typography */
  --font-heading:     'League Spartan', sans-serif;
  --font-brand:       'Anton', sans-serif;
  --font-body:        'League Spartan', sans-serif;

  /* Spacing */
  --header-height:    80px;

  /* Transitions */
  --transition-fast:  0.2s ease;
  --transition-med:   0.3s ease;

  /* Shadows */
  --shadow-header:    0 2px 20px rgba(13, 27, 42, 0.10);
  --shadow-btn:       0 4px 16px rgba(22, 138, 173, 0.30);

  /* Border Radius */
  --radius-sm:        4px;
  --radius-md:        8px;
}

/* --------------------------------------------------------------------------
   3. Modern CSS Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
  background-color: var(--color-white);
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative !important;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --------------------------------------------------------------------------
   4. Utility Classes
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* --------------------------------------------------------------------------
   Floating Actions (WhatsApp Quick Connect & Back to Top)
   -------------------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.btn-back-to-top {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13, 27, 42, 0.35);
}

.btn-back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}

.btn-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-back-to-top:hover {
  background: var(--color-gold);
  color: var(--color-navy);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
}

.btn-floating-whatsapp {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: #FFFFFF;
  padding: 11px 18px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-fast);
  animation: waPulse 2.8s infinite;
}

.btn-floating-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.btn-floating-whatsapp:hover {
  background-color: #20BA5C;
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 640px) {
  .floating-actions {
    bottom: 18px;
    right: 18px;
    gap: 10px;
  }
  .btn-floating-whatsapp {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  .btn-floating-whatsapp svg {
    width: 20px;
    height: 20px;
  }
}

/* --------------------------------------------------------------------------
   SHARED PAGE FAQ ACCORDION COMPONENT
   -------------------------------------------------------------------------- */
.page-faq-section {
  padding: 85px 0;
  background-color: var(--color-offwhite, #F8F7F2);
  position: relative;
}

.page-faq-section.bg-white {
  background-color: #FFFFFF;
}

.faq-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
}

.faq-badge-gold {
  display: inline-block;
  font-family: var(--font-heading, 'League Spartan'), sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-gold, #D4AF37);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.faq-title-main {
  font-family: var(--font-heading, 'League Spartan'), sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--color-navy, #0D1B2A);
  margin-bottom: 14px;
  line-height: 1.2;
}

.faq-title-rule {
  width: 50px;
  height: 3px;
  background: var(--color-ocean, #168AAD);
  margin: 0 auto 16px;
  border-radius: 2px;
}

.faq-intro-text {
  font-family: var(--font-heading, 'League Spartan'), sans-serif;
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 auto;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: 0 4px 14px rgba(13, 27, 42, 0.04);
  overflow: hidden;
  transition: border-color var(--transition-fast, 0.2s), box-shadow var(--transition-fast, 0.2s);
}

.page-faq-section.bg-white .faq-item {
  background: var(--color-offwhite, #F8F7F2);
}

.faq-item.is-open {
  border-color: rgba(22, 138, 173, 0.4);
  box-shadow: 0 8px 24px rgba(22, 138, 173, 0.1);
}

.faq-header {
  margin: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-family: var(--font-heading, 'League Spartan'), sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-navy, #0D1B2A);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast, 0.2s);
}

.faq-question:hover,
.faq-question:focus-visible {
  color: var(--color-ocean, #168AAD);
  outline: none;
}

.faq-item.is-open .faq-question {
  color: var(--color-ocean, #168AAD);
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(22, 138, 173, 0.1);
  color: var(--color-ocean, #168AAD);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.faq-icon svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  background: var(--color-ocean, #168AAD);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-family: var(--font-heading, 'League Spartan'), sans-serif;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #475569;
  border-top: 1px solid rgba(13, 27, 42, 0.05);
  padding-top: 14px;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE HARMONIZATION & MOBILE HARDENING
   Breakpoints: 320-375px, 376-480px, 481-767px, 768-1024px, 1025-1440px, 1441px+
   ========================================================================== */

/* Universal text & box overflow protection */
p, h1, h2, h3, h4, h5, h6, span, a, label, li {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

pre, code, kbd, samp {
  white-space: pre-wrap;
  word-break: break-all;
}

input, select, textarea, button {
  max-width: 100%;
}

/* 1. Large Desktops & 4K (1441px and above) */
@media (min-width: 1441px) {
  .container {
    max-width: 1360px;
  }
}

/* 2. Laptops & Compact Desktops (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
  .container {
    max-width: 1200px;
    padding: 0 24px;
  }
}

/* 3. Tablets & IPads (768px - 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
}

/* 4. Large Mobile Devices (481px - 767px) */
@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }
  
  .floating-actions {
    bottom: 16px;
    right: 16px;
  }
}

/* 5. Standard Mobile (376px - 480px) */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 14px;
  }

  .faq-question {
    padding: 16px 14px;
    font-size: 0.96rem;
  }

  .faq-answer-inner {
    padding: 0 14px 16px;
    font-size: 0.90rem;
  }
}

/* 6. Small Mobile (320px - 375px) */
@media (max-width: 375px) {
  body {
    font-size: 14.5px;
  }

  .container {
    padding: 0 12px;
  }

  .faq-question {
    padding: 14px 10px;
    font-size: 0.90rem;
    gap: 8px;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
  }

  .faq-icon svg {
    width: 10px;
    height: 10px;
  }

  .faq-answer-inner {
    padding: 0 10px 14px;
    font-size: 0.86rem;
  }
}


/* ==========================================================================
   GLOBAL MOBILE OVERFLOW CONTAINMENT (Zero Horizontal Scroll on Any Device)
   ========================================================================== */
html,
body {
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
  box-sizing: border-box;
}

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

.container,
.site-main,
.page-wrapper,
section,
header,
footer,
article {
  max-width: 100% !important;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, p, span, a, li, td, th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img, picture, video, canvas, svg {
  max-width: 100% !important;
  height: auto;
}

.table-responsive,
.calc-table-responsive-wrap {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: block !important;
}



