/* ==========================================================================
   DIALCOM COMMUNICATIONS LTD. - MASTER STYLESHEET (2026 Modern)
   ========================================================================== */

:root {
  --primary: #0a2540;       /* Deep Commercial Navy */
  --primary-hover: #07192c;
  --accent: #e65c00;        /* Rugged Telecom Orange */
  --accent-hover: #cc5200;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

h1, h2, h3, h4 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

/* ==========================================================================
   HEADER & NAVIGATION (SINGLE-LINE DESKTOP FIX)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  flex-wrap: nowrap; /* Prevents 2-line wrapping */
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0; /* Keeps logo from shrinking */
}

.logo-main {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary);
  line-height: 1;
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: nowrap;
  white-space: nowrap; /* Forces links onto one line */
}

.main-nav a {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent);
}

.header-cta {
  flex-shrink: 0; /* Keeps button intact */
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-phone {
  background-color: var(--primary);
  color: var(--bg-white);
  font-size: 0.85rem;
}

.btn-phone:hover {
  background-color: var(--primary-hover);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-outline {
  border: 2px solid var(--bg-white);
  color: var(--bg-white);
}

.btn-outline:hover {
  background-color: var(--bg-white);
  color: var(--primary);
}

.btn-large {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
}

/* ==========================================================================
   HERO SECTION (WITH BACKGROUND IMAGE)
   ========================================================================== */
.hero-section {
  padding: 6rem 0 5rem;
  /* Navy gradient overlay over communications tower image */
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.88) 0%, rgba(15, 45, 78, 0.92) 100%), 
              url('https://encrypted-tbn2.gstatic.com/licensed-image?q=tbn:ANd9GcSKVK7HYvEA0RbXyRhjH8QqVSulGoTHB_UKOJvzPpAmv8qCjoxlnqfbPPZBSLfI8xxBs0Q-Fm_E8aVwHR0') center/cover no-repeat;
  color: var(--bg-white);
  text-align: center;
}

.hero-section h1 {
  color: var(--bg-white);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-badge {
  display: inline-block;
  background-color: rgba(230, 92, 0, 0.25);
  color: #ffa366;
  border: 1px solid rgba(230, 92, 0, 0.5);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-subtext {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 800px;
  margin: 0 auto 2.25rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Trust Bar */
.trust-bar {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
}

.grid-4-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.trust-item h3 {
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.trust-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CORE EQUIPMENT & SERVICE MATRIX CARDS
   ========================================================================== */
.section-padding {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden; /* Contains card image */
  box-shadow: var(--shadow-sm);
  transition: transform 0.25 ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.highlight-card {
  border: 2px solid var(--accent);
}

/* Card Header Images */
.card-image-wrap {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-color: #f1f5f9;
  position: relative;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .card-img {
  transform: scale(1.04);
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.tag-featured {
  background-color: var(--accent);
  color: var(--bg-white);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.card-features {
  list-style: none;
  margin-bottom: 1.5rem;
  margin-top: auto;
}

.card-features li {
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  padding-left: 1.25rem;
  position: relative;
}

.card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.card-link {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.92rem;
}

.card-link:hover {
  color: var(--accent);
}

/* Market Sectors */
.markets-section {
  padding: 4rem 0;
  background-color: var(--primary);
  color: var(--bg-white);
}

.markets-section h2 {
  color: var(--bg-white);
  margin-bottom: 0.5rem;
}

.markets-section p {
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.market-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.pill {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--bg-white);
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.2s ease;
}

.pill:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}

/* FAQ Accordion */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.15rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  color: var(--primary);
  user-select: none;
}

.faq-answer {
  padding: 0 1.15rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   PARTNER LOGO STRIP
   ========================================================================== */
.partners-section {
  padding: 3.5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.partner-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.partner-logo {
  height: 48px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Footer */
.site-footer {
  background-color: var(--primary);
  color: #cbd5e1;
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: var(--bg-white);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  color: #cbd5e1;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-about {
  font-size: 0.88rem;
  margin: 1rem 0;
  line-height: 1.5;
}

.footer-contact-info p {
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}

.footer-contact-info a {
  color: var(--accent);
}

.footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.heritage-note {
  font-weight: 600;
  color: var(--accent);
}

/* Responsive Overrides for Smaller Screens */
@media (max-width: 1024px) {
  .main-nav {
    gap: 0.8rem;
  }
  .main-nav a {
    font-size: 0.82rem;
  }
}

@media (max-width: 868px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 0.8rem 1rem;
  }
  .main-nav {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.4rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   SUBPAGE SPECIFIC LAYOUT (Content + Sidebar & Spec Tables)
   ========================================================================== */

/* Compact Subpage Hero */
.subpage-hero {
  background: var(--primary);
  color: var(--bg-white);
  padding: 3rem 0 2.5rem;
  border-bottom: 3px solid var(--accent);
}

.breadcrumbs {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.breadcrumbs a {
  color: #cbd5e1;
  text-decoration: underline;
}

.breadcrumbs span {
  color: var(--accent);
  font-weight: 600;
}

.subpage-hero h1 {
  color: var(--bg-white);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.subpage-hero p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 800px;
}

/* 2-Column Subpage Layout */
.subpage-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Main Content Styling */
.main-content h2 {
  font-size: 1.6rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--primary);
}

.main-content p {
  margin-bottom: 1.25rem;
  color: #334155;
  font-size: 1rem;
}

.service-featured-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

/* Feature Checkbox Grid */
.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
  list-style: none;
}

.feature-list-grid li {
  background: var(--bg-light);
  padding: 1rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Clean Data / Spec Comparison Table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2.5rem;
  font-size: 0.95rem;
}

.spec-table th, .spec-table td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  text-align: left;
}

.spec-table th {
  background-color: var(--primary);
  color: var(--bg-white);
  font-weight: 600;
}

.spec-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

/* Sticky Sidebar & Reservation Cards */
.subpage-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-card-primary {
  border-top: 4px solid var(--accent);
  background: #fffaf5;
}

.sidebar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.sidebar-phone {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0.5rem 0 1rem;
}

.sidebar-checklist {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.sidebar-checklist li {
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}

.sidebar-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .subpage-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .subpage-sidebar {
    position: static;
  }
}

/* Footer Social Media Buttons */
.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
}

/* OCA Preferred Vendor Badge */
.footer-vendor-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.oca-badge-img {
  height: 72px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  background-color: #ffffff;
  padding: 4px 6px;
  border-radius: 4px;
}

.oca-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.3;
}