/* Italiana Appalti s.r.l.s. — Telefonia B2B & B2C */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --color-primary: #0f4c75;
  --color-primary-dark: #0a3554;
  --color-accent: #0ea5e9;
  --color-accent-light: #7dd3fc;
  --color-surface: #f6f8fb;
  --color-surface-alt: #e8edf3;
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-white: #ffffff;
  --color-success: #059669;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 10px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1160px;
  --header-height: 76px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-primary);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo:hover {
  opacity: 0.88;
}

.logo img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
  background: var(--color-surface);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: flex;
  gap: 0.2rem;
  padding: 0.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--color-surface);
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.lang-switch a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--color-text-muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--color-primary);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1565a8 100%);
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(15, 76, 117, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(15, 76, 117, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-light:hover {
  background: var(--color-surface);
  color: var(--color-primary-dark);
}

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0 5.5rem;
  background: linear-gradient(145deg, #0a3554 0%, var(--color-primary) 45%, #1a7ab8 100%);
  color: var(--color-white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.125rem;
  opacity: 0.95;
  margin: 0 0 1.5rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  max-width: 340px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.hero-card svg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.hero-card p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.section-header p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.bg-surface {
  background: var(--color-surface);
  border-top: 1px solid rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.875rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.2);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: var(--color-primary);
  border-radius: 14px;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.card ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Features row */
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
}

.feature-item strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.2;
}

.feature-item span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 0 1.5rem;
  opacity: 0.9;
}

/* Page header (inner pages) */
.page-hero {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-white) 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.page-hero p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 36rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

/* Two column content */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.content-main h2 {
  color: var(--color-primary);
  margin: 2rem 0 1rem;
  font-size: 1.35rem;
}

.content-main h2:first-child {
  margin-top: 0;
}

.content-main p {
  color: var(--color-text-muted);
}

.sidebar-box {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--color-surface-alt);
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.sidebar-box h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--color-primary);
}

.sidebar-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-box li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-surface-alt);
  font-size: 0.9rem;
}

.sidebar-box li:last-child {
  border-bottom: none;
}

.sidebar-box a {
  color: var(--color-text);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border-radius: var(--radius);
  color: var(--color-accent);
  font-size: 1.25rem;
}

.contact-item h4 {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-item p,
.contact-item a {
  margin: 0;
  color: var(--color-text);
  font-weight: 500;
}

.contact-form {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-surface-alt);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-surface);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: var(--color-white);
  outline: 2px solid rgba(14, 165, 233, 0.35);
  outline-offset: 0;
  border-color: var(--color-accent);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-notice {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.form-notice--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.form-notice--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Services tabs visual */
.service-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.service-block {
  background: var(--color-white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease);
}

.service-block:hover {
  box-shadow: var(--shadow-md);
}

.service-block.b2b {
  border-top: 4px solid var(--color-primary);
}

.service-block.b2c {
  border-top: 4px solid var(--color-accent);
}

.service-block h3 {
  margin: 0 0 1rem;
  color: var(--color-primary);
  font-size: 1.35rem;
}

.service-block ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
}

.service-block li {
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  color: var(--color-white);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.site-footer p,
.site-footer li {
  font-size: 0.9rem;
  line-height: 1.7;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

.legal-note {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* Privacy prose */
.prose {
  max-width: 720px;
}

.prose h2 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin: 2rem 0 0.75rem;
}

.prose p,
.prose li {
  color: var(--color-text-muted);
}

.prose ul {
  padding-left: 1.25rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .content-grid,
  .contact-grid,
  .service-blocks,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .features-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-surface-alt);
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav a {
    padding: 0.75rem 1rem;
  }

  .header-actions .btn {
    display: none;
  }

  .features-row {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3rem 0;
  }
}

/* Catalogo smartphone & segnaposto */
.tier-section {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.tier-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.tier-badge--alta {
  background: #dbeafe;
  color: #1e40af;
}

.tier-badge--media {
  background: #d1fae5;
  color: #047857;
}

.tier-badge--economica {
  background: #fef3c7;
  color: #b45309;
}

.brands-strip {
  padding: 2.5rem 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-surface-alt);
}

.brands-strip h2 {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1.5rem;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 56px;
  padding: 0.5rem 0.75rem;
  background: var(--color-surface);
  border: 1px dashed var(--color-surface-alt);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.brand-logo:hover {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-sm);
}

.brand-logo img {
  max-height: 36px;
  max-width: 100px;
  width: auto;
  object-fit: contain;
}

.brand-logo img.is-hidden {
  display: none;
}

.brand-logo:has(> img:not(.is-hidden)) .logo-placeholder {
  display: none;
}

.brand-logo .logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.brand-logo .logo-placeholder svg {
  width: 48px;
  height: 20px;
  opacity: 0.5;
}

.phones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.phone-card {
  background: var(--color-white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.phone-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.15);
}

.phone-card-rank {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
}

.phone-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(165deg, #f8fafc 0%, #eef2f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.phone-media > img {
  position: relative;
  z-index: 1;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.phone-media > img.is-hidden {
  display: none;
}

.phone-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  color: var(--color-text-muted);
  padding: 0.5rem;
}

.phone-media:has(> img:not(.is-hidden)) .phone-placeholder {
  display: none;
}

.phone-placeholder svg {
  width: 56px;
  height: auto;
  color: var(--color-accent);
  opacity: 0.45;
}

.phone-placeholder span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
}

.phone-card-body {
  padding: 1rem 1.1rem 1.25rem;
  border-top: 1px solid var(--color-surface-alt);
}

.phone-card-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  min-height: 28px;
}

.phone-card-brand img {
  height: 22px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
}

.phone-card-brand img.is-hidden {
  display: none;
}

.phone-card-brand .logo-placeholder-mini {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.phone-card-brand:has(img:not(.is-hidden)) .logo-placeholder-mini {
  display: none;
}

.phone-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.phone-card .phone-tier-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.phone-card .btn {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.5rem;
  font-size: 0.85rem;
}

.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.catalog-nav a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-surface-alt);
}

.catalog-nav a:hover {
  border-color: var(--color-accent);
  color: var(--color-primary);
  background: var(--color-surface);
}

.home-phones-preview .phones-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1100px) {
  .home-phones-preview .phones-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .home-phones-preview .phones-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-phones-preview .phone-card .btn {
  display: none;
}
